|
|
@ -100,7 +100,7 @@ public class ProductionLineItemAppService : |
|
|
|
var item =await _repository.FirstOrDefaultAsync(r=>r.ProdLineCode== ProdLineCode&&r.ItemCode==ItemCode).ConfigureAwait(false); |
|
|
|
if (item!=null) |
|
|
|
{ |
|
|
|
validationRresult.Add(new ValidationResult($"生产线{ProdLineCode}物料号{ItemCode}已存在", new string[] { "生产线", "物料号" })); |
|
|
|
validationRresult.Add(new ValidationResult($"生产线{ProdLineCode}物料号{ItemCode}已存在", new string[] { "生产线", "物料号" })); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|