‘linchangsheng’ 5 months ago
parent
commit
7afbe5179f

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/bean/ItfTblWorkOrderCollection0Bean.java

@@ -13,6 +13,6 @@ public class ItfTblWorkOrderCollection0Bean extends ItfTblWorkOrderCollection {
     private List<ItfTblCollectionRepair> collectionRepairList;
     private List<ItfTblCollectionRepairPart> collectionRepairPartList;
     private List<ItfTblCollectionRepairProject> collectionRepairProjectList;
-    private List<ItfTblCollectionRepair> collectionRepairSymptomReasonList;
+    private List<ItfTblCollectionRepairSymptomReason> collectionRepairSymptomReasonList;
 
 }

+ 5 - 2
mall-server-api/src/main/java/com/gree/mall/manager/logic/SyncOrderInfoLogic.java

@@ -191,6 +191,9 @@ public class SyncOrderInfoLogic {
     ItfTblWorkOrderStatusService itfTblWorkOrderStatusService;
 
     @Autowired
+    ItfTblCollectionRepairSymptomReasonService itfTblCollectionRepairSymptomReasonService;
+
+    @Autowired
     SyncMapper syncMapper;
 
 
@@ -390,7 +393,7 @@ public class SyncOrderInfoLogic {
             List<ItfTblCollectionRepair> collectionRepairList = new ArrayList<>();
             List<ItfTblCollectionRepairPart> collectionRepairPartList = new ArrayList<>();
             List<ItfTblCollectionRepairProject> collectionRepairProjectList = new ArrayList<>();
-            List<ItfTblCollectionRepair> collectionRepairSymptomReasonList = new ArrayList<>();
+            List<ItfTblCollectionRepairSymptomReason> collectionRepairSymptomReasonList = new ArrayList<>();
             List<ItfTblWorkOrderDetail> tblWorkOrderDetailList = new ArrayList<>();
 
             List<ItfTblWorkOrder> itfTblWorkOrders = new ArrayList<>();
@@ -516,7 +519,7 @@ public class SyncOrderInfoLogic {
             collectionRepairProjectList.stream().forEach(item -> item.setDownloadBatchNo(batch));
             itfTblCollectionRepairProjectService.saveBatch(collectionRepairProjectList);
             collectionRepairSymptomReasonList.stream().forEach(item -> item.setDownloadBatchNo(batch));
-            itfTblCollectionRepairService.saveBatch(collectionRepairSymptomReasonList);
+            itfTblCollectionRepairSymptomReasonService.saveBatch(collectionRepairSymptomReasonList);
 
 
             itfTblWorkOrderService.saveBatch(itfTblWorkOrders);