Commit e64b2c96 authored by chenzhao's avatar chenzhao

增加列表排序

parent d2e662ce
...@@ -891,6 +891,7 @@ ...@@ -891,6 +891,7 @@
AND b.EQUIPMENT_NAME = #{EQUIPMENTNAME} AND b.EQUIPMENT_NAME = #{EQUIPMENTNAME}
</if> </if>
</where> </where>
order by HEALTH_INDEX DESC
limit ${current},${size} limit ${current},${size}
</select> </select>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
<if test="HEALTHLEVEL != '' and HEALTHLEVEL != null"> <if test="HEALTHLEVEL != '' and HEALTHLEVEL != null">
AND b.HEALTH_LEVEL = #{HEALTHLEVEL} AND b.HEALTH_LEVEL = #{HEALTHLEVEL}
</if> </if>
order by b.HEALTH_INDEX DESC
limit ${current},${size} limit ${current},${size}
</select> </select>
...@@ -132,6 +133,8 @@ ...@@ -132,6 +133,8 @@
AND b.POINT_NAME = #{POINTNAME} AND b.POINT_NAME = #{POINTNAME}
</if> </if>
</where> </where>
order by b.HEALTH_INDEX DESC
limit ${current},${size} limit ${current},${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