From 17b66b7fba1c980638b6db24a12959cd3ddbdcad Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期五, 30 八月 2024 16:20:19 +0800 Subject: [PATCH] # --- zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/OutController.java | 29 +++-------------------------- 1 files changed, 3 insertions(+), 26 deletions(-) diff --git a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/OutController.java b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/OutController.java index a2b6d08..d3d6558 100644 --- a/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/OutController.java +++ b/zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/controller/OutController.java @@ -1,8 +1,7 @@ package com.zy.asrs.wms.asrs.controller; import com.zy.asrs.framework.common.R; -import com.zy.asrs.wms.asrs.controller.req.OutReq; -import com.zy.asrs.wms.asrs.entity.LocDetl; +import com.zy.asrs.wms.asrs.entity.param.OutParam; import com.zy.asrs.wms.asrs.manage.OutManage; import com.zy.asrs.wms.system.controller.BaseController; import org.springframework.beans.factory.annotation.Autowired; @@ -11,12 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; -import java.util.List; -import java.util.Map; -/** - * 杩欓噷澶勭悊鎵�鏈夌殑鍑哄簱娴佺▼鐨勬帴鍙� - */ @RestController @RequestMapping("/api") public class OutController extends BaseController { @@ -24,29 +18,12 @@ @Autowired private OutManage outManage; - - /** - * 鑾峰彇搴撳瓨 - * - * @param map - * @return - */ - @PostMapping("/out/getStock") - public R page(@RequestBody Map<String, Object> map) { - List<LocDetl> suitableMat = outManage.getSuitableMat(map); - return R.ok(suitableMat); - } - - /** * 鍑哄簱 - * - * @param outReq 鍑哄簱鍒楄〃 - * @return */ @PostMapping("/out/start") - public R page(@RequestBody OutReq outReq) { - outManage.out(outReq); + public R start(@RequestBody OutParam param) { + outManage.out(param); return R.ok(); } } -- Gitblit v1.9.1