|
|
@@ -130,7 +130,6 @@ public class FlyLogByNormalService { |
|
|
|
private void completedTask(Inspection inspection, TZHLFlyLogResponse flyLogResponse) { |
|
|
|
// 任务完成 |
|
|
|
inspection.setStatus(InspectionStatusEnum.FLIGHT_COMPLETED.getCode()); |
|
|
|
|
|
|
|
this.updateInspection(inspection); |
|
|
|
|
|
|
|
// 任务完成后自动生成报告 |
|
|
@@ -151,6 +150,7 @@ public class FlyLogByNormalService { |
|
|
|
inspection.setStatus(inspection.getStatus()); |
|
|
|
inspection.setUpdateUser(""); |
|
|
|
inspection.setUpdateTime(DateUtils.now()); |
|
|
|
inspection.setExecutionEndTime(DateUtils.now()); |
|
|
|
inspectionMapper.updateStatus(inspection); |
|
|
|
} |
|
|
|
|