From 46e98339480d853fc78a014c34d7ff9fcaf13890 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 05 十二月 2024 14:09:02 +0800
Subject: [PATCH] 产线协议

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/LocationStatusChangeRecordSetvice.cs |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/LocationStatusChangeRecordSetvice.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/LocationStatusChangeRecordSetvice.cs"
index 2655e77..239edbe 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/LocationStatusChangeRecordSetvice.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/LocationStatusChangeRecordSetvice.cs"
@@ -25,12 +25,16 @@
                 LocationCode = locationInfo.LocationCode,
                 LocationId = locationInfo.Id,
                 TaskNum = taskNum,
-                OrderNo = orderNo ?? ""
+                OrderNo = orderNo ?? "",
+                Creater="System"
             };
 
             BaseDal.AddData(locationStatusChangeRecord);
         }
-
+        public List<Dt_LocationStatusChangeRecord> Get_LocationStatusChangeRecord(int id)
+        {
+            return  BaseDal.QueryData(x => x.LocationId == id);
+        }
         public void AddLocationStatusChangeRecord(List<Dt_LocationInfo> locationInfos, int newStatus, int changeType, string? orderNo, List<int>? taskNums)
         {
             List< Dt_LocationStatusChangeRecord > records = new List<Dt_LocationStatusChangeRecord> ();

--
Gitblit v1.9.3