Procházet zdrojové kódy

Merge branch 'develop' of gitadmin/tuoheng_telecomumale into release

tags/v1.0.0^2
chengwang před 1 rokem
rodič
revize
60f9b9428b
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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 Zobrazit soubor

@@ -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();
}

Načítá se…
Zrušit
Uložit