| | |
| | | if (string.IsNullOrEmpty(result?.PalletBarcode)) |
| | | throw new Exception("上传托盘号为空"); |
| | | |
| | | LogFactory.GetLog("分容测试完成通知").Info(true, $"\r\r--------------------------------------"); |
| | | LogFactory.GetLog("分容测试完成通知").Info(true, result.ToJsonString()); |
| | | |
| | | var location = _locationRepository.QueryFirst(x => x.AreaId == result.LocationArea && x.LocationCode == result.LocationID); |
| | | |
| | | if (location == null) throw new Exception("未知库位"); |
| | |
| | | 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 |