Browse Source

代码合并

dev_DY_CC
lvzb 1 year ago
parent
commit
dcd61730f6
  1. 4
      be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PurchasePrices/PurchasePriceSheetAppService.cs

4
be/Modules/BaseData/src/Win_in.Sfs.Basedata.Application/PurchasePrices/PurchasePriceSheetAppService.cs

@ -49,8 +49,8 @@ public class PurchasePriceSheetAppService : SfsBaseDataAppServiceBase<PurchasePr
public virtual async Task<bool> CheckPurPriceAsync( string supplierCode, string itemCode)
{
bool result = false;
var entitys = await _repository.GetListAsync(p => p.SupplierCode == supplierCode && p.ItemCode == itemCode && p.SupplierCode == supplierCode, true).ConfigureAwait(false);
if (entitys.Count != 0) result = true;
var entitys = await _repository.GetListAsync(p => p.SupplierCode == supplierCode && p.ItemCode == itemCode).ConfigureAwait(false);
if (entitys.Count == 0) result = true;
return result;
}
}

Loading…
Cancel
Save