소스 검색

no message

ly 1 년 전
부모
커밋
f2a7334935
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/cn/ezhizao/project/business/order/controller/BizArchiveInputController.java

+ 1 - 1
src/main/java/cn/ezhizao/project/business/order/controller/BizArchiveInputController.java

@@ -418,7 +418,7 @@ public class BizArchiveInputController extends BaseController {
                         return LocalDate.parse(x.getYear() + "-" + formattedMonth + "-01", formatter);
                     }).collect(Collectors.toList());
                     TimeVo time = getTime(item.getContractId(), item.getId(), item.getTaskTypeId(), newBizArchiveInput.getCompanyId());
-                    if (time != null) {
+                    if (time != null && time.getStartTime() != null) {
                         String startM = format.format(time.getStartTime());
                         String endM = format.format(time.getEndTime());
                         LocalDate startDate = LocalDate.parse(startM, formatter);