| | |
| | | 锘縰sing AutoMapper; |
| | | using WIDESEAWCS_Core.Helper; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseRepository; |
| | | using WIDESEAWCS_Core.BaseServices; |
| | | using WIDESEAWCS_IWMSPart; |
| | |
| | | { |
| | | _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); |
| | | } |
| | | } |
| | | } |