From 96a94a59c08f55712ba04eb413e7f61739f11f66 Mon Sep 17 00:00:00 2001
From: zhanghonglin <zhanghonglin@hnkhzn.com>
Date: 星期二, 19 八月 2025 17:09:31 +0800
Subject: [PATCH] 定时一周自动清楚重量厚度,不合格背景红色提示、筛选功能

---
 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_WMSPart/StockInfoService.cs |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_WMSPart/StockInfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_WMSPart/StockInfoService.cs"
index 60446fd..b0fd05e 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_WMSPart/StockInfoService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_WMSPart/StockInfoService.cs"
@@ -1,4 +1,6 @@
 锘縰sing AutoMapper;
+using WIDESEAWCS_Core.Helper;
+using WIDESEAWCS_Core;
 using WIDESEAWCS_Core.BaseRepository;
 using WIDESEAWCS_Core.BaseServices;
 using WIDESEAWCS_IWMSPart;
@@ -19,6 +21,16 @@
         {
             _mapper = mapper;
         }
-
+        public override WebResponseContent UpdateData(SaveModel saveModel)
+        {
+            int id = saveModel.MainData["id"].ObjToInt();
+            int StockStatus = saveModel.MainData["stockStatus"].ObjToInt();
+            int Remark = saveModel.MainData["remark"].ObjToInt();
+            Dt_StockInfo locationInfo = BaseDal.QueryFirst(x => x.Id == id);
+            locationInfo.StockStatus = StockStatus;
+            locationInfo.Remark = Remark;
+            return UpdateData(locationInfo);
+            //return base.UpdateData(saveModel);
+        }
     }
 }

--
Gitblit v1.9.3