optimize: 按时间倒序

This commit is contained in:
曹鹏飞 2024-06-27 15:41:53 +08:00
parent 1943b3107f
commit 33d36c2db1
2 changed files with 2 additions and 0 deletions

View File

@ -523,6 +523,7 @@
AND (root_is = 1 OR user_root_is = 1)
AND sap_state > 3
AND created_by = #{userCode}
ORDER BY release_time DESC
</select>
<select id="getSapErrorNum" resultType="java.lang.Integer">
SELECT COUNT(1)

View File

@ -276,6 +276,7 @@
AND (root_is = 1 OR user_root_is = 1 OR root_state = 1)
AND sap_state > 3
AND created_by = #{userCode}
ORDER BY release_time DESC
</select>
<select id="getSapErrorNum" resultType="java.lang.Integer">
SELECT COUNT(1)