zxz 3 years ago
parent
commit
48027cf44c

+ 7 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/WarehouseBaseInfoServiceImpl.java

@@ -70,6 +70,8 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
     @Autowired
     @Autowired
     private IWarehouseInOutInfoService warehouseInOutInfoService;
     private IWarehouseInOutInfoService warehouseInOutInfoService;
     @Autowired
     @Autowired
+    private IWarehouseInOutDetailService warehouseInOutDetailService;
+    @Autowired
     private ICommonCompanyService commonCompanyService;
     private ICommonCompanyService commonCompanyService;
     @Autowired
     @Autowired
     private IWarehousePositionStorageInfoService warehousePositionStorageInfoService;
     private IWarehousePositionStorageInfoService warehousePositionStorageInfoService;
@@ -1404,6 +1406,11 @@ public class WarehouseBaseInfoServiceImpl extends ServiceImpl<WarehouseBaseInfoM
                 .eq("comp_id", compId)
                 .eq("comp_id", compId)
                 .eq("delete_flag", "0"));
                 .eq("delete_flag", "0"));
         warehouseInOutInfo.setCompanyName(commonCompany.getCompName());
         warehouseInOutInfo.setCompanyName(commonCompany.getCompName());
+        WarehouseInOutDetail warehouseInOutDetail = warehouseInOutDetailService.selectOne(
+                new EntityWrapper<WarehouseInOutDetail>()
+                        .eq("info_id", warehouseInOutInfo.getId())
+                        .eq("delete_flag", 0));
+        warehouseInOutInfo.setWarehouseInOutDetail(warehouseInOutDetail);
         return warehouseInOutInfo;
         return warehouseInOutInfo;
     }
     }