设备管理页面数据倒序,显示问题修改

master
maxw@mesnac.com 8 months ago
parent 129428686e
commit 806e739ac2

@ -40,11 +40,11 @@ public class DmsBaseDeviceSuplierController extends BaseController
*/ */
@RequiresPermissions("dms:suplier:list") @RequiresPermissions("dms:suplier:list")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list(DmsBaseDeviceSuplier dmsBaseDeviceSuplier) public List<DmsBaseDeviceSuplier> list(DmsBaseDeviceSuplier dmsBaseDeviceSuplier)
{ {
// startPage(); // startPage();
List<DmsBaseDeviceSuplier> list = dmsBaseDeviceSuplierService.selectDmsBaseDeviceSuplierList(dmsBaseDeviceSuplier); List<DmsBaseDeviceSuplier> list = dmsBaseDeviceSuplierService.selectDmsBaseDeviceSuplierList(dmsBaseDeviceSuplier);
return getDataTable(list); return list;
} }
//todo 新加一个con 拿掉分页 //todo 新加一个con 拿掉分页

@ -64,6 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="inspectStatus != null and inspectStatus != ''"> and a.inspect_status = #{inspectStatus}</if> <if test="inspectStatus != null and inspectStatus != ''"> and a.inspect_status = #{inspectStatus}</if>
<if test="isFlag != null and isFlag != ''"> and a.is_flag = #{isFlag}</if> <if test="isFlag != null and isFlag != ''"> and a.is_flag = #{isFlag}</if>
</where> </where>
order by create_time desc
</select> </select>
<select id="selectPoint" parameterType="DmsBillsInspectInstance" resultMap="DmsBillsInspectInstanceResult"> <select id="selectPoint" parameterType="DmsBillsInspectInstance" resultMap="DmsBillsInspectInstanceResult">
<include refid="selectDmsBillsInspectInstanceVo"/> <include refid="selectDmsBillsInspectInstanceVo"/>

@ -66,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="maintCompRate != null "> and a.maint_comp_rate = #{maintCompRate}</if> <if test="maintCompRate != null "> and a.maint_comp_rate = #{maintCompRate}</if>
<if test="isFlag != null "> and a.is_flag = #{isFlag}</if> <if test="isFlag != null "> and a.is_flag = #{isFlag}</if>
</where> </where>
order by create_time desc
</select> </select>
<select id="selectDmsBillsMaintInstanceByMaintInstanceId" parameterType="Long" resultMap="DmsBillsMaintInstanceResult"> <select id="selectDmsBillsMaintInstanceByMaintInstanceId" parameterType="Long" resultMap="DmsBillsMaintInstanceResult">

@ -45,6 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="performer != null and performer != ''"> and performer = #{performer}</if> <if test="performer != null and performer != ''"> and performer = #{performer}</if>
<if test="isFlag != null and isFlag != ''"> and is_flag = #{isFlag}</if> <if test="isFlag != null and isFlag != ''"> and is_flag = #{isFlag}</if>
</where> </where>
order by create_time desc
</select> </select>
<select id="selectDmsPlanInspectByPlanInspectId" parameterType="Long" resultMap="DmsPlanInspectResult"> <select id="selectDmsPlanInspectByPlanInspectId" parameterType="Long" resultMap="DmsPlanInspectResult">

@ -63,6 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="createMethod != null "> and create_method = #{createMethod}</if> <if test="createMethod != null "> and create_method = #{createMethod}</if>
<if test="isFlag != null "> and is_flag = #{isFlag}</if> <if test="isFlag != null "> and is_flag = #{isFlag}</if>
</where> </where>
order by create_time desc
</select> </select>
<select id="selectDmsPlanMaintByPlanMaintId" parameterType="Long" resultMap="DmsPlanMaintDmsPlanMaintDetailResult"> <select id="selectDmsPlanMaintByPlanMaintId" parameterType="Long" resultMap="DmsPlanMaintDmsPlanMaintDetailResult">

Loading…
Cancel
Save