系统预警修复,打包完善
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
AND sys.calibration_date < #{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>
|
||||
|
||||
Reference in New Issue
Block a user