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. 25
      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": [ "ExpandedNodes": [
"" ""
], ],
"SelectedNode": "\\SettleAccount.sln (src\\SettleAccount.sln)", "SelectedNode": "\\SmartFactorySuite.sln",
"PreviewInSolutionExplorer": false "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.Entities.Wms; using Win.Sfs.SettleAccount.Entities.Wms;
using Win.Sfs.SettleAccount.Repository; using Win.Sfs.SettleAccount.Repository;
using OfficeOpenXml.FormulaParsing.Excel.Functions.Information;
using Org.BouncyCastle.Bcpg.OpenPgp;
namespace Win.Sfs.SettleAccount.Entities.SettleAccounts namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
{ {
@ -572,9 +574,16 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
[UnitOfWork(isTransactional: false)] [UnitOfWork(isTransactional: false)]
public async Task<bool> UPdateFisAsync() 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( await _repository.GetDbContext().Database.ExecuteSqlRawAsync(
"EXEC sp_settle_fis_update" $" EXEC sp_settle_fis_update "
); );
return true; return true;

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

@ -89,9 +89,8 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
WMSEfCoreRepository<WmsJitOutPutDetial> wmsefRespository, WMSEfCoreRepository<WmsJitOutPutDetial> wmsefRespository,
WMSEfCoreRepository<TB_BILL> wmstbRespository, WMSEfCoreRepository<TB_BILL> wmstbRespository,
IDistributedCache<WmsJitOutPutDetial> cache, IDistributedCache<WmsJitOutPutDetial> cache,
ISnowflakeIdGenerator snowflakeIdGenerator, ISnowflakeIdGenerator snowflakeIdGenerator,
ICommonManager commonManager, ICommonManager commonManager,
ErpPartDapperRepository repository, ErpPartDapperRepository repository,
TaskJobService service TaskJobService service
@ -513,7 +512,19 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
public async Task<bool> WmsJitOutPutPass(WmsJitRequestDto input) public async Task<bool> WmsJitOutPutPass(WmsJitRequestDto input)
{ {
List<CustomCondition> customConditionList = new List<CustomCondition>(); 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 = "BillNum", Value = input.BillNum ?? string.Empty });
customConditionList.Add(new CustomCondition() { Name = "Date", Value = input.AccountDate.ToString() }); customConditionList.Add(new CustomCondition() { Name = "Date", Value = input.AccountDate.ToString() });
var _taskid = await _service.ExportEnqueueAsync("准时化出库服务"+input.BillNum, ExportExtentsion.Excel, input.Version, string.Empty, CurrentUser, typeof(FisOutputService), customConditionList, (rs) => var _taskid = await _service.ExportEnqueueAsync("准时化出库服务"+input.BillNum, ExportExtentsion.Excel, input.Version, string.Empty, CurrentUser, typeof(FisOutputService), customConditionList, (rs) =>
@ -526,13 +537,9 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
// " @type = 0,\n" + // " @type = 0,\n" +
// " @date = N'{1}'\n"+ // " @date = N'{1}'\n"+
// "SELECT 'Return Value' = @return_value"; // "SELECT 'Return Value' = @return_value";
// await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync( // await _wmsRepository.GetDbContext().Database.ExecuteSqlRawAsync(
// string.Format(sql,input.BillNum,input.AccountDate.ToShortDateString()) // string.Format(sql,input.BillNum,input.AccountDate.ToShortDateString())
// ); // );
return true; 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)] [UnitOfWork(isTransactional: false)]
public virtual void UpdateFisSettle(string version) public virtual void UpdateFisSettle(string version)
{ {
DbConnection.ExecuteScalar(string.Format("EXEC [dbo].[sp_settle_fis_update] @Version = N'{0}'", version), null, null, 1200, null);
DbConnection.Execute(string.Format("EXEC sp_settle_fis_update 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.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Win.Utils 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