Browse Source

修改 LocationDto.Type != EnumLocationType.WIP

集成Redis
MaHao 2 years ago
parent
commit
d680c316c5
  1. 2
      be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/MaterialRequests/MaterialRequestAppService.cs

2
be/Modules/Store/src/Win_in.Sfs.Wms.Store.Application/Requests/MaterialRequests/MaterialRequestAppService.cs

@ -134,7 +134,7 @@ public class MaterialRequestAppService : SfsStoreRequestAppServiceBase<MaterialR
throw new UserFriendlyException($"库位代码为【{LocationCode}】不存在"); throw new UserFriendlyException($"库位代码为【{LocationCode}】不存在");
} }
if (LocationDto.Type == EnumLocationType.WIP) if (LocationDto.Type != EnumLocationType.WIP)
{ {
throw new UserFriendlyException($"库位代码【{LocationCode}】不是【{EnumLocationType.WIP.GetDisplayName()}】类型"); throw new UserFriendlyException($"库位代码【{LocationCode}】不是【{EnumLocationType.WIP.GetDisplayName()}】类型");
} }

Loading…
Cancel
Save