Quellcode durchsuchen

fix:完善代码

请勿打扰 vor 6 Monaten
Ursprung
Commit
0edba6ae66

+ 11 - 0
ruoyi-modules/ruoyi-productionManagementOfBulkOrders/src/main/java/org/dromara/productionManagement/controller/ProductionPlanController.java

@@ -1,6 +1,17 @@
 package org.dromara.productionManagement.controller;
 
+import lombok.RequiredArgsConstructor;
 import org.dromara.common.web.core.BaseController;
+import org.dromara.productionManagement.service.ProductionPlanService;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
 
+/**
+ * 生产计划管理接口
+ */
+@RestController
+@RequiredArgsConstructor
+@RequestMapping("/productionManagement/productionPlan")
 public class ProductionPlanController extends BaseController {
+    private final ProductionPlanService productionPlanService;
 }

+ 3 - 0
ruoyi-modules/ruoyi-productionManagementOfBulkOrders/src/main/java/org/dromara/productionManagement/service/ProductionPlanService.java

@@ -1,4 +1,7 @@
 package org.dromara.productionManagement.service;
 
+/**
+ * 生产计划服务层
+ */
 public interface ProductionPlanService {
 }

+ 13 - 1
ruoyi-modules/ruoyi-productionManagementOfBulkOrders/src/main/java/org/dromara/productionManagement/service/impl/ProductionPlanServiceImpl.java

@@ -1,4 +1,16 @@
 package org.dromara.productionManagement.service.impl;
 
-public class ProductionPlanServiceImpl {
+import lombok.RequiredArgsConstructor;
+import org.dromara.productionManagement.mapper.ProductionPlanMapper;
+import org.dromara.productionManagement.service.ProductionPlanService;
+import org.springframework.stereotype.Service;
+
+/**
+ * 生产计划服务层实现
+ */
+@Service
+@RequiredArgsConstructor
+public class ProductionPlanServiceImpl implements ProductionPlanService {
+
+    private final ProductionPlanMapper productionPlanMapper;
 }