| | |
| | | if (respone.Status) |
| | | { |
| | | var taskId = _taskRepository.AddData(task); |
| | | location.LocationStatus = (int) LocationEnum.InStockDisable; |
| | | _locationRepository.UpdateData(location); |
| | | |
| | | //_simpleCacheService.HashDel<DtStockInfo>(WIDESEA_Cache.CacheConst.Cache_DtStockInfo, new string[] { taskDTO.PalletCode }); |
| | | _simpleCacheService.HashDel<DtStockInfo>(WIDESEA_Cache.CacheConst.Cache_DtStockInfo, new string[] { taskDTO.PalletCode }); |
| | | } |
| | | |
| | | else |
| | |
| | | { |
| | | throw new Exception("WCS处理失败"); |
| | | } |
| | | |
| | | //WMSTaskDTO taskDTO = new WMSTaskDTO |
| | | //{ |
| | | // Id = 0, |