系统预警修复,打包完善

This commit is contained in:
2025-11-14 00:15:18 +08:00
parent 47a6217329
commit 39d190e06d
8 changed files with 58 additions and 42 deletions

View File

@@ -19,7 +19,7 @@
AND se.is_deleted = 0
</where>
ORDER BY se.valid_until ASC
Limit #{page.offset}, #{page.size}
Limit #{page.current}, #{page.size}
</select>
<select id="getCheckExpiringCount" resultType="com.dc.dc_project.model.vo.bigScreen.SystemWarningItemVo">
SELECT se.id, se.name, se.valid_until AS date, DATEDIFF(se.valid_until, #{nowStr}) AS day FROM sys_equipment se
@@ -28,5 +28,6 @@
AND se.is_deleted = 0
</where>
ORDER BY se.valid_until ASC
Limit #{page.current}, #{page.size}
</select>
</mapper>

View File

@@ -19,7 +19,7 @@
AND sys.calibration_date &lt; #{nowStr}
</where>
ORDER BY sys.calibration_date ASC
LIMIT #{page.offset}, #{page.size}
LIMIT #{page.current}, #{page.size}
</select>
<select id="getCheckNotChecked" resultType="com.dc.dc_project.model.vo.bigScreen.SystemWarningItemVo">
SELECT
@@ -34,6 +34,6 @@
AND sys.calibration_date BETWEEN #{nowStr} AND DATE_ADD(#{nowStr}, INTERVAL 15 DAY)
</where>
ORDER BY sys.calibration_date ASC
LIMIT #{page.offset}, #{page.size}
LIMIT #{page.current}, #{page.size}
</select>
</mapper>