From 4e1d90d7cfaef3c7a2893e6fcb946ce7dabe938e Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 24 十月 2025 13:54:52 +0800
Subject: [PATCH] 最新版本541200007
---
server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/admin/WmsPushCloudController.java | 36 ++++++++++++++++++++++++++++++++++--
1 files changed, 34 insertions(+), 2 deletions(-)
diff --git a/server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/admin/WmsPushCloudController.java b/server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/admin/WmsPushCloudController.java
index 1ca7bc2..30371e6 100644
--- a/server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/admin/WmsPushCloudController.java
+++ b/server/visits/dmvisit_admin/src/main/java/com/doumee/cloud/admin/WmsPushCloudController.java
@@ -10,7 +10,8 @@
import com.doumee.core.wms.model.request.WmsInboundNoticeRequest;
import com.doumee.core.wms.model.request.WmsOutboundNoticeRequest;
import com.doumee.core.wms.model.response.WmsBaseResponse;
-import com.doumee.service.business.WmsService;
+import com.doumee.core.wms.model.response.WmsCarInParkDataResponse;
+import com.doumee.service.business.third.WmsService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
@@ -19,6 +20,8 @@
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
+
+import java.util.List;
/**
* @author 姹熻箘韫�
@@ -42,6 +45,7 @@
WmsBaseResponse result =null;
try {
result = wmsService.inboundNotice(param);
+ wmsService.computjobTotalNum(param.getJobIdList());
}catch (BusinessException e){
log.error("銆怶MS銆戞帹閫佸叆搴撳崟閫氱煡浠诲姟===澶辫触锛�"+e.getMessage());
success = Constants.ONE;
@@ -64,6 +68,7 @@
WmsBaseResponse result =null;
try {
result = wmsService.outboundNotice(param);
+ wmsService.computjobTotalNum(param.getJobIdList());
}catch (BusinessException e){
log.error("銆怶MS銆戞帹閫佸嚭搴撳崟閫氱煡浠诲姟===澶辫触锛�"+e.getMessage());
success = Constants.ONE;
@@ -99,6 +104,9 @@
}
return result;
}
+
+
+
@ApiOperation("銆怶MS銆戞帹閫佸彇娑堝嚭搴撳崟閫氱煡浠诲姟")
@LoginNoRequired
@PostMapping("/push/cancelOutbound")
@@ -115,7 +123,7 @@
e.printStackTrace();
success = Constants.ONE;
}finally {
- wmsService.saveInterfaceLog("/wms/push/cancelOutbound", "鎺ㄩ�佸彇娑堝嚭搴撳崟閫氱煡浠诲姟",
+ wmsService.saveInterfaceLog("/wms/push/cancelOutbound", "銆怲MS銆戞帹閫佸彇娑堝嚭搴撳崟閫氱煡浠诲姟",
JSONObject.toJSONString(param), success, JSONObject.toJSONString(result),Constants.ONE);
}
return result;
@@ -142,4 +150,28 @@
return result;
}
+
+
+
+ @ApiOperation("銆怶MS銆戣幏鍙栬溅杈嗘槸鍚﹀叆鍥�")
+ @LoginNoRequired
+ @PostMapping("/push/carInParkInfo")
+ public WmsBaseResponse carInParkInfo(@RequestBody WmsBaseRequest<String> param) {
+ int success = Constants.ZERO;
+ WmsBaseResponse result = null;
+ try {
+ result = wmsService.getCarInPark(param);
+ }catch (BusinessException e){
+ log.error("銆怶MS銆戣幏鍙栬溅杈嗘槸鍚﹀叆鍥�===澶辫触锛�"+e.getMessage());
+ success = Constants.ONE;
+ }catch (Exception e){
+ log.error("銆怶MS銆戣幏鍙栬溅杈嗘槸鍚﹀叆鍥�===澶辫触锛�"+e.getMessage());
+ e.printStackTrace();
+ success = Constants.ONE;
+ }finally {
+ wmsService.saveInterfaceLog("/wms/push/carInParkInfo", "鑾峰彇杞﹁締鏄惁鍏ュ洯",JSONObject.toJSONString(param),
+ success, JSONObject.toJSONString(result),Constants.ONE);
+ }
+ return result;
+ }
}
--
Gitblit v1.9.3