From c84eb83d59f5d3057a6f3dbc375d3c98a6447c2f Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期五, 13 三月 2026 17:00:56 +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