Commit b595df008ad32a17b11f18d7c27b62fb05ea036f
1 parent
06de418c
✨ feat(mes): 优化整体代码风格
Showing
112 changed files
with
79 additions
and
210 deletions
Too many changes.
To preserve performance only 100 of 112 files are displayed.
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/cal/team/MesCalTeamMemberController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/checkrecord/MesDvCheckRecordController.java
| ... | ... | @@ -46,10 +46,8 @@ public class MesDvCheckRecordController { |
| 46 | 46 | |
| 47 | 47 | @Resource |
| 48 | 48 | private MesDvCheckRecordService checkRecordService; |
| 49 | - | |
| 50 | 49 | @Resource |
| 51 | 50 | private MesDvCheckPlanService checkPlanService; |
| 52 | - | |
| 53 | 51 | @Resource |
| 54 | 52 | private MesDvMachineryService machineryService; |
| 55 | 53 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/checkrecord/MesDvCheckRecordLineController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/machinery/MesDvMachineryController.java
| ... | ... | @@ -48,10 +48,8 @@ public class MesDvMachineryController { |
| 48 | 48 | |
| 49 | 49 | @Resource |
| 50 | 50 | private MesDvMachineryService machineryService; |
| 51 | - | |
| 52 | 51 | @Resource |
| 53 | 52 | private MesDvMachineryTypeService machineryTypeService; |
| 54 | - | |
| 55 | 53 | @Resource |
| 56 | 54 | private MesMdWorkshopService workshopService; |
| 57 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/maintenrecord/MesDvMaintenRecordController.java
| ... | ... | @@ -46,10 +46,8 @@ public class MesDvMaintenRecordController { |
| 46 | 46 | |
| 47 | 47 | @Resource |
| 48 | 48 | private MesDvMaintenRecordService maintenRecordService; |
| 49 | - | |
| 50 | 49 | @Resource |
| 51 | 50 | private MesDvCheckPlanService checkPlanService; |
| 52 | - | |
| 53 | 51 | @Resource |
| 54 | 52 | private MesDvMachineryService machineryService; |
| 55 | 53 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/maintenrecord/MesDvMaintenRecordLineController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/repair/MesDvRepairController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/dv/repair/MesDvRepairLineController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/md/item/MesMdItemController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/md/item/MesMdProductBomController.java
| ... | ... | @@ -40,13 +40,10 @@ public class MesMdProductBomController { |
| 40 | 40 | |
| 41 | 41 | @Resource |
| 42 | 42 | private MesMdProductBomService productBomService; |
| 43 | - | |
| 44 | 43 | @Resource |
| 45 | 44 | private MesMdItemService itemService; |
| 46 | - | |
| 47 | 45 | @Resource |
| 48 | 46 | private MesMdItemTypeService itemTypeService; |
| 49 | - | |
| 50 | 47 | @Resource |
| 51 | 48 | private MesMdUnitMeasureService unitMeasureService; |
| 52 | 49 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/md/workstation/MesMdWorkstationMachineController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/md/workstation/MesMdWorkstationToolController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/andon/MesProAndonRecordController.java
| ... | ... | @@ -50,13 +50,10 @@ public class MesProAndonRecordController { |
| 50 | 50 | |
| 51 | 51 | @Resource |
| 52 | 52 | private MesProAndonRecordService andonRecordService; |
| 53 | - | |
| 54 | 53 | @Resource |
| 55 | 54 | private MesMdWorkstationService workstationService; |
| 56 | - | |
| 57 | 55 | @Resource |
| 58 | 56 | private MesProWorkOrderService workOrderService; |
| 59 | - | |
| 60 | 57 | @Resource |
| 61 | 58 | private MesProProcessService processService; |
| 62 | 59 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/card/MesProCardController.java
| ... | ... | @@ -47,13 +47,10 @@ public class MesProCardController { |
| 47 | 47 | |
| 48 | 48 | @Resource |
| 49 | 49 | private MesProCardService cardService; |
| 50 | - | |
| 51 | 50 | @Resource |
| 52 | 51 | private MesProWorkOrderService workOrderService; |
| 53 | - | |
| 54 | 52 | @Resource |
| 55 | 53 | private MesMdItemService itemService; |
| 56 | - | |
| 57 | 54 | @Resource |
| 58 | 55 | private MesMdUnitMeasureService unitMeasureService; |
| 59 | 56 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/card/MesProCardProcessController.java
| ... | ... | @@ -40,10 +40,8 @@ public class MesProCardProcessController { |
| 40 | 40 | |
| 41 | 41 | @Resource |
| 42 | 42 | private MesProCardProcessService cardProcessService; |
| 43 | - | |
| 44 | 43 | @Resource |
| 45 | 44 | private MesProProcessService processService; |
| 46 | - | |
| 47 | 45 | @Resource |
| 48 | 46 | private MesMdWorkstationService workstationService; |
| 49 | 47 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/route/MesProRouteProcessController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/route/MesProRouteProductBomController.java
| ... | ... | @@ -39,10 +39,8 @@ public class MesProRouteProductBomController { |
| 39 | 39 | |
| 40 | 40 | @Resource |
| 41 | 41 | private MesProRouteProductBomService routeProductBomService; |
| 42 | - | |
| 43 | 42 | @Resource |
| 44 | 43 | private MesMdItemService itemService; |
| 45 | - | |
| 46 | 44 | @Resource |
| 47 | 45 | private MesMdUnitMeasureService unitMeasureService; |
| 48 | 46 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/route/MesProRouteProductController.java
| ... | ... | @@ -38,10 +38,8 @@ public class MesProRouteProductController { |
| 38 | 38 | |
| 39 | 39 | @Resource |
| 40 | 40 | private MesProRouteProductService routeProductService; |
| 41 | - | |
| 42 | 41 | @Resource |
| 43 | 42 | private MesMdItemService itemService; |
| 44 | - | |
| 45 | 43 | @Resource |
| 46 | 44 | private MesMdUnitMeasureService unitMeasureService; |
| 47 | 45 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/task/MesProTaskIssueController.java
| ... | ... | @@ -40,10 +40,8 @@ public class MesProTaskIssueController { |
| 40 | 40 | |
| 41 | 41 | @Resource |
| 42 | 42 | private MesProTaskIssueService taskIssueService; |
| 43 | - | |
| 44 | 43 | @Resource |
| 45 | 44 | private MesMdItemService itemService; |
| 46 | - | |
| 47 | 45 | @Resource |
| 48 | 46 | private MesMdUnitMeasureService unitMeasureService; |
| 49 | 47 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/workorder/MesProWorkOrderBomController.java
| ... | ... | @@ -43,16 +43,12 @@ public class MesProWorkOrderBomController { |
| 43 | 43 | |
| 44 | 44 | @Resource |
| 45 | 45 | private MesProWorkOrderBomService workOrderBomService; |
| 46 | - | |
| 47 | 46 | @Resource |
| 48 | 47 | private MesMdItemService itemService; |
| 49 | - | |
| 50 | 48 | @Resource |
| 51 | 49 | private MesMdUnitMeasureService unitMeasureService; |
| 52 | - | |
| 53 | 50 | @Resource |
| 54 | 51 | private MesMdItemTypeService itemTypeService; |
| 55 | - | |
| 56 | 52 | @Resource |
| 57 | 53 | private MesMdProductBomService productBomService; |
| 58 | 54 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/workorder/MesProWorkOrderController.java
| ... | ... | @@ -47,16 +47,12 @@ public class MesProWorkOrderController { |
| 47 | 47 | |
| 48 | 48 | @Resource |
| 49 | 49 | private MesProWorkOrderService workOrderService; |
| 50 | - | |
| 51 | 50 | @Resource |
| 52 | 51 | private MesMdItemService itemService; |
| 53 | - | |
| 54 | 52 | @Resource |
| 55 | 53 | private MesMdClientService clientService; |
| 56 | - | |
| 57 | 54 | @Resource |
| 58 | 55 | private MesMdVendorService vendorService; |
| 59 | - | |
| 60 | 56 | @Resource |
| 61 | 57 | private MesMdUnitMeasureService unitMeasureService; |
| 62 | 58 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/tm/tool/MesTmToolController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/arrivalnotice/MesWmArrivalNoticeController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/arrivalnotice/MesWmArrivalNoticeLineController.java
| ... | ... | @@ -40,13 +40,10 @@ public class MesWmArrivalNoticeLineController { |
| 40 | 40 | |
| 41 | 41 | @Resource |
| 42 | 42 | private MesWmArrivalNoticeLineService arrivalNoticeLineService; |
| 43 | - | |
| 44 | 43 | @Resource |
| 45 | 44 | private MesMdItemService itemService; |
| 46 | - | |
| 47 | 45 | @Resource |
| 48 | 46 | private MesMdUnitMeasureService unitMeasureService; |
| 49 | - | |
| 50 | 47 | @Resource |
| 51 | 48 | private MesQcIqcService iqcService; |
| 52 | 49 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/itemreceipt/MesWmItemReceiptController.java
| ... | ... | @@ -46,13 +46,10 @@ public class MesWmItemReceiptController { |
| 46 | 46 | |
| 47 | 47 | @Resource |
| 48 | 48 | private MesWmItemReceiptService itemReceiptService; |
| 49 | - | |
| 50 | 49 | @Resource |
| 51 | 50 | private MesMdVendorService vendorService; |
| 52 | - | |
| 53 | 51 | @Resource |
| 54 | 52 | private MesQcIqcService iqcService; |
| 55 | - | |
| 56 | 53 | @Resource |
| 57 | 54 | private MesWmArrivalNoticeService arrivalNoticeService; |
| 58 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/itemreceipt/MesWmItemReceiptDetailController.java
| ... | ... | @@ -42,19 +42,14 @@ public class MesWmItemReceiptDetailController { |
| 42 | 42 | |
| 43 | 43 | @Resource |
| 44 | 44 | private MesWmItemReceiptDetailService itemReceiptDetailService; |
| 45 | - | |
| 46 | 45 | @Resource |
| 47 | 46 | private MesMdItemService itemService; |
| 48 | - | |
| 49 | 47 | @Resource |
| 50 | 48 | private MesMdUnitMeasureService unitMeasureService; |
| 51 | - | |
| 52 | 49 | @Resource |
| 53 | 50 | private MesWmWarehouseService warehouseService; |
| 54 | - | |
| 55 | 51 | @Resource |
| 56 | 52 | private MesWmWarehouseLocationService locationService; |
| 57 | - | |
| 58 | 53 | @Resource |
| 59 | 54 | private MesWmWarehouseAreaService areaService; |
| 60 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/materialstock/MesWmMaterialStockController.java
| ... | ... | @@ -52,22 +52,16 @@ public class MesWmMaterialStockController { |
| 52 | 52 | |
| 53 | 53 | @Resource |
| 54 | 54 | private MesWmMaterialStockService materialStockService; |
| 55 | - | |
| 56 | 55 | @Resource |
| 57 | 56 | private MesMdItemService itemService; |
| 58 | - | |
| 59 | 57 | @Resource |
| 60 | 58 | private MesMdUnitMeasureService unitMeasureService; |
| 61 | - | |
| 62 | 59 | @Resource |
| 63 | 60 | private MesWmWarehouseService warehouseService; |
| 64 | - | |
| 65 | 61 | @Resource |
| 66 | 62 | private MesWmWarehouseLocationService locationService; |
| 67 | - | |
| 68 | 63 | @Resource |
| 69 | 64 | private MesWmWarehouseAreaService areaService; |
| 70 | - | |
| 71 | 65 | @Resource |
| 72 | 66 | private MesMdVendorService vendorService; |
| 73 | 67 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/miscissue/MesWmMiscIssueLineController.java
| ... | ... | @@ -44,19 +44,14 @@ public class MesWmMiscIssueLineController { |
| 44 | 44 | |
| 45 | 45 | @Resource |
| 46 | 46 | private MesWmMiscIssueLineService miscIssueLineService; |
| 47 | - | |
| 48 | 47 | @Resource |
| 49 | 48 | private MesMdItemService itemService; |
| 50 | - | |
| 51 | 49 | @Resource |
| 52 | 50 | private MesMdUnitMeasureService unitMeasureService; |
| 53 | - | |
| 54 | 51 | @Resource |
| 55 | 52 | private MesWmWarehouseService warehouseService; |
| 56 | - | |
| 57 | 53 | @Resource |
| 58 | 54 | private MesWmWarehouseLocationService warehouseLocationService; |
| 59 | - | |
| 60 | 55 | @Resource |
| 61 | 56 | private MesWmWarehouseAreaService warehouseAreaService; |
| 62 | 57 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/miscreceipt/MesWmMiscReceiptLineController.java
| ... | ... | @@ -47,19 +47,14 @@ public class MesWmMiscReceiptLineController { |
| 47 | 47 | |
| 48 | 48 | @Resource |
| 49 | 49 | private MesWmMiscReceiptLineService miscReceiptLineService; |
| 50 | - | |
| 51 | 50 | @Resource |
| 52 | 51 | private MesMdItemService itemService; |
| 53 | - | |
| 54 | 52 | @Resource |
| 55 | 53 | private MesMdUnitMeasureService unitMeasureService; |
| 56 | - | |
| 57 | 54 | @Resource |
| 58 | 55 | private MesWmWarehouseService warehouseService; |
| 59 | - | |
| 60 | 56 | @Resource |
| 61 | 57 | private MesWmWarehouseLocationService warehouseLocationService; |
| 62 | - | |
| 63 | 58 | @Resource |
| 64 | 59 | private MesWmWarehouseAreaService warehouseAreaService; |
| 65 | 60 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/outsourceissue/MesWmOutsourceIssueController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/outsourceissue/MesWmOutsourceIssueDetailController.java
| ... | ... | @@ -47,19 +47,14 @@ public class MesWmOutsourceIssueDetailController { |
| 47 | 47 | |
| 48 | 48 | @Resource |
| 49 | 49 | private MesWmOutsourceIssueDetailService outsourceIssueDetailService; |
| 50 | - | |
| 51 | 50 | @Resource |
| 52 | 51 | private MesMdItemService itemService; |
| 53 | - | |
| 54 | 52 | @Resource |
| 55 | 53 | private MesMdUnitMeasureService unitMeasureService; |
| 56 | - | |
| 57 | 54 | @Resource |
| 58 | 55 | private MesWmWarehouseService warehouseService; |
| 59 | - | |
| 60 | 56 | @Resource |
| 61 | 57 | private MesWmWarehouseLocationService locationService; |
| 62 | - | |
| 63 | 58 | @Resource |
| 64 | 59 | private MesWmWarehouseAreaService areaService; |
| 65 | 60 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/outsourceissue/MesWmOutsourceIssueLineController.java
| ... | ... | @@ -47,13 +47,10 @@ public class MesWmOutsourceIssueLineController { |
| 47 | 47 | |
| 48 | 48 | @Resource |
| 49 | 49 | private MesWmOutsourceIssueLineService outsourceIssueLineService; |
| 50 | - | |
| 51 | 50 | @Resource |
| 52 | 51 | private MesMdItemService itemService; |
| 53 | - | |
| 54 | 52 | @Resource |
| 55 | 53 | private MesMdUnitMeasureService unitMeasureService; |
| 56 | - | |
| 57 | 54 | @Resource |
| 58 | 55 | private MesWmBatchService batchService; |
| 59 | 56 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/outsourcereceipt/MesWmOutsourceReceiptController.java
| ... | ... | @@ -44,10 +44,8 @@ public class MesWmOutsourceReceiptController { |
| 44 | 44 | |
| 45 | 45 | @Resource |
| 46 | 46 | private MesWmOutsourceReceiptService outsourceReceiptService; |
| 47 | - | |
| 48 | 47 | @Resource |
| 49 | 48 | private MesMdVendorService vendorService; |
| 50 | - | |
| 51 | 49 | @Resource |
| 52 | 50 | private MesProWorkOrderService workOrderService; |
| 53 | 51 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/outsourcereceipt/MesWmOutsourceReceiptDetailController.java
| ... | ... | @@ -42,19 +42,14 @@ public class MesWmOutsourceReceiptDetailController { |
| 42 | 42 | |
| 43 | 43 | @Resource |
| 44 | 44 | private MesWmOutsourceReceiptDetailService detailService; |
| 45 | - | |
| 46 | 45 | @Resource |
| 47 | 46 | private MesMdItemService itemService; |
| 48 | - | |
| 49 | 47 | @Resource |
| 50 | 48 | private MesMdUnitMeasureService unitMeasureService; |
| 51 | - | |
| 52 | 49 | @Resource |
| 53 | 50 | private MesWmWarehouseService warehouseService; |
| 54 | - | |
| 55 | 51 | @Resource |
| 56 | 52 | private MesWmWarehouseLocationService locationService; |
| 57 | - | |
| 58 | 53 | @Resource |
| 59 | 54 | private MesWmWarehouseAreaService areaService; |
| 60 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/outsourcereceipt/MesWmOutsourceReceiptLineController.java
| ... | ... | @@ -38,10 +38,8 @@ public class MesWmOutsourceReceiptLineController { |
| 38 | 38 | |
| 39 | 39 | @Resource |
| 40 | 40 | private MesWmOutsourceReceiptLineService receiptLineService; |
| 41 | - | |
| 42 | 41 | @Resource |
| 43 | 42 | private MesMdItemService itemService; |
| 44 | - | |
| 45 | 43 | @Resource |
| 46 | 44 | private MesMdUnitMeasureService unitMeasureService; |
| 47 | 45 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/packages/MesWmPackageController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productissue/MesWmProductIssueDetailController.java
| ... | ... | @@ -42,19 +42,14 @@ public class MesWmProductIssueDetailController { |
| 42 | 42 | |
| 43 | 43 | @Resource |
| 44 | 44 | private MesWmProductIssueDetailService issueDetailService; |
| 45 | - | |
| 46 | 45 | @Resource |
| 47 | 46 | private MesMdItemService itemService; |
| 48 | - | |
| 49 | 47 | @Resource |
| 50 | 48 | private MesMdUnitMeasureService unitMeasureService; |
| 51 | - | |
| 52 | 49 | @Resource |
| 53 | 50 | private MesWmWarehouseService warehouseService; |
| 54 | - | |
| 55 | 51 | @Resource |
| 56 | 52 | private MesWmWarehouseLocationService locationService; |
| 57 | - | |
| 58 | 53 | @Resource |
| 59 | 54 | private MesWmWarehouseAreaService areaService; |
| 60 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productissue/MesWmProductIssueLineController.java
| ... | ... | @@ -38,10 +38,8 @@ public class MesWmProductIssueLineController { |
| 38 | 38 | |
| 39 | 39 | @Resource |
| 40 | 40 | private MesWmProductIssueLineService issueLineService; |
| 41 | - | |
| 42 | 41 | @Resource |
| 43 | 42 | private MesMdItemService itemService; |
| 44 | - | |
| 45 | 43 | @Resource |
| 46 | 44 | private MesMdUnitMeasureService unitMeasureService; |
| 47 | 45 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productreceipt/MesWmProductReceiptController.java
| ... | ... | @@ -46,13 +46,10 @@ public class MesWmProductReceiptController { |
| 46 | 46 | |
| 47 | 47 | @Resource |
| 48 | 48 | private MesWmProductReceiptService productReceiptService; |
| 49 | - | |
| 50 | 49 | @Resource |
| 51 | 50 | private MesProWorkOrderService workOrderService; |
| 52 | - | |
| 53 | 51 | @Resource |
| 54 | 52 | private MesMdItemService itemService; |
| 55 | - | |
| 56 | 53 | @Resource |
| 57 | 54 | private MesMdUnitMeasureService unitMeasureService; |
| 58 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productreceipt/MesWmProductReceiptDetailController.java
| ... | ... | @@ -42,19 +42,14 @@ public class MesWmProductReceiptDetailController { |
| 42 | 42 | |
| 43 | 43 | @Resource |
| 44 | 44 | private MesWmProductReceiptDetailService productReceiptDetailService; |
| 45 | - | |
| 46 | 45 | @Resource |
| 47 | 46 | private MesMdItemService itemService; |
| 48 | - | |
| 49 | 47 | @Resource |
| 50 | 48 | private MesMdUnitMeasureService unitMeasureService; |
| 51 | - | |
| 52 | 49 | @Resource |
| 53 | 50 | private MesWmWarehouseService warehouseService; |
| 54 | - | |
| 55 | 51 | @Resource |
| 56 | 52 | private MesWmWarehouseLocationService locationService; |
| 57 | - | |
| 58 | 53 | @Resource |
| 59 | 54 | private MesWmWarehouseAreaService areaService; |
| 60 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productreceipt/MesWmProductReceiptLineController.java
| ... | ... | @@ -38,10 +38,8 @@ public class MesWmProductReceiptLineController { |
| 38 | 38 | |
| 39 | 39 | @Resource |
| 40 | 40 | private MesWmProductReceiptLineService productReceiptLineService; |
| 41 | - | |
| 42 | 41 | @Resource |
| 43 | 42 | private MesMdItemService itemService; |
| 44 | - | |
| 45 | 43 | @Resource |
| 46 | 44 | private MesMdUnitMeasureService unitMeasureService; |
| 47 | 45 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productsales/MesWmProductSalesController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productsales/MesWmProductSalesDetailController.java
| ... | ... | @@ -42,19 +42,14 @@ public class MesWmProductSalesDetailController { |
| 42 | 42 | |
| 43 | 43 | @Resource |
| 44 | 44 | private MesWmProductSalesDetailService productSalesDetailService; |
| 45 | - | |
| 46 | 45 | @Resource |
| 47 | 46 | private MesMdItemService itemService; |
| 48 | - | |
| 49 | 47 | @Resource |
| 50 | 48 | private MesMdUnitMeasureService unitMeasureService; |
| 51 | - | |
| 52 | 49 | @Resource |
| 53 | 50 | private MesWmWarehouseService warehouseService; |
| 54 | - | |
| 55 | 51 | @Resource |
| 56 | 52 | private MesWmWarehouseLocationService locationService; |
| 57 | - | |
| 58 | 53 | @Resource |
| 59 | 54 | private MesWmWarehouseAreaService areaService; |
| 60 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/productsales/MesWmProductSalesLineController.java
| ... | ... | @@ -40,10 +40,8 @@ public class MesWmProductSalesLineController { |
| 40 | 40 | |
| 41 | 41 | @Resource |
| 42 | 42 | private MesWmProductSalesLineService productSalesLineService; |
| 43 | - | |
| 44 | 43 | @Resource |
| 45 | 44 | private MesMdItemService itemService; |
| 46 | - | |
| 47 | 45 | @Resource |
| 48 | 46 | private MesMdUnitMeasureService unitMeasureService; |
| 49 | 47 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/returnissue/MesWmReturnIssueDetailController.java
| ... | ... | @@ -42,19 +42,14 @@ public class MesWmReturnIssueDetailController { |
| 42 | 42 | |
| 43 | 43 | @Resource |
| 44 | 44 | private MesWmReturnIssueDetailService issueDetailService; |
| 45 | - | |
| 46 | 45 | @Resource |
| 47 | 46 | private MesMdItemService itemService; |
| 48 | - | |
| 49 | 47 | @Resource |
| 50 | 48 | private MesMdUnitMeasureService unitMeasureService; |
| 51 | - | |
| 52 | 49 | @Resource |
| 53 | 50 | private MesWmWarehouseService warehouseService; |
| 54 | - | |
| 55 | 51 | @Resource |
| 56 | 52 | private MesWmWarehouseLocationService locationService; |
| 57 | - | |
| 58 | 53 | @Resource |
| 59 | 54 | private MesWmWarehouseAreaService areaService; |
| 60 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/returnissue/MesWmReturnIssueLineController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/returnsales/MesWmReturnSalesDetailController.java
| ... | ... | @@ -47,19 +47,14 @@ public class MesWmReturnSalesDetailController { |
| 47 | 47 | |
| 48 | 48 | @Resource |
| 49 | 49 | private MesWmReturnSalesDetailService returnSalesDetailService; |
| 50 | - | |
| 51 | 50 | @Resource |
| 52 | 51 | private MesMdItemService itemService; |
| 53 | - | |
| 54 | 52 | @Resource |
| 55 | 53 | private MesMdUnitMeasureService unitMeasureService; |
| 56 | - | |
| 57 | 54 | @Resource |
| 58 | 55 | private MesWmWarehouseService warehouseService; |
| 59 | - | |
| 60 | 56 | @Resource |
| 61 | 57 | private MesWmWarehouseLocationService locationService; |
| 62 | - | |
| 63 | 58 | @Resource |
| 64 | 59 | private MesWmWarehouseAreaService areaService; |
| 65 | 60 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/returnsales/MesWmReturnSalesLineController.java
| ... | ... | @@ -43,10 +43,8 @@ public class MesWmReturnSalesLineController { |
| 43 | 43 | |
| 44 | 44 | @Resource |
| 45 | 45 | private MesWmReturnSalesLineService returnSalesLineService; |
| 46 | - | |
| 47 | 46 | @Resource |
| 48 | 47 | private MesMdItemService itemService; |
| 49 | - | |
| 50 | 48 | @Resource |
| 51 | 49 | private MesMdUnitMeasureService unitMeasureService; |
| 52 | 50 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/returnvendor/MesWmReturnVendorDetailController.java
| ... | ... | @@ -42,19 +42,14 @@ public class MesWmReturnVendorDetailController { |
| 42 | 42 | |
| 43 | 43 | @Resource |
| 44 | 44 | private MesWmReturnVendorDetailService returnVendorDetailService; |
| 45 | - | |
| 46 | 45 | @Resource |
| 47 | 46 | private MesMdItemService itemService; |
| 48 | - | |
| 49 | 47 | @Resource |
| 50 | 48 | private MesMdUnitMeasureService unitMeasureService; |
| 51 | - | |
| 52 | 49 | @Resource |
| 53 | 50 | private MesWmWarehouseService warehouseService; |
| 54 | - | |
| 55 | 51 | @Resource |
| 56 | 52 | private MesWmWarehouseLocationService locationService; |
| 57 | - | |
| 58 | 53 | @Resource |
| 59 | 54 | private MesWmWarehouseAreaService areaService; |
| 60 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/returnvendor/MesWmReturnVendorLineController.java
| ... | ... | @@ -38,10 +38,8 @@ public class MesWmReturnVendorLineController { |
| 38 | 38 | |
| 39 | 39 | @Resource |
| 40 | 40 | private MesWmReturnVendorLineService returnVendorLineService; |
| 41 | - | |
| 42 | 41 | @Resource |
| 43 | 42 | private MesMdItemService itemService; |
| 44 | - | |
| 45 | 43 | @Resource |
| 46 | 44 | private MesMdUnitMeasureService unitMeasureService; |
| 47 | 45 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/salesnotice/MesWmSalesNoticeController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/salesnotice/MesWmSalesNoticeLineController.java
| ... | ... | @@ -38,10 +38,8 @@ public class MesWmSalesNoticeLineController { |
| 38 | 38 | |
| 39 | 39 | @Resource |
| 40 | 40 | private MesWmSalesNoticeLineService salesNoticeLineService; |
| 41 | - | |
| 42 | 41 | @Resource |
| 43 | 42 | private MesMdItemService itemService; |
| 44 | - | |
| 45 | 43 | @Resource |
| 46 | 44 | private MesMdUnitMeasureService unitMeasureService; |
| 47 | 45 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/sn/MesWmSnController.java
| ... | ... | @@ -13,7 +13,9 @@ import cn.iocoder.yudao.module.mes.controller.admin.wm.sn.vo.MesWmSnGroupRespVO; |
| 13 | 13 | import cn.iocoder.yudao.module.mes.controller.admin.wm.sn.vo.MesWmSnPageReqVO; |
| 14 | 14 | import cn.iocoder.yudao.module.mes.controller.admin.wm.sn.vo.MesWmSnRespVO; |
| 15 | 15 | import cn.iocoder.yudao.module.mes.dal.dataobject.md.item.MesMdItemDO; |
| 16 | +import cn.iocoder.yudao.module.mes.dal.dataobject.md.unitmeasure.MesMdUnitMeasureDO; | |
| 16 | 17 | import cn.iocoder.yudao.module.mes.service.md.item.MesMdItemService; |
| 18 | +import cn.iocoder.yudao.module.mes.service.md.unitmeasure.MesMdUnitMeasureService; | |
| 17 | 19 | import cn.iocoder.yudao.module.mes.service.wm.sn.MesWmSnService; |
| 18 | 20 | import io.swagger.v3.oas.annotations.Operation; |
| 19 | 21 | import io.swagger.v3.oas.annotations.Parameter; |
| ... | ... | @@ -44,6 +46,8 @@ public class MesWmSnController { |
| 44 | 46 | private MesWmSnService snService; |
| 45 | 47 | @Resource |
| 46 | 48 | private MesMdItemService itemService; |
| 49 | + @Resource | |
| 50 | + private MesMdUnitMeasureService unitMeasureService; | |
| 47 | 51 | |
| 48 | 52 | @PostMapping("/generate") |
| 49 | 53 | @Operation(summary = "生成 SN 码") |
| ... | ... | @@ -103,8 +107,12 @@ public class MesWmSnController { |
| 103 | 107 | return; |
| 104 | 108 | } |
| 105 | 109 | Map<Long, MesMdItemDO> itemMap = itemService.getItemMap(convertSet(list, MesWmSnGroupRespVO::getItemId)); |
| 106 | - list.forEach(vo -> MapUtils.findAndThen(itemMap, vo.getItemId(), item -> | |
| 107 | - vo.setItemCode(item.getCode()).setItemName(item.getName()).setSpecification(item.getSpecification()))); | |
| 110 | + Map<Long, MesMdUnitMeasureDO> unitMap = unitMeasureService.getUnitMeasureMap( | |
| 111 | + convertSet(itemMap.values(), MesMdItemDO::getUnitMeasureId)); | |
| 112 | + list.forEach(vo -> MapUtils.findAndThen(itemMap, vo.getItemId(), item -> { | |
| 113 | + vo.setItemCode(item.getCode()).setItemName(item.getName()).setSpecification(item.getSpecification()); | |
| 114 | + MapUtils.findAndThen(unitMap, item.getUnitMeasureId(), unit -> vo.setUnitName(unit.getName())); | |
| 115 | + })); | |
| 108 | 116 | } |
| 109 | 117 | |
| 110 | 118 | private void buildItemInfo(List<MesWmSnRespVO> list) { |
| ... | ... | @@ -112,8 +120,12 @@ public class MesWmSnController { |
| 112 | 120 | return; |
| 113 | 121 | } |
| 114 | 122 | Map<Long, MesMdItemDO> itemMap = itemService.getItemMap(convertSet(list, MesWmSnRespVO::getItemId)); |
| 115 | - list.forEach(vo -> MapUtils.findAndThen(itemMap, vo.getItemId(), item -> | |
| 116 | - vo.setItemCode(item.getCode()).setItemName(item.getName()).setSpecification(item.getSpecification()))); | |
| 123 | + Map<Long, MesMdUnitMeasureDO> unitMap = unitMeasureService.getUnitMeasureMap( | |
| 124 | + convertSet(itemMap.values(), MesMdItemDO::getUnitMeasureId)); | |
| 125 | + list.forEach(vo -> MapUtils.findAndThen(itemMap, vo.getItemId(), item -> { | |
| 126 | + vo.setItemCode(item.getCode()).setItemName(item.getName()).setSpecification(item.getSpecification()); | |
| 127 | + MapUtils.findAndThen(unitMap, item.getUnitMeasureId(), unit -> vo.setUnitName(unit.getName())); | |
| 128 | + })); | |
| 117 | 129 | } |
| 118 | 130 | |
| 119 | 131 | } | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/sn/vo/MesWmSnGroupRespVO.java
| ... | ... | @@ -34,6 +34,10 @@ public class MesWmSnGroupRespVO { |
| 34 | 34 | @ExcelProperty("规格型号") |
| 35 | 35 | private String specification; |
| 36 | 36 | |
| 37 | + @Schema(description = "单位", example = "个") | |
| 38 | + @ExcelProperty("单位") | |
| 39 | + private String unitName; | |
| 40 | + | |
| 37 | 41 | @Schema(description = "批次号", example = "BATCH001") |
| 38 | 42 | @ExcelProperty("批次号") |
| 39 | 43 | private String batchCode; | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/sn/vo/MesWmSnRespVO.java
| ... | ... | @@ -37,6 +37,10 @@ public class MesWmSnRespVO { |
| 37 | 37 | @ExcelProperty("规格型号") |
| 38 | 38 | private String specification; |
| 39 | 39 | |
| 40 | + @Schema(description = "单位", example = "个") | |
| 41 | + @ExcelProperty("单位") | |
| 42 | + private String unitName; | |
| 43 | + | |
| 40 | 44 | @Schema(description = "批次号", example = "BATCH001") |
| 41 | 45 | @ExcelProperty("批次号") |
| 42 | 46 | private String batchCode; | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/stocktaking/task/MesWmStockTakingTaskController.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/transfer/MesWmTransferDetailController.java
| ... | ... | @@ -42,19 +42,14 @@ public class MesWmTransferDetailController { |
| 42 | 42 | |
| 43 | 43 | @Resource |
| 44 | 44 | private MesWmTransferDetailService transferDetailService; |
| 45 | - | |
| 46 | 45 | @Resource |
| 47 | 46 | private MesMdItemService itemService; |
| 48 | - | |
| 49 | 47 | @Resource |
| 50 | 48 | private MesMdUnitMeasureService unitMeasureService; |
| 51 | - | |
| 52 | 49 | @Resource |
| 53 | 50 | private MesWmWarehouseService warehouseService; |
| 54 | - | |
| 55 | 51 | @Resource |
| 56 | 52 | private MesWmWarehouseLocationService locationService; |
| 57 | - | |
| 58 | 53 | @Resource |
| 59 | 54 | private MesWmWarehouseAreaService areaService; |
| 60 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/transfer/MesWmTransferLineController.java
| ... | ... | @@ -42,19 +42,14 @@ public class MesWmTransferLineController { |
| 42 | 42 | |
| 43 | 43 | @Resource |
| 44 | 44 | private MesWmTransferLineService transferLineService; |
| 45 | - | |
| 46 | 45 | @Resource |
| 47 | 46 | private MesMdItemService itemService; |
| 48 | - | |
| 49 | 47 | @Resource |
| 50 | 48 | private MesMdUnitMeasureService unitMeasureService; |
| 51 | - | |
| 52 | 49 | @Resource |
| 53 | 50 | private MesWmWarehouseService warehouseService; |
| 54 | - | |
| 55 | 51 | @Resource |
| 56 | 52 | private MesWmWarehouseLocationService locationService; |
| 57 | - | |
| 58 | 53 | @Resource |
| 59 | 54 | private MesWmWarehouseAreaService areaService; |
| 60 | 55 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/wm/warehouse/MesWmWarehouseAreaController.java
| ... | ... | @@ -38,10 +38,8 @@ public class MesWmWarehouseAreaController { |
| 38 | 38 | |
| 39 | 39 | @Resource |
| 40 | 40 | private MesWmWarehouseAreaService areaService; |
| 41 | - | |
| 42 | 41 | @Resource |
| 43 | 42 | private MesWmWarehouseLocationService locationService; |
| 44 | - | |
| 45 | 43 | @Resource |
| 46 | 44 | private MesWmWarehouseService warehouseService; |
| 47 | 45 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/plan/MesCalPlanServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/plan/MesCalPlanShiftServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/plan/MesCalPlanTeamServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/team/MesCalTeamMemberServiceImpl.java
| ... | ... | @@ -29,9 +29,11 @@ public class MesCalTeamMemberServiceImpl implements MesCalTeamMemberService { |
| 29 | 29 | |
| 30 | 30 | @Resource |
| 31 | 31 | private MesCalTeamMemberMapper teamMemberMapper; |
| 32 | + | |
| 32 | 33 | @Resource |
| 33 | 34 | @Lazy |
| 34 | 35 | private MesCalTeamService teamService; |
| 36 | + | |
| 35 | 37 | @Resource |
| 36 | 38 | private AdminUserApi adminUserApi; |
| 37 | 39 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/team/MesCalTeamServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/cal/team/MesCalTeamShiftServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/dv/checkplan/MesDvCheckPlanServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/dv/checkplan/MesDvCheckPlanSubjectServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/dv/checkrecord/MesDvCheckRecordServiceImpl.java
| ... | ... | @@ -41,6 +41,7 @@ public class MesDvCheckRecordServiceImpl implements MesDvCheckRecordService { |
| 41 | 41 | |
| 42 | 42 | @Resource |
| 43 | 43 | private MesDvCheckRecordMapper checkRecordMapper; |
| 44 | + | |
| 44 | 45 | @Resource |
| 45 | 46 | @Lazy |
| 46 | 47 | private MesDvCheckRecordLineService checkRecordLineService; |
| ... | ... | @@ -50,6 +51,7 @@ public class MesDvCheckRecordServiceImpl implements MesDvCheckRecordService { |
| 50 | 51 | private MesDvCheckPlanService checkPlanService; |
| 51 | 52 | @Resource |
| 52 | 53 | private MesDvCheckPlanSubjectService checkPlanSubjectService; |
| 54 | + | |
| 53 | 55 | @Resource |
| 54 | 56 | private AdminUserApi adminUserApi; |
| 55 | 57 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/dv/machinery/MesDvMachineryServiceImpl.java
| ... | ... | @@ -49,26 +49,20 @@ public class MesDvMachineryServiceImpl implements MesDvMachineryService { |
| 49 | 49 | @Resource |
| 50 | 50 | @Lazy // 延迟加载,避免循环依赖 |
| 51 | 51 | private MesDvMachineryTypeService machineryTypeService; |
| 52 | - | |
| 53 | 52 | @Resource |
| 54 | 53 | @Lazy |
| 55 | 54 | private MesMdWorkshopService workshopService; |
| 56 | - | |
| 57 | 55 | @Resource |
| 58 | 56 | private MesWmBarcodeService barcodeService; |
| 59 | - | |
| 60 | 57 | @Resource |
| 61 | 58 | @Lazy |
| 62 | 59 | private MesDvCheckPlanMachineryService checkPlanMachineryService; |
| 63 | - | |
| 64 | 60 | @Resource |
| 65 | 61 | @Lazy |
| 66 | 62 | private MesDvCheckRecordService checkRecordService; |
| 67 | - | |
| 68 | 63 | @Resource |
| 69 | 64 | @Lazy |
| 70 | 65 | private MesDvMaintenRecordService maintenRecordService; |
| 71 | - | |
| 72 | 66 | @Resource |
| 73 | 67 | @Lazy |
| 74 | 68 | private MesDvRepairService repairService; | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/dv/maintenrecord/MesDvMaintenRecordServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/dv/subject/MesDvSubjectServiceImpl.java
| ... | ... | @@ -33,7 +33,7 @@ public class MesDvSubjectServiceImpl implements MesDvSubjectService { |
| 33 | 33 | |
| 34 | 34 | @Resource |
| 35 | 35 | private MesDvSubjectMapper subjectMapper; |
| 36 | - // DONE @AI:调用对方的 service | |
| 36 | + | |
| 37 | 37 | @Resource |
| 38 | 38 | @Lazy |
| 39 | 39 | private MesDvCheckPlanSubjectService checkPlanSubjectService; | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/md/autocode/MesMdAutoCodeRuleServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/md/workstation/MesMdWorkstationServiceImpl.java
| ... | ... | @@ -51,7 +51,6 @@ public class MesMdWorkstationServiceImpl implements MesMdWorkstationService { |
| 51 | 51 | private MesMdWorkstationToolService workstationToolService; |
| 52 | 52 | @Resource |
| 53 | 53 | private MesMdWorkstationWorkerService workstationWorkerService; |
| 54 | - | |
| 55 | 54 | @Resource |
| 56 | 55 | private MesMdWorkshopService workshopService; |
| 57 | 56 | @Resource | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pro/andon/MesProAndonRecordServiceImpl.java
| ... | ... | @@ -34,13 +34,10 @@ public class MesProAndonRecordServiceImpl implements MesProAndonRecordService { |
| 34 | 34 | |
| 35 | 35 | @Resource |
| 36 | 36 | private MesMdWorkstationService workstationService; |
| 37 | - | |
| 38 | 37 | @Resource |
| 39 | 38 | private MesProWorkOrderService workOrderService; |
| 40 | - | |
| 41 | 39 | @Resource |
| 42 | 40 | private MesProProcessService processService; |
| 43 | - | |
| 44 | 41 | @Resource |
| 45 | 42 | private MesProAndonConfigService andonConfigService; |
| 46 | 43 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pro/card/MesProCardProcessServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pro/card/MesProCardServiceImpl.java
| ... | ... | @@ -35,11 +35,9 @@ public class MesProCardServiceImpl implements MesProCardService { |
| 35 | 35 | @Resource |
| 36 | 36 | private MesProCardMapper cardMapper; |
| 37 | 37 | |
| 38 | - // DONE @AI:会用对应的 service | |
| 39 | 38 | @Resource |
| 40 | 39 | @Lazy |
| 41 | 40 | private MesProCardProcessService cardProcessService; |
| 42 | - | |
| 43 | 41 | @Resource |
| 44 | 42 | private MesProWorkOrderService workOrderService; |
| 45 | 43 | @Resource | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pro/process/MesProProcessServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pro/task/MesProTaskIssueServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/pro/workrecord/MesProWorkRecordServiceImpl.java
| ... | ... | @@ -33,6 +33,7 @@ public class MesProWorkRecordServiceImpl implements MesProWorkRecordService { |
| 33 | 33 | private MesProWorkRecordLogMapper workRecordLogMapper; |
| 34 | 34 | @Resource |
| 35 | 35 | private MesProWorkRecordMapper workRecordMapper; |
| 36 | + | |
| 36 | 37 | @Resource |
| 37 | 38 | private MesMdWorkstationService workstationService; |
| 38 | 39 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/qc/defectrecord/MesQcDefectRecordServiceImpl.java
| ... | ... | @@ -45,21 +45,18 @@ public class MesQcDefectRecordServiceImpl implements MesQcDefectRecordService { |
| 45 | 45 | @Resource |
| 46 | 46 | @Lazy |
| 47 | 47 | private MesQcIqcLineService iqcLineService; |
| 48 | - | |
| 49 | 48 | @Resource |
| 50 | 49 | @Lazy |
| 51 | 50 | private MesQcIpqcService ipqcService; |
| 52 | 51 | @Resource |
| 53 | 52 | @Lazy |
| 54 | 53 | private MesQcIpqcLineService ipqcLineService; |
| 55 | - | |
| 56 | 54 | @Resource |
| 57 | 55 | @Lazy |
| 58 | 56 | private MesQcOqcService oqcService; |
| 59 | 57 | @Resource |
| 60 | 58 | @Lazy |
| 61 | 59 | private MesQcOqcLineService oqcLineService; |
| 62 | - | |
| 63 | 60 | @Resource |
| 64 | 61 | @Lazy |
| 65 | 62 | private MesQcRqcService rqcService; | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/qc/ipqc/MesQcIpqcServiceImpl.java
| ... | ... | @@ -82,9 +82,6 @@ public class MesQcIpqcServiceImpl implements MesQcIpqcService { |
| 82 | 82 | @Resource |
| 83 | 83 | @Lazy |
| 84 | 84 | private MesProTaskService taskService; |
| 85 | - | |
| 86 | - @Resource | |
| 87 | - private AdminUserApi adminUserApi; | |
| 88 | 85 | @Resource |
| 89 | 86 | @Lazy |
| 90 | 87 | private MesProFeedbackService feedbackService; |
| ... | ... | @@ -92,6 +89,9 @@ public class MesQcIpqcServiceImpl implements MesQcIpqcService { |
| 92 | 89 | @Lazy |
| 93 | 90 | private MesQcIndicatorResultService indicatorResultService; |
| 94 | 91 | |
| 92 | + @Resource | |
| 93 | + private AdminUserApi adminUserApi; | |
| 94 | + | |
| 95 | 95 | @Override |
| 96 | 96 | @Transactional(rollbackFor = Exception.class) |
| 97 | 97 | public Long createIpqc(MesQcIpqcSaveReqVO createReqVO) { | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/qc/iqc/MesQcIqcServiceImpl.java
| ... | ... | @@ -64,13 +64,13 @@ public class MesQcIqcServiceImpl implements MesQcIqcService { |
| 64 | 64 | private MesMdVendorService vendorService; |
| 65 | 65 | @Resource |
| 66 | 66 | private MesMdItemService itemService; |
| 67 | - | |
| 68 | - @Resource | |
| 69 | - private AdminUserApi adminUserApi; | |
| 70 | 67 | @Resource |
| 71 | 68 | @Lazy |
| 72 | 69 | private MesQcIndicatorResultService indicatorResultService; |
| 73 | 70 | |
| 71 | + @Resource | |
| 72 | + private AdminUserApi adminUserApi; | |
| 73 | + | |
| 74 | 74 | @Override |
| 75 | 75 | @Transactional(rollbackFor = Exception.class) |
| 76 | 76 | public Long createIqc(MesQcIqcSaveReqVO createReqVO) { | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/qc/oqc/MesQcOqcLineServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/qc/oqc/MesQcOqcServiceImpl.java
| ... | ... | @@ -48,6 +48,7 @@ public class MesQcOqcServiceImpl implements MesQcOqcService { |
| 48 | 48 | |
| 49 | 49 | @Resource |
| 50 | 50 | private MesQcOqcMapper oqcMapper; |
| 51 | + | |
| 51 | 52 | @Resource |
| 52 | 53 | private MesQcTemplateItemService templateItemService; |
| 53 | 54 | @Resource |
| ... | ... | @@ -67,13 +68,13 @@ public class MesQcOqcServiceImpl implements MesQcOqcService { |
| 67 | 68 | @Resource |
| 68 | 69 | @Lazy |
| 69 | 70 | private MesWmProductSalesService productSalesService; |
| 70 | - | |
| 71 | - @Resource | |
| 72 | - private AdminUserApi adminUserApi; | |
| 73 | 71 | @Resource |
| 74 | 72 | @Lazy |
| 75 | 73 | private MesQcIndicatorResultService indicatorResultService; |
| 76 | 74 | |
| 75 | + @Resource | |
| 76 | + private AdminUserApi adminUserApi; | |
| 77 | + | |
| 77 | 78 | @Override |
| 78 | 79 | @Transactional(rollbackFor = Exception.class) |
| 79 | 80 | public Long createOqc(MesQcOqcSaveReqVO createReqVO) { | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/qc/rqc/MesQcRqcServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/qc/template/MesQcTemplateServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/tm/tool/MesTmToolServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/tm/tool/MesTmToolTypeServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/batch/MesWmBatchServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/itemconsume/MesWmItemConsumeServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/itemreceipt/MesWmItemReceiptDetailServiceImpl.java
| ... | ... | @@ -32,11 +32,9 @@ public class MesWmItemReceiptDetailServiceImpl implements MesWmItemReceiptDetail |
| 32 | 32 | @Resource |
| 33 | 33 | @Lazy |
| 34 | 34 | private MesWmItemReceiptService itemReceiptService; |
| 35 | - | |
| 36 | 35 | @Resource |
| 37 | 36 | @Lazy |
| 38 | 37 | private MesWmItemReceiptLineService itemReceiptLineService; |
| 39 | - | |
| 40 | 38 | @Resource |
| 41 | 39 | private MesWmWarehouseAreaService warehouseAreaService; |
| 42 | 40 | @Resource | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/itemreceipt/MesWmItemReceiptServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/miscissue/MesWmMiscIssueLineServiceImpl.java
| ... | ... | @@ -32,14 +32,11 @@ public class MesWmMiscIssueLineServiceImpl implements MesWmMiscIssueLineService |
| 32 | 32 | @Resource |
| 33 | 33 | @Lazy |
| 34 | 34 | private MesWmMiscIssueService miscIssueService; |
| 35 | - | |
| 36 | 35 | @Resource |
| 37 | 36 | @Lazy |
| 38 | 37 | private MesWmMiscIssueDetailService miscIssueDetailService; |
| 39 | - | |
| 40 | 38 | @Resource |
| 41 | 39 | private MesMdItemService itemService; |
| 42 | - | |
| 43 | 40 | @Resource |
| 44 | 41 | private MesWmWarehouseAreaService warehouseAreaService; |
| 45 | 42 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/outsourceissue/MesWmOutsourceIssueDetailServiceImpl.java
| ... | ... | @@ -30,6 +30,7 @@ public class MesWmOutsourceIssueDetailServiceImpl implements MesWmOutsourceIssue |
| 30 | 30 | |
| 31 | 31 | @Resource |
| 32 | 32 | private MesWmOutsourceIssueDetailMapper outsourceIssueDetailMapper; |
| 33 | + | |
| 33 | 34 | @Resource |
| 34 | 35 | @Lazy |
| 35 | 36 | private MesWmOutsourceIssueLineService outsourceIssueLineService; | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/outsourcereceipt/MesWmOutsourceReceiptDetailServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/outsourcereceipt/MesWmOutsourceReceiptLineServiceImpl.java
| ... | ... | @@ -37,19 +37,15 @@ public class MesWmOutsourceReceiptLineServiceImpl implements MesWmOutsourceRecei |
| 37 | 37 | |
| 38 | 38 | @Resource |
| 39 | 39 | private MesMdItemService itemService; |
| 40 | - | |
| 41 | 40 | @Resource |
| 42 | 41 | @Lazy |
| 43 | 42 | private MesWmOutsourceReceiptDetailService outsourceReceiptDetailService; |
| 44 | - | |
| 45 | 43 | @Resource |
| 46 | 44 | @Lazy |
| 47 | 45 | private MesWmOutsourceReceiptService outsourceReceiptService; |
| 48 | - | |
| 49 | 46 | @Resource |
| 50 | 47 | @Lazy |
| 51 | 48 | private MesProWorkOrderService workOrderService; |
| 52 | - | |
| 53 | 49 | @Resource |
| 54 | 50 | private MesWmBatchService batchService; |
| 55 | 51 | ... | ... |
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/packages/MesWmPackageLineServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/packages/MesWmPackageServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/productreceipt/MesWmProductReceiptDetailServiceImpl.java
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/productreceipt/MesWmProductReceiptLineServiceImpl.java
| ... | ... | @@ -31,10 +31,8 @@ public class MesWmProductReceiptLineServiceImpl implements MesWmProductReceiptLi |
| 31 | 31 | @Resource |
| 32 | 32 | @Lazy |
| 33 | 33 | private MesWmProductReceiptService productReceiptService; |
| 34 | - | |
| 35 | 34 | @Resource |
| 36 | 35 | private MesWmProductReceiptDetailService productReceiptDetailService; |
| 37 | - | |
| 38 | 36 | @Resource |
| 39 | 37 | private MesMdItemService itemService; |
| 40 | 38 | ... | ... |