|
|
@@ -77,7 +77,6 @@ public class ExecuteInspectionService { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* |
|
|
|
* 调用机场平台 |
|
|
|
* |
|
|
|
* @param tenantId |
|
|
@@ -118,13 +117,25 @@ public class ExecuteInspectionService { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 修改任务执行状态 |
|
|
|
* |
|
|
|
* @param tenantId |
|
|
|
* @param inspection |
|
|
|
*/ |
|
|
|
private void updateInspection(String userId, String tenantId, Inspection inspection, String msg) { |
|
|
|
inspection.setExecutionStatus(2); |
|
|
|
inspection.setUpdateUser(userId); |
|
|
|
inspection.setUpdateTime(DateUtils.now()); |
|
|
|
inspectionMapper.update(inspection); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 更新任务中 |
|
|
|
* |
|
|
|
* @param tenantId |
|
|
|
* @param inspection |
|
|
|
*/ |
|
|
|
private void insertInspectionHistory(String userId, String tenantId,Inspection inspection, String msg) { |
|
|
|
private void insertInspectionHistory(String userId, String tenantId, Inspection inspection, String msg) { |
|
|
|
InspectionHistory inspectionHistory = new InspectionHistory(); |
|
|
|
inspectionHistory.setTenantId(tenantId); |
|
|
|
inspectionHistory.setInspectionId(inspection.getId()); |