From 7e17ed25323631b4717c7fd45ce88beb28c007f9 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 06 十一月 2025 12:56:01 +0800
Subject: [PATCH] 盘点上报功能优化

---
 rsf-open-api/src/main/java/com/vincent/rsf/openApi/controller/WmsErpController.java |   12 +++++-------
 1 files changed, 5 insertions(+), 7 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 af2cf37..ffdf7de 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,11 +1,9 @@
 package com.vincent.rsf.openApi.controller;
-
-
-import com.vincent.rsf.framework.common.R;
 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;
@@ -96,9 +94,9 @@
     }
 
 
-    @ApiOperation("鐗╂枡淇℃伅涓婃姤")
+    @ApiOperation("璁㈠崟淇℃伅涓婃姤")
     @PostMapping("/report/order")
-    public CommonResponse reportOrders(@RequestBody Map<String, Object> params) {
+    public CommonResponse reportOrders(@RequestBody ReportParams params) {
         if (Objects.isNull(params)) {
             throw new CoolException("鍙傛暟涓嶈兘涓虹┖锛侊紒");
         }
@@ -106,8 +104,8 @@
     }
 
     @ApiOperation("鐩樼偣宸紓淇敼")
-    @PostMapping("/report/check")
-    public CommonResponse reportCheck(@RequestBody ErpOpParams params) {
+    @PostMapping("/check/locitem/update")
+    public CommonResponse reportCheck(@RequestBody ReportParams params) {
         return wmsErpService.reportCheck(params);
     }
 

--
Gitblit v1.9.1