From ea4adbde9c64181369161e851925e06d52260eba Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期一, 02 三月 2026 15:31:49 +0800
Subject: [PATCH] 1
---
WMS/WIDESEA_WMSServer/WIDESEA_StockService/Base/StockInfoService.cs | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Base/StockInfoService.cs b/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Base/StockInfoService.cs
index ee46857..9c2ac43 100644
--- a/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Base/StockInfoService.cs
+++ b/WMS/WIDESEA_WMSServer/WIDESEA_StockService/Base/StockInfoService.cs
@@ -3,6 +3,7 @@
using SqlSugar;
using System;
using System.Collections.Generic;
+using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -40,6 +41,26 @@
_stockInfoDetail = stockInfoDetail;
}
+ public override WebResponseContent UpdateData(SaveModel saveModel)
+ {
+ var id = saveModel.MainData["id"].ObjToInt();
+ var palletCode = saveModel.MainData["palletCode"].ToString();
+ var materialType = saveModel.MainData["materialType"].ObjToInt();
+ var locationCode = saveModel.MainData["locationCode"].ToString();
+ var stockStatus = saveModel.MainData["stockStatus"].ObjToInt();
+ var materialweight = saveModel.MainData["materialweight"].ObjToInt();
+ var wlstatus = saveModel.MainData["wlstatus"].ObjToInt();
+ var remark = saveModel.MainData["remark"].ToString();
+ Dt_StockInfo stockInfo = BaseDal.QueryFirst(x => x.Id == id);
+ stockInfo.PalletCode = palletCode;
+ stockInfo.MaterialType = materialType;
+ stockInfo.LocationCode = locationCode;
+ stockInfo.StockStatus = stockStatus;
+ stockInfo.Materialweight = materialweight;
+ stockInfo.Wlstatus = wlstatus;
+ stockInfo.Remark = remark;
+ return base.UpdateData(stockInfo);
+ }
}
}
--
Gitblit v1.9.3