|
@@ -97,9 +97,17 @@
|
|
update sap_check_report set workTime = '10:00' where groupName like '%华人时代%'
|
|
update sap_check_report set workTime = '10:00' where groupName like '%华人时代%'
|
|
</update>
|
|
</update>
|
|
|
|
|
|
|
|
+ <update id="updateCheckinException">
|
|
|
|
+ update sap_check_report set checkinException = '未打卡后台更新' where checkinDate is null
|
|
|
|
+ </update>
|
|
|
|
+
|
|
|
|
+ <update id="updateCheckoffException">
|
|
|
|
+ update sap_check_report set checkoffException = '未打卡后台更新' where checkoffDate is null
|
|
|
|
+ </update>
|
|
|
|
+
|
|
<update id="updateAllExceptionResult">
|
|
<update id="updateAllExceptionResult">
|
|
update sap_check_report set result = '异常'
|
|
update sap_check_report set result = '异常'
|
|
- where (LENGTH(checkinException) > 0 or LENGTH(checkoffException) > 0 or checkinDate is null or checkoffDate is null) and result = '正常'
|
|
|
|
|
|
+ where (LENGTH(checkinException) > 0 or LENGTH(checkoffException) > 0) and result = '正常'
|
|
</update>
|
|
</update>
|
|
|
|
|
|
<update id="updateResultOk">
|
|
<update id="updateResultOk">
|