Parcourir la source

实际完成时间查询

il y a 2 ans
Parent
commit
1eea38782b

+ 2 - 2
platform-service/src/main/java/com/platform/service/check/impl/CheckJobServiceImpl.java

@@ -192,8 +192,8 @@ public class CheckJobServiceImpl extends BaseServiceImpl<CheckJobMapper, CheckJo
         String lastDay = date.with(TemporalAdjusters.lastDayOfMonth()).toString()+" 23:59:59";
         String firstDay = date.with(TemporalAdjusters.firstDayOfMonth()).toString()+" 00:00:00";
         DateTimeFormatter df = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
-        checkJobDTO.setActualEndTimeStart(LocalDateTime.parse(firstDay,df));
-        checkJobDTO.setActualEndTimeStart(LocalDateTime.parse(lastDay,df));
+        checkJobDTO.setSearchStartTime(LocalDateTime.parse(firstDay,df));
+        checkJobDTO.setSearchEndTime(LocalDateTime.parse(lastDay,df));
         checkJobDTO.setCheckUserId(userInfo.getUserId());
         List<CheckJobVO> checkJobVOS = mapper.selectList(checkJobDTO);
         return checkJobVOS;