liupeng 3 years ago
parent
commit
2626cc4736

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

@@ -160,6 +160,15 @@ public class WxCheckService extends BaseService {
 		// 生成报表数据
 		update("SapCheckMapper.deleteCheckReport", param);
 		update("SapCheckMapper.saveCheckReport", param);
+	}
+
+	public void updateReportResultData(String checkinDay) throws Exception {
+		Map<String, String> param = Maps.newHashMap();
+		param.put("hour", "");
+		param.put("startDay", checkinDay);
+		param.put("endDay", checkinDay);
+		param.put("startDayT", checkinDay.replace("-", ""));
+		param.put("endDayT", checkinDay.replace("-", ""));
 		
 		// 更新打卡规则时间
 		update("SapCheckMapper.updateWorkTime", param);
@@ -172,15 +181,6 @@ public class WxCheckService extends BaseService {
 		// 更新时间为空的为后台更新未打卡
 		update("SapCheckMapper.updateCheckinNullException", param);
 		update("SapCheckMapper.updateCheckoffNullException", param);
-	}
-
-	public void updateReportResultData(String checkinDay) throws Exception {
-		Map<String, String> param = Maps.newHashMap();
-		param.put("hour", "");
-		param.put("startDay", checkinDay);
-		param.put("endDay", checkinDay);
-		param.put("startDayT", checkinDay.replace("-", ""));
-		param.put("endDayT", checkinDay.replace("-", ""));
 		
 		// 更新补卡日期
 		update("SapCheckMapper.updateBuKaDay", param);