Commit c8621058 by 刘鑫

fix(工作人员时间窗): 工作人员时间窗开始时间定义错误

1 parent eb5bdcec
......@@ -592,7 +592,7 @@ public class EngineerCalendarServiceImpl implements EngineerCalendarService {
LocalDateTime workStartTime = DateUtils.localDateTimeFromStr(String.format("%s %s:00", targetDate, businessEntity.getWorkOn()));
LocalDateTime workEndTime = DateUtils.localDateTimeFromStr(String.format("%s %s:00", targetDate, businessEntity.getWorkOff()));
final LocalDateTime minDate = LocalDateTime.MIN;
final LocalDateTime minDate = LocalDateTime.of(LocalDate.now(), LocalTime.MIN);
List<OccupyInfoDetail> configs = getEngineerWorkDayCalendar(engineerCode, targetDate);
if (CollectionUtils.isEmpty(configs)) {
......
......@@ -629,7 +629,7 @@ public class EngineerCalendarServiceImpl implements EngineerCalendarService {
LocalDateTime workStartTime = DateUtils.localDateTimeFromStr(String.format("%s %s:00", targetDate, businessEntity.getWorkOn()));
LocalDateTime workEndTime = DateUtils.localDateTimeFromStr(String.format("%s %s:00", targetDate, businessEntity.getWorkOff()));
final LocalDateTime minDate = LocalDateTime.MIN;
final LocalDateTime minDate = LocalDateTime.of(LocalDate.now(), LocalTime.MIN);
List<OccupyInfoDetail> configs = getEngineerWorkDayCalendar(engineerCode, targetDate);
if (CollectionUtils.isEmpty(configs)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!