|
@@ -83,8 +83,8 @@
|
|
|
|
|
|
<update id="updateAllExceptionResult">
|
|
|
update sap_check_report set result = '异常'
|
|
|
- where (LENGTH(checkinException) > 0 or checkinDate is null or LENGTH(checkoffException) > 0 or checkoffDate is null)
|
|
|
- and result = '正常' and checkinDay >= #{startDay} and checkinDay <= #{endDay}
|
|
|
+ where (LENGTH(checkinException) > 0 or LENGTH(checkoffException) > 0) and result = '正常'
|
|
|
+ and checkinDay >= #{startDay} and checkinDay <= #{endDay}
|
|
|
</update>
|
|
|
|
|
|
<update id="updateResultOk">
|