From 9140aee230de0ef41de9682a9353fbd372e2bcaa Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期二, 03 三月 2026 13:43:22 +0800
Subject: [PATCH] 云仓WMS接口

---
 rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/ErpQueryController.java |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/ErpQueryController.java b/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/ErpQueryController.java
index 5bedb8f..9b86828 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/ErpQueryController.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/api/controller/erp/ErpQueryController.java
@@ -4,11 +4,13 @@
 import com.vincent.rsf.server.api.service.ReceiveMsgService;
 import com.vincent.rsf.framework.exception.CoolException;
 import com.vincent.rsf.server.api.controller.erp.params.*;
+import com.vincent.rsf.server.common.annotation.OperationLog;
 import com.vincent.rsf.server.common.domain.BaseParam;
 import com.vincent.rsf.server.common.domain.PageParam;
 import com.vincent.rsf.framework.common.R;
 
 import com.vincent.rsf.server.manager.entity.Loc;
+import com.vincent.rsf.server.manager.entity.Transfer;
 import com.vincent.rsf.server.manager.service.MatnrGroupService;
 import com.vincent.rsf.server.system.controller.BaseController;
 import io.swagger.annotations.Api;
@@ -36,6 +38,7 @@
 
     @Autowired
     private ReceiveMsgService receiveMsgService;
+
     @Autowired
     private MatnrGroupService matnrGroupService;
 
@@ -46,6 +49,7 @@
      * @version 1.0
      */
     @ApiOperation(value = "鏌ヨ鍒嗙被淇℃伅")
+    @OperationLog("鐗╂枡鍒嗙被鍒楄〃")
     @PostMapping("/query/matnr/group")
     public R syncMatGroup() {
         return R.ok().add(matnrGroupService.list());
@@ -58,6 +62,7 @@
      * @version 1.0
      */
     @ApiOperation(value = "鏌ヨ鍗曟嵁鐘舵�佸強鏄庣粏")
+    @OperationLog("鏌ヨ璁㈠崟鐘舵�佸強鏄庣粏")
     @PostMapping("/query/order")
     public R queryOrderStatus(@RequestBody QueryOrderParam queryParams) {
         if (Objects.isNull(queryParams)) {
@@ -75,6 +80,7 @@
      */
     @PostMapping("/query/locs/detls")
     @ApiOperation(value = "搴撲綅淇℃伅鏌ヨ")
+    @OperationLog("搴撲綅鏄庣粏鍒楄〃")
     public R syncLocDetls(@RequestBody Map<String, Object> map) {
         BaseParam baseParam = buildParam(map, BaseParam.class);
         PageParam<Loc, BaseParam> pageParam = new PageParam<>(baseParam, Loc.class);
@@ -82,5 +88,38 @@
         return receiveMsgService.syncLocsDetl(pageParam, wrapper);
     }
 
+    /**
+     * @author Ryan
+     * @date 2025/8/21
+     * @description: 璋冩嫈鍗曚俊鎭煡璇�
+     * @version 1.0
+     */
+    @PostMapping("/query/transfer")
+    @ApiOperation("鏌ヨ璋冩嫈鍗曞強鏄庣粏")
+    @OperationLog("璋冩嫈鍗曞強鏄庣粏鏌ヨ")
+    public R queryTransfer(@RequestBody QueryOrderParam queryParams) {
+        if (Objects.isNull(queryParams)) {
+            throw new CoolException("鍙傛暟涓嶈兘涓虹┖锛侊紒");
+        }
+        return receiveMsgService.queryTransfer(queryParams);
+    }
+
+    /**
+     * 瀵规帴鍗忚 8.4 搴撳瓨鏄庣粏鏌ヨ
+     */
+    @PostMapping("/inventory/details")
+    @ApiOperation(value = "搴撳瓨鏄庣粏鏌ヨ")
+    public R inventoryDetails(@RequestBody(required = false) InventoryDetailsParam param) {
+        return receiveMsgService.inventoryDetails(param != null ? param : new InventoryDetailsParam());
+    }
+
+    /**
+     * 瀵规帴鍗忚 8.5 搴撳瓨姹囨�绘煡璇�
+     */
+    @PostMapping("/inventory/summary")
+    @ApiOperation(value = "搴撳瓨姹囨�绘煡璇�")
+    public R inventorySummary(@RequestBody(required = false) InventorySummaryParam param) {
+        return receiveMsgService.inventorySummary(param != null ? param : new InventorySummaryParam());
+    }
 
 }

--
Gitblit v1.9.1