Browse Source

更新版本

master
学 赵 1 year ago
parent
commit
1b92b61cd9
  1. 2
      .vs/VSWorkspaceState.json
  2. BIN
      .vs/pg/v17/.wsuo
  3. BIN
      src/.vs/ProjectEvaluation/settleaccount.metadata.v6.1
  4. BIN
      src/.vs/ProjectEvaluation/settleaccount.projects.v6.1
  5. BIN
      src/.vs/ProjectEvaluation/smartfactorysuite.metadata.v6.1
  6. BIN
      src/.vs/ProjectEvaluation/smartfactorysuite.projects.v6.1
  7. BIN
      src/.vs/SettleAccount/FileContentIndex/9779fa43-cbd0-44b2-a77d-654c2daac3e9.vsidx
  8. BIN
      src/.vs/SettleAccount/FileContentIndex/97bbf6c0-0f79-4edd-966d-96f37179c401.vsidx
  9. BIN
      src/.vs/SettleAccount/FileContentIndex/b1f49bef-2ea8-44a3-9acf-e9a9b1f7583f.vsidx
  10. BIN
      src/.vs/SettleAccount/v17/.futdcache.v2
  11. BIN
      src/.vs/SmartFactorySuite/FileContentIndex/585e27e2-91ed-4957-b12a-1b1000b36474.vsidx
  12. BIN
      src/.vs/SmartFactorySuite/FileContentIndex/80ca747a-3598-4bd7-9691-b47bf35c430f.vsidx
  13. 0
      src/.vs/SmartFactorySuite/FileContentIndex/read.lock
  14. 1021
      src/.vs/SmartFactorySuite/config/applicationhost.config
  15. BIN
      src/.vs/SmartFactorySuite/v17/.futdcache.v2
  16. BIN
      src/.vs/SmartFactorySuite/v17/.suo
  17. BIN
      src/.vs/SmartFactorySuite/v17/HierarchyCache.v1.txt
  18. BIN
      src/.vs/SmartFactorySuite/v17/fileList.bin
  19. 13
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/SettleAccounts/SettleAccountAppService.cs
  20. 17
      src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs
  21. 4
      src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/FisUpdateStateDapperRepository.cs
  22. BIN
      src/Shared/Win.Sfs.Shared/obj/Debug/netcoreapp5/Win.Sfs.Shared.csproj.AssemblyReference.cache
  23. 2
      src/Shared/Win.Utils/obj/Debug/netcoreapp5/Win.Utils.GeneratedMSBuildEditorConfig.editorconfig

2
.vs/VSWorkspaceState.json

@ -2,6 +2,6 @@
"ExpandedNodes": [
""
],
"SelectedNode": "\\SettleAccount.sln (src\\SettleAccount.sln)",
"SelectedNode": "\\SmartFactorySuite.sln",
"PreviewInSolutionExplorer": false
}

BIN
.vs/pg/v17/.wsuo

Binary file not shown.

BIN
src/.vs/ProjectEvaluation/settleaccount.metadata.v6.1

Binary file not shown.

BIN
src/.vs/ProjectEvaluation/settleaccount.projects.v6.1

Binary file not shown.

BIN
src/.vs/ProjectEvaluation/smartfactorysuite.metadata.v6.1

Binary file not shown.

BIN
src/.vs/ProjectEvaluation/smartfactorysuite.projects.v6.1

Binary file not shown.

BIN
src/.vs/SettleAccount/FileContentIndex/9779fa43-cbd0-44b2-a77d-654c2daac3e9.vsidx

Binary file not shown.

BIN
src/.vs/SettleAccount/FileContentIndex/0a628f7c-a070-41c8-9de5-5749fa66e797.vsidx → src/.vs/SettleAccount/FileContentIndex/97bbf6c0-0f79-4edd-966d-96f37179c401.vsidx

Binary file not shown.

BIN
src/.vs/SettleAccount/FileContentIndex/b1f49bef-2ea8-44a3-9acf-e9a9b1f7583f.vsidx

Binary file not shown.

BIN
src/.vs/SettleAccount/v17/.futdcache.v2

Binary file not shown.

BIN
src/.vs/SmartFactorySuite/FileContentIndex/585e27e2-91ed-4957-b12a-1b1000b36474.vsidx

Binary file not shown.

BIN
src/.vs/SmartFactorySuite/FileContentIndex/80ca747a-3598-4bd7-9691-b47bf35c430f.vsidx

Binary file not shown.

0
src/.vs/SmartFactorySuite/FileContentIndex/read.lock

1021
src/.vs/SmartFactorySuite/config/applicationhost.config

File diff suppressed because it is too large

BIN
src/.vs/SmartFactorySuite/v17/.futdcache.v2

Binary file not shown.

BIN
src/.vs/SmartFactorySuite/v17/.suo

Binary file not shown.

BIN
src/.vs/SmartFactorySuite/v17/HierarchyCache.v1.txt

Binary file not shown.

BIN
src/.vs/SmartFactorySuite/v17/fileList.bin

Binary file not shown.

13
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/SettleAccounts/SettleAccountAppService.cs

@ -46,6 +46,8 @@ using TaskJob.EventArgs;
using Win.Sfs.SettleAccount.Entities.WMS;
using Win.Sfs.SettleAccount.Entities.Wms;
using Win.Sfs.SettleAccount.Repository;
using OfficeOpenXml.FormulaParsing.Excel.Functions.Information;
using Org.BouncyCastle.Bcpg.OpenPgp;
namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
{
@ -572,9 +574,16 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
[UnitOfWork(isTransactional: false)]
public async Task<bool> UPdateFisAsync()
{
_repository.GetDbContext().Database.SetCommandTimeout(300);
string sql = string.Format(" EXEC [dbo].[sp_settle_fis_update] @Version = N'{0}' ");
await _repository.GetDbContext().Database.ExecuteSqlRawAsync(
"EXEC sp_settle_fis_update"
$" EXEC sp_settle_fis_update "
);
return true;

17
src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs

@ -91,7 +91,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
IDistributedCache<WmsJitOutPutDetial> cache,
ISnowflakeIdGenerator snowflakeIdGenerator,
ICommonManager commonManager,
ErpPartDapperRepository repository,
TaskJobService service
@ -513,6 +512,18 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
public async Task<bool> WmsJitOutPutPass(WmsJitRequestDto input)
{
var list= _wmsRepository.Where(p => p.BillNum == input.BillNum ).ToList();
var alreay=list.FirstOrDefault(p => p.BillNum == input.BillNum && p.State==1);
if (alreay.State == 1)
{
throw new UserFriendlyException("单据中有申请状态记录不能重复提交","8989");
}
var updatelist=list.Where(p => p.State != 4 && p.State != 2).ToList();
foreach (var itm in updatelist)
{
itm.State = 1;
}
await _wmsRepository.GetDbContext().BulkUpdateAsync(updatelist);
List <CustomCondition> customConditionList = new List<CustomCondition>();
customConditionList.Add(new CustomCondition() { Name = "BillNum", Value = input.BillNum ?? string.Empty });
customConditionList.Add(new CustomCondition() { Name = "Date", Value = input.AccountDate.ToString() });
@ -529,10 +540,6 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
// await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync(
// string.Format(sql,input.BillNum,input.AccountDate.ToShortDateString())
// );
return true;
}

4
src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/Report/FisUpdateStateDapperRepository.cs

@ -47,9 +47,7 @@ namespace Win.Sfs.SettleAccount.Repository.SettleAccountJob.Report
[UnitOfWork(isTransactional: false)]
public virtual void UpdateFisSettle(string version)
{
DbConnection.Execute(string.Format("EXEC sp_settle_fis_update N'{0}'", version), null, null, 1200, null);
DbConnection.ExecuteScalar(string.Format("EXEC [dbo].[sp_settle_fis_update] @Version = N'{0}'", version), null, null, 1200, null);
}

BIN
src/Shared/Win.Sfs.Shared/obj/Debug/netcoreapp5/Win.Sfs.Shared.csproj.AssemblyReference.cache

Binary file not shown.

2
src/Shared/Win.Utils/obj/Debug/netcoreapp5/Win.Utils.GeneratedMSBuildEditorConfig.editorconfig

@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Win.Utils
build_property.ProjectDir = C:\Users\Administrator\source\repos\pg\src\Shared\Win.Utils\
build_property.ProjectDir = C:\Users\Administrator\Source\Repos\pg\src\Shared\Win.Utils\

Loading…
Cancel
Save