|
|
@@ -143,7 +143,8 @@ public class InspectionCycleTask { |
|
|
|
inspection.setInspectionTime(inspectionCycle.getCycleNextTime()); |
|
|
|
inspection.setType(InspectionTaskTypeEnum.CYCLE_INSPECTION.getCode()); |
|
|
|
inspection.setInspectionType(InspectionTypeEnum.AIRPORT.getCode()); |
|
|
|
inspection.setCreateUser(""); |
|
|
|
inspection.setCreateUser(inspectionCycle.getCreateUser()); |
|
|
|
|
|
|
|
inspection.setCreateTime(DateUtils.now()); |
|
|
|
inspection.setStatus(InspectionStatusEnum.WAIT_FLIGHT.getCode()); |
|
|
|
Date cycleNextTime = InspectionCycleNextTimeUtil.getCycleNextTime(inspectionCycle.getType(), |