liupeng hace 5 años
padre
commit
ebea0f8df3

+ 1 - 1
code/sapparent/sapservice/src/main/java/org/fouram/mapper/SapCheckMapper.xml

@@ -99,7 +99,7 @@
 
 	<update id="updateAllExceptionResult">
 		update sap_check_report set result = '异常' 
-		where (LENGTH(checkinException) > 0 or LENGTH(checkoffException) > 0) and result = '正常'
+		where (LENGTH(checkinException) > 0 or LENGTH(checkoffException) > 0 or checkinDate is null or checkoffDate is null) and result = '正常'
 	</update>
 
 	<update id="updateResultOk">