소스 검색

Merge branch 'fu-normal-push' of uskycloud/usky-modules into server-165

fuyuchuan 3 달 전
부모
커밋
b33176521d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      service-iot/service-iot-biz/src/main/java/com/usky/iot/service/impl/PmTimeConfServiceImpl.java

+ 1 - 1
service-iot/service-iot-biz/src/main/java/com/usky/iot/service/impl/PmTimeConfServiceImpl.java

@@ -66,7 +66,7 @@ public class PmTimeConfServiceImpl extends AbstractCrudService<PmTimeConfMapper,
         PmTimeConf timeConf = getTimeConf(tenantId);
         if (timeConf == null) {
             throw new RuntimeException("未找到工作报提交统计告时间配置,请联系管理员");
-        } else if (countDate.equals(LocalDate.now()) && timeConf.getStartTime().isAfter(LocalTime.now())) {
+        } else if (countDate.equals(LocalDate.now()) && timeConf.getStartTime().isAfter(LocalTime.now()) || countDate.isAfter(LocalDate.now())) {
             responseVO.setSubmitOnTime(0);
             responseVO.setSubmitLate(0);
             responseVO.setNotSubmitted(0);