| | |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Configuration; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | |
| | | _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); |
| | | } |
| | | } |
| | | } |