Browse Source

更新版本

master
zhaoxinyu 11 months ago
parent
commit
8ca9417536
  1. 4
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
  2. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/BBAC_BA_SERVICE.cs
  3. 1
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_BA_SERVICE.cs
  4. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs
  5. 2
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/PUB_BA_SERVICE.cs

4
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json

@ -4,9 +4,9 @@
},
"ConnectionStrings": {
"Default": "Server=dev.ccwin-in.com,13326;Database=BJABP;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True",
"SettleAccountService": "Server=dev.ccwin-in.com,13326;Database=BQ_SA;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;",
//"SettleAccountService": "Server=dev.ccwin-in.com,13326;Database=BQ_SA;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;",
//"SettleAccountService": "Server=10.60.101.83;Database=BQ_SA;User ID=sa;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;",
"SettleAccountService": "Server=dev.ccwin-in.com,13326;Database=BQ_SA;User ID=sa;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;",
"ExChangeCenterService": "Server=dev.ccwin-in.com,13326;Database=ExChangeCenter;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;",
"WMSBJBMPT": "Server=dev.ccwin-in.com,6208;Database=WMS_BJBMPT_2;User ID=sa;Password=ChangkeTec@2021;Trusted_Connection=False;TrustServerCertificate=True;",

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

@ -508,6 +508,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
&& inv.State!=SettleBillState.QAD
&& inv.State!=SettleBillState.
&& inv.State != SettleBillState.
&& inv.State != SettleBillState.
)
{
throw new UserFriendlyException($"发票只有在财务已审核、红冲状态下可以报废!", "400");
@ -670,6 +671,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
&& inv.State != SettleBillState.QAD
&& inv.State != SettleBillState.
&& inv.State != SettleBillState.
&& inv.State != SettleBillState.
)
{
throw new UserFriendlyException($"发票只有在财务已审核、红冲状态下可以报废!", "400");

1
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_BA_SERVICE.cs

@ -496,6 +496,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
&& inv.State != SettleBillState.QAD
&& inv.State != SettleBillState.
&& inv.State != SettleBillState.
&& inv.State != SettleBillState.
)
{
throw new UserFriendlyException($"发票只有在财务已审核、红冲状态下可以报废!", "400");

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs

@ -556,6 +556,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
Customer = customer
};
invoiceSyncQad.SetId(teaTaskSub.TaskID);
await _settleAccountDbContext.BulkInsertAsync(new List<InvoiceSyncQad>() { invoiceSyncQad });
}

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

@ -658,6 +658,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
&& inv.State != SettleBillState.QAD
&& inv.State != SettleBillState.
&& inv.State != SettleBillState.
&& inv.State != SettleBillState.
)
{
throw new UserFriendlyException($"发票只有在财务已审核、红冲状态下可以报废!", "400");
@ -898,6 +899,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
&& inv.State != SettleBillState.QAD
&& inv.State != SettleBillState.
&& inv.State != SettleBillState.
&& inv.State != SettleBillState.
)
{
throw new UserFriendlyException($"发票只有在财务已审核、红冲状态下可以报废!", "400");

Loading…
Cancel
Save