| | |
| | | using WIDESEA_DTO; |
| | | using WIDESEA_Common; |
| | | using WIDESEA_DTO; |
| | | |
| | | namespace WIDESEA_StorageBasicService; |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | public override WebResponseContent UpdateData(SaveModel saveModel) |
| | | { |
| | | int id = saveModel.MainData["id"].ObjToInt(); |
| | | int status = saveModel.MainData["locationStatus"].ObjToInt(); |
| | | var location = BaseDal.QueryFirst(x => x.Id == id); |
| | | |
| | | LocationChangeRecordDto changeRecordDto = new LocationChangeRecordDto() |
| | | { |
| | | AfterStatus = status, |
| | | BeforeStatus = location.LocationStatus, |
| | | TaskNum = 0, |
| | | LocationId = id, |
| | | LocationCode = location.LocationCode, |
| | | ChangeType = (int)StatusChangeTypeEnum.ManualOperation |
| | | }; |
| | | |
| | | _locationStatusChangeRecordRepository.AddStatusChangeRecord(changeRecordDto); |
| | | |
| | | return base.UpdateData(saveModel); |
| | | } |
| | | |
| | | #region 创建原始货位数据 |
| | | |
| | |
| | | } |
| | | |
| | | #endregion 创建初始货位方法 |
| | | |
| | | |
| | | |
| | | #endregion 内部方法 |
| | | } |