|
|
@ -102,6 +102,7 @@ public class ProductionLineItemAppService : |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
private void CheckProductionLineProdLineCodeJsonAsync(ProductionLineItemImportInput input, |
|
|
|
List<ValidationResult> validationRresult) |
|
|
|
{ |
|
|
@ -111,7 +112,9 @@ public class ProductionLineItemAppService : |
|
|
|
{ |
|
|
|
validationRresult.Add(new ValidationResult("[来源]成品/半成品库位 或 [来源]原材料库位 或 [完工]线边库位 不能都为空")); |
|
|
|
} |
|
|
|
[HttpPost("get-by-product")] |
|
|
|
} |
|
|
|
|
|
|
|
[HttpPost("get-by-product")] |
|
|
|
public virtual async Task<List<ProductionLineItemDTO>> GetByProductLineCodeAsync(string productLineCode) |
|
|
|
{ |
|
|
|
var entityList = await _repository.GetListAsync(p => p.ProdLineCode == productLineCode).ConfigureAwait(false); |
|
|
|