Browse Source

更新版本

master
学 赵 1 year ago
parent
commit
a0f249b0e0
  1. 1
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_CAN_SA_MNG.cs
  2. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_NOT_SA_MNG.cs

1
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_CAN_SA_MNG.cs

@ -37,7 +37,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers
return true;
}
return false;
}
/// <summary>

4
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/BBAC_NOT_SA_MNG.cs

@ -39,13 +39,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers
_detailRepository = detailRepository;
_notRepository = notRepository;
_service = service;
}
public virtual async Task<List<string>> GenerateSettlementOrder(List<BBAC_NOT_SA_DETAIL> p_list)
{
var first = p_list.FirstOrDefault();
List<string> errors = new List<string>();
var priceErrors = await _service.CheckPriceList(p_list, first.Site).ConfigureAwait(false);
if (priceErrors.Count > 0)
@ -59,7 +56,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers
{
return errors;
}
var billNumber = OrderNumberGenerator.GenerateOrderNumber("N");
var _entity = new BBAC_CAN_SA();
_entity.SetId(Guid.NewGuid());

Loading…
Cancel
Save