Browse Source

修改生产线库位校验提示

dev_DY_CC
周红军 12 months ago
parent
commit
50a3495db1
  1. 2
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLines/ProductionLineAppService.cs

2
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/ProductionLines/ProductionLineAppService.cs

@ -64,7 +64,7 @@ public class ProductionLineAppService
var entity = await _repository.FirstOrDefaultAsync(p => p.LocationCode == locationCode).ConfigureAwait(false);
if (entity == null)
{
throw new UserFriendlyException($"【{locationCode}】库位不存在");
throw new UserFriendlyException($"生产线表中【{locationCode}】库位不存在");
}
return ObjectMapper.Map<ProductionLine, ProductionLineDTO>(entity);

Loading…
Cancel
Save