Commit d0ca3692 authored by KeYong's avatar KeYong

更新排序

parent 19470ed7
...@@ -1653,6 +1653,7 @@ LEFT JOIN ( ...@@ -1653,6 +1653,7 @@ LEFT JOIN (
</if> </if>
GROUP BY GROUP BY
a.sequenceNbr a.sequenceNbr
ORDER BY a.personStatus DESC
LIMIT #{map.pageNum}, #{map.pageSize} LIMIT #{map.pageNum}, #{map.pageSize}
</select> </select>
</mapper> </mapper>
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
LEFT JOIN wl_equipment_category wec ON wec.id = we.category_id LEFT JOIN wl_equipment_category wec ON wec.id = we.category_id
<where> <where>
<if test="dto.bizOrgCode != null and dto.bizOrgCode != ''"> <if test="dto.bizOrgCode != null and dto.bizOrgCode != ''">
AND wc.biz_org_code like concat (#{dto.bizOrgCode},'%') wc.biz_org_code like concat (#{dto.bizOrgCode},'%')
</if> </if>
<if test="dto.code != null and dto.code != ''"> <if test="dto.code != null and dto.code != ''">
AND wec.code like concat (#{dto.code},'%') AND wec.code like concat (#{dto.code},'%')
...@@ -171,6 +171,7 @@ ...@@ -171,6 +171,7 @@
<if test="dto.equipStatusFilter != null and dto.equipStatusFilter != ''"> <if test="dto.equipStatusFilter != null and dto.equipStatusFilter != ''">
AND wc.equip_status = #{dto.equipStatusFilter} AND wc.equip_status = #{dto.equipStatusFilter}
</if> </if>
ORDER BY wc.equip_status DESC
</where> </where>
</select> </select>
</mapper> </mapper>
...@@ -2943,6 +2943,7 @@ ...@@ -2943,6 +2943,7 @@
<if test="bizOrgCode != null and bizOrgCode != ''"> <if test="bizOrgCode != null and bizOrgCode != ''">
AND wes.biz_org_code like concat (#{bizOrgCode},'%') AND wes.biz_org_code like concat (#{bizOrgCode},'%')
</if> </if>
ORDER BY wes.equip_status DESC
</where> </where>
LIMIT #{offset}, #{size} LIMIT #{offset}, #{size}
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment