From bfa52edd6a430978873367426da7b379730da411 Mon Sep 17 00:00:00 2001
From: 647556386 <647556386@qq.com>
Date: 星期二, 28 四月 2026 08:51:43 +0800
Subject: [PATCH] PLS接口优化

---
 项目代码/WMS/WMSServices/WIDESEA_InboundService/MoInboundOrderService.cs |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_InboundService/MoInboundOrderService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_InboundService/MoInboundOrderService.cs"
index 32aff98..30f364e 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_InboundService/MoInboundOrderService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_InboundService/MoInboundOrderService.cs"
@@ -13,6 +13,8 @@
 using WIDESEA_IInboundRepository;
 using WIDESEA_IInboundService;
 using WIDESEA_Model.Models;
+using WIDESEA_External.PLSService;
+using WIDESEA_Core;
 
 namespace WIDESEA_InboundService
 {
@@ -57,8 +59,15 @@
                             throw new Exception("鏍囩鍙� LabelNo 涓嶈兘涓虹┖");
                         }
 
-                        // 鏌ヨMO绁ㄦ槸鍚﹀凡瀛樺湪
-                        var existMo = BaseDal.QueryFirst(x => x.LabelNo == item.LabelNo);
+                        ///绛惧悕鏍¢獙
+                        bool IsSign = MD5Util.CheckPLSSign(model);
+                        if (!IsSign)
+                        {
+                            return ApiResponseContent.Instance.Error("绛惧悕楠岃瘉澶辫触锛岃妫�鏌�");
+                        }
+
+                        // 鏌ヨ鍞竴閿槸鍚﹀凡瀛樺湪锛坥rgId+labelNo锛�
+                        var existMo = BaseDal.QueryFirst(x => x.LabelNo == item.LabelNo && x.OrgId == item.OrgId);
 
                         if (existMo == null)
                         {

--
Gitblit v1.9.3