From a96f75a9bf1eda62d7daabeb1726a7d96eb9890b Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期五, 22 十一月 2024 16:50:18 +0800
Subject: [PATCH] 新增装箱打印
---
north-glass-erp/src/main/java/com/example/erp/controller/pp/GlassOptimizeController.java | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/GlassOptimizeController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/GlassOptimizeController.java
index 6581d97..efb7a7d 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/GlassOptimizeController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/GlassOptimizeController.java
@@ -2,17 +2,14 @@
import cn.dev33.satoken.annotation.SaCheckPermission;
import com.example.erp.common.Result;
-import com.example.erp.entity.sd.OrderDetail;
-import com.example.erp.entity.sd.OrderGlassDetail;
+import com.example.erp.entity.pp.OptimizeProjectMange;
import com.example.erp.service.pp.GlassOptimizeService;
-import com.example.erp.service.pp.WorkOrderService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.sql.Date;
-import java.util.Map;
@RestController
@Api(value="浼樺寲绠$悊controller",tags={"浼樺寲绠$悊鎿嶄綔鎺ュ彛"})
@@ -30,4 +27,13 @@
return Result.seccess(glassOptimizeService.getFlowCardList(optionVal,radio));
}
+ //宸ョ▼绠$悊鏌ヨ
+ @ApiOperation("宸ョ▼绠$悊鏌ヨ鎺ュ彛")
+ @PostMapping("/optimizeProjectMange/{startSelectTime}/{endSelectTime}")
+ public Result optimizeProjectMange(
+ @PathVariable Date startSelectTime,
+ @PathVariable Date endSelectTime,
+ @RequestBody OptimizeProjectMange optimizeProjectMange) {
+ return Result.seccess(glassOptimizeService.OptimizeProjectMange(startSelectTime,endSelectTime,optimizeProjectMange));
+ }
}
--
Gitblit v1.8.0