Pārlūkot izejas kodu

Merge branch 'develop' of gitadmin/tuoheng_telecomumale into release

tags/v1.0.0^2
chengwang pirms 1 gada
vecāks
revīzija
60f9b9428b
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +3
    -3
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/workorder/generate/GenerateWorkorderByAutoService.java

+ 3
- 3
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/workorder/generate/GenerateWorkorderByAutoService.java Parādīt failu

@@ -56,13 +56,13 @@ public class GenerateWorkorderByAutoService {
public JsonResult generate(Inspection inspection, List<InspectionFile> inspectionFileList) {
log.info("进入自动生成工单业务");

List<String> inspectionIdList = inspectionFileList.stream().map(o -> o.getInspectionId()).collect(Collectors.toList());
List<String> inspectionFileIdList = inspectionFileList.stream().map(o -> o.getId()).collect(Collectors.toList());

WorkOrder workOrder = this.insertWorkOrder(inspection);

this.insertWorkOrderFile(workOrder, inspectionIdList);
this.insertWorkOrderFile(workOrder, inspectionFileIdList);

this.updateInspectionFileStatus(inspectionIdList);
this.updateInspectionFileStatus(inspectionFileIdList);

return JsonResult.success();
}

Notiek ielāde…
Atcelt
Saglabāt