Browse Source

更新版本

master
学 赵 1 year ago
parent
commit
bc1b453f1d
  1. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_CAN_SA_SERVICE.cs
  2. 1
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/INV_MNG.cs
  3. 9
      code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/PUB_NOT_SA_MNG.cs

2
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_CAN_SA_SERVICE.cs

@ -88,6 +88,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
if (main != null)
{
if (main.State != SettleBillState.)
{
return new JsonResult(new { Code = 400, Message = "已创建发票不能重复创建" });

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

@ -163,7 +163,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers
{
throw new UserFriendlyException($"提交发票状态不一致");
}
var nols = appls.Where(p => p.InvoiceState == InvoiceBillState. || p.State == SettleBillState.).ToList();
if (nols.Count > 0)
{

9
code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/BQ/Managers/PUB_NOT_SA_MNG.cs

@ -82,9 +82,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers
{
priceErrors = await _service.CheckPriceList(notlist);
}
if (priceErrors.Count > 0)
{
foreach (var itm in priceErrors)
@ -170,13 +167,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers
await _notRepository.DbContext.BulkDeleteAsync(p_list);
await _repository.DbContext.BulkInsertAsync(new List<PUB_CAN_SA>() { _entity });
await _repository.DbContext.BulkInsertAsync(_entityList);
}
return errors;
}

Loading…
Cancel
Save