liupeng 4 rokov pred
rodič
commit
c12b78a719

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

@@ -163,6 +163,10 @@
 		where realCheckoffDate is null
 	</update>
 	
+	<update id="updateCheckoffExceptionByNoNeedOffwork">
+		update sap_check_report set checkoffException = '' where noNeedOffwork = 1;
+	</update>
+	
 	<update id="updateRealResultRemark">
 		update sap_check_report
 		set realResultRemark = concat((

+ 2 - 0
code/sapparent/sapservice/src/main/java/org/fouram/service/WxCheckService.java

@@ -187,6 +187,8 @@ public class WxCheckService extends BaseService {
 		// 如有“固定打卡时间”or“最晚外出打卡时间”则取“最晚外出打卡时间”作为“下班时间”
 		// “最晚外出打卡时间”在“12:00”后才能作为“下班时间”
 		update("SapCheckMapper.updateRealCheckoffDate", null);
+		// 不需要下班打卡更新异常字段
+		update("SapCheckMapper.updateCheckoffExceptionByNoNeedOffwork", null);
 		//异常信息提示
 		//1.列“上班打卡异常信息”
 		//a.当“上班时间”为空,列“上班打卡时间”置为空值(现在会显示打卡规则时间),提示“上班未打卡”