liupeng 5 年之前
父节点
当前提交
ebea0f8df3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/sapparent/sapservice/src/main/java/org/fouram/mapper/SapCheckMapper.xml

+ 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">