ly 1 an în urmă
părinte
comite
f2a7334935

+ 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);