Browse Source

增加排序条件

master
sunyuchao 3 years ago
parent
commit
52f9eded1c
  1. 2
      epmet-user/epmet-user-server/src/main/resources/mapper/IcResiComparisonRecordDao.xml

2
epmet-user/epmet-user-server/src/main/resources/mapper/IcResiComparisonRecordDao.xml

@ -96,7 +96,7 @@
<if test='type != null and type != "" and type != "0" '> <if test='type != null and type != "" and type != "0" '>
AND b.type =#{type} AND b.type =#{type}
</if> </if>
ORDER BY a.pids ASC, b.created_time DESC ORDER BY a.pids ASC, b.created_time DESC, a.`NAME` ASC
</select> </select>
<select id="getComparisonList" resultType="com.epmet.entity.IcResiComparisonRecordEntity"> <select id="getComparisonList" resultType="com.epmet.entity.IcResiComparisonRecordEntity">

Loading…
Cancel
Save