|
@ -40,7 +40,8 @@ public class PositionCodeAppService |
|
|
|
|
|
|
|
|
var itemBasic = await ItemBasicAppService.GetByCodeAsync(input.PartCode).ConfigureAwait(false); |
|
|
var itemBasic = await ItemBasicAppService.GetByCodeAsync(input.PartCode).ConfigureAwait(false); |
|
|
Check.NotNull(itemBasic, "物品代码", $"物品 {input.PartCode} 不存在"); |
|
|
Check.NotNull(itemBasic, "物品代码", $"物品 {input.PartCode} 不存在"); |
|
|
input.PartName = itemBasic.Desc1; |
|
|
input.PartName = itemBasic.Name; |
|
|
|
|
|
input.PartDesc = itemBasic.Desc1; |
|
|
|
|
|
|
|
|
var location = await LocationAppService.GetByCodeAsync(input.LocationCode).ConfigureAwait(false); |
|
|
var location = await LocationAppService.GetByCodeAsync(input.LocationCode).ConfigureAwait(false); |
|
|
Check.NotNull(location, "库位代码", $"库位 {input.LocationCode} 不存在"); |
|
|
Check.NotNull(location, "库位代码", $"库位 {input.LocationCode} 不存在"); |
|
|