添加查询排序

main
吴顺杰 12 months ago
parent c403f6b62d
commit 37af50a6bf

@ -42,6 +42,7 @@
and ai_num <= #{req.aiNumMax} and ai_num <= #{req.aiNumMax}
</if> </if>
</where> </where>
order by update_time desc
</select> </select>
<select id="findAll" resultType="com.yingji.entity.Alarm"> <select id="findAll" resultType="com.yingji.entity.Alarm">
@ -81,5 +82,6 @@
and ai_num &lt;= #{req.aiNumMax} and ai_num &lt;= #{req.aiNumMax}
</if> </if>
</where> </where>
order by update_time desc
</select> </select>
</mapper> </mapper>
Loading…
Cancel
Save