From 563ffc29857acd93c7298ddfca700c1fb01b18e0 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期五, 31 十月 2025 17:03:19 +0800
Subject: [PATCH] no message

---
 rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsErpController.java |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsErpController.java b/rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsErpController.java
index a8acd14..d5e4230 100644
--- a/rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsErpController.java
+++ b/rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsErpController.java
@@ -1,10 +1,9 @@
 package com.vincent.rsf.openApi.controller;
-
-
 import com.vincent.rsf.framework.exception.CoolException;
 import com.vincent.rsf.openApi.entity.dto.CommonResponse;
 import com.vincent.rsf.openApi.entity.params.ErpMatnrParms;
 import com.vincent.rsf.openApi.entity.params.ErpOpParams;
+import com.vincent.rsf.openApi.entity.params.ReportParams;
 import com.vincent.rsf.openApi.service.WmsErpService;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
@@ -14,6 +13,7 @@
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
+import java.util.Map;
 import java.util.Objects;
 
 @RestController
@@ -93,4 +93,20 @@
         return wmsErpService.syncMatnrs(parms);
     }
 
+
+    @ApiOperation("璁㈠崟淇℃伅涓婃姤")
+    @PostMapping("/report/order")
+    public CommonResponse reportOrders(@RequestBody ReportParams params) {
+        if (Objects.isNull(params)) {
+            throw new CoolException("鍙傛暟涓嶈兘涓虹┖锛侊紒");
+        }
+        return wmsErpService.reportOrders(params);
+    }
+
+    @ApiOperation("鐩樼偣宸紓淇敼")
+    @PostMapping("/check/locitem/update")
+    public CommonResponse reportCheck(@RequestBody ReportParams params) {
+        return wmsErpService.reportOrders(params);
+    }
+
 }

--
Gitblit v1.9.1