From db625422c6817db8ef4c83a4318d365749a0377c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=A7=9C=E6=97=AD=E4=B9=8B?=
<12930972+jiang-xuzhi@user.noreply.gitee.com>
Date: Thu, 6 Jul 2023 16:48:57 +0800
Subject: [PATCH] 7.5 update
---
.../AuthServer.Host/appsettings.json | 16 +-
.../BaseService.Host/appsettings.json | 24 +-
.../SettleAccount.HttpApi.Host.csproj | 1 +
.../appsettings.json | 45 +-
.../Entities/Boms/IBomAppService.cs | 1 -
.../EstimatedInventoryDetailCreateDto.cs | 17 -
.../EstimatedInventoryDetailDto.cs | 120 -
.../EstimatedInventoryDetailDtoBase.cs | 118 -
.../EstimatedInventoryDetailExportDto.cs | 151 -
.../EstimatedInventoryDetailImportDto.cs | 169 --
.../EstimatedInventoryDetailRequestDto.cs | 107 -
.../EstimatedInventoryDetailUpdateDto.cs | 21 -
.../EstimatedInventoryVersionDtoBase.cs | 103 -
.../IEstimatedInventoryDetailAppService.cs | 138 -
.../EstimatedSums/EsimatedSumDtoBase.cs | 356 ---
.../EsimatedSumVersionDtoBase.cs | 122 -
.../EstimatedSums/IEstimatedSumAppService.cs | 123 -
.../Entities/HQExtend/HQKBExtendDto.cs | 273 --
.../Entities/HQ_H/HQ_H_PlatformCreateDto.cs | 15 -
.../Entities/HQ_H/HQ_H_PlatformDto.cs | 93 -
.../Entities/HQ_H/HQ_H_PlatformDtoBase.cs | 93 -
.../Entities/HQ_H/HQ_H_PlatformExportDto.cs | 109 -
.../Entities/HQ_H/HQ_H_PlatformImportDto.cs | 109 -
.../Entities/HQ_H/HQ_H_PlatformRequestDto.cs | 101 -
.../HQ_H/HQ_H_PlatformVersionDtoBase.cs | 100 -
.../Entities/HQ_H/IHQ_H_PlatformAppService.cs | 91 -
.../Inventories/IInventoryDetailAppService.cs | 1 -
.../IItemInvoicePriceAppService.cs | 1 -
.../ISecondaryAdjustmentAppService.cs | 137 -
.../ISecondaryDiscountAppService.cs | 137 -
.../ISecondaryPriceRatioAppService.cs | 135 -
.../SecondaryAdjustmentDtoBase.cs | 360 ---
.../SecondaryAdjustmentVersionDtoBase.cs | 124 -
.../SecondaryDiscountDtoBase.cs | 319 --
.../SecondaryDiscountVersionDtoBase.cs | 124 -
.../SecondaryPriceRatioDtoBase.cs | 388 ---
.../SecondaryPriceRatioVersionDtoBase.cs | 126 -
.../ISettlementCrossReferenceAppService.cs | 110 -
.../ImportSettlementCrossReferenceDto.cs | 85 -
.../SettlementCrossReferenceCreateDto.cs | 75 -
.../SettlementCrossReferenceDto.cs | 75 -
.../SettlementCrossReferenceExportDto.cs | 73 -
.../SettlementCrossReferenceRequestDto.cs | 85 -
.../SettlementCrossReferenceUpdateDto.cs | 75 -
.../SettlementCrossReferenceVersionDto.cs | 28 -
...ttlementCrossReferenceVersionRequestDto.cs | 28 -
.../ISettlementPakAndSparePartsAppService.cs | 1 -
.../ISettlementPartAppService.cs | 1 -
.../ISettleAccountAppService.cs | 131 -
.../UnSettleAccountCreateDto.cs | 15 -
.../UnSettleAccounts/UnSettleAccountDto.cs | 83 -
.../UnSettleAccountDtoBase.cs | 73 -
.../UnSettleAccountExportDto.cs | 88 -
.../UnSettleAccountImportDto.cs | 82 -
.../UnSettleAccountRequestDto.cs | 81 -
.../UnSettleAccountUpdateDto.cs | 16 -
.../UnSettleAccountVersionDtoBase.cs | 103 -
.../VWScrapClaims/IScrapClaimsAppService.cs | 94 -
.../VWScrapClaims/ScrapClaimsCreateDto.cs | 15 -
.../Entities/VWScrapClaims/ScrapClaimsDto.cs | 59 -
.../VWScrapClaims/ScrapClaimsDtoBase.cs | 58 -
.../VWScrapClaims/ScrapClaimsExportDto.cs | 57 -
.../VWScrapClaims/ScrapClaimsImportDto.cs | 55 -
.../VWScrapClaims/ScrapClaimsRequestDto.cs | 64 -
.../ScrapClaimsVersionDtoBase.cs | 100 -
.../VWSparePart/ISparePartAppService.cs | 94 -
.../VWSparePart/SparePartCreateDto.cs | 15 -
.../Entities/VWSparePart/SparePartDto.cs | 125 -
.../Entities/VWSparePart/SparePartDtoBase.cs | 124 -
.../VWSparePart/SparePartExportDto.cs | 143 -
.../VWSparePart/SparePartImportDto.cs | 129 -
.../VWSparePart/SparePartRequestDto.cs | 129 -
.../VWSparePart/SparePartVersionDtoBase.cs | 100 -
.../WMSKanBan/IWMSVWKanBanAppService.cs | 96 -
.../WMSKanBan/WMSVWKanBanCreateDto.cs | 14 -
.../Entities/WMSKanBan/WMSVWKanBanDto.cs | 113 -
.../Entities/WMSKanBan/WMSVWKanBanDtoBase.cs | 85 -
.../WMSKanBan/WMSVWKanBanExportDto.cs | 92 -
.../WMSKanBan/WMSVWKanBanImportDto.cs | 93 -
.../WMSKanBan/WMSVWKanBanRequestDto.cs | 93 -
.../WMSKanBan/WMSVWKanBanVersionDtoBase.cs | 100 -
.../WMSKanBan/WMSVWKanBantUpdateDto.cs | 16 -
.../WMSSparePart/IWMSSparePartAppService.cs | 91 -
.../WMSSparePart/WMSSparePartCreateDto.cs | 14 -
.../Entities/WMSSparePart/WMSSparePartDto.cs | 137 -
.../WMSSparePart/WMSSparePartDtoBase.cs | 124 -
.../WMSSparePart/WMSSparePartExportDto.cs | 143 -
.../WMSSparePart/WMSSparePartImportDto.cs | 129 -
.../WMSSparePart/WMSSparePartRequestDto.cs | 129 -
.../WMSSparePartVersionDtoBase.cs | 100 -
.../ErrorListBill/ErrorBillAppService.cs | 2 -
.../Entities/HQExtend/HQKBExtendAppService.cs | 347 ---
.../HQExtend/HQKBSettleExtendAppService.cs | 346 ---
.../Entities/HQ_H/HQ_H_PlatformAppService.cs | 344 ---
.../Entities/Materials/MaterialAppService.cs | 2 -
.../SettleAccounts/SettleAccountAppService.cs | 14 +-
.../SettlementCrossReferenceAppService.cs | 468 ---
.../SettlementPakAndSparePartsAppService.cs | 229 --
.../Entities/TaskJobs/JobAppService.cs | 2 -
.../UnSettleAccountAppService.cs | 343 ---
.../Entities/VWKanBan/VWKanBanAppService.cs | 320 --
.../VWScrapClaims/ScrapClaimsAppService.cs | 316 --
.../VWSparePart/SparePartAppService.cs | 497 ----
.../WMS-KanBan/WMSKanBanAppService.cs | 317 --
.../WMS-SparePart/WMSSparePartAppService.cs | 320 --
.../WMS/WMSCusomerKanbanAppService.cs | 655 -----
.../Entities/WMS/WMSHQFKanbanAppService.cs | 569 ----
.../WMS/WMSHQFSharePartAppService .cs | 579 ----
.../Entities/WMS/WMSHQHKanbanAppService.cs | 633 ----
.../Entities/WMS/WMSHQHSharePartAppService.cs | 635 ----
.../Entities/WMS/WMSJitAppService.cs | 655 -----
.../Entities/WMS/WMSKanbanAppService.cs | 951 ------
.../Entities/WMS/WMSKanbanExtendAppService.cs | 668 -----
.../Entities/WMS/WMSSharePart90AppService.cs | 712 -----
.../Entities/WMS/WMSSharePartAppService.cs | 945 ------
.../Entities/WMS/WmsDetailCancelInterface.cs | 231 --
.../Entities/WMS/WmsDetailUnInterface.cs | 245 --
.../Entities/WMS/WmsHQKBOutputAppService.cs | 544 ----
.../Entities/WMS/WmsHQMKanbanAppService.cs | 490 ----
.../Entities/WMS/WmsHQMSharePartAppService.cs | 587 ----
.../WMS/WmsOneTimeSaleOutputAppService.cs | 464 ---
.../Entities/WMS/WmsOutputSumAppService.cs | 157 -
.../WMS/WmsOutputSumInterfaceAppService.cs | 243 --
.../Entities/WMS/WmsUnInterface.cs | 426 ---
.../Entities/WMS/WmsUnSumInterface.cs | 217 --
.../ImportExcelCommon/ExportImporter.cs | 1 -
.../ReportServices/ReportMakeService.cs | 1 -
.../SettleAccount.Application.csproj | 4 +
...ttleAccountApplicationAutoMapperProfile.cs | 451 +--
.../EstimatedInventoryDetail.cs | 213 --
.../EstimatedInventoryVersion.cs | 63 -
.../Entities/EstimatedSums/EstimatedSum.cs | 107 -
.../EstimatedSums/EstimatedSumVersion.cs | 52 -
.../Entities/HQExtend/HQKBExtend.cs | 52 -
.../Entities/HQExtend/HQKBExtendVersion.cs | 55 -
.../Entities/HQExtend/HQKBSettleExtend.cs | 52 -
.../HQExtend/HQKBSettleExtendVersion.cs | 55 -
.../Entities/HQ_H/HQ_H_Kanban.cs | 86 -
.../Entities/HQ_H/HQ_H_Platform.cs | 172 --
.../Entities/HQ_H/HQ_H_PlatformVersion.cs | 47 -
.../Entities/KanBan/KanBan.cs | 171 --
.../Entities/KanBan/KanBanManager.cs | 34 -
.../Entities/KanBan/KanBanVersion.cs | 51 -
.../SecondaryMatching/SecondaryAdjustment.cs | 129 -
.../SecondaryAdjustmentVersion.cs | 53 -
.../SecondaryMatching/SecondaryDiscount.cs | 116 -
.../SecondaryDiscountVersion.cs | 53 -
.../SecondaryMatching/SecondaryPriceRatio.cs | 140 -
.../SecondaryPriceRatioVersion.cs | 50 -
.../SettledPartAndErpPartPriceDiff.cs | 44 -
.../SettlementCrossReference.cs | 114 -
.../SettlementCrossReferenceVersion.cs | 53 -
.../SettlementPakAndSpareParts.cs | 227 --
.../SettlementPakAndSparePartsVersion.cs | 53 -
.../UnSettleAccounts/UnSettleAccount.cs | 128 -
.../UnSettleAccountVersion.cs | 53 -
.../Entities/VWScrapClaims/ScrapClaims.cs | 101 -
.../VWScrapClaims/ScrapClaimsVersion.cs | 47 -
.../Entities/VWSparePart/SparePart.cs | 215 --
.../Entities/VWSparePart/SparePartVersion.cs | 47 -
.../Entities/WMS-KanBan/WMSKanBanManager.cs | 31 -
.../Entities/WMS-KanBan/WMSKanBanSettle.cs | 254 --
.../Entities/WMS-KanBan/WMSKanBanVersion.cs | 47 -
.../Entities/WMS-KanBan/WmsKanban.cs | 33 -
.../Entities/WMS-SparePart/WMSSparePart.cs | 308 --
.../WMS-SparePart/WMSSparePartVersion.cs | 47 -
.../Entities/WMS/TB_BILL.cs | 133 -
.../Entities/WMS/TS_SORT_DETAIL.cs | 105 -
.../Entities/WMS/TaskList.cs | 2613 -----------------
.../Entities/WMS/WmsOutPutPercent.cs | 28 -
...AccountDbContextModelCreatingExtensions.cs | 2613 +----------------
.../SettleAccountEntityFrameworkCoreModule.cs | 7 -
.../UnInterfaceDbContext.cs | 3 +-
.../WMSDapperRepository.cs | 128 -
.../EntityFrameworkCore/WMSDbContext.cs | 48 -
.../Report/ErpSumOutputDapperRepository.cs | 253 --
.../SecMatchBaseDapperReportRepository.cs | 1 -
...ettledPartAndErpPartPriceDiffRepository.cs | 127 -
.../Report/WmsDapperRepository.cs | 116 -
.../SettlementPakAndSparePartRepository.cs | 71 -
...tlementPakAndSparePartVersionRepository.cs | 66 -
.../UnSettleAccountRepository.cs | 69 -
.../UnSettleAccountVersionRepository.cs | 81 -
.../Repository/WMSEfCoreRepository.cs | 162 -
.../BlobFileController.cs | 24 -
.../Base/SecRelationShipImportService.cs | 506 +---
...SharePartSettledDetailDiffExportService.cs | 25 +-
.../Report/SettleFisDiffExportService.cs | 1 -
.../Report/SettleSparePartExportService.cs | 19 +-
.../Report/SettleUnSparePartExportService.cs | 47 +-
...ledPartAndErpPartPriceDiffExportService.cs | 5 -
.../Services/Report/SyncFisService.cs | 113 +-
.../Services/Report/UnSettledSumService.cs | 119 +-
.../UnSettleAccountImportService.cs | 36 +-
.../SettleAccountJobModule.cs | 5 -
.../Debug/netcoreapp5/Win.Abp.Snowflakes.dll | Bin 8192 -> 7680 bytes
.../Debug/netcoreapp5/Win.Abp.Snowflakes.pdb | Bin 13328 -> 13260 bytes
.../netcoreapp5/Win.Abp.Snowflakes.dll | Bin 7679 -> 7680 bytes
.../netcoreapp5/Win.Abp.Snowflakes.pdb | Bin 12868 -> 12936 bytes
....GeneratedMSBuildEditorConfig.editorconfig | 2 +-
.../Win.Abp.Snowflakes.assets.cache | Bin 28388 -> 28412 bytes
....Snowflakes.csproj.AssemblyReference.cache | Bin 105262 -> 105262 bytes
....Snowflakes.csproj.CoreCompileInputs.cache | 2 +-
...Abp.Snowflakes.csproj.FileListAbsolute.txt | 12 +
.../Debug/netcoreapp5/Win.Abp.Snowflakes.dll | Bin 8192 -> 7680 bytes
.../Debug/netcoreapp5/Win.Abp.Snowflakes.pdb | Bin 13328 -> 13260 bytes
.../netcoreapp5/ref/Win.Abp.Snowflakes.dll | Bin 5631 -> 5632 bytes
.../netcoreapp5/refint/Win.Abp.Snowflakes.dll | Bin 5631 -> 5632 bytes
....GeneratedMSBuildEditorConfig.editorconfig | 9 +-
.../Win.Abp.Snowflakes.assets.cache | Bin 22517 -> 28412 bytes
....Snowflakes.csproj.AssemblyReference.cache | Bin 11 -> 105262 bytes
....Snowflakes.csproj.CoreCompileInputs.cache | 2 +-
...Abp.Snowflakes.csproj.FileListAbsolute.txt | 12 +
.../netcoreapp5/Win.Abp.Snowflakes.dll | Bin 7679 -> 7680 bytes
.../netcoreapp5/Win.Abp.Snowflakes.pdb | Bin 12868 -> 12936 bytes
.../netcoreapp5/ref/Win.Abp.Snowflakes.dll | Bin 5631 -> 5632 bytes
...in.Abp.Snowflakes.csproj.nuget.dgspec.json | 21 +-
.../Win.Abp.Snowflakes.csproj.nuget.g.props | 8 +-
.../obj/project.assets.json | 21 +-
.../obj/project.nuget.cache | 120 +-
.../bin/Debug/Win.Sfs.Shared.2.0.0.nupkg | Bin 32598 -> 32566 bytes
.../bin/Debug/netcoreapp5/Win.Sfs.Shared.dll | Bin 73728 -> 73728 bytes
.../bin/Debug/netcoreapp5/Win.Sfs.Shared.pdb | Bin 48756 -> 48512 bytes
.../bin/Debug/netcoreapp5/Win.Utils.dll | Bin 10752 -> 10752 bytes
.../bin/Debug/netcoreapp5/Win.Utils.pdb | Bin 21840 -> 21764 bytes
.../bin/Release/Win.Sfs.Shared.2.0.0.nupkg | Bin 31198 -> 31172 bytes
.../Release/netcoreapp5/Win.Sfs.Shared.dll | Bin 70143 -> 70144 bytes
.../Release/netcoreapp5/Win.Sfs.Shared.pdb | Bin 45716 -> 45888 bytes
.../bin/Release/netcoreapp5/Win.Utils.dll | Bin 10239 -> 10240 bytes
.../bin/Release/netcoreapp5/Win.Utils.pdb | Bin 21192 -> 21260 bytes
.../obj/Debug/Win.Sfs.Shared.2.0.0.nuspec | 2 +-
....GeneratedMSBuildEditorConfig.editorconfig | 2 +-
.../netcoreapp5/Win.Sfs.Shared.assets.cache | Bin 138041 -> 137770 bytes
....Sfs.Shared.csproj.AssemblyReference.cache | Bin 202480 -> 202272 bytes
....Sfs.Shared.csproj.CoreCompileInputs.cache | 2 +-
...Win.Sfs.Shared.csproj.FileListAbsolute.txt | 15 +
.../obj/Debug/netcoreapp5/Win.Sfs.Shared.dll | Bin 73728 -> 73728 bytes
.../obj/Debug/netcoreapp5/Win.Sfs.Shared.pdb | Bin 48756 -> 48512 bytes
.../Debug/netcoreapp5/ref/Win.Sfs.Shared.dll | Bin 42495 -> 42496 bytes
.../netcoreapp5/refint/Win.Sfs.Shared.dll | Bin 42495 -> 42496 bytes
.../obj/Release/Win.Sfs.Shared.2.0.0.nuspec | 2 +-
....GeneratedMSBuildEditorConfig.editorconfig | 9 +-
.../netcoreapp5/Win.Sfs.Shared.assets.cache | Bin 111191 -> 137770 bytes
....Sfs.Shared.csproj.AssemblyReference.cache | Bin 11 -> 202276 bytes
....Sfs.Shared.csproj.CoreCompileInputs.cache | 2 +-
...Win.Sfs.Shared.csproj.FileListAbsolute.txt | 15 +
.../Release/netcoreapp5/Win.Sfs.Shared.dll | Bin 70143 -> 70144 bytes
.../Release/netcoreapp5/Win.Sfs.Shared.pdb | Bin 45716 -> 45888 bytes
.../netcoreapp5/ref/Win.Sfs.Shared.dll | Bin 42495 -> 42496 bytes
.../Win.Sfs.Shared.csproj.nuget.dgspec.json | 44 +-
.../obj/Win.Sfs.Shared.csproj.nuget.g.props | 12 +-
.../Win.Sfs.Shared/obj/project.assets.json | 25 +-
.../Win.Sfs.Shared/obj/project.nuget.cache | 462 +--
.../Win.Utils/bin/Debug/Win.Utils.2.0.0.nupkg | Bin 6543 -> 6503 bytes
.../bin/Debug/netcoreapp5/Win.Utils.dll | Bin 10752 -> 10752 bytes
.../bin/Debug/netcoreapp5/Win.Utils.pdb | Bin 21840 -> 21764 bytes
.../bin/Release/Win.Utils.2.0.0.nupkg | Bin 6251 -> 6275 bytes
.../bin/Release/netcoreapp5/Win.Utils.dll | Bin 10239 -> 10240 bytes
.../bin/Release/netcoreapp5/Win.Utils.pdb | Bin 21192 -> 21260 bytes
.../obj/Debug/Win.Utils.2.0.0.nuspec | 2 +-
....GeneratedMSBuildEditorConfig.editorconfig | 2 +-
.../Debug/netcoreapp5/Win.Utils.assets.cache | Bin 11646 -> 11670 bytes
.../Win.Utils.csproj.AssemblyReference.cache | Bin 177441 -> 177441 bytes
.../Win.Utils.csproj.CoreCompileInputs.cache | 2 +-
.../Win.Utils.csproj.FileListAbsolute.txt | 12 +
.../obj/Debug/netcoreapp5/Win.Utils.dll | Bin 10752 -> 10752 bytes
.../obj/Debug/netcoreapp5/Win.Utils.pdb | Bin 21840 -> 21764 bytes
.../obj/Debug/netcoreapp5/ref/Win.Utils.dll | Bin 7167 -> 7168 bytes
.../Debug/netcoreapp5/refint/Win.Utils.dll | Bin 7167 -> 7168 bytes
.../obj/Release/Win.Utils.2.0.0.nuspec | 2 +-
....GeneratedMSBuildEditorConfig.editorconfig | 9 +-
.../netcoreapp5/Win.Utils.assets.cache | Bin 9907 -> 11670 bytes
.../Win.Utils.csproj.AssemblyReference.cache | Bin 11 -> 177441 bytes
.../Win.Utils.csproj.CoreCompileInputs.cache | 2 +-
.../Win.Utils.csproj.FileListAbsolute.txt | 12 +
.../obj/Release/netcoreapp5/Win.Utils.dll | Bin 10239 -> 10240 bytes
.../obj/Release/netcoreapp5/Win.Utils.pdb | Bin 21192 -> 21260 bytes
.../obj/Release/netcoreapp5/ref/Win.Utils.dll | Bin 7167 -> 7168 bytes
.../obj/Win.Utils.csproj.nuget.dgspec.json | 21 +-
.../obj/Win.Utils.csproj.nuget.g.props | 8 +-
.../Shared/Win.Utils/obj/project.assets.json | 21 +-
.../Shared/Win.Utils/obj/project.nuget.cache | 38 +-
code/src/SmartFactorySuite.sln | 11 +-
283 files changed, 737 insertions(+), 34919 deletions(-)
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailCreateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailExportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailImportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailRequestDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailUpdateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/IEstimatedInventoryDetailAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/IEstimatedSumAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQExtend/HQKBExtendDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformCreateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformExportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformImportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformRequestDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/IHQ_H_PlatformAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryAdjustmentAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryDiscountAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryPriceRatioAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ISettlementCrossReferenceAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ImportSettlementCrossReferenceDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceCreateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceExportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceRequestDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceUpdateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionRequestDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/ISettleAccountAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountCreateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountExportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountImportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountRequestDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountUpdateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/IScrapClaimsAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsCreateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsExportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsImportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsRequestDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/ISparePartAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartCreateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartExportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartImportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartRequestDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/IWMSVWKanBanAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanCreateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanExportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanImportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanRequestDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBantUpdateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/IWMSSparePartAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartCreateDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartExportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartImportDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartRequestDto.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartVersionDtoBase.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBExtendAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBSettleExtendAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_H/HQ_H_PlatformAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/SettlementCrossReference/SettlementCrossReferenceAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/SettlementPakAndSparePart/SettlementPakAndSparePartsAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/UnSettleAccounts/UnSettleAccountAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWKanBan/VWKanBanAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWScrapClaims/ScrapClaimsAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWSparePart/SparePartAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS-KanBan/WMSKanBanAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS-SparePart/WMSSparePartAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSCusomerKanbanAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQFKanbanAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQFSharePartAppService .cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHKanbanAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSJitAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSKanbanExtendAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePart90AppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSSharePartAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsDetailCancelInterface.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsDetailUnInterface.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQKBOutputAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMKanbanAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsOneTimeSaleOutputAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsOutputSumAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsOutputSumInterfaceAppService.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsUnInterface.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsUnSumInterface.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/EstimatedInventories/EstimatedInventoryDetail.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/EstimatedInventories/EstimatedInventoryVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/EstimatedSums/EstimatedSum.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/EstimatedSums/EstimatedSumVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQExtend/HQKBExtend.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQExtend/HQKBExtendVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQExtend/HQKBSettleExtend.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQExtend/HQKBSettleExtendVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_H/HQ_H_Kanban.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_H/HQ_H_Platform.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/HQ_H/HQ_H_PlatformVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/KanBan/KanBan.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/KanBan/KanBanManager.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/KanBan/KanBanVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SecondaryMatching/SecondaryAdjustment.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SecondaryMatching/SecondaryAdjustmentVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SecondaryMatching/SecondaryDiscount.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SecondaryMatching/SecondaryDiscountVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SecondaryMatching/SecondaryPriceRatio.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SecondaryMatching/SecondaryPriceRatioVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SettledPartAndErpPartPriceDiffs/SettledPartAndErpPartPriceDiff.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SettlementCrossReference/SettlementCrossReference.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SettlementCrossReference/SettlementCrossReferenceVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SettlementPakAndSparePartsRef/SettlementPakAndSpareParts.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/SettlementPakAndSparePartsRef/SettlementPakAndSparePartsVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/UnSettleAccounts/UnSettleAccount.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/UnSettleAccounts/UnSettleAccountVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/VWScrapClaims/ScrapClaims.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/VWScrapClaims/ScrapClaimsVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/VWSparePart/SparePart.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/VWSparePart/SparePartVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS-KanBan/WMSKanBanManager.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS-KanBan/WMSKanBanSettle.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS-KanBan/WMSKanBanVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS-KanBan/WmsKanban.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS-SparePart/WMSSparePart.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS-SparePart/WMSSparePartVersion.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS/TB_BILL.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS/TS_SORT_DETAIL.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS/TaskList.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/WMS/WmsOutPutPercent.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/WMSDapperRepository.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/EntityFrameworkCore/WMSDbContext.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/SettlementPakAndSpareParts/SettlementPakAndSparePartRepository.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/SettlementPakAndSpareParts/SettlementPakAndSparePartVersionRepository.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/UnSettleAccount/UnSettleAccountRepository.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/SettleAccountJob/UnSettleAccount/UnSettleAccountVersionRepository.cs
delete mode 100644 code/src/Modules/SettleAccount/src/SettleAccount.EntityFrameworkCore/Repository/WMSEfCoreRepository.cs
diff --git a/code/src/AuthServer/AuthServer.Host/appsettings.json b/code/src/AuthServer/AuthServer.Host/appsettings.json
index ffb0644f..1a4089cd 100644
--- a/code/src/AuthServer/AuthServer.Host/appsettings.json
+++ b/code/src/AuthServer/AuthServer.Host/appsettings.json
@@ -1,15 +1,25 @@
{
"ConnectionStrings": {
- // "Default": "Server=114.116.225.148,13314;Database=ABP;User ID=sa;Password=Microsoft2020;",
- "Default": "Server=192.168.0.203;Database=ABP;User ID=sa;Password=Microsoft@2021;"
+ "Default": "Server=dev.ccwin-in.com,13319;Database=BJABP;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True"
},
+ "CorsOrigins": "http://localhost:9527,http://dev.ccwin-in.com:10588,http://localhost:44307",
"ElasticSearch": {
"Url": "http://localhost:9200"
},
- "CorsOrigins": "http://localhost:9528",
"Redis": {
"Configuration": "127.0.0.1"
},
+ "RabbitMQ": {
+ "Connections": {
+ "Default": {
+ "HostName": "localhost"
+ }
+ },
+ "EventBus": {
+ "ClientName": "MsDemo_AuthServer",
+ "ExchangeName": "MsDemo"
+ }
+ },
"Logging": {
"LogLevel": {
"Default": "Warning"
diff --git a/code/src/Modules/BaseService/BaseService.Host/appsettings.json b/code/src/Modules/BaseService/BaseService.Host/appsettings.json
index c45da225..c780d30f 100644
--- a/code/src/Modules/BaseService/BaseService.Host/appsettings.json
+++ b/code/src/Modules/BaseService/BaseService.Host/appsettings.json
@@ -1,15 +1,12 @@
{
"AuthServer": {
- "Authority": "http://localhost:10100",
- "ApiName": "IdentityService"
+ "Authority": "http://dev.ccwin-in.com:10580"
},
"App": {
- "CorsOrigins": "http://localhost:9527,http://localhost:9528"
+ "CorsOrigins": "http://localhost:9527,http://dev.ccwin-in.com:10588,http://localhost:44307"
},
"ConnectionStrings": {
- "Default": "Server=192.168.0.140;Database=ABP;user id=sa;Password=Microsoft2008"
- // "Default": "Server=LAPTOP-V3U07C2O;Database=ABP;User ID=sa;Password=1q2w!@#;"
- //"Default": "Server=114.116.225.148,13314;Database=ABP;User ID=sa;Password=Microsoft2020;"
+ "Default": "Server=dev.ccwin-in.com,13319;Database=BJABP;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True"
},
"ElasticSearch": {
"Url": "http://localhost:9200"
@@ -22,16 +19,7 @@
"Default": "Warning"
}
},
- //"Settings": {
- // "Abp.Localization.DefaultLanguage": "zh-Hans",
- // "Abp.Identity.Password.RequireNonAlphanumeric": "false", //去掉非字母限制
- // "Abp.Identity.Password.RequireUppercase": "false", //去掉大写限制
- // "Abp.Identity.Password.RequireLowercase": "false", //去掉小写
- // "Abp.Identity.Password.RequiredLength": "1",
- // "Abp.Identity.SignIn.RequireConfirmedEmail": "true",
- // //设置用户锁定
- // "Abp.Identity.Lockout.AllowedForNewUsers": "true",
- // "Abp.Identity.Lockout.MaxFailedAccessAttempts": "3"
- //},
- "AllowedHosts": "*"
+ "AllowedHosts": "*",
+ "RePassword": "111111"
+
}
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
index 88fd5632..56d6ef56 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
@@ -12,6 +12,7 @@
..\..\..\..
net5.0
True
+ false
diff --git a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
index 3e49936b..29dfea13 100644
--- a/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
+++ b/code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
@@ -2,26 +2,10 @@
"App": {
"CorsOrigins": "https://*.abc.com,http://localhost:9528,http://149.223.116.5:8088"
},
- //"ConnectionStrings": {
- // "Default": "Server=LAPTOP-V3U07C2O;Database=ABP;user id=sa;Password=1q2w!@#",
- // "SettleAccountService": "Server=LAPTOP-V3U07C2O;Database=SettleAccountService1;user id=sa;Password=1q2w!@#;",
- // "Wms": "Server=192.168.0.140;Database=CPAT_WMS_TEST;user id=sa;password=Microsoft2008;"
- //},
"ConnectionStrings": {
- "Default": "Server=127.0.0.1;Database=ABP;User ID=sa;Password=asdasd1977;",
- "SettleAccountService": "Server=127.0.0.1;Database=SettleAccountService;user id=sa;password=asdasd1977;",
- "Wms": "Server=127.0.0.1;Database=CPAT_WMS_TEST;user id=sa;password=asdasd1977;"
+ "Default": "Server=dev.ccwin-in.com,13319;Database=BJABP;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True",
+ "SettleAccountService": "Server=dev.ccwin-in.com,13319;Database=SettleAccountService;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;"
},
- "Logging": {
- "LogLevel": {
- "Default": "Information",
- "Microsoft": "Warning",
- "Microsoft.Hosting.Lifetime": "Information"
- }
- },
-
-
-
"Serilog": {
"Using": [],
@@ -84,14 +68,8 @@
},
-
-
-
-
-
-
"AuthServer": {
- "Authority": "http://149.223.116.5:8066",
+ "Authority": "http://dev.ccwin-in.com:10580",
"AlwaysAllowAuthorization": false
},
@@ -104,24 +82,7 @@
"ElasticSearch": {
"Url": "http://localhost:9200"
- },
-
- "RemoteServices": {
- "Default": {
- "BaseUrl": "http://149.223.116.5:8091/",
- "UseCurrentAccessToken": "true"
- }
- },
- "IdentityClients": {
- "Default": {
- "GrantType": "client_credentials",
- "ClientId": "business-app",
- "ClientSecret": "1q2w3e*",
- "Authority": "http://149.223.116.5:8066",
- "Scope": "InternalGateway IdentityService SettleAccount"
- }
}
-
}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/IBomAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/IBomAppService.cs
index c3f85f31..aa60d416 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/IBomAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Boms/IBomAppService.cs
@@ -8,7 +8,6 @@ using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.Boms;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.Boms
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailCreateDto.cs
deleted file mode 100644
index 21ec3572..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailCreateDto.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- public class EstimatedInventoryDetailCreateDto : EstimatedInventoryDetailDtoBase, IBranch
- {
- public virtual Guid BranchId { get ; set ; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDto.cs
deleted file mode 100644
index f7008352..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDto.cs
+++ /dev/null
@@ -1,120 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- public class EstimatedInventoryDetailDto : AuditedEntityDtoBase, IBranch
- {
-
-
- public string Version { set; get; }
-
- ///
- ///骞村害
- ///
- public string Year { get;set; }
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
- ///
- /// 鐗╂枡鍑瘉鍙
- ///
- public virtual string MaterialDocument { get; set;}
-
-
-
- public virtual string MaterialDocumentLine { get; set; }
-
- ///
- /// 澶栭儴鍗曞彿
- ///
- public virtual string BillNumber { get; set;}
-
- ///
- /// 璁拌处鏃ユ湡
- ///
- public virtual DateTime PostingDate { get; set;}
-
-
-
-
- public virtual string Factory { set; get; }
-
-
- ///
- /// 鐗╂枡缂栧彿
- ///
- public virtual string MaterialCode { get; set;}
-
-
-
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public virtual string MaterialDesc { get; set;}
-
-
- ///
- /// 瀛樺偍浣嶇疆
- ///
- public virtual string Storagelocation { get; set;}
-
-
- ///
- /// 鏀惰揣鏁伴噺
- ///
- public virtual decimal ReceiveQty { get;set;}
-
-
- ///
- /// 鍙戠エ鏁伴噺
- ///
- public virtual decimal InvoiceQty { get; set;}
-
- ///
- /// 渚涘簲鍟嗙紪鍙
- ///
- public virtual string SupplierCode { get; set;}
-
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- public virtual string SupplierDesc { get; set;}
-
-
- ///
- /// 閲囪喘鍑瘉
- ///
- public virtual string PurchaseDocument { get; set;}
-
-
- ///
- /// 閲囪喘琛岄」
- ///
- public virtual string PurchaseLine { get; set;}
-
-
- ///
- /// 鏉ユ簮
- ///
- public virtual string Source { get; set;}
-
-
-
- ///
- /// 瀛樺偍鎵╁睍瀛楁
- ///
- public virtual string Extend1 { get; set;}
- public virtual Guid BranchId { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDtoBase.cs
deleted file mode 100644
index d2cc349d..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailDtoBase.cs
+++ /dev/null
@@ -1,118 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- public class EstimatedInventoryDetailDtoBase : CreateOrUpdateEntityDtoBase
- {
-
-
-
-
- ///
- ///骞村害
- ///
- public string Year { get; protected set; }
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
-
- ///
- /// 鐗╂枡鍑瘉鍙
- ///
- public virtual string MaterialDocument { get; set; }
-
- public virtual string MaterialDocumentLine { get; set; }
-
-
- ///
- /// 澶栭儴鍗曞彿
- ///
- public virtual string BillNumber { get; set; }
-
- ///
- /// 璁拌处鏃ユ湡
- ///
- public virtual DateTime PostingDate { get; set; }
-
-
- ///
- /// 鐗╂枡缂栧彿
- ///
- public virtual string MaterialCode { get; set; }
-
-
-
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public virtual string MaterialDesc { get; set; }
-
-
- ///
- /// 瀛樺偍浣嶇疆
- ///
- public virtual string Storagelocation { get; set; }
-
-
- ///
- /// 鏀惰揣鏁伴噺
- ///
- public virtual decimal ReceiveQty { get;set; }
-
-
- ///
- /// 鍙戠エ鏁伴噺
- ///
- public virtual decimal InvoiceQty { get; set; }
-
- ///
- /// 渚涘簲鍟嗙紪鍙
- ///
- public virtual string SupplierCode { get; set; }
-
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- public virtual string SupplierDesc { get; set; }
-
-
- ///
- /// 閲囪喘鍑瘉
- ///
- public virtual string PurchaseDocument { get; set; }
-
-
- ///
- /// 閲囪喘琛岄」
- ///
- public virtual string PurchaseLine { get; set; }
-
-
- ///
- /// 鏉ユ簮
- ///
- public virtual string Source { get; set; }
-
-
-
- ///
- /// 瀛樺偍鎵╁睍瀛楁
- ///
- public virtual string Extend1 { get; set; }
-
-
-
-
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailExportDto.cs
deleted file mode 100644
index 6b9ca689..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailExportDto.cs
+++ /dev/null
@@ -1,151 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- ///
- /// 搴斾粯鏆備及鏀惰幏鏄庣粏
- ///
- public class EstimatedInventoryDetailExportDto
- {
- [ExporterHeader(DisplayName = "宸ュ巶")]
-
- public virtual string Factory { get; set; }
-
- [ExporterHeader(DisplayName = "鏈熼棿")]
-
- public string Version { set; get; }
-
- ///
- /// 鐗╂枡鍑瘉鍙凤紙鏀惰幏鍗曞彿锛
- ///
- [ExporterHeader(DisplayName = "鐗╂枡鍑瘉鍙")]
-
- public virtual string MaterialDocument { get; set; }
-
-
-
- ///
- /// 鐗╂枡鍑瘉鍙凤紙鏀惰幏鍗曞彿锛
- ///
- [ExporterHeader(DisplayName = "鐗╂枡鍑瘉琛岄」鍙")]
-
-
- public virtual string MaterialDocumentLine { get; set; }
-
- ///
- /// 澶栭儴鍗曞彿
- ///
- [ExporterHeader(DisplayName = "澶栭儴鍗曞彿")]
-
- public virtual string BillNumber { get; set; }
-
- ///
- /// 璁拌处鏃ユ湡锛堟敹璐ф棩鏈燂級
- ///
- [ExporterHeader(DisplayName = "璁拌处鏃ユ湡")]
-
- public virtual DateTime PostingDate { get; set; }
-
-
- ///
- /// 鐗╂枡缂栧彿
- ///
- [ExporterHeader(DisplayName = "鐗╂枡鍙")]
-
- public virtual string MaterialCode { get; set; }
-
-
-
- ///
- /// 鐗╂枡鎻忚堪
- ///
-
- [ExporterHeader(DisplayName = "鐗╂枡鎻忚堪")]
-
- public virtual string MaterialDesc { get; set; }
-
-
- ///
- /// 瀛樺偍鍦扮偣
- ///
- [ExporterHeader(DisplayName = "瀛樺偍鍦扮偣")]
-
- public virtual string Storagelocation { get; set; }
-
-
- ///
- /// 鏀惰揣鏁伴噺
- ///
- [ExporterHeader(DisplayName = "鏀惰揣鏁伴噺")]
-
- public virtual decimal ReceiveQty { get;set; }
-
-
- ///
- /// 鍙戠エ鏁伴噺
- ///
- /// [ExporterHeader(Name = "鎻忚堪")]
- [ExporterHeader(DisplayName = "鍙戠エ鏁伴噺")]
-
-
- public virtual decimal InvoiceQty { get; set; }
-
- ///
- /// 渚涘簲鍟
- ///
- [ExporterHeader(DisplayName = "渚涘簲鍟")]
-
- public virtual string SupplierCode { get; set; }
-
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- [ExporterHeader(DisplayName = "渚涘簲鍟嗘弿杩")]
-
- public virtual string SupplierDesc { get; set; }
-
-
- ///
- /// 閲囪喘鍑瘉鍙
- ///
-
- [ExporterHeader(DisplayName = "閲囪喘鍑瘉鍙")]
-
- public virtual string PurchaseDocument { get; set; }
-
-
- ///
- /// 閲囪喘鍑瘉琛
- ///
- [ExporterHeader(DisplayName = "閲囪喘鍑瘉琛")]
-
- public virtual string PurchaseLine { get; set; }
-
-
- ///
- /// 鏉ユ簮
- ///
- ///
- [ExporterHeader(DisplayName = "鏉ユ簮")]
-
- public virtual string Source { get; set; }
-
-
-
- /////
- ///// 瀛樺偍鎵╁睍瀛楁
- /////
- //public virtual string Extend1 { get; set; }
- //public virtual Guid BranchId { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailImportDto.cs
deleted file mode 100644
index 73c50b14..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailImportDto.cs
+++ /dev/null
@@ -1,169 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- ///
- /// 搴斾粯鏆備及鏀惰幏鏄庣粏
- ///
- public class EstimatedInventoryDetailImportDto
- {
-
-
- [ImporterHeader(Name = "骞村害")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- ///
- ///骞村害
- ///
- public string Year { get; set; }
- [ImporterHeader(Name = "鏈熼棿")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string Period { set; get; }
-
-
-
-
- ///
- /// 鐗╂枡鍑瘉鍙凤紙鏀惰幏鍗曞彿锛
- ///
- [ImporterHeader(Name = "鐗╂枡鍑瘉鍙")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
-
- public virtual string MaterialDocument { get; set; }
-
-
-
- ///
- /// 鐗╂枡鍑瘉鍙凤紙鏀惰幏鍗曞彿锛
- ///
- [ImporterHeader(Name = "鐗╂枡鍑瘉琛岄」鍙")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
-
- public virtual string MaterialDocumentLine { get; set; }
-
- ///
- /// 澶栭儴鍗曞彿
- ///
- [ImporterHeader(Name = "澶栭儴鍗曞彿")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
- public virtual string BillNumber { get; set; }
-
- ///
- /// 璁拌处鏃ユ湡锛堟敹璐ф棩鏈燂級
- ///
- [ImporterHeader(Name = "璁拌处鏃ユ湡")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
- public virtual DateTime PostingDate { get; set; }
-
-
- ///
- /// 鐗╂枡缂栧彿
- ///
- [ImporterHeader(Name = "鐗╂枡鍙")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
- public virtual string MaterialCode { get; set; }
-
-
-
- ///
- /// 鐗╂枡鎻忚堪
- ///
-
- [ImporterHeader(Name = "鐗╂枡鎻忚堪")]
-
- public virtual string MaterialDesc { get; set; }
-
-
- ///
- /// 瀛樺偍鍦扮偣
- ///
- [ImporterHeader(Name = "瀛樺偍鍦扮偣")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
- public virtual string Storagelocation { get; set; }
-
-
- ///
- /// 鏀惰揣鏁伴噺
- ///
- [ImporterHeader(Name = "鏀惰揣鏁伴噺")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
- public virtual decimal ReceiveQty { get;set; }
-
-
- ///
- /// 鍙戠エ鏁伴噺
- ///
- /// [ImporterHeader(Name = "鎻忚堪")]
- [ImporterHeader(Name = "鍙戠エ鏁伴噺")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
- public virtual decimal InvoiceQty { get; set; }
-
- ///
- /// 渚涘簲鍟
- ///
- [ImporterHeader(Name = "渚涘簲鍟")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
- public virtual string SupplierCode { get; set; }
-
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- [ImporterHeader(Name = "渚涘簲鍟嗘弿杩")]
-
- public virtual string SupplierDesc { get; set; }
-
-
- ///
- /// 閲囪喘鍑瘉鍙
- ///
-
- [ImporterHeader(Name = "閲囪喘鍑瘉鍙")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
- public virtual string PurchaseDocument { get; set; }
-
-
- ///
- /// 閲囪喘鍑瘉琛
- ///
- [ImporterHeader(Name = "閲囪喘鍑瘉琛")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
- public virtual string PurchaseLine { get; set; }
-
-
- ///
- /// 鏉ユ簮
- ///
- ///
- [ImporterHeader(Name = "鏉ユ簮")]
-
- public virtual string Source { get; set; }
-
-
-
- ///
- /// 瀛樺偍鎵╁睍瀛楁
- ///
- public virtual string Extend1 { get; set; }
- public virtual Guid BranchId { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailRequestDto.cs
deleted file mode 100644
index 7ff01ffc..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailRequestDto.cs
+++ /dev/null
@@ -1,107 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- public class EstimatedInventoryDetailRequestDto : RequestDtoBase, IBranch
- {
-
-
- ///
- /// 鐗╂枡鍑瘉鍙
- ///
- public virtual string MaterialDocument { get; set; }
-
-
- ///
- /// 澶栭儴鍗曞彿
- ///
- public virtual string BillNumber { get; set; }
-
- ///
- /// 璁拌处鏃ユ湡
- ///
- public virtual DateTime PostingDate { get; set; }
-
-
- ///
- /// 鐗╂枡缂栧彿
- ///
- public virtual string MaterialCode { get; set; }
-
-
-
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public virtual string MaterialDesc { get; set; }
-
-
- ///
- /// 瀛樺偍浣嶇疆
- ///
- public virtual string Storagelocation { get; set; }
-
-
- ///
- /// 鏀惰揣鏁伴噺
- ///
- public virtual decimal ReceiveQty { get;set; }
-
-
- ///
- /// 鍙戠エ鏁伴噺
- ///
- public virtual decimal InvoiceQty { get; set; }
-
- ///
- /// 渚涘簲鍟嗙紪鍙
- ///
- public virtual string SupplierCode { get; set; }
-
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- public virtual string SupplierDesc { get; set; }
-
-
- ///
- /// 閲囪喘鍑瘉
- ///
- public virtual string PurchaseDocument { get; set; }
-
-
- ///
- /// 閲囪喘琛岄」
- ///
- public virtual string PurchaseLine { get; set; }
-
-
- ///
- /// 鏉ユ簮
- ///
- public virtual string Source { get; set; }
-
-
-
- ///
- /// 瀛樺偍鎵╁睍瀛楁
- ///
- public virtual string Extend1 { get; set; }
- public virtual Guid BranchId { get ; set ; }
-
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailUpdateDto.cs
deleted file mode 100644
index 0bc4a681..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryDetailUpdateDto.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-using Win.Sfs.Shared.Enums;
-
-namespace Win.Sfs.SettleAccount.EstimatedInventories
-{
- public class EstimatedInventoryDetailUpdateDto : EstimatedInventoryDetailDtoBase
- {
-
-
-
-
-
-
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryVersionDtoBase.cs
deleted file mode 100644
index 0edcb5b3..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/EstimatedInventoryVersionDtoBase.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.EstimatedInventories
-{
- ///
- /// EstimatedInventoryVersion
- ///
- public class EstimatedInventoryVersionDtoBase :CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class EstimatedInventoryVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set; }
- }
-
- public class EstimatedInventoryVersionCreateDto : EstimatedInventoryVersionDtoBase
- { }
- public class EstimatedInventoryVersionUpdateDto : EstimatedInventoryVersionDtoBase
- { }
- public class EstimatedInventoryVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set ; }
- }
-
- public class EstimatedInventoryVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/IEstimatedInventoryDetailAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/IEstimatedInventoryDetailAppService.cs
deleted file mode 100644
index 3557e8fc..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedInventories/IEstimatedInventoryDetailAppService.cs
+++ /dev/null
@@ -1,138 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.EstimatedInventories
-{
-
-
-
- public interface IEstimatedInventoryDetailAppService
- {
-
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
-
- Task EstimatedInventoryDetailUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory);
-
-
-
-
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync(Guid parentId, EstimatedInventoryDetailRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(EstimatedInventoryVersionRequestDto input);
-
-
-
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- ///
- /// 鑾峰彇鍏ㄩ儴瀹炰綋鍒楄〃
- ///
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 鏂板瀹炰綋
- /////
- ///// 鏂板瀹炰綋DTO
- ///// 瀹炰綋DTO
-
-
- //Task CreateAsync(EstimatedInventoryDetailCreateDto input);
-
-
- /////
- ///// 淇敼瀹炰綋
- /////
- ///// ID
- ///// 淇敼瀹炰綋DTO
- ///// 瀹炰綋DTO
-
- //Task UpdateAsync(Guid id, EstimatedInventoryDetailUpdateDto input);
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
-
-
-
- }
-
-
-
-}
-
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumDtoBase.cs
deleted file mode 100644
index 72088bfd..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumDtoBase.cs
+++ /dev/null
@@ -1,356 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.EstimatedSums
-{
- ///
- /// 搴斾粯鏆備及姹囨
- ///
- public class EstimatedSumDtoBase : CreateOrUpdateEntityDtoBase
- {
- ///
- /// 浼氳骞村害
- ///
- /// 璁拌处鏈熼棿
- ///
-
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
- public virtual string Postingperiod { set; get; }
-
- ///
- /// 鐗╂枡浠g爜锛堢墿鏂欏彿锛
- ///
-
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
- public virtual string MaterialCode { set; get; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
-
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
- public virtual string MaterialDesc { set; get; }
-
- ///
- /// 鏁伴噺
- ///
-
-
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
-
- public virtual Decimal Qty { set; get; }
-
- ///
- /// 渚涘簲鍟
- ///
-
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
- public virtual string SupplierCode{set;get;}
-
-
-
- ///
- ///閲囪喘璁㈠崟鍙
- ///
- public string PurchaseDocument { get; set; }
-
-
- ///
- /// 閲囪喘璁㈠崟琛屽彿
- ///
- public string PurchaseLine { get; set; }
-
-
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- //[ImporterHeader(Name = "鍊")]
- //[Required(ErrorMessage = "{0}鏄繀濉」")]
- //[MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
-
- public virtual string SupplierDesc { set; get; }
-
- }
- public class EstimatedSumCreateDto : EstimatedSumDtoBase
- {
- public virtual Guid BranchId { get; set; }
- }
- public class EstimatedSumUpdateDto : EstimatedSumDtoBase
- {
-
-
- }
- public class EstimatedSumRequestDto : RequestDtoBase, IBranch
- {
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- ///
- /// 浼氳骞村害
- ///
- /// 璁拌处鏈熼棿
- ///
- public virtual string Postingperiod { set; get; }
-
- ///
- /// 鐗╂枡浠g爜
- ///
- public virtual string MaterialCode { set; get; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public virtual string MaterialDesc { set; get; }
-
- ///
- ///閲囪喘璁㈠崟鍙
- ///
- public string PurchaseDocument { get; set; }
-
-
- ///
- /// 閲囪喘璁㈠崟琛屽彿
- ///
- public string PurchaseLine { get; set; }
-
- ///
- /// 渚涘簲鍟嗙紪鐮
- ///
- public virtual string SupplierCode { set; get; }
-
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- public virtual string SupplierDesc { set; get; }
-
-
- public virtual Guid ParentId { get; set; }
-
- public Guid BranchId { get ; set; }
- }
- public class EstimatedSumDto : AuditedEntityDtoBase, IBranch
- {
-
-
- public string Version { set; get; }
-
- ///
- /// 浼氳骞村害
- ///
- /// 璁拌处鏈熼棿
- ///
- public virtual string Postingperiod { set; get; }
-
- ///
- /// 鐗╂枡浠g爜
- ///
- public virtual string MaterialCode { set; get; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public virtual string MaterialDesc { set; get; }
-
- ///
- /// 鏁伴噺
- ///
- public virtual Decimal Qty { set; get; }
-
- ///
- /// 渚涘簲鍟嗙紪鐮
- ///
- public virtual string SupplierCode { set; get; }
-
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- public virtual string SupplierDesc { set; get; }
-
-
-
-
- ///
- ///閲囪喘璁㈠崟鍙
- ///
- public string PurchaseDocument { get; set; }
-
-
- ///
- /// 閲囪喘璁㈠崟琛屽彿
- ///
- public string PurchaseLine { get; set; }
-
-
- public Guid BranchId { get ; set ; }
- }
- public class EstimatedSumImportDto
- {
- ///
- /// 浼氳骞村害
- ///
- /// 璁拌处鏈熼棿
- ///
- [ImporterHeader(Name = "璁拌处鏈熼棿")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
- public virtual string Postingperiod { set; get; }
-
- ///
- /// 鐗╂枡浠g爜锛堢墿鏂欏彿锛
- ///
- [ImporterHeader(Name = "鐗╂枡鍙")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
- public virtual string MaterialCode { set; get; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- [ImporterHeader(Name = "鐗╂枡鎻忚堪")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
- public virtual string MaterialDesc { set; get; }
-
- ///
- /// 鏁伴噺
- ///
-
- [ImporterHeader(Name = "鏁伴噺")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
-
- public virtual Decimal Qty { set; get; }
-
- ///
- /// 渚涘簲鍟
- ///
- [ImporterHeader(Name = "渚涘簲鍟")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- [MaxLength(CommonConsts.MaxNameLength, ErrorMessage = "{0}鏈澶氳緭鍏1}涓瓧绗")]
- public virtual string SupplierCode { set; get; }
-
-
-
-
-
-
-
- ///
- ///閲囪喘璁㈠崟鍙
- ///
- [ImporterHeader(Name = "閲囪喘璁㈠崟鍙")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string PurchaseDocument { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛屽彿
- ///
- [ImporterHeader(Name = "閲囪喘璁㈠崟琛屽彿")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string PurchaseLine { get; set; }
-
-
-
- }
-
-
-
- public class EstimatedSumExportDto
- {
- ///
- /// 浼氳骞村害
- ///
- /// 璁拌处鏈熼棿
- ///
- [ExporterHeader(DisplayName = "璁拌处鏈熼棿")]
- public virtual string Postingperiod { set; get; }
-
-
-
-
- ///
- ///閲囪喘璁㈠崟鍙
- ///
- [ExporterHeader(DisplayName = "閲囪喘璁㈠崟鍙")]
- public string PurchaseDocument { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛屽彿
- ///
- [ExporterHeader(DisplayName = "閲囪喘璁㈠崟琛屽彿")]
- public string PurchaseLine { get; set; }
-
-
- ///
- /// 鐗╂枡浠g爜锛堢墿鏂欏彿锛
- ///
- [ExporterHeader(DisplayName = "鐗╂枡鍙")]
-
- public virtual string MaterialCode { set; get; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- [ExporterHeader(DisplayName = "鐗╂枡鎻忚堪")]
-
-
- public virtual string MaterialDesc { set; get; }
-
- ///
- /// 鏁伴噺
- ///
-
- [ExporterHeader(DisplayName = "鏁伴噺")]
- public virtual Decimal Qty { set; get; }
-
- ///
- /// 渚涘簲鍟
- ///
- [ExporterHeader(DisplayName = "渚涘簲鍟")]
- public virtual string SupplierCode {
-
- set;
- get;
- }
-
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- [ExporterHeader(DisplayName = "渚涘簲鍟嗘弿杩")]
- public virtual string SupplierDesc { set; get; }
-
-
-
-
-
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumVersionDtoBase.cs
deleted file mode 100644
index 61d946e0..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/EsimatedSumVersionDtoBase.cs
+++ /dev/null
@@ -1,122 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.EstimatedSums
-{
- ///
- /// EstimatedSumVersion
- ///
- public class EstimatedSumVersionDtoBase :CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
-
-
- }
-
-
-
- public class EstimatedSumVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
- }
-
- public class EstimatedSumVersionCreateDto : EstimatedSumVersionDtoBase
- { }
- public class EstimatedSumVersionUpdateDto : EstimatedSumVersionDtoBase
- { }
- public class EstimatedSumVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set ; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
- }
-
- public class EstimatedSumVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
-
-
- }
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/IEstimatedSumAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/IEstimatedSumAppService.cs
deleted file mode 100644
index c82155c8..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/EstimatedSums/IEstimatedSumAppService.cs
+++ /dev/null
@@ -1,123 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.EstimatedSums
-{
-
- public interface IEstimatedSumAppService
- {
-
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
- Task EstimatedSumUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory);
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync(Guid parentId, EstimatedSumRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(EstimatedSumVersionRequestDto input);
-
-
-
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- /////
- ///// 鑾峰彇鍏ㄩ儴瀹炰綋鍒楄〃
- /////
- ///// 瀹炰綋DTO鍒楄〃
-
- //Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 鏂板瀹炰綋
- /////
- ///// 鏂板瀹炰綋DTO
- ///// 瀹炰綋DTO
-
-
- //Task CreateAsync(EstimatedSumCreateDto input);
-
-
- /////
- ///// 淇敼瀹炰綋
- /////
- ///// ID
- ///// 淇敼瀹炰綋DTO
- ///// 瀹炰綋DTO
-
- //Task UpdateAsync(Guid id, EstimatedSumUpdateDto input);
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQExtend/HQKBExtendDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQExtend/HQKBExtendDto.cs
deleted file mode 100644
index 6038f52e..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQExtend/HQKBExtendDto.cs
+++ /dev/null
@@ -1,273 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.HQExtend
-{
- public class HQKBExtendDto
- {
-
-
- [ImporterHeader(Name = "璇曞埗浠诲姟鍗曠紪鍙")]
-
- public string TaskBillNum { get; set; }
- [ImporterHeader(Name = "閲囪喘鐢宠鍗曞彿")]
- public string BillNum { get; set; }
- [ImporterHeader(Name = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
- [ImporterHeader(Name = "闆朵欢鍙")]
- public string MaterialCode { get; set; }
- [ImporterHeader(Name = "鏁伴噺")]
- public decimal Qty { get; set; }
- [ImporterHeader(Name = "鏃犵◣鍗曚环")]
- public decimal Price { get; set; }
-
- [ImporterHeader(Name = "鏃犵◣閲戦")]
- public decimal Amt { get; set; }
- [ImporterHeader(Name = "绋庣巼")]
- public decimal Tax { get; set; }
- [ImporterHeader(Name = "绋庨鍚堣")]
- public decimal TaxAmt { get; set; }
- [ImporterHeader(Name = "浠风◣鍚堣")]
- public decimal TotalAmt { get; set; }
- [ImporterHeader(Name = "鐗堟湰鍙", IsIgnore = false)]
- public string Version { get; set; }
- }
-
-
- public class HQKBExtendRequestDto : RequestDtoBase, IBranch
- {
- [ImporterHeader(Name = "璇曞埗浠诲姟鍗曠紪鍙")]
-
- public string TaskBillNum { get; set; }
- [ImporterHeader(Name = "閲囪喘鐢宠鍗曞彿")]
- public string BillNum { get; set; }
- [ImporterHeader(Name = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
- [ImporterHeader(Name = "闆朵欢鍙")]
- public string MaterialCode { get; set; }
- [ImporterHeader(Name = "鏁伴噺")]
- public decimal Qty { get; set; }
- [ImporterHeader(Name = "鏃犵◣鍗曚环")]
- public decimal Price { get; set; }
-
- [ImporterHeader(Name = "鏃犵◣閲戦")]
- public decimal Amt { get; set; }
- [ImporterHeader(Name = "绋庣巼")]
- public decimal Tax { get; set; }
- [ImporterHeader(Name = "绋庨鍚堣")]
- public decimal TaxAmt { get; set; }
- [ImporterHeader(Name = "浠风◣鍚堣")]
- public decimal TotalAmt { get; set; }
- [ImporterHeader(Name = "鐗堟湰鍙", IsIgnore = false)]
- public string Version { get; set; }
- public Guid BranchId { get; set; }
- }
-
- public class HQKBExtendExportDto
- {
- [ExporterHeader(DisplayName = "璇曞埗浠诲姟鍗曠紪鍙")]
-
- public string TaskBillNum { get; set; }
- [ExporterHeader(DisplayName = "閲囪喘鐢宠鍗曞彿")]
- public string BillNum { get; set; }
- [ExporterHeader(DisplayName = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
- [ExporterHeader(DisplayName = "闆朵欢鍙")]
- public string MaterialCode { get; set; }
- [ExporterHeader(DisplayName = "鏁伴噺")]
- public decimal Qty { get; set; }
- [ExporterHeader(DisplayName = "鏃犵◣鍗曚环")]
- public decimal Price { get; set; }
-
- [ExporterHeader(DisplayName = "鏃犵◣閲戦")]
- public decimal Amt { get; set; }
- [ExporterHeader(DisplayName = "绋庣巼")]
- public decimal Tax { get; set; }
- [ExporterHeader(DisplayName = "绋庨鍚堣")]
- public decimal TaxAmt { get; set; }
- [ExporterHeader(DisplayName = "浠风◣鍚堣")]
- public decimal TotalAmt { get; set; }
- [ExporterHeader(DisplayName = "鐗堟湰鍙")]
- public string Version { get; set; }
- }
- public class HQKBExtendVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
-
- public class HQKBExtendVersionDto
- {
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
-
-
- public string Factory { set; get; }
-
- }
-
- public class HQKBSettleExtendDto
- {
-
-
- [ImporterHeader(Name = "璇曞埗浠诲姟鍗曠紪鍙")]
-
- public string TaskBillNum { get; set; }
- [ImporterHeader(Name = "閲囪喘鐢宠鍗曞彿")]
- public string BillNum { get; set; }
- [ImporterHeader(Name = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
- [ImporterHeader(Name = "闆朵欢鍙")]
- public string MaterialCode { get; set; }
- [ImporterHeader(Name = "鏁伴噺")]
- public decimal Qty { get; set; }
- [ImporterHeader(Name = "鏃犵◣鍗曚环")]
- public decimal Price { get; set; }
-
- [ImporterHeader(Name = "鏃犵◣閲戦")]
- public decimal Amt { get; set; }
- [ImporterHeader(Name = "绋庣巼")]
- public decimal Tax { get; set; }
- [ImporterHeader(Name = "绋庨鍚堣")]
- public decimal TaxAmt { get; set; }
- [ImporterHeader(Name = "浠风◣鍚堣")]
- public decimal TotalAmt { get; set; }
- [ImporterHeader(Name = "鐗堟湰鍙", IsIgnore = false)]
- public string Version { get; set; }
- }
-
-
- public class HQKBSettleExtendRequestDto : RequestDtoBase, IBranch
- {
- [ImporterHeader(Name = "璇曞埗浠诲姟鍗曠紪鍙")]
-
- public string TaskBillNum { get; set; }
- [ImporterHeader(Name = "閲囪喘鐢宠鍗曞彿")]
- public string BillNum { get; set; }
- [ImporterHeader(Name = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
- [ImporterHeader(Name = "闆朵欢鍙")]
- public string MaterialCode { get; set; }
- [ImporterHeader(Name = "鏁伴噺")]
- public decimal Qty { get; set; }
- [ImporterHeader(Name = "鏃犵◣鍗曚环")]
- public decimal Price { get; set; }
-
- [ImporterHeader(Name = "鏃犵◣閲戦")]
- public decimal Amt { get; set; }
- [ImporterHeader(Name = "绋庣巼")]
- public decimal Tax { get; set; }
- [ImporterHeader(Name = "绋庨鍚堣")]
- public decimal TaxAmt { get; set; }
- [ImporterHeader(Name = "浠风◣鍚堣")]
- public decimal TotalAmt { get; set; }
- [ImporterHeader(Name = "鐗堟湰鍙", IsIgnore = false)]
- public string Version { get; set; }
- public Guid BranchId { get; set; }
- }
-
- public class HQKBSettleExtendExportDto
- {
- [ExporterHeader(DisplayName = "璇曞埗浠诲姟鍗曠紪鍙")]
-
- public string TaskBillNum { get; set; }
- [ExporterHeader(DisplayName = "閲囪喘鐢宠鍗曞彿")]
- public string BillNum { get; set; }
- [ExporterHeader(DisplayName = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
- [ExporterHeader(DisplayName = "闆朵欢鍙")]
- public string MaterialCode { get; set; }
- [ExporterHeader(DisplayName = "鏁伴噺")]
- public decimal Qty { get; set; }
- [ExporterHeader(DisplayName = "鏃犵◣鍗曚环")]
- public decimal Price { get; set; }
-
- [ExporterHeader(DisplayName = "鏃犵◣閲戦")]
- public decimal Amt { get; set; }
- [ExporterHeader(DisplayName = "绋庣巼")]
- public decimal Tax { get; set; }
- [ExporterHeader(DisplayName = "绋庨鍚堣")]
- public decimal TaxAmt { get; set; }
- [ExporterHeader(DisplayName = "浠风◣鍚堣")]
- public decimal TotalAmt { get; set; }
- [ExporterHeader(DisplayName = "鐗堟湰鍙")]
- public string Version { get; set; }
- }
- public class HQKBSettleExtendVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
-
- public class HQKBSettleExtendVersionDto
- {
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
-
-
- public string Factory { set; get; }
-
- }
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformCreateDto.cs
deleted file mode 100644
index 44655097..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformCreateDto.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.SettleAccount.Entities.VWScrapClaims;
-using Win.Sfs.Shared;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public class HQ_H_PlatformCreateDto : HQ_H_PlatformDtoBase, IBranch
- {
- public virtual Guid BranchId { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDto.cs
deleted file mode 100644
index 9a3edca6..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDto.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
-
- public class HQ_H_PlatformDto : AuditedEntityDtoBase
- {
- ///
- ///宸ュ巶
- ///
- public string Factory { get; set; }
- ///
- ///澶栭儴鍗曞彿
- ///
- public string ExternalKanbanNumber { get; set; }
- ///
- ///鐪嬫澘缂栧彿
- ///
- public string KanbanNumber { get; set; }
- ///
- ///鐗╂枡鍑瘉鍙
- ///
- public string MaterialVoucherNo { get; set; }
-
- ///
- ///浼氳骞村害
- ///
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { set; get; }
- ///
- /// 鐪嬫澘鍙
- ///
- public string HQHKanBan { set; get; }
-
-
- ///
- /// 鐗╂枡鍙
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 楠屾敹鍗曟棩鏈
- ///
- public DateTime AcceptanceDate { get; set; }
-
- ///
- /// 渚涘簲鍟
- ///
- public string Supplier { get; set; }
-
- ///
- /// 瀛樺偍鍦扮偣
- ///
- public string StorageLocation { get; set; }
-
- ///
- /// 瀛樺偍鍦扮偣鎻忚堪
- ///
- public string StorageLocationDesc { get; set; }
-
- ///
- ///楠屾敹鍗曞彿
- ///
- public string AcceptanceNo { get; set; }
-
- ///
- /// 鏁伴噺
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 鍗曚环
- ///
- public decimal Price { set; get; }
-
- ///
- /// 閲戦
- ///
- public decimal Amt { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDtoBase.cs
deleted file mode 100644
index 214442b8..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformDtoBase.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public class HQ_H_PlatformDtoBase : CreateOrUpdateEntityDtoBase
- {
- ///
- ///宸ュ巶
- ///
- public string Factory { get; set; }
- ///
- ///澶栭儴鍗曞彿
- ///
- public string ExternalKanbanNumber { get; set; }
- ///
- ///鐪嬫澘缂栧彿
- ///
- public string KanbanNumber { get; set; }
- ///
- ///鐗╂枡鍑瘉鍙
- ///
- public string MaterialVoucherNo { get; set; }
-
- ///
- ///浼氳骞村害
- ///
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { set; get; }
- ///
- /// 绫诲瀷锛欳P7鎶ュ簾鍜岀储璧斾袱绉
- ///
- public string HQHKanBan { set; get; }
-
-
- ///
- /// 鐗╂枡鍙
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 楠屾敹鍗曟棩鏈
- ///
- public DateTime AcceptanceDate { get; set; }
-
- ///
- /// 渚涘簲鍟
- ///
- public string Supplier { get; set; }
-
- ///
- /// 瀛樺偍鍦扮偣鎻忚堪
- ///
- public string StorageLocation { get; set; }
-
- ///
- /// 瀛樺偍鍦扮偣鎻忚堪
- ///
- public string StorageLocationDesc { get; set; }
-
- ///
- ///楠屾敹鍗曞彿
- ///
- public string AcceptanceNo { get; set; }
-
- ///
- /// 鏁伴噺
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 鍗曚环
- ///
- public decimal Price { set; get; }
-
- ///
- /// 閲戦
- ///
- public decimal Amt { set; get; }
- }
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformExportDto.cs
deleted file mode 100644
index 213804bd..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformExportDto.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public class HQ_H_PlatformExportDto
- {
- ///
- ///宸ュ巶
- ///
- [ExporterHeader(DisplayName = "宸ュ巶")]
- public string Factory { get; set; }
- ///
- ///澶栭儴鍗曞彿
- ///
- [ExporterHeader(DisplayName = "澶栭儴鍗曞彿")]
- public string ExternalKanbanNumber { get; set; }
- ///
- ///鐪嬫澘缂栧彿
- ///
- [ExporterHeader(DisplayName = "鐪嬫澘缂栧彿")]
- public string KanbanNumber { get; set; }
- ///
- ///鐗╂枡鍑瘉鍙
- ///
- [ExporterHeader(DisplayName = "鐗╂枡鍑瘉鍙")]
- public string MaterialVoucherNo { get; set; }
-
- ///
- ///浼氳骞村害
- ///
- [ExporterHeader(DisplayName = "浼氳骞村害")]
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- [ExporterHeader(DisplayName = "鏈熼棿")]
- public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- [ExporterHeader(DisplayName = "鐗堟湰鍙")]
- public string Version { set; get; }
- ///
- /// 鐪嬫澘鍙
- ///
- [ExporterHeader(DisplayName = "鐪嬫澘鍙")]
- public string HQHKanBan { set; get; }
-
-
- ///
- /// 鐗╂枡鍙
- ///
- [ExporterHeader(DisplayName = "鐗╂枡鍙")]
- public string MaterialCode { get; set; }
-
- ///
- /// 楠屾敹鍗曟棩鏈
- ///
- [ExporterHeader(DisplayName = "楠屾敹鍗曟棩鏈")]
- public DateTime AcceptanceDate { get; set; }
-
- ///
- /// 渚涘簲鍟
- ///
- [ExporterHeader(DisplayName = "渚涘簲鍟")]
- public string Supplier { get; set; }
-
- ///
- /// 瀛樺偍鍦扮偣
- ///
- [ExporterHeader(DisplayName = "瀛樺偍鍦扮偣")]
- public string StorageLocation { get; set; }
-
- ///
- /// 瀛樺偍鍦扮偣鎻忚堪
- ///
- [ExporterHeader(DisplayName = "瀛樺偍鍦扮偣鎻忚堪")]
- public string StorageLocationDesc { get; set; }
-
- ///
- ///楠屾敹鍗曞彿
- ///
- [ExporterHeader(DisplayName = "楠屾敹鍗曞彿")]
- public string AcceptanceNo { get; set; }
-
- ///
- /// 鏁伴噺
- ///
- [ExporterHeader(DisplayName = "鏁伴噺")]
- public decimal Qty { set; get; }
-
- ///
- /// 鍗曚环
- ///
- [ExporterHeader(DisplayName = "鍗曚环")]
- public decimal Price { set; get; }
-
- ///
- /// 閲戦
- ///
- [ExporterHeader(DisplayName = "閲戦")]
- public decimal Amt { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformImportDto.cs
deleted file mode 100644
index e46caa69..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformImportDto.cs
+++ /dev/null
@@ -1,109 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public class HQ_H_PlatformImportDto
- {
- ///
- ///宸ュ巶
- ///
- [ImporterHeader(Name = "宸ュ巶")]
- public string Factory { get; set; }
- ///
- ///澶栭儴鍗曞彿
- ///
- [ImporterHeader(Name = "澶栭儴鍗曞彿")]
- public string ExternalKanbanNumber { get; set; }
- ///
- ///鐪嬫澘缂栧彿
- ///
- [ImporterHeader(Name = "鐪嬫澘缂栧彿")]
- public string KanbanNumber { get; set; }
- ///
- ///鐗╂枡鍑瘉鍙
- ///
- [ImporterHeader(Name = "鐗╂枡鍑瘉鍙")]
- public string MaterialVoucherNo { get; set; }
-
- ///
- ///浼氳骞村害
- ///
- [ImporterHeader(Name = "浼氳骞村害")]
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- //[ImporterHeader(Name = "鏈熼棿")]
- //public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- //[ImporterHeader(Name = "鐗堟湰鍙")]
- //public string Version { set; get; }
- ///
- /// 鐪嬫澘鍙
- ///
- [ImporterHeader(Name = "鐪嬫澘鍙")]
- public string HQHKanBan { set; get; }
-
-
- ///
- /// 鐗╂枡鍙
- ///
- [ImporterHeader(Name = "鐗╂枡鍙")]
- public string MaterialCode { get; set; }
-
- ///
- /// 楠屾敹鍗曟棩鏈
- ///
- [ImporterHeader(Name = "楠屾敹鍗曟棩鏈")]
- public DateTime AcceptanceDate { get; set; }
-
- ///
- /// 渚涘簲鍟
- ///
- [ImporterHeader(Name = "渚涘簲鍟")]
- public string Supplier { get; set; }
-
- ///
- /// 瀛樺偍鍦扮偣
- ///
- [ImporterHeader(Name = "瀛樺偍鍦扮偣")]
- public string StorageLocation { get; set; }
-
- ///
- /// 瀛樺偍鍦扮偣鎻忚堪
- ///
- [ImporterHeader(Name = "瀛樺偍鍦扮偣鎻忚堪")]
- public string StorageLocationDesc { get; set; }
-
- ///
- ///楠屾敹鍗曞彿
- ///
- [ImporterHeader(Name = "楠屾敹鍗曞彿")]
- public string AcceptanceNo { get; set; }
-
- ///
- /// 鏁伴噺
- ///
- [ImporterHeader(Name = "鏁伴噺")]
- public decimal Qty { set; get; }
-
- ///
- /// 鍗曚环
- ///
- [ImporterHeader(Name = "鍗曚环")]
- public decimal Price { set; get; }
-
- ///
- /// 閲戦
- ///
- [ImporterHeader(Name = "閲戦")]
- public decimal Amt { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformRequestDto.cs
deleted file mode 100644
index 5d0ee41c..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformRequestDto.cs
+++ /dev/null
@@ -1,101 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public class HQ_H_PlatformRequestDto : RequestDtoBase
- {
-
- ///
- ///宸ュ巶
- ///
- public string Factory { get; set; }
- ///
- ///澶栭儴鍗曞彿
- ///
- public string ExternalKanbanNumber { get; set; }
- ///
- ///鐪嬫澘缂栧彿
- ///
- public string KanbanNumber { get; set; }
- ///
- ///鐗╂枡鍑瘉鍙
- ///
- public string MaterialVoucherNo { get; set; }
-
- ///
- ///浼氳骞村害
- ///
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { set; get; }
- ///
- /// 鐪嬫澘鍙
- ///
- public string HQHKanBan { set; get; }
-
-
- ///
- /// 鐗╂枡鍙
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 楠屾敹鍗曟棩鏈
- ///
- public DateTime AcceptanceDate { get; set; }
-
- ///
- /// 渚涘簲鍟
- ///
- public string Supplier { get; set; }
-
- ///
- /// 瀛樺偍鍦扮偣
- ///
- public string StorageLocation { get; set; }
-
- ///
- ///楠屾敹鍗曞彿
- ///
- public string AcceptanceNo { get; set; }
-
- ///
- /// 鏁伴噺
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 鍗曚环
- ///
- public decimal Price { set; get; }
-
- ///
- /// 閲戦
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 瀛樺偍鍦扮偣鎻忚堪
- ///
- public string StorageLocationDesc { get; set; }
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformVersionDtoBase.cs
deleted file mode 100644
index 371dba32..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/HQ_H_PlatformVersionDtoBase.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- ///
- /// SettleAccountVersion
- ///
- public class HQ_H_PlatformVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class HQ_H_PlatformVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class HQ_H_PlatformVersionCreateDto : HQ_H_PlatformVersionDtoBase
- { }
- public class HQ_H_PlatformVersionUpdateDto : HQ_H_PlatformVersionDtoBase
- { }
- public class HQ_H_PlatformVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class HQ_H_PlatformVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/IHQ_H_PlatformAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/IHQ_H_PlatformAppService.cs
deleted file mode 100644
index f2f940d6..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/HQ_H/IHQ_H_PlatformAppService.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-
-namespace Win.Sfs.SettleAccount.Entities.HQ_H
-{
- public interface IHQ_H_PlatformAppService
- {
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
-
- Task HQ_H_PlatformUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId,
- string year, string period, string version, string customerCode);
-
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync(HQ_H_PlatformRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(HQ_H_PlatformVersionRequestDto input);
-
-
- Task ExportAsync(HQ_H_PlatformRequestDto input);
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/IInventoryDetailAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/IInventoryDetailAppService.cs
index ae7e6e21..0b2e5d47 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/IInventoryDetailAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/Inventories/IInventoryDetailAppService.cs
@@ -8,7 +8,6 @@ using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.InventoryDetialVersion;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.SettleAccount.Inventories;
using Win.Sfs.Shared.ApplicationBase;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/IItemInvoicePriceAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/IItemInvoicePriceAppService.cs
index 6cc80e46..e4c2b1c9 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/IItemInvoicePriceAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/ItemInvoicePrices/IItemInvoicePriceAppService.cs
@@ -8,7 +8,6 @@ using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.ItemInvoicePrices;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.Shared.ApplicationBase;
namespace Win.Sfs.SettleAccount.ItemInvoicePrices
{
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryAdjustmentAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryAdjustmentAppService.cs
deleted file mode 100644
index 7a19368f..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryAdjustmentAppService.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- public interface ISecondaryAdjustmentAppService
-
-
- {
-
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
-
- Task SecondaryAdjustmentUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
-
-
-
-
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync(Guid parentId, SecondaryAdjustmentRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(SecondaryAdjustmentVersionRequestDto input);
-
-
-
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- ///
- /// 鑾峰彇鍏ㄩ儴瀹炰綋鍒楄〃
- ///
- /// 瀹炰綋DTO鍒楄〃
-
- ///Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 鏂板瀹炰綋
- /////
- ///// 鏂板瀹炰綋DTO
- ///// 瀹炰綋DTO
-
-
- //Task CreateAsync(SecondaryAdjustmentCreateDto input);
-
-
- /////
- ///// 淇敼瀹炰綋
- /////
- ///// ID
- ///// 淇敼瀹炰綋DTO
- ///// 瀹炰綋DTO
-
- //Task UpdateAsync(Guid id, SecondaryAdjustmentUpdateDto input);
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
-
-
-
- }
-
-
-
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryDiscountAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryDiscountAppService.cs
deleted file mode 100644
index b622ad2b..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryDiscountAppService.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- public interface ISecondaryDiscountAppService
-
-
- {
-
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
-
- Task SecondaryDiscountUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
-
-
-
-
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync(Guid parentId, SecondaryDiscountRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(SecondaryDiscountVersionRequestDto input);
-
-
-
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- ///
- /// 鑾峰彇鍏ㄩ儴瀹炰綋鍒楄〃
- ///
- /// 瀹炰綋DTO鍒楄〃
-
- ///Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 鏂板瀹炰綋
- /////
- ///// 鏂板瀹炰綋DTO
- ///// 瀹炰綋DTO
-
-
- //Task CreateAsync(SecondaryDiscountCreateDto input);
-
-
- /////
- ///// 淇敼瀹炰綋
- /////
- ///// ID
- ///// 淇敼瀹炰綋DTO
- ///// 瀹炰綋DTO
-
- //Task UpdateAsync(Guid id, SecondaryDiscountUpdateDto input);
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
-
-
-
- }
-
-
-
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryPriceRatioAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryPriceRatioAppService.cs
deleted file mode 100644
index 1e271152..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/ISecondaryPriceRatioAppService.cs
+++ /dev/null
@@ -1,135 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
- public interface ISecondaryPriceRatioAppService
-
-
- {
-
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
-
- Task SecondaryPriceRatioUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
-
-
-
-
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync(Guid parentId, SecondaryPriceRatioRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(SecondaryPriceRatioVersionRequestDto input);
-
-
-
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- ///
- ///// 鑾峰彇鍏ㄩ儴瀹炰綋鍒楄〃
- /////
- ///// 瀹炰綋DTO鍒楄〃
-
- //Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 鏂板瀹炰綋
- /////
- ///// 鏂板瀹炰綋DTO
- ///// 瀹炰綋DTO
-
-
- //Task CreateAsync(SecondaryPriceRatioCreateDto input);
-
-
- /////
- ///// 淇敼瀹炰綋
- /////
- ///// ID
- ///// 淇敼瀹炰綋DTO
- ///// 瀹炰綋DTO
-
- //Task UpdateAsync(Guid id, SecondaryPriceRatioUpdateDto input);
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
-
-
-
- }
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentDtoBase.cs
deleted file mode 100644
index 45c9059c..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentDtoBase.cs
+++ /dev/null
@@ -1,360 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- ///
- /// SecondaryAdjustment
- ///
- public class SecondaryAdjustmentDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- ///骞村害
- ///
- public string Year { get; protected set; }
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 闆朵欢鏁伴噺锛堝洖娆撅級
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 閲戦锛堜笉鍚◣锛
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 閲戦锛堝惈绋庯級
- ///
- public decimal Total { set; get; }
-
-
-
- ///
- /// 浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌
- ///
-
- //[Display(Name = "浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌")]
- public string HasChanged { get; set; } = "鍚";
-
-
- ///
- /// 浜岄厤閲囪喘鍛
- ///
-
- //[Display(Name = "浜岄厤閲囪喘鍛")]
- public string Buyer { get; set; }
-
-
- public string Remark { set; get; }
-
-
- }
-
-
-
- public class SecondaryAdjustmentDto : AuditedEntityDtoBase
- {
-
- ///
- ///骞村害
- ///
- public string Year { get; protected set; }
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 闆朵欢鏁伴噺锛堝洖娆撅級
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 閲戦锛堜笉鍚◣锛
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 閲戦锛堝惈绋庯級
- ///
- public decimal Total { set; get; }
-
-
- ///
- /// 浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌
- ///
-
- //[Display(Name = "浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌")]
- public string HasChanged { get; set; } = "鍚";
-
-
- ///
- /// 浜岄厤閲囪喘鍛
- ///
-
- //[Display(Name = "浜岄厤閲囪喘鍛")]
- public string Buyer { get; set; }
-
- }
- public class SecondaryAdjustmentCreateDto : SecondaryAdjustmentDtoBase
- { }
- public class SecondaryAdjustmentUpdateDto : SecondaryAdjustmentDtoBase
- { }
- public class SecondaryAdjustmentRequestDto : RequestDtoBase, IBranch
- {
-
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
-
-
- ///
- ///骞村害
- ///
- public string Year { get; protected set; }
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 闆朵欢鏁伴噺锛堝洖娆撅級
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 閲戦锛堜笉鍚◣锛
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 閲戦锛堝惈绋庯級
- ///
- public decimal Total { set; get; }
-
-
-
-
- public Guid ParentId { set; get; }
- public Guid BranchId { get ; set ; }
- }
-
-
- public class SecondaryAdjustmentImportDto
- {
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- [ImporterHeader(Name = "瀹㈡埛鎬绘垚鐗╂枡鍙")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- [ImporterHeader(Name = "瀹㈡埛缁勪欢鐗╂枡鍙")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
-
-
- [ImporterHeader(Name = "渚涘簲鍟嗕唬鐮")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string SupplierCode { set; get; }
-
-
- ///
- /// 闆朵欢鏁伴噺锛堝洖娆撅級
- ///
- [ImporterHeader(Name = "鍥炴闆朵欢鏁伴噺")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public decimal Qty { set; get; }
-
-
-
-
-
-
- ///
- /// 浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌
- ///
-
- [ImporterHeader(Name = "浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌")]
- public string HasChanged { get; set; } = "鍚";
-
-
- ///
- /// 浜岄厤閲囪喘鍛
- ///
- [ImporterHeader(Name = "浜岄厤閲囪喘鍛")]
- //[Display(Name = "浜岄厤閲囪喘鍛")]
- public string Buyer { get; set; }
-
-
-
-
-
-
-
- }
- public class SecondaryAdjustmentExportDto
- {
-
- [ExporterHeader(DisplayName = "鏈熼棿")]
-
- public string Version { set; get; }
-
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- [ExporterHeader(DisplayName = "瀹㈡埛鎬绘垚鐗╂枡鍙")]
-
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- [ExporterHeader(DisplayName = "瀹㈡埛缁勪欢鐗╂枡鍙")]
-
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
-
-
- [ExporterHeader(DisplayName = "渚涘簲鍟嗕唬鐮")]
-
- public string SupplierCode { set; get; }
-
-
- ///
- /// 闆朵欢鏁伴噺锛堝洖娆撅級
- ///
- [ExporterHeader(DisplayName = "闆朵欢鏁伴噺锛堝洖娆撅級")]
-
- public decimal Qty { set; get; }
-
-
-
-
-
-
- ///
- /// 浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌
- ///
-
- [ExporterHeader(DisplayName = "浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌")]
- public string HasChanged { get; set; } = "鍚";
-
-
- ///
- /// 浜岄厤閲囪喘鍛
- ///
- [ExporterHeader(DisplayName = "浜岄厤閲囪喘鍛")]
- //[Display(Name = "浜岄厤閲囪喘鍛")]
- public string Buyer { get; set; }
-
- [ExporterHeader(DisplayName = "澶囨敞")]
- //[Display(Name = "浜岄厤閲囪喘鍛")]
- public string Remark { get; set; }
-
-
-
-
-
- }
-
-
-
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentVersionDtoBase.cs
deleted file mode 100644
index c56b393c..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryAdjustmentVersionDtoBase.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- ///
- /// SecondaryAdjustmentVersion
- ///
- public class SecondaryAdjustmentVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
-
-
- }
-
-
-
- public class SecondaryAdjustmentVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
- }
-
- public class SecondaryAdjustmentVersionCreateDto : SecondaryAdjustmentVersionDtoBase
- { }
- public class SecondaryAdjustmentVersionUpdateDto : SecondaryAdjustmentVersionDtoBase
- { }
- public class SecondaryAdjustmentVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
- }
-
- public class SecondaryAdjustmentVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
-
-
- }
-
-}
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountDtoBase.cs
deleted file mode 100644
index 784ba67a..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountDtoBase.cs
+++ /dev/null
@@ -1,319 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- ///
- /// SecondaryDiscount
- ///
- public class SecondaryDiscountDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- ///骞村害
- ///
- public string Year { get; protected set; }
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 闆朵欢鏁伴噺锛堝洖娆撅級
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 閲戦锛堜笉鍚◣锛
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 閲戦锛堝惈绋庯級
- ///
- public decimal Total { set; get; }
-
-
-
- ///
- /// 浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌
- ///
-
- //[Display(Name = "浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌")]
- public string HasChanged { get; set; } = "鍚";
-
-
- ///
- /// 浜岄厤閲囪喘鍛
- ///
-
- //[Display(Name = "浜岄厤閲囪喘鍛")]
- public string Buyer { get; set; }
-
-
- public string Remark { set; get; }
-
-
- }
-
-
-
- public class SecondaryDiscountDto : AuditedEntityDtoBase
- {
-
- ///
- ///骞村害
- ///
- public string Year { get; protected set; }
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 闆朵欢鏁伴噺锛堝洖娆撅級
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 閲戦锛堜笉鍚◣锛
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 閲戦锛堝惈绋庯級
- ///
- public decimal Total { set; get; }
-
-
- ///
- /// 浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌
- ///
-
- //[Display(Name = "浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌")]
- public string HasChanged { get; set; } = "鍚";
-
-
- ///
- /// 浜岄厤閲囪喘鍛
- ///
-
- //[Display(Name = "浜岄厤閲囪喘鍛")]
- public string Buyer { get; set; }
-
- }
- public class SecondaryDiscountCreateDto : SecondaryDiscountDtoBase
- { }
- public class SecondaryDiscountUpdateDto : SecondaryDiscountDtoBase
- { }
- public class SecondaryDiscountRequestDto : RequestDtoBase, IBranch
- {
- ///
- ///骞村害
- ///
- public string Year { get; protected set; }
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
- public string Version { set; get; }
-
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- public string CustomerMaterialCode { set; get; }
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- public string CustomerComponentCode { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- public string SupplierCode { set; get; }
-
-
- ///
- /// 闆朵欢鏁伴噺锛堝洖娆撅級
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 閲戦锛堜笉鍚◣锛
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 閲戦锛堝惈绋庯級
- ///
- public decimal Total { set; get; }
-
-
-
-
- public Guid ParentId { set; get; }
- public Guid BranchId { get ; set ; }
- }
-
-
- public class SecondaryDiscountImportDto
- {
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
-
-
- [ImporterHeader(Name = "渚涘簲鍟嗕唬鐮")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string SupplierCode { set; get; }
-
- ///
- /// 浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌
- ///
-
- [ImporterHeader(Name = "浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌")]
- public string HasChanged { get; set; } = "鍚";
-
-
- ///
- /// 浜岄厤閲囪喘鍛
- ///
- [ImporterHeader(Name = "浜岄厤閲囪喘鍛")]
- //[Display(Name = "浜岄厤閲囪喘鍛")]
- public string Buyer { get; set; }
-
-
-
- ///
- /// 閲戦锛堜笉鍚◣锛
- ///
- [ImporterHeader(Name = "涓嶅惈绋庨噾棰")]
-
- public decimal Amt { set; get; }
-
-
-
-
-
-
- }
-
-
- public class SecondaryDiscountExportDto
- {
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- [ExporterHeader(DisplayName ="渚涘簲鍟嗕唬鐮")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string SupplierCode { set; get; }
-
-
- ///
- /// 闆朵欢鏁伴噺锛堝洖娆撅級
- ///
- [ExporterHeader(DisplayName ="鍥炴闆朵欢鏁伴噺")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public decimal Qty { set; get; }
-
-
- ///
- /// 浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌
- ///
- [ExporterHeader(DisplayName ="浠锋牸鎴栭浂浠跺彿鍙樺姩鎯呭喌")]
- public string HasChanged { get; set; } = "鍚";
-
-
- ///
- /// 浜岄厤閲囪喘鍛
- ///
- [ExporterHeader(DisplayName ="浜岄厤閲囪喘鍛")]
- //[Display(Name = "浜岄厤閲囪喘鍛")]
- public string Buyer { get; set; }
-
-
- ///
- /// 閲戦锛堜笉鍚◣锛
- ///
- [ExporterHeader(DisplayName ="涓嶅惈绋庨噾棰")]
-
- public decimal Amt { set; get; }
-
- ///
- /// 閲戦锛堝惈绋庯級
- ///
- [ExporterHeader(DisplayName ="鍚◣閲戦")]
- public decimal Total { set; get; }
-
-
-
-
- }
-
-
-
-
-
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountVersionDtoBase.cs
deleted file mode 100644
index 9c40563e..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryDiscountVersionDtoBase.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
- ///
- /// SecondaryDiscountVersion
- ///
- public class SecondaryDiscountVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
-
-
- }
-
-
-
- public class SecondaryDiscountVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
- }
-
- public class SecondaryDiscountVersionCreateDto : SecondaryDiscountVersionDtoBase
- { }
- public class SecondaryDiscountVersionUpdateDto : SecondaryDiscountVersionDtoBase
- { }
- public class SecondaryDiscountVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
- }
-
- public class SecondaryDiscountVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
-
-
- }
-
-}
-
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioDtoBase.cs
deleted file mode 100644
index 067728ba..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioDtoBase.cs
+++ /dev/null
@@ -1,388 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.ComponentModel.DataAnnotations;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
- ///
- /// SecondaryPriceRatio
- ///
- public class SecondaryPriceRatioDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
-
- public string Version { set; get; }
-
-
-
-
- ///
- /// 瀹㈡埛浠g爜
- ///
- public string CustomerCode { set; get; }
-
-
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- public string CustomItemCode { set; get; }
-
- ///
- /// 瀹㈡埛鐗╂枡鍙风粨绠椾环鏍
- ///
- public decimal CustomItemPrice { set; get; }
-
-
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- public string CustomSubItemCode { get; set; }
-
-
- ///
- /// 瀹㈡埛鐗╂枡鍙风粨绠椾环鏍
- ///
- public decimal CustomSubItemPrice { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- public string SupplierCode { get; set; }
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- public string SupplierDesc { get; set; }
-
- ///
- /// 渚涜揣姣斾緥
- ///
- public string SupplyProportion { set; get; }
-
- ///
- /// 姣斾緥渚涜揣浠锋牸
- ///
- public decimal SupplyProportionPrice { get; set; }
-
-
- public Guid ParentId { set; get; }
-
- }
-
-
-
- public class SecondaryPriceRatioDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
-
- public string Version { set; get; }
-
-
-
-
- ///
- /// 瀹㈡埛浠g爜
- ///
- public string CustomerCode { set; get; }
-
-
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- public string CustomItemCode { set; get; }
-
- ///
- /// 瀹㈡埛鐗╂枡鍙风粨绠椾环鏍
- ///
- public decimal CustomItemPrice { set; get; }
-
-
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- public string CustomSubItemCode { get; set; }
-
-
- ///
- /// 瀹㈡埛鐗╂枡鍙风粨绠椾环鏍
- ///
- public decimal CustomSubItemPrice { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- public string SupplierCode { get; set; }
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- public string SupplierDesc { get; set; }
-
- ///
- /// 渚涜揣姣斾緥
- ///
- public string SupplyProportion { set; get; }
-
- ///
- /// 姣斾緥渚涜揣浠锋牸
- ///
- public decimal SupplyProportionPrice { get; set; }
-
-
- public Guid ParentId { set; get; }
- public Guid BranchId { get ; set; }
- }
-
- public class SecondaryPriceRatioCreateDto : SecondaryPriceRatioDtoBase
- { }
- public class SecondaryPriceRatioUpdateDto : SecondaryPriceRatioDtoBase
- { }
- public class SecondaryPriceRatioRequestDto : RequestDtoBase, IBranch
- {
-
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- public string Version { set; get; }
-
- ///
- /// 瀹㈡埛浠g爜
- ///
- public string CustomerCode { set; get; }
-
- ///
- /// 瀹㈡埛鎬绘垚鐗╂枡鍙
- ///
- public string CustomItemCode { set; get; }
-
- ///
- /// 瀹㈡埛鐗╂枡鍙风粨绠椾环鏍
- ///
- public decimal CustomItemPrice { set; get; }
-
-
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- public string CustomSubItemCode { get; set; }
-
-
- ///
- /// 瀹㈡埛鐗╂枡鍙风粨绠椾环鏍
- ///
- public decimal CustomSubItemPrice { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- public string SupplierCode { get; set; }
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- public string SupplierDesc { get; set; }
-
- ///
- /// 渚涜揣姣斾緥
- ///
- public string SupplyProportion { set; get; }
-
- ///
- /// 姣斾緥渚涜揣浠锋牸
- ///
- public decimal SupplyProportionPrice { get; set; }
-
-
- public Guid ParentId { set; get; }
- public Guid BranchId { get ; set ; }
- }
-
- public class SecondaryPriceRatioImportDto
- {
-
-
-
-
-
-
-
- ///
- /// 瀹㈡埛浠g爜
- ///
- [ImporterHeader(Name = "瀹㈡埛浠g爜")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
-
- public string CustomerCode { set; get; }
-
-
-
- ///
- /// 瀹㈡埛鐗╂枡鍙
- ///
- [ImporterHeader(Name = "瀹㈡埛鎬绘垚鐗╂枡鍙")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string CustomItemCode { set; get; }
-
- ///
- /// 瀹㈡埛鐗╂枡鍙风粨绠椾环鏍
- ///
- [ImporterHeader(Name = "瀹㈡埛鐗╂枡鍙风粨绠椾环鏍")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public decimal CustomItemPrice { set; get; }
-
-
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- [ImporterHeader(Name = "瀹㈡埛缁勪欢")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string CustomSubItemCode { get; set; }
-
-
- ///
- /// 瀹㈡埛鐗╂枡鍙风粨绠椾环鏍
- ///
- [ImporterHeader(Name = "瀹㈡埛缁勪欢缁撶畻浠锋牸")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public decimal CustomSubItemPrice { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
-
- [ImporterHeader(Name = "渚涘簲鍟嗕唬鐮")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string SupplierCode { get; set; }
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- [ImporterHeader(Name = "渚涘簲鍟嗘弿杩")]
-
- public string SupplierDesc { get; set; }
-
- ///
- /// 渚涜揣姣斾緥
- ///
- [ImporterHeader(Name = "渚涜揣姣斾緥")]
- [Required(ErrorMessage = "{0}鏄繀濉」")]
- public string SupplyProportion { set; get; }
-
-
-
-
-
-
-
-
- }
- public class SecondaryPriceRatioExportDto
- {
-
-
- [ExporterHeader(DisplayName = "鏈熼棿")]
- public string Version { set; get; }
-
- ///
- /// 瀹㈡埛浠g爜
- ///
- [ExporterHeader(DisplayName ="瀹㈡埛浠g爜")]
-
-
- public string CustomerCode { set; get; }
-
-
-
- ///
- /// 瀹㈡埛鐗╂枡鍙
- ///
- [ExporterHeader(DisplayName ="瀹㈡埛鎬绘垚鐗╂枡鍙")]
-
- public string CustomItemCode { set; get; }
-
- ///
- /// 瀹㈡埛鐗╂枡鍙风粨绠椾环鏍
- ///
- [ExporterHeader(DisplayName ="瀹㈡埛鐗╂枡鍙风粨绠椾环鏍")]
-
- public decimal CustomItemPrice { set; get; }
-
-
-
- ///
- /// 瀹㈡埛缁勪欢鐗╂枡鍙
- ///
- [ExporterHeader(DisplayName ="瀹㈡埛缁勪欢")]
-
- public string CustomSubItemCode { get; set; }
-
-
- ///
- /// 瀹㈡埛鐗╂枡鍙风粨绠椾环鏍
- ///
- [ExporterHeader(DisplayName ="瀹㈡埛缁勪欢缁撶畻浠锋牸")]
-
- public decimal CustomSubItemPrice { set; get; }
-
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
-
- [ExporterHeader(DisplayName ="渚涘簲鍟嗕唬鐮")]
-
- public string SupplierCode { get; set; }
- ///
- /// 渚涘簲鍟嗘弿杩
- ///
- [ExporterHeader(DisplayName ="渚涘簲鍟嗘弿杩")]
-
- public string SupplierDesc { get; set; }
-
- ///
- /// 渚涜揣姣斾緥
- ///
- [ExporterHeader(DisplayName ="渚涜揣姣斾緥")]
-
- public string SupplyProportion { set; get; }
-
-
-
- ///
- /// 姣斾緥渚涜揣浠锋牸
- ///
- [ExporterHeader(DisplayName = "渚涜揣姣斾緥浠锋牸")]
- public decimal SupplyProportionPrice { get; set; }
-
-
-
-
- }
-
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioVersionDtoBase.cs
deleted file mode 100644
index 6ff42fc6..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SecondaryMatching/SecondaryPriceRatioVersionDtoBase.cs
+++ /dev/null
@@ -1,126 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SecondaryMatching
-{
-
-
-
- ///
- /// SecondaryPriceRatioVersion
- ///
- public class SecondaryPriceRatioVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
-
-
- }
-
-
-
- public class SecondaryPriceRatioVersionDto : AuditedEntityDtoBase
- {
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
-
- ///
- /// 宸ュ巶
- ///
- public string Factory { set; get; }
- }
-
- public class SecondaryPriceRatioVersionCreateDto : SecondaryPriceRatioVersionDtoBase
- { }
- public class SecondaryPriceRatioVersionUpdateDto : SecondaryPriceRatioVersionDtoBase
- { }
- public class SecondaryPriceRatioVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { private set; get; }
- }
-
- public class SecondaryPriceRatioVersionImportDto
- {
-
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
-
-
- ///
- /// 宸ュ巶
- ///
- public string Factory { set; get; }
-
-
- }
-
-
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ISettlementCrossReferenceAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ISettlementCrossReferenceAppService.cs
deleted file mode 100644
index 3dce6130..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ISettlementCrossReferenceAppService.cs
+++ /dev/null
@@ -1,110 +0,0 @@
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-using Win.Sfs.SettleAccount.Entities.ItemInvoicePrices;
-using Win.Sfs.SettleAccount.Entities.SettlementCrossReferences;
-using Win.Sfs.SettleAccount.EstimatedInventories;
-using Win.Sfs.Shared.ApplicationBase;
-namespace Win.Sfs.SettleAccount.SettlementCrossReferences
-{
- public interface ISettlementCrossReferenceAppService
- {
-
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
-
- Task SettlementCrossReferenceUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory);
-
-
-
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
-
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
-
- Task> GetListAsync(SettlementCrossReferenceRequestDto input);
-
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- ///
- /// 获取全部实体列表
- ///
- /// 实体DTO列表
-
- //Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- ///
- /// 新增实体
- ///
- /// 新增实体DTO
- /// 实体DTO
-
-
- Task CreateAsync(SettlementCrossReferenceCreateDto input);
-
-
- ///
- /// 修改实体
- ///
- /// ID
- /// 修改实体DTO
- /// 实体DTO
-
- Task UpdateAsync(Guid id, SettlementCrossReferenceUpdateDto input);
-
-
-
-
- /////
- ///// 删除实体
- /////
- ///// ID
- ///// 无
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
-
- Task DeleteListAsync(List ids);
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ImportSettlementCrossReferenceDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ImportSettlementCrossReferenceDto.cs
deleted file mode 100644
index 1a1ed435..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/ImportSettlementCrossReferenceDto.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-锘// 闂昏崼鏅烘収宸ュ巶绠$悊濂椾欢
-// Copyright (c) 闂昏崼绉戞妧 www.ccwin-in.com
-
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Excel;
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
-
- ///
- /// 瀵煎叆ImportSettlementCrossReferenceDto
- /// IsLabelingError锛氭槸鍚︽爣娉ㄦ暟鎹敊璇
- ///
- [ImportProject(Name = SettleAccountModuleName.SettlementCrossReference)]
- [ExcelImporter(IsLabelingError = true, MaxCount = int.MaxValue)]
- public class ImportSettlementCrossReferenceDto
- {
-
-
-
- ///
- /// 杞﹀瀷
- ///
- [ImporterHeader(Name = "杞﹀瀷")]
- [Display(Name = "杞﹀瀷")]
- public string Model { set; get; }
-
-
- ///
- /// 闆朵欢绫诲瀷
- ///
- [ImporterHeader(Name = "闆朵欢绫诲瀷")]
- [Display(Name = "闆朵欢绫诲瀷")]
- public string PartType { get; set; }
-
- ///
- /// 鎬绘垚缁撶畻鍙
- ///
- [ImporterHeader(Name = "鎬绘垚缁撶畻鍙")]
- [Display(Name = "鎬绘垚缁撶畻鍙")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM娓呭崟闆朵欢鍙
- ///
- [ImporterHeader(Name = "BOM娓呭崟闆朵欢鍙")]
- [Display(Name = "BOM娓呭崟闆朵欢鍙")]
- public string BomMaterialCode { get; set; }
-
- /////
- ///// 闆朵欢鍚嶇О
- /////
- //[Display(Name = "闆朵欢鍚嶇О")]
- //public string MaterialDesc { get; set; }
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- [ImporterHeader(Name = "渚涘簲鍟嗕唬鐮")]
- [Display(Name = "渚涘簲鍟嗕唬鐮")]
- public string SupplierCode { set; get; }
- /////
- ///// 渚涘簲鍟嗗悕绉
- /////
- //[Display(Name = "渚涘簲鍟嗗悕绉")]
- //public string SupplierDesc { set; get; }
- ///
- /// 閲囪喘鍛
- ///
- [ImporterHeader(Name = "閲囪喘鍛")]
- [Display(Name = "閲囪喘鍛")]
- public string Buyer { set; get; }
-
-
-
- }
-
-
-
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceCreateDto.cs
deleted file mode 100644
index f1845d74..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceCreateDto.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-锘// 闂昏崼鏅烘収宸ュ巶绠$悊濂椾欢
-// Copyright (c) 闂昏崼绉戞妧 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceCreateDto : CreateOrUpdateEntityDtoBase
- {
-
- ///
- /// 鏈熼棿
- ///
- [Display(Name = "鏈熼棿")]
- public string Period { set; get; }
- ///
- /// 杞﹀瀷
- ///
- [Display(Name = "杞﹀瀷")]
- public string Model { set; get; }
- ///
- /// 宸ュ巶
- ///
- [Display(Name = "宸ュ巶")]
- public string Factory { set; get; }
-
-
- ///
- /// 闆朵欢绫诲瀷
- ///
- [Display(Name = "闆朵欢绫诲瀷")]
- public string PartType { get; set; }
-
- ///
- /// 鎬绘垚缁撶畻鍙
- ///
- [Display(Name = "鎬绘垚缁撶畻鍙")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM娓呭崟闆朵欢鍙
- ///
- [Display(Name = "BOM娓呭崟闆朵欢鍙")]
- public string BomMaterialCode { get; set; }
-
- ///
- /// 闆朵欢鍚嶇О
- ///
- [Display(Name = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- [Display(Name = "渚涘簲鍟嗕唬鐮")]
- public string SupplierCode { set; get; }
- ///
- /// 渚涘簲鍟嗗悕绉
- ///
- [Display(Name = "渚涘簲鍟嗗悕绉")]
- public string SupplierDesc { set; get; }
- ///
- /// 閲囪喘鍛
- ///
- [Display(Name = "閲囪喘鍛")]
- public string Buyer { set; get; }
-
-
-
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceDto.cs
deleted file mode 100644
index 8f537f84..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceDto.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-锘// 闂昏崼鏅烘収宸ュ巶绠$悊濂椾欢
-// Copyright (c) 闂昏崼绉戞妧 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceDto : AuditedEntityDtoBase, IBranch
- {
-
- ///
- /// 鏈熼棿
- ///
- [Display(Name = "鏈熼棿")]
- public string Period { set; get; }
- ///
- /// 杞﹀瀷
- ///
- [Display(Name = "杞﹀瀷")]
- public string Model { set; get; }
- ///
- /// 宸ュ巶
- ///
- [Display(Name = "宸ュ巶")]
- public string Factory { set; get; }
-
-
- ///
- /// 闆朵欢绫诲瀷
- ///
- [Display(Name = "闆朵欢绫诲瀷")]
- public string PartType { get; set; }
-
- ///
- /// 鎬绘垚缁撶畻鍙
- ///
- [Display(Name = "鎬绘垚缁撶畻鍙")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM娓呭崟闆朵欢鍙
- ///
- [Display(Name = "BOM娓呭崟闆朵欢鍙")]
- public string BomMaterialCode { get; set; }
-
- ///
- /// 闆朵欢鍚嶇О
- ///
- [Display(Name = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- [Display(Name = "渚涘簲鍟嗕唬鐮")]
- public string SupplierCode { set; get; }
- ///
- /// 渚涘簲鍟嗗悕绉
- ///
- [Display(Name = "渚涘簲鍟嗗悕绉")]
- public string SupplierDesc { set; get; }
- ///
- /// 閲囪喘鍛
- ///
- [Display(Name = "閲囪喘鍛")]
- public string Buyer { set; get; }
- public string Version { get; set; }
- public string CustomerCode { get; set; }
- public Guid BranchId { get ; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceExportDto.cs
deleted file mode 100644
index 78f353ee..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceExportDto.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-锘// 闂昏崼鏅烘収宸ュ巶绠$悊濂椾欢
-// Copyright (c) 闂昏崼绉戞妧 www.ccwin-in.com
-
-using Magicodes.ExporterAndImporter.Core;
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceExportDto
- {
-
- ///
- /// 鏈熼棿
- ///
- [ExporterHeader(DisplayName = "鏈熼棿")]
- public string Period { set; get; }
- ///
- /// 杞﹀瀷
- ///
- [ExporterHeader(DisplayName = "杞﹀瀷")]
- public string Model { set; get; }
- ///
- /// 宸ュ巶
- ///
- [ExporterHeader(DisplayName = "宸ュ巶")]
- public string Factory { set; get; }
-
-
- ///
- /// 闆朵欢绫诲瀷
- ///
- [ExporterHeader(DisplayName = "闆朵欢绫诲瀷")]
- public string PartType { get; set; }
-
- ///
- /// 鎬绘垚缁撶畻鍙
- ///
- [ExporterHeader(DisplayName = "鎬绘垚缁撶畻鍙")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM娓呭崟闆朵欢鍙
- ///
- [ExporterHeader(DisplayName = "BOM娓呭崟闆朵欢鍙")]
- public string BomMaterialCode { get; set; }
-
- ///
- /// 闆朵欢鍚嶇О
- ///
- [ExporterHeader(DisplayName = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- [ExporterHeader(DisplayName = "渚涘簲鍟嗕唬鐮")]
- public string SupplierCode { set; get; }
- ///
- /// 渚涘簲鍟嗗悕绉
- ///
- [ExporterHeader(DisplayName = "渚涘簲鍟嗗悕绉")]
- public string SupplierDesc { set; get; }
- ///
- /// 閲囪喘鍛
- ///
- [ExporterHeader(DisplayName = "閲囪喘鍛")]
- public string Buyer { set; get; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceRequestDto.cs
deleted file mode 100644
index 93f9ed24..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceRequestDto.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-锘// 闂昏崼鏅烘収宸ュ巶绠$悊濂椾欢
-// Copyright (c) 闂昏崼绉戞妧 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceRequestDto : RequestDtoBase, IBranch
- {
-
- ///
- /// 鐗堟湰
- ///
- [Display(Name = "鐗堟湰")]
- public string Version { set; get; }
- ///
- /// 鏈熼棿
- ///
- [Display(Name = "鏈熼棿")]
- public string Period { set; get; }
- ///
- /// 杞﹀瀷
- ///
- [Display(Name = "杞﹀瀷")]
- public string Model { set; get; }
- ///
- /// 宸ュ巶
- ///
- [Display(Name = "宸ュ巶")]
- public string Factory { set; get; }
-
-
- ///
- /// 闆朵欢绫诲瀷
- ///
- [Display(Name = "闆朵欢绫诲瀷")]
- public string PartType { get; set; }
-
- ///
- /// 鎬绘垚缁撶畻鍙
- ///
- [Display(Name = "鎬绘垚缁撶畻鍙")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM娓呭崟闆朵欢鍙
- ///
- [Display(Name = "BOM娓呭崟闆朵欢鍙")]
- public string BomMaterialCode { get; set; }
-
- ///
- /// 闆朵欢鍚嶇О
- ///
- [Display(Name = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- [Display(Name = "渚涘簲鍟嗕唬鐮")]
- public string SupplierCode { set; get; }
- ///
- /// 渚涘簲鍟嗗悕绉
- ///
- [Display(Name = "渚涘簲鍟嗗悕绉")]
- public string SupplierDesc { set; get; }
- ///
- /// 閲囪喘鍛
- ///
- [Display(Name = "閲囪喘鍛")]
- public string Buyer { set; get; }
-
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceUpdateDto.cs
deleted file mode 100644
index 9481e293..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceUpdateDto.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-锘// 闂昏崼鏅烘収宸ュ巶绠$悊濂椾欢
-// Copyright (c) 闂昏崼绉戞妧 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceUpdateDto : CreateOrUpdateEntityDtoBase
- {
-
- ///
- /// 鏈熼棿
- ///
- [Display(Name = "鏈熼棿")]
- public string Period { set; get; }
- ///
- /// 杞﹀瀷
- ///
- [Display(Name = "杞﹀瀷")]
- public string Model { set; get; }
- ///
- /// 宸ュ巶
- ///
- [Display(Name = "宸ュ巶")]
- public string Factory { set; get; }
-
-
- ///
- /// 闆朵欢绫诲瀷
- ///
- [Display(Name = "闆朵欢绫诲瀷")]
- public string PartType { get; set; }
-
- ///
- /// 鎬绘垚缁撶畻鍙
- ///
- [Display(Name = "鎬绘垚缁撶畻鍙")]
- public string SettlementMaterialCode { get; set; }
-
- ///
- /// BOM娓呭崟闆朵欢鍙
- ///
- [Display(Name = "BOM娓呭崟闆朵欢鍙")]
- public string BomMaterialCode { get; set; }
-
- ///
- /// 闆朵欢鍚嶇О
- ///
- [Display(Name = "闆朵欢鍚嶇О")]
- public string MaterialDesc { get; set; }
-
- ///
- /// 渚涘簲鍟嗕唬鐮
- ///
- [Display(Name = "渚涘簲鍟嗕唬鐮")]
- public string SupplierCode { set; get; }
- ///
- /// 渚涘簲鍟嗗悕绉
- ///
- [Display(Name = "渚涘簲鍟嗗悕绉")]
- public string SupplierDesc { set; get; }
- ///
- /// 閲囪喘鍛
- ///
- [Display(Name = "閲囪喘鍛")]
- public string Buyer { set; get; }
-
-
-
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionDto.cs
deleted file mode 100644
index c88460bc..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionDto.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-锘// 闂昏崼鏅烘収宸ュ巶绠$悊濂椾欢
-// Copyright (c) 闂昏崼绉戞妧 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceVersionDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
-
- public Guid BranchId { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionRequestDto.cs
deleted file mode 100644
index cf7fc3b9..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementCrossReferences/SettlementCrossReferenceVersionRequestDto.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-锘// 闂昏崼鏅烘収宸ュ巶绠$悊濂椾欢
-// Copyright (c) 闂昏崼绉戞妧 www.ccwin-in.com
-
-using System;
-using System.ComponentModel.DataAnnotations;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.Constant;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettlementCrossReferences
-{
- public class SettlementCrossReferenceVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
-
- public Guid BranchId { get; set; }
- }
-}
\ No newline at end of file
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/ISettlementPakAndSparePartsAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/ISettlementPakAndSparePartsAppService.cs
index d45ad757..cd9e3e49 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/ISettlementPakAndSparePartsAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementPakAndSparePartss/ISettlementPakAndSparePartsAppService.cs
@@ -10,7 +10,6 @@ using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.InventoryDetialVersion;
using Win.Sfs.SettleAccount.Entities.SettlementParts;
using Win.Sfs.SettleAccount.Entities.SettlementPartss;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.SettleAccount.Inventories;
using Win.Sfs.Shared.ApplicationBase;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ISettlementPartAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ISettlementPartAppService.cs
index d5347226..2a26f8c3 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ISettlementPartAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/SettlementParts/ISettlementPartAppService.cs
@@ -8,7 +8,6 @@ using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;
using Win.Sfs.SettleAccount.Entities.InventoryDetialVersion;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.SettleAccount.Inventories;
using Win.Sfs.Shared.ApplicationBase;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/ISettleAccountAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/ISettleAccountAppService.cs
deleted file mode 100644
index f029f95c..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/ISettleAccountAppService.cs
+++ /dev/null
@@ -1,131 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-using Win.Sfs.SettleAccount.Entities.SettleAccountVersion;
-
-using Win.Sfs.Shared.ApplicationBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public interface IUnSettleAccountAppService
-
- {
-
-
-
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
-
- Task UnSettleAccountUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory);
-
-
-
-
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync(Guid parentId, UnSettleAccountRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(UnSettleAccountVersionRequestDto input);
-
-
-
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
- /////
- ///// 鑾峰彇鍏ㄩ儴瀹炰綋鍒楄〃
- /////
- ///// 瀹炰綋DTO鍒楄〃
-
- //Task> GetAllAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 鏂板瀹炰綋
- /////
- ///// 鏂板瀹炰綋DTO
- ///// 瀹炰綋DTO
-
-
- //Task CreateAsync(SettleAccountCreateDto input);
-
-
- /////
- ///// 淇敼瀹炰綋
- /////
- ///// ID
- ///// 淇敼瀹炰綋DTO
- ///// 瀹炰綋DTO
-
- //Task UpdateAsync(Guid id, SettleAccountUpdateDto input);
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- //Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountCreateDto.cs
deleted file mode 100644
index fc35422e..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountCreateDto.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountCreateDto : SettleAccountDtoBase, IBranch
- {
- public virtual Guid BranchId { get ; set ; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDto.cs
deleted file mode 100644
index 9223ea28..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDto.cs
+++ /dev/null
@@ -1,83 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountDto: AuditedEntityDtoBase, IBranch
- {
-
-
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
-
- ///
- /// 骞翠唤
- ///
- public string SettleYear { set; get; }
-
- ///
- /// 骞翠唤
- ///
- public virtual string Year { set; get; }
- ///
- /// KENEN鍙
- ///
- public virtual string KENNCode { set; get; }
- ///
- /// 搴曠洏鍙
- ///
- public virtual string ChassisNumber { set; get; }
- ///
- /// 杞﹀瀷
- ///
- public virtual string Model { set; get; }
- ///
- /// CP5A鏃ユ湡
- ///
- public virtual DateTime CP5A { set; get; }
- ///
- /// CP7
- ///
- public virtual DateTime CP7 { set; get; }
-
- ///
- /// 闆朵欢鍙
- ///
- public virtual string MaterialCode { get; set; }
- ///
- /// 鏁伴噺
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 缁撶畻鏍囪瘑
- ///
-
- public virtual string SettlementID { get; set; }
-
- ///
- /// 缁撶畻渚涘簲鍟
- ///
- public virtual string SettlementSupplier { get; set; }
-
-
- public virtual string State { get; set; }
-
- public virtual Guid BranchId { get ; set ; }
-
-
- public virtual string Version { get; set; }
-
- public string UnsettledReason { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDtoBase.cs
deleted file mode 100644
index 4ee60537..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountDtoBase.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountDtoBase: CreateOrUpdateEntityDtoBase
- {
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
-
- ///
- /// 骞翠唤
- ///
- public string SettleYear { set; get; }
- ///
- /// 骞翠唤
- ///
- public virtual string Year { set; get; }
- ///
- /// KENEN鍙
- ///
- public virtual string KENNCode { set; get; }
- ///
- /// 搴曠洏鍙
- ///
- public virtual string ChassisNumber { set; get; }
- ///
- /// 杞﹀瀷
- ///
- public virtual string Model { set; get; }
- ///
- /// CP5A鏃ユ湡
- ///
- public virtual DateTime CP5A { set; get; }
- ///
- /// CP7
- ///
- public virtual DateTime CP7 { set; get; }
-
- ///
- /// 闆朵欢鍙
- ///
- public virtual string MaterialCode { get; set; }
- ///
- /// 鏁伴噺
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 缁撶畻鏍囪瘑
- ///
-
- public virtual string SettlementID { get; set; }
-
- ///
- /// 缁撶畻渚涘簲鍟
- ///
- public virtual string SettlementSupplier { get; set; }
-
- public string UnsettledReason { get; set; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountExportDto.cs
deleted file mode 100644
index 37e4eb0f..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountExportDto.cs
+++ /dev/null
@@ -1,88 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DomainBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountExportDto
- {
-
- [ExporterHeader(DisplayName = "鐗堟湰")]
- public string Version { set; get; }
-
-
- ///
- /// 鏈熼棿
- ///
-
-
- //[ExporterHeader(DisplayName = "鏈熼棿")]
- //public string Period { set; get; }
-
- /////
- ///// 骞翠唤
- /////
- //[ExporterHeader(DisplayName = "骞翠唤")]
- //public string SettleYear { set; get; }
-
- ///
- /// KENEN鍙
- ///
- [ExporterHeader(DisplayName = "KENN鍙")]
- public virtual string KENNCode { set; get; }
- ///
- /// 搴曠洏鍙
- ///
- [ExporterHeader(DisplayName = "搴曠洏鍙")]
-
- public virtual string ChassisNumber { set; get; }
- ///
- /// 杞﹀瀷
- ///
- [ExporterHeader(DisplayName = "杞﹀瀷")]
-
- public virtual string Model { set; get; }
- ///
- /// CP5A鏃ユ湡
- ///
- [ExporterHeader(DisplayName = "CP5鏃ユ湡")]
- public virtual DateTime CP5A { set; get; }
- ///
- /// CP7
- ///
- [ExporterHeader(DisplayName = "CP7鏃ユ湡")]
- public virtual DateTime CP7 { set; get; }
-
- ///
- /// 闆朵欢鍙
- ///
- [ExporterHeader(DisplayName = "闆朵欢鍙")]
-
- public virtual string MaterialCode { get; set; }
- ///
- /// 鏁伴噺
- ///
- [ExporterHeader(DisplayName = "鏁伴噺")]
- public virtual decimal Qty { get; set; }
- ///
- /// 缁撶畻鏍囪瘑
- ///
- [ExporterHeader(DisplayName = "缁撶畻鏍囪瘑")]
- public virtual string SettlementID { get; set; }
-
- ///
- /// 缁撶畻渚涘簲鍟
- ///
- [ExporterHeader(DisplayName = "缁撶畻渚涘簲鍟")]
-
- public virtual string SettlementSupplier { get; set; }
-
-
- [ExporterHeader(DisplayName = "鏈粨绠楀師鍥")]
- public string UnsettledReason { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountImportDto.cs
deleted file mode 100644
index 1b2eb0be..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountImportDto.cs
+++ /dev/null
@@ -1,82 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DomainBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountImportDto
- {
-
- ///
- /// 鏈熼棿
- ///
- // public string Period { set; get; }
-
- ///
- /// 骞翠唤
- ///
- [ImporterHeader(Name = "骞翠唤")]
- public string SettleYear { set; get; }
- ///
- /// 骞翠唤
- ///
- //public virtual string Year { set; get; }
- ///
- /// KENEN鍙
- ///
- [ImporterHeader(Name = "KENN鍙")]
- public virtual string KENNCode { set; get; }
- ///
- /// 搴曠洏鍙
- ///
- [ImporterHeader(Name = "搴曠洏鍙")]
- public virtual string ChassisNumber { set; get; }
- ///
- /// 杞﹀瀷
- ///
- [ImporterHeader(Name = "杞﹀瀷")]
- public virtual string Model { set; get; }
- ///
- /// CP5A鏃ユ湡
- ///
- [ImporterHeader(Name = "CP5A鏃ユ湡")]
- public virtual DateTime CP5A { set; get; }
- ///
- /// CP7
- ///
- [ImporterHeader(Name = "CP7鏃ユ湡")]
- public virtual DateTime? CP7 { set; get; }
-
- ///
- /// 闆朵欢鍙
- ///
- [ImporterHeader(Name = "闆朵欢鍙",FixAllSpace =true)]
- public virtual string MaterialCode { get; set; }
- ///
- /// 鏁伴噺
- ///
- [ImporterHeader(Name = "鏁伴噺")]
- public virtual decimal Qty { get; set; }
- ///
- /// 缁撶畻鏍囪瘑
- ///
- [ImporterHeader(Name = "缁撶畻鏍囪瘑")]
- public virtual string SettlementID { get; set; }
-
- ///
- /// 缁撶畻渚涘簲鍟
- ///
- [ImporterHeader(Name = "缁撶畻渚涘簲鍟")]
- public virtual string SettlementSupplier { get; set; }
-
- ///
- /// 鏈粨绠楀師鍥
- ///
- [ImporterHeader(Name = "鏈粨绠楀師鍥")]
- public string UnsettledReason { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountRequestDto.cs
deleted file mode 100644
index e59dc781..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountRequestDto.cs
+++ /dev/null
@@ -1,81 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountRequestDto: RequestDtoBase, IBranch
- {
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
-
- ///
- /// 骞翠唤
- ///
- public string SettleYear { set; get; }
- ///
- /// 骞翠唤
- ///
- public virtual string Year { set; get; }
- ///
- /// KENEN鍙
- ///
- public virtual string KENNCode { set; get; }
- ///
- /// 搴曠洏鍙
- ///
- public virtual string ChassisNumber { set; get; }
- ///
- /// 杞﹀瀷
- ///
- public virtual string Model { set; get; }
- ///
- /// CP5A鏃ユ湡
- ///
- public virtual DateTime CP5A { set; get; }
- ///
- /// CP7
- ///
- public virtual DateTime CP7 { set; get; }
-
- ///
- /// 闆朵欢鍙
- ///
- public virtual string MaterialCode { get; set; }
- ///
- /// 鏁伴噺
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 缁撶畻鏍囪瘑
- ///
-
- public virtual string SettlementID { get; set; }
-
- ///
- /// 缁撶畻渚涘簲鍟
- ///
- public virtual string SettlementSupplier { get; set; }
-
- public string UnsettledReason { get; set; }
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set ; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- public virtual string Version { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountUpdateDto.cs
deleted file mode 100644
index 9af35ee9..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountUpdateDto.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DomainBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccounts
-{
- public class UnSettleAccountUpdateDto: SettleAccountDtoBase
- {
-
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountVersionDtoBase.cs
deleted file mode 100644
index 296e0a64..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/UnSettleAccounts/UnSettleAccountVersionDtoBase.cs
+++ /dev/null
@@ -1,103 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DomainBase;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.SettleAccountVersion
-{
- ///
- /// SettleAccountVersion
- ///
- public class UnSettleAccountVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class UnSettleAccountVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get ; set; }
- }
-
- public class UnSettleAccountVersionCreateDto : SettleAccountVersionDtoBase
- { }
- public class UnSettleAccountVersionUpdateDto : SettleAccountVersionDtoBase
- { }
- public class UnSettleAccountVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get ; set ; }
- }
-
- public class UnSettleAccountVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/IScrapClaimsAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/IScrapClaimsAppService.cs
deleted file mode 100644
index 28a18ca3..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/IScrapClaimsAppService.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- ///
- /// 鎶ュ簾涓庣储璧
- ///
- public interface IScrapClaimsAppService
- {
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
-
- Task ScrapClaimsUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId,
- string year, string period, string version, string customerCode);
-
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync(ScrapClaimsRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(ScrapClaimsVersionRequestDto input);
-
-
- Task ExportAsync(ScrapClaimsRequestDto input);
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsCreateDto.cs
deleted file mode 100644
index 45ff634c..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsCreateDto.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
-
- public class ScrapClaimsCreateDto : ScrapClaimsDtoBase, IBranch
- {
- public virtual Guid BranchId { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDto.cs
deleted file mode 100644
index 363c8e11..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDto.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- ///
- /// CP7鎶ュ簾鍜岀储璧
- ///
- public class ScrapClaimsDto : AuditedEntityDtoBase
- {
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
- ///
- /// 鐗堟湰
- ///
- public virtual string Version { get; set; }
-
- ///
- /// 绫诲瀷锛欳P7鎶ュ簾鍜岀储璧斾袱绉
- ///
- public string Type { set; get; }
-
-
- ///
- /// 闆朵欢鍙
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 闆朵欢鍚嶇О
- ///
- public string MaterialDesc { get; set; }
-
-
-
- ///
- /// 鏁伴噺
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 閲戦
- ///
- public decimal Amt { set; get; }
-
-
- ///
- /// 澶囨敞
- ///
- public string Extend { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDtoBase.cs
deleted file mode 100644
index ff0db803..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsDtoBase.cs
+++ /dev/null
@@ -1,58 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- public class ScrapClaimsDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
- ///
- /// 鐗堟湰
- ///
- public virtual string Version { get; set; }
-
- ///
- /// 绫诲瀷锛欳P7鎶ュ簾鍜岀储璧斾袱绉
- ///
- public string Type { set; get; }
-
-
- ///
- /// 闆朵欢鍙
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 闆朵欢鍚嶇О
- ///
- public string MaterialDesc { get; set; }
-
-
-
- ///
- /// 鏁伴噺
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 閲戦
- ///
- public decimal Amt { set; get; }
-
-
- ///
- /// 澶囨敞
- ///
- public string Extend { set; get; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsExportDto.cs
deleted file mode 100644
index bae9167a..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsExportDto.cs
+++ /dev/null
@@ -1,57 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- public class ScrapClaimsExportDto
- {
-
- ///
- /// 鏈熼棿
- ///
- [ExporterHeader(DisplayName = "鏈熼棿")]
- public string Period { set; get; }
-
- ///
- /// 鐗堟湰
- ///
- [ExporterHeader(DisplayName = "鐗堟湰")]
- public virtual string Version { get; set; }
-
-
- ///
- /// 绫诲瀷
- ///
- [ExporterHeader(DisplayName = "绫诲瀷")]
- public virtual string Type { set; get; }
-
- ///
- /// 闆朵欢鍙
- ///
- [ExporterHeader(DisplayName = "闆朵欢鍙")]
- public virtual string MaterialCode { set; get; }
- ///
- /// 闆朵欢绫诲瀷
- ///
- [ExporterHeader(DisplayName = "闆朵欢鍚嶇О")]
- public virtual string MaterialDesc { set; get; }
-
-
- ///
- /// 鏁伴噺
- ///
- [ExporterHeader(DisplayName = "鏁伴噺")]
- public virtual decimal Qty { get; set; }
- ///
- /// 閲戦
- ///
- [ExporterHeader(DisplayName = "閲戦")]
- public virtual decimal Amt { get; set; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsImportDto.cs
deleted file mode 100644
index 4d2344d7..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsImportDto.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- public class ScrapClaimsImportDto
- {
- /////
- ///// 鏈熼棿
- /////
- //[ImporterHeader(Name = "鏈熼棿")]
- //public string Period { set; get; }
-
- /////
- ///// 鐗堟湰
- /////
- //[ImporterHeader(Name = "鐗堟湰")]
- //public virtual string Version { get; set; }
-
- ///
- ///绫诲瀷
- ///
- [ImporterHeader(Name = "绫诲瀷")]
- public string Type { set; get; }
-
- ///
- /// 闆朵欢鍙
- ///
- [ImporterHeader(Name = "闆朵欢鍙", FixAllSpace = true)]
- public virtual string MaterialCode { set; get; }
- ///
- /// 闆朵欢绫诲瀷
- ///
- [ImporterHeader(Name = "闆朵欢鍚嶇О")]
- public virtual string MaterialDesc { set; get; }
-
- ///
- /// 鏁伴噺
- ///
- [ImporterHeader(Name = "鏁伴噺")]
- public virtual decimal Qty { get; set; }
- ///
- /// 閲戦
- ///
- [ImporterHeader(Name = "閲戦")]
- public virtual decimal Amt { get; set; }
-
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsRequestDto.cs
deleted file mode 100644
index 651b846f..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsRequestDto.cs
+++ /dev/null
@@ -1,64 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- public class ScrapClaimsRequestDto : RequestDtoBase
- {
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
- ///
- /// 鐗堟湰
- ///
- public virtual string Version { get; set; }
-
- ///
- /// 绫诲瀷锛欳P7鎶ュ簾鍜岀储璧斾袱绉
- ///
- public string Type { set; get; }
-
-
- ///
- /// 闆朵欢鍙
- ///
- public string MaterialCode { get; set; }
-
- ///
- /// 闆朵欢鍚嶇О
- ///
- public string MaterialDesc { get; set; }
-
-
-
- ///
- /// 鏁伴噺
- ///
- public decimal Qty { set; get; }
-
- ///
- /// 閲戦
- ///
- public decimal Amt { set; get; }
-
- ///
- /// 澶囨敞
- ///
- public virtual string Remark { get; set; }
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsVersionDtoBase.cs
deleted file mode 100644
index af418849..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWScrapClaims/ScrapClaimsVersionDtoBase.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims
-{
- ///
- /// SettleAccountVersion
- ///
- public class ScrapClaimsVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class ScrapClaimsVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class ScrapClaimsVersionCreateDto : ScrapClaimsVersionDtoBase
- { }
- public class ScrapClaimsVersionUpdateDto : ScrapClaimsVersionDtoBase
- { }
- public class ScrapClaimsVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class ScrapClaimsVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/ISparePartAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/ISparePartAppService.cs
deleted file mode 100644
index f3fec313..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/ISparePartAppService.cs
+++ /dev/null
@@ -1,94 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- ///
- /// /澶т紬澶囦欢瀵煎叆鍔熻兘
- ///
- public interface ISparePartAppService
- {
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
-
- Task SparePartUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId,
- string year, string period, string version, string customerCode);
-
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync( SparePartRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(SparePartVersionRequestDto input);
-
-
- Task ExportAsync(SparePartRequestDto input);
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartCreateDto.cs
deleted file mode 100644
index d28ae13e..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartCreateDto.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
-
- public class SparePartCreateDto : SparePartDtoBase, IBranch
- {
- public virtual Guid BranchId { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDto.cs
deleted file mode 100644
index ac77efef..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDto.cs
+++ /dev/null
@@ -1,125 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- ///
- /// 澶т紬澶囦欢缁撶畻鏄庣粏DTO
- ///
- public class SparePartDto : AuditedEntityDtoBase
- {
- ///
- ///骞
- ///
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { set; get; }
-
- ///
- /// 琛屽彿
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 閲囪喘绫诲瀷
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 閲囪喘璁㈠崟鍙
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛岄」鐩
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 閲囪喘璁㈠崟鏂囨湰
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 鏀惰揣鏁伴噺
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 寮绁ㄦ暟閲
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 涓嶅惈绋庨噾棰
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 閲囪喘浠锋牸涓嶅惈绋
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 绉戠洰鍙
- ///
- public string AccountNum { get; set; }
- ///
- /// 鐗╂枡浠g爜
- ///
- public string MaterialCode { get; set; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 鏃ユ湡
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 浜よ揣鍗曞彿
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 浜よ揣琛屽彿
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 鎵规鍙
- ///
- public string BatchNo { get; set; }
- ///
- /// 鍗曚綅
- ///
- public string Unit { get; set; }
- ///
- /// 绋庣巼
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 绋庣爜
- ///
- public string TaxCode { get; set; }
- ///
- /// 寰峰浗鍙戠エ鍙
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { get; set; }
- ///
- /// 宸ュ巶鍚嶇О
- ///
- public string FactoryName { get; set; }
- ///
- /// 澶囨敞
- ///
- public string Extend { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDtoBase.cs
deleted file mode 100644
index 7a7f283d..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartDtoBase.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- public class SparePartDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- ///骞
- ///
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { set; get; }
-
- ///
- /// 琛屽彿
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 閲囪喘绫诲瀷
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 閲囪喘璁㈠崟鍙
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛岄」鐩
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 閲囪喘璁㈠崟鏂囨湰
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 鏀惰揣鏁伴噺
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 寮绁ㄦ暟閲
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 涓嶅惈绋庨噾棰
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 閲囪喘浠锋牸涓嶅惈绋
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 绉戠洰鍙
- ///
- public string AccountNum { get; set; }
- ///
- /// 鐗╂枡浠g爜
- ///
- public string MaterialCode { get; set; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 鏃ユ湡
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 浜よ揣鍗曞彿
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 浜よ揣琛屽彿
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 鎵规鍙
- ///
- public string BatchNo { get; set; }
- ///
- /// 鍗曚綅
- ///
- public string Unit { get; set; }
- ///
- /// 绋庣巼
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 绋庣爜
- ///
- public string TaxCode { get; set; }
- ///
- /// 寰峰浗鍙戠エ鍙
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { get; set; }
- ///
- /// 宸ュ巶鍚嶇О
- ///
- public string FactoryName { get; set; }
- ///
- /// 澶囨敞
- ///
- public string Extend { set; get; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartExportDto.cs
deleted file mode 100644
index 33c5ab3b..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartExportDto.cs
+++ /dev/null
@@ -1,143 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- public class SparePartExportDto
- {
-
- ///
- /// 鏈熼棿
- ///
- [ExporterHeader(DisplayName = "鏈熼棿")]
- public string Period { set; get; }
-
- ///
- /// 鐗堟湰
- ///
- [ExporterHeader(DisplayName = "鐗堟湰")]
- public virtual string Version { get; set; }
-
-
- ///
- /// 琛屽彿
- ///
- [ExporterHeader(DisplayName = "琛屽彿")]
- public string LineNumber { set; get; }
-
-
- ///
- /// 閲囪喘绫诲瀷
- ///
- [ExporterHeader(DisplayName = "閲囪喘绫诲瀷")]
- public string PurchaseType { get; set; }
-
- ///
- /// 閲囪喘璁㈠崟鍙
- ///
- [ExporterHeader(DisplayName = "閲囪喘璁㈠崟鍙")]
- public string PurchaseOrderNo { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛岄」鐩
- ///
- [ExporterHeader(DisplayName = "閲囪喘璁㈠崟琛岄」鐩")]
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 閲囪喘璁㈠崟鏂囨湰
- ///
- [ExporterHeader(DisplayName = "閲囪喘璁㈠崟鏂囨湰")]
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 鏀惰揣鏁伴噺
- ///
- [ExporterHeader(DisplayName = "鏀惰揣鏁伴噺")]
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 寮绁ㄦ暟閲
- ///
- [ExporterHeader(DisplayName = "寮绁ㄦ暟閲")]
- public decimal InvoicedQty { get; set; }
- ///
- /// 涓嶅惈绋庨噾棰
- ///
- [ExporterHeader(DisplayName = "涓嶅惈绋庨噾棰")]
- public decimal AmountNoTax { get; set; }
- ///
- /// 閲囪喘浠锋牸涓嶅惈绋
- ///
- [ExporterHeader(DisplayName = "閲囪喘浠锋牸涓嶅惈绋")]
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 绉戠洰鍙
- ///
- [ExporterHeader(DisplayName = "绉戠洰鍙")]
- public string AccountNum { get; set; }
- ///
- /// 鐗╂枡浠g爜
- ///
- [ExporterHeader(DisplayName = "鐗╂枡浠g爜")]
- public string MaterialCode { get; set; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- [ExporterHeader(DisplayName = "鐗╂枡鎻忚堪")]
- public string MaterialDesc { get; set; }
- ///
- /// 鏃ユ湡
- ///
- [ExporterHeader(DisplayName = "鏃ユ湡")]
- public DateTime SpareDate { get; set; }
- ///
- /// 浜よ揣鍗曞彿
- ///
- [ExporterHeader(DisplayName = "浜よ揣鍗曞彿")]
- public string DeliveryOrderNo { get; set; }
- ///
- /// 浜よ揣琛屽彿
- ///
- [ExporterHeader(DisplayName = "浜よ揣琛屽彿")]
- public string DeliveryLineNum { get; set; }
- ///
- /// 鎵规鍙
- ///
- [ExporterHeader(DisplayName = "鎵规鍙")]
- public string BatchNo { get; set; }
- ///
- /// 鍗曚綅
- ///
- [ExporterHeader(DisplayName = "鍗曚綅")]
- public string Unit { get; set; }
- ///
- /// 绋庣巼
- ///
- [ExporterHeader(DisplayName = "绋庣巼")]
- public decimal TaxRate { get; set; }
- ///
- /// 绋庣爜
- ///
- [ExporterHeader(DisplayName = "绋庣爜")]
- public string TaxCode { get; set; }
- ///
- /// 寰峰浗鍙戠エ鍙
- ///
- [ExporterHeader(DisplayName = "寰峰浗鍙戠エ鍙")]
- public string GermanInvoiceNo { get; set; }
- ///
- /// 宸ュ巶
- ///
- [ExporterHeader(DisplayName = "宸ュ巶")]
- public string Factory { get; set; }
- ///
- /// 宸ュ巶鍚嶇О
- ///
- [ExporterHeader(DisplayName = "宸ュ巶鍚嶇О")]
- public string FactoryName { get; set; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartImportDto.cs
deleted file mode 100644
index 2ce7e0c2..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartImportDto.cs
+++ /dev/null
@@ -1,129 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- public class SparePartImportDto
- {
-
- ///
- /// 琛屽彿
- ///
- [ImporterHeader(Name = "琛屽彿")]
- public string LineNumber { set; get; }
-
-
- ///
- /// 閲囪喘绫诲瀷
- ///
- [ImporterHeader(Name = "閲囪喘绫诲瀷")]
- public string PurchaseType { get; set; }
-
- ///
- /// 閲囪喘璁㈠崟鍙
- ///
- [ImporterHeader(Name = "閲囪喘璁㈠崟鍙", FixAllSpace = true)]
- public string PurchaseOrderNo { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛岄」鐩
- ///
- [ImporterHeader(Name = "閲囪喘璁㈠崟琛岄」鐩")]
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 閲囪喘璁㈠崟鏂囨湰
- ///
- [ImporterHeader(Name = "閲囪喘璁㈠崟鏂囨湰")]
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 鏀惰揣鏁伴噺
- ///
- [ImporterHeader(Name = "鏀惰揣鏁伴噺")]
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 寮绁ㄦ暟閲
- ///
- [ImporterHeader(Name = "寮绁ㄦ暟閲")]
- public decimal InvoicedQty { get; set; }
- ///
- /// 涓嶅惈绋庨噾棰
- ///
- [ImporterHeader(Name = "涓嶅惈绋庨噾棰")]
- public decimal AmountNoTax { get; set; }
- ///
- /// 閲囪喘浠锋牸涓嶅惈绋
- ///
- [ImporterHeader(Name = "閲囪喘浠锋牸涓嶅惈绋")]
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 绉戠洰鍙
- ///
- [ImporterHeader(Name = "绉戠洰鍙", FixAllSpace = true)]
- public string AccountNum { get; set; }
- ///
- /// 鐗╂枡浠g爜
- ///
- [ImporterHeader(Name = "鐗╂枡浠g爜", FixAllSpace = true)]
- public string MaterialCode { get; set; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- [ImporterHeader(Name = "鐗╂枡鎻忚堪")]
- public string MaterialDesc { get; set; }
- ///
- /// 鏃ユ湡
- ///
- [ImporterHeader(Name = "鏃ユ湡")]
- public DateTime SpareDate { get; set; }
- ///
- /// 浜よ揣鍗曞彿
- ///
- [ImporterHeader(Name = "浜よ揣鍗曞彿", FixAllSpace = true)]
- public string DeliveryOrderNo { get; set; }
- ///
- /// 浜よ揣琛屽彿
- ///
- [ImporterHeader(Name = "浜よ揣琛屽彿")]
- public string DeliveryLineNum { get; set; }
- ///
- /// 鎵规鍙
- ///
- [ImporterHeader(Name = "鎵规鍙")]
- public string BatchNo { get; set; }
- ///
- /// 鍗曚綅
- ///
- [ImporterHeader(Name = "鍗曚綅")]
- public string Unit { get; set; }
- ///
- /// 绋庣巼
- ///
- [ImporterHeader(Name = "绋庣巼")]
- public decimal TaxRate { get; set; }
- ///
- /// 绋庣爜
- ///
- [ImporterHeader(Name = "绋庣爜")]
- public string TaxCode { get; set; }
- ///
- /// 寰峰浗鍙戠エ鍙
- ///
- [ImporterHeader(Name = "寰峰浗鍙戠エ鍙")]
- public string GermanInvoiceNo { get; set; }
- ///
- /// 宸ュ巶
- ///
- [ImporterHeader(Name = "宸ュ巶")]
- public string Factory { get; set; }
- ///
- /// 宸ュ巶鍚嶇О
- ///
- [ImporterHeader(Name = "宸ュ巶鍚嶇О")]
- public string FactoryName { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartRequestDto.cs
deleted file mode 100644
index 7ceb6ac2..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartRequestDto.cs
+++ /dev/null
@@ -1,129 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- public class SparePartRequestDto : RequestDtoBase
- {
- ///
- ///骞
- ///
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { set; get; }
-
- ///
- /// 琛屽彿
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 閲囪喘绫诲瀷
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 閲囪喘璁㈠崟鍙
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛岄」鐩
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 閲囪喘璁㈠崟鏂囨湰
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 鏀惰揣鏁伴噺
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 寮绁ㄦ暟閲
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 涓嶅惈绋庨噾棰
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 閲囪喘浠锋牸涓嶅惈绋
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 绉戠洰鍙
- ///
- public string AccountNum { get; set; }
- ///
- /// 鐗╂枡浠g爜
- ///
- public string MaterialCode { get; set; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 鏃ユ湡
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 浜よ揣鍗曞彿
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 浜よ揣琛屽彿
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 鎵规鍙
- ///
- public string BatchNo { get; set; }
- ///
- /// 鍗曚綅
- ///
- public string Unit { get; set; }
- ///
- /// 绋庣巼
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 绋庣爜
- ///
- public string TaxCode { get; set; }
- ///
- /// 寰峰浗鍙戠エ鍙
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { get; set; }
- ///
- /// 宸ュ巶鍚嶇О
- ///
- public string FactoryName { get; set; }
- ///
- /// 澶囨敞
- ///
- public string Extend { set; get; }
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartVersionDtoBase.cs
deleted file mode 100644
index 733cbed0..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/VWSparePart/SparePartVersionDtoBase.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.VWSparePart
-{
- ///
- /// SettleAccountVersion
- ///
- public class SparePartVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class SparePartVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class SparePartVersionCreateDto : SparePartVersionDtoBase
- { }
- public class SparePartVersionUpdateDto : SparePartVersionDtoBase
- { }
- public class SparePartVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class SparePartVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/IWMSVWKanBanAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/IWMSVWKanBanAppService.cs
deleted file mode 100644
index 35b74168..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/IWMSVWKanBanAppService.cs
+++ /dev/null
@@ -1,96 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public interface IWMSVWKanBanAppService
-
- {
-
-
-
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
-
- // Task WMSVWKanBanUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode);
-
-
-
-
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync(WMSVWKanBanRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(WMSVWKanBanVersionRequestDto input);
-
-
- Task ExportAsync(WMSVWKanBanRequestDto input);
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanCreateDto.cs
deleted file mode 100644
index 0824c763..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanCreateDto.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public class WMSVWKanBanCreateDto : WMSVWKanBanDtoBase, IBranch
- {
- public virtual Guid BranchId { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDto.cs
deleted file mode 100644
index a3aba35b..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDto.cs
+++ /dev/null
@@ -1,113 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
-
- public class WMSVWKanBanDto : AuditedEntityDtoBase
- {
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
- ///
- /// 鐗堟湰
- ///
- public virtual string Version { get; set; }
-
- ///
- ///鐪嬫澘鏉$爜鍙
- ///
- public string Kanban { set; get; }
-
- ///
- /// 鍏ュ簱鍏宠仈鍙
- ///
- public virtual string Relation { set; get; }
- ///
- /// 宸ュ巶
- ///
- public virtual string Factory { set; get; }
- ///
- /// 闆朵欢鍙
- ///
- public virtual string MaterialCode { set; get; }
- ///
- /// 闆朵欢绫诲瀷
- ///
- public virtual string PartType { set; get; }
- ///
- /// R3鍏ュ簱鏃堕棿
- ///
- public virtual DateTime SettleInputDate { set; get; }
-
-
- ///
- ///渚涘簲鍟嗙紪鐮
- ///
- public virtual string SupplierCode { get; set; }
- ///
- /// 鏁伴噺
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 鎵规
- ///
-
- public virtual string Batch { get; set; }
-
- ///
- /// 鍏ュ簱缁撶畻鏍囪瘑
- ///
- public virtual string Flag { get; set; }
-
- ///
- /// 缁撶畻鏃ユ湡
- ///
- public virtual DateTime SettleDate { get; set; }
-
-
- ///
- /// WMS浜よ揣鍗
- ///
- public string WMSDeliveryNote { set; get; }
-
- ///
- /// WMS瀹為檯鍙戣揣鏃ユ湡
- ///
- public string WMSActualGoodsDate { set; get; }
-
-
- ///
- /// WMS浜よ揣鏁伴噺
- ///
- public decimal WMSDeliveryQty { set; get; }
-
- ///
- /// WMS鍙戣揣鐘舵
- ///
- public string WMSDeliverGoodsState { set; get; }
-
- ///
- /// 鐪嬫澘缁撶畻鐘舵
- ///
- public string WMSKanBanState { set; get; }
-
- ///
- /// 缁撶畻鐘舵
- ///
- public virtual string State { get; set; }
-
- ///
- /// 鍑哄簱鍗曞彿
- ///
- public string DeliveryOrderNo { set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDtoBase.cs
deleted file mode 100644
index def36a38..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanDtoBase.cs
+++ /dev/null
@@ -1,85 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public class WMSVWKanBanDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
-
-
- ///
- ///鐪嬫澘鏉$爜鍙
- ///
- public string Kanban { set; get; }
-
- ///
- /// 鍏ュ簱鍏宠仈鍙
- ///
- public virtual string Relation { set; get; }
- ///
- /// 宸ュ巶
- ///
- public virtual string Factory { set; get; }
- ///
- /// 闆朵欢鍙
- ///
- public virtual string MaterialCode { set; get; }
- ///
- /// 闆朵欢绫诲瀷
- ///
- public virtual string PartType { set; get; }
- ///
- /// R3鍏ュ簱鏃堕棿
- ///
- public virtual DateTime SettleInputDate { set; get; }
-
-
- ///
- ///渚涘簲鍟嗙紪鐮
- ///
- public virtual string SupplierCode { get; set; }
- ///
- /// 鏁伴噺
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 鎵规
- ///
-
- public virtual string Batch { get; set; }
-
- ///
- /// 鍏ュ簱缁撶畻鏍囪瘑
- ///
- public virtual string Flag { get; set; }
-
- ///
- /// 缁撶畻鏃ユ湡
- ///
- public virtual DateTime SettleDate { get; set; }
-
- ///
- /// 缁撶畻鐘舵
- ///
- public virtual int State { get; set; }
-
-
- public virtual string Version { get; set; }
- ///
- /// 澶囨敞
- ///
- public virtual string Remark { get; set; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanExportDto.cs
deleted file mode 100644
index 21e830f3..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanExportDto.cs
+++ /dev/null
@@ -1,92 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public class WMSVWKanBanExportDto
- {
-
- ///
- /// 鏈熼棿
- ///
- [ExporterHeader(DisplayName = "鏈熼棿")]
- public string Period { set; get; }
-
- ///
- /// 鐗堟湰
- ///
- [ExporterHeader(DisplayName = "鐗堟湰")]
- public virtual string Version { get; set; }
-
- ///
- ///鐪嬫澘鏉$爜鍙
- ///
- [ExporterHeader(DisplayName = "鐪嬫澘鏉$爜鍙")]
- public string Kanban { set; get; }
-
- ///
- /// 鍏ュ簱鍏宠仈鍙
- ///
- [ExporterHeader(DisplayName = "鍏ュ簱鍏宠仈鍙")]
- public virtual string Relation { set; get; }
- ///
- /// 宸ュ巶
- ///
- [ExporterHeader(DisplayName = "宸ュ巶")]
- public virtual string Factory { set; get; }
- ///
- /// 闆朵欢鍙
- ///
- [ExporterHeader(DisplayName = "闆朵欢鍙")]
- public virtual string MaterialCode { set; get; }
- ///
- /// 闆朵欢绫诲瀷
- ///
- [ExporterHeader(DisplayName = "闆朵欢绫诲瀷")]
- public virtual string PartType { set; get; }
- ///
- /// R3鍏ュ簱鏃ユ湡
- ///
- [ExporterHeader(DisplayName = "R3鍏ュ簱鏃ユ湡")]
- public virtual DateTime SettleInputDate { set; get; }
-
-
- ///
- ///渚涘簲鍟嗙紪鐮
- ///
- [ExporterHeader(DisplayName = "渚涘簲鍟")]
- public virtual string SupplierCode { get; set; }
- ///
- /// 鏁伴噺
- ///
- [ExporterHeader(DisplayName = "鏁伴噺")]
- public virtual decimal Qty { get; set; }
- ///
- /// 鎵规
- ///
- [ExporterHeader(DisplayName = "鎵规")]
- public virtual string Batch { get; set; }
-
- ///
- /// 鍏ュ簱缁撶畻鏍囪瘑
- ///
- [ExporterHeader(DisplayName = "鍏ュ簱缁撶畻鏍囪瘑")]
- public virtual string Flag { get; set; }
-
- ///
- /// 缁撶畻鏃ユ湡
- ///
- [ExporterHeader(DisplayName = "R3缁撶畻鏃堕棿")]
- public virtual DateTime SettleDate { get; set; }
-
- ///
- /// 缁撶畻鐘舵
- ///
- [ExporterHeader(DisplayName = "缁撶畻鐘舵")]
- public virtual string State { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanImportDto.cs
deleted file mode 100644
index 3bdd6acf..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanImportDto.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public class WMSVWKanBanImportDto
- {
-
- /////
- ///// 鏈熼棿
- /////
- //[ImporterHeader(Name = "鏈熼棿")]
- //public string Period { set; get; }
-
- /////
- ///// 鐗堟湰
- /////
- //[ImporterHeader(Name = "鐗堟湰")]
- //public virtual string Version { get; set; }
-
- ///
- ///鐪嬫澘鏉$爜鍙
- ///
- [ImporterHeader(Name = "鐪嬫澘鏉$爜鍙", FixAllSpace = true)]
- public string Kanban { set; get; }
-
- ///
- /// 鍏ュ簱鍏宠仈鍙
- ///
- [ImporterHeader(Name = "鍏ュ簱鍏宠仈鍙")]
- public virtual string Relation { set; get; }
- ///
- /// 宸ュ巶
- ///
- [ImporterHeader(Name = "宸ュ巶")]
- public virtual string Factory { set; get; }
- ///
- /// 闆朵欢鍙
- ///
- [ImporterHeader(Name = "闆朵欢鍙", FixAllSpace = true)]
- public virtual string MaterialCode { set; get; }
- ///
- /// 闆朵欢绫诲瀷
- ///
- [ImporterHeader(Name = "闆朵欢绫诲瀷")]
- public virtual string PartType { set; get; }
- ///
- /// R3鍏ュ簱鏃ユ湡
- ///
- [ImporterHeader(Name = "R3鍏ュ簱鏃ユ湡")]
- public virtual string SettleInputDate { set; get; }
-
-
- ///
- ///渚涘簲鍟嗙紪鐮
- ///
- [ImporterHeader(Name = "渚涘簲鍟")]
- public virtual string SupplierCode { get; set; }
- ///
- /// 鏁伴噺
- ///
- [ImporterHeader(Name = "鏁伴噺")]
- public virtual decimal Qty { get; set; }
- ///
- /// 鎵规
- ///
- [ImporterHeader(Name = "鎵规")]
- public virtual string Batch { get; set; }
-
- ///
- /// 鍏ュ簱缁撶畻鏍囪瘑
- ///
- [ImporterHeader(Name = "鍏ュ簱缁撶畻鏍囪瘑")]
- public virtual string Flag { get; set; }
-
- ///
- /// 缁撶畻鏃ユ湡
- ///
- [ImporterHeader(Name = "R3缁撶畻鏃堕棿")]
- public virtual string SettleDate { get; set; }
-
- ///
- /// 缁撶畻鐘舵
- ///
- [ImporterHeader(Name = "缁撶畻鐘舵")]
- public virtual string State { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanRequestDto.cs
deleted file mode 100644
index 751e15f3..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanRequestDto.cs
+++ /dev/null
@@ -1,93 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
-
- public class WMSVWKanBanRequestDto : RequestDtoBase
- {
-
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
-
- ///
- /// 鐗堟湰
- ///
- public virtual string Version { get; set; }
-
- ///
- ///鐪嬫澘鏉$爜鍙
- ///
- public string Kanban { set; get; }
-
- ///
- /// 鍏ュ簱鍏宠仈鍙
- ///
- public virtual string Relation { set; get; }
- ///
- /// 宸ュ巶
- ///
- public virtual string Factory { set; get; }
- ///
- /// 闆朵欢鍙
- ///
- public virtual string MaterialCode { set; get; }
- ///
- /// 闆朵欢绫诲瀷
- ///
- public virtual string PartType { set; get; }
- ///
- /// R3鍏ュ簱鏃堕棿
- ///
- public virtual DateTime SettleInputDate { set; get; }
-
-
- ///
- ///渚涘簲鍟嗙紪鐮
- ///
- public virtual string SupplierCode { get; set; }
- ///
- /// 鏁伴噺
- ///
- public virtual decimal Qty { get; set; }
- ///
- /// 鎵规
- ///
-
- public virtual string Batch { get; set; }
-
- ///
- /// 鍏ュ簱缁撶畻鏍囪瘑
- ///
- public virtual string Flag { get; set; }
-
- ///
- /// 缁撶畻鏃ユ湡
- ///
- public virtual DateTime SettleDate { get; set; }
-
- ///
- /// 缁撶畻鐘舵
- ///
- public virtual string State { get; set; }
-
- ///
- /// 澶囨敞
- ///
- public virtual string Remark { get; set; }
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanVersionDtoBase.cs
deleted file mode 100644
index 2634a16e..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBanVersionDtoBase.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- ///
- /// SettleAccountVersion
- ///
- public class WMSVWKanBanVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class WMSVWKanBanVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class WMSVWKanBanVersionCreateDto : WMSVWKanBanVersionDtoBase
- { }
- public class WMSVWKanBanVersionUpdateDto : WMSVWKanBanVersionDtoBase
- { }
- public class WMSVWKanBanVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class WMSVWKanBanVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBantUpdateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBantUpdateDto.cs
deleted file mode 100644
index cbc4329f..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSKanBan/WMSVWKanBantUpdateDto.cs
+++ /dev/null
@@ -1,16 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.SettleAccount.Entities.VWKanBan;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSKanBan
-{
- public class WMSVWKanBantUpdateDto : VWKanBanDtoBase
- {
-
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/IWMSSparePartAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/IWMSSparePartAppService.cs
deleted file mode 100644
index 56ee2272..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/IWMSSparePartAppService.cs
+++ /dev/null
@@ -1,91 +0,0 @@
-锘縰sing Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Volo.Abp.Application.Dtos;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public interface IWMSSparePartAppService
- {
- ///
- /// 瀵煎叆鍔熻兘
- ///
- /// 涓婁紶鐨勬枃浠(鍓嶇宸茬粡闄愬埗鍙兘涓婁紶涓涓檮浠)
- ///
-
- //Task WMSSparePartUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId,
- // string year, string period, string version, string customerCode);
-
- ///
- /// 鎸塈D鑾峰彇鍞竴瀹炰綋
- ///
- ///
- /// 杩斿洖瀹炰綋鍏ㄩ儴灞炴
- ///
- /// ID
- /// 瀹炰綋DTO
-
- Task GetAsync(Guid id);
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetListAsync(WMSSparePartRequestDto input);
-
-
-
-
- ///
- /// 鏍规嵁绛涢夋潯浠惰幏鍙栧疄浣撳垪琛
- ///
- ///
- /// 璇锋眰鏉′欢鍖呮嫭:绛涢夋潯浠跺垪琛,鎺掑簭鏉′欢,鏁版嵁鏁伴噺,椤电爜
- ///
- /// 璇锋眰鏉′欢
- /// 瀹炰綋DTO鍒楄〃
-
- Task> GetVersionListAsync(WMSSparePartVersionRequestDto input);
-
-
- Task ExportAsync(WMSSparePartRequestDto input);
-
- ///
- /// 鑾峰彇瀹炰綋鎬绘暟
- ///
- /// 瀹炰綋鎬绘暟
-
- Task GetTotalCountAsync(Guid branchId);
-
-
-
-
-
- /////
- ///// 鍒犻櫎瀹炰綋
- /////
- ///// ID
- ///// 鏃
-
- Task DeleteAsync(Guid id);
-
-
- ///
- /// 鎸塈Ds鍒犻櫎瀹炰綋鍒楄〃
- ///
- /// IDs
- /// 鏄惁鎵ц鎴愬姛
-
- Task DeleteListAsync(List ids);
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartCreateDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartCreateDto.cs
deleted file mode 100644
index db4379be..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartCreateDto.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartCreateDto : WMSSparePartDtoBase, IBranch
- {
- public virtual Guid BranchId { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDto.cs
deleted file mode 100644
index d775ee59..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDto.cs
+++ /dev/null
@@ -1,137 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartDto : AuditedEntityDtoBase
- {
- ///
- ///骞
- ///
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { set; get; }
-
- ///
- /// 琛屽彿
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 閲囪喘绫诲瀷
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 閲囪喘璁㈠崟鍙
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛岄」鐩
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 閲囪喘璁㈠崟鏂囨湰
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 鏀惰揣鏁伴噺
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 寮绁ㄦ暟閲
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 涓嶅惈绋庨噾棰
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 閲囪喘浠锋牸涓嶅惈绋
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 绉戠洰鍙
- ///
- public string AccountNum { get; set; }
- ///
- /// 鐗╂枡浠g爜
- ///
- public string MaterialCode { get; set; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 鏃ユ湡
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 浜よ揣鍗曞彿
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 浜よ揣琛屽彿
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 鎵规鍙
- ///
- public string BatchNo { get; set; }
- ///
- /// 鍗曚綅
- ///
- public string Unit { get; set; }
- ///
- /// 绋庣巼
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 绋庣爜
- ///
- public string TaxCode { get; set; }
- ///
- /// 寰峰浗鍙戠エ鍙
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { get; set; }
- ///
- /// 宸ュ巶鍚嶇О
- ///
- public string FactoryName { get; set; }
- ///
- /// 澶囨敞
- ///
- public string Extend { set; get; }
-
- ///
- /// WMS浜よ揣鍗
- ///
- public string WMSDeliveryNote { set; get; }
-
- ///
- /// WMS鍙戣揣鐘舵
- ///
- public string WMSDeliverGoodsState { set; get; }
-
- ///
- /// 鐪嬫澘缁撶畻鐘舵
- ///
- public string WMSSparePartState { set; get; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDtoBase.cs
deleted file mode 100644
index ff78ca70..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartDtoBase.cs
+++ /dev/null
@@ -1,124 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- ///
- ///骞
- ///
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { set; get; }
-
- ///
- /// 琛屽彿
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 閲囪喘绫诲瀷
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 閲囪喘璁㈠崟鍙
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛岄」鐩
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 閲囪喘璁㈠崟鏂囨湰
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 鏀惰揣鏁伴噺
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 寮绁ㄦ暟閲
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 涓嶅惈绋庨噾棰
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 閲囪喘浠锋牸涓嶅惈绋
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 绉戠洰鍙
- ///
- public string AccountNum { get; set; }
- ///
- /// 鐗╂枡浠g爜
- ///
- public string MaterialCode { get; set; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 鏃ユ湡
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 浜よ揣鍗曞彿
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 浜よ揣琛屽彿
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 鎵规鍙
- ///
- public string BatchNo { get; set; }
- ///
- /// 鍗曚綅
- ///
- public string Unit { get; set; }
- ///
- /// 绋庣巼
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 绋庣爜
- ///
- public string TaxCode { get; set; }
- ///
- /// 寰峰浗鍙戠エ鍙
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { get; set; }
- ///
- /// 宸ュ巶鍚嶇О
- ///
- public string FactoryName { get; set; }
- ///
- /// 澶囨敞
- ///
- public string Extend { set; get; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartExportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartExportDto.cs
deleted file mode 100644
index 888e2dd8..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartExportDto.cs
+++ /dev/null
@@ -1,143 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartExportDto
- {
-
- ///
- /// 鏈熼棿
- ///
- [ExporterHeader(DisplayName = "鏈熼棿")]
- public string Period { set; get; }
-
- ///
- /// 鐗堟湰
- ///
- [ExporterHeader(DisplayName = "鐗堟湰")]
- public virtual string Version { get; set; }
-
-
- ///
- /// 琛屽彿
- ///
- [ExporterHeader(DisplayName = "琛屽彿")]
- public string LineNumber { set; get; }
-
-
- ///
- /// 閲囪喘绫诲瀷
- ///
- [ExporterHeader(DisplayName = "閲囪喘绫诲瀷")]
- public string PurchaseType { get; set; }
-
- ///
- /// 閲囪喘璁㈠崟鍙
- ///
- [ExporterHeader(DisplayName = "閲囪喘璁㈠崟鍙")]
- public string PurchaseOrderNo { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛岄」鐩
- ///
- [ExporterHeader(DisplayName = "閲囪喘璁㈠崟琛岄」鐩")]
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 閲囪喘璁㈠崟鏂囨湰
- ///
- [ExporterHeader(DisplayName = "閲囪喘璁㈠崟鏂囨湰")]
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 鏀惰揣鏁伴噺
- ///
- [ExporterHeader(DisplayName = "鏀惰揣鏁伴噺")]
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 寮绁ㄦ暟閲
- ///
- [ExporterHeader(DisplayName = "寮绁ㄦ暟閲")]
- public decimal InvoicedQty { get; set; }
- ///
- /// 涓嶅惈绋庨噾棰
- ///
- [ExporterHeader(DisplayName = "涓嶅惈绋庨噾棰")]
- public decimal AmountNoTax { get; set; }
- ///
- /// 閲囪喘浠锋牸涓嶅惈绋
- ///
- [ExporterHeader(DisplayName = "閲囪喘浠锋牸涓嶅惈绋")]
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 绉戠洰鍙
- ///
- [ExporterHeader(DisplayName = "绉戠洰鍙")]
- public string AccountNum { get; set; }
- ///
- /// 鐗╂枡浠g爜
- ///
- [ExporterHeader(DisplayName = "鐗╂枡浠g爜")]
- public string MaterialCode { get; set; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- [ExporterHeader(DisplayName = "鐗╂枡鎻忚堪")]
- public string MaterialDesc { get; set; }
- ///
- /// 鏃ユ湡
- ///
- [ExporterHeader(DisplayName = "鏃ユ湡")]
- public DateTime SpareDate { get; set; }
- ///
- /// 浜よ揣鍗曞彿
- ///
- [ExporterHeader(DisplayName = "浜よ揣鍗曞彿")]
- public string DeliveryOrderNo { get; set; }
- ///
- /// 浜よ揣琛屽彿
- ///
- [ExporterHeader(DisplayName = "浜よ揣琛屽彿")]
- public string DeliveryLineNum { get; set; }
- ///
- /// 鎵规鍙
- ///
- [ExporterHeader(DisplayName = "鎵规鍙")]
- public string BatchNo { get; set; }
- ///
- /// 鍗曚綅
- ///
- [ExporterHeader(DisplayName = "鍗曚綅")]
- public string Unit { get; set; }
- ///
- /// 绋庣巼
- ///
- [ExporterHeader(DisplayName = "绋庣巼")]
- public decimal TaxRate { get; set; }
- ///
- /// 绋庣爜
- ///
- [ExporterHeader(DisplayName = "绋庣爜")]
- public string TaxCode { get; set; }
- ///
- /// 寰峰浗鍙戠エ鍙
- ///
- [ExporterHeader(DisplayName = "寰峰浗鍙戠エ鍙")]
- public string GermanInvoiceNo { get; set; }
- ///
- /// 宸ュ巶
- ///
- [ExporterHeader(DisplayName = "宸ュ巶")]
- public string Factory { get; set; }
- ///
- /// 宸ュ巶鍚嶇О
- ///
- [ExporterHeader(DisplayName = "宸ュ巶鍚嶇О")]
- public string FactoryName { get; set; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartImportDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartImportDto.cs
deleted file mode 100644
index cd8af4fc..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartImportDto.cs
+++ /dev/null
@@ -1,129 +0,0 @@
-锘縰sing Magicodes.ExporterAndImporter.Core;
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartImportDto
- {
-
- ///
- /// 琛屽彿
- ///
- [ImporterHeader(Name = "琛屽彿")]
- public string LineNumber { set; get; }
-
-
- ///
- /// 閲囪喘绫诲瀷
- ///
- [ImporterHeader(Name = "閲囪喘绫诲瀷")]
- public string PurchaseType { get; set; }
-
- ///
- /// 閲囪喘璁㈠崟鍙
- ///
- [ImporterHeader(Name = "閲囪喘璁㈠崟鍙", FixAllSpace = true)]
- public string PurchaseOrderNo { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛岄」鐩
- ///
- [ImporterHeader(Name = "閲囪喘璁㈠崟琛岄」鐩")]
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 閲囪喘璁㈠崟鏂囨湰
- ///
- [ImporterHeader(Name = "閲囪喘璁㈠崟鏂囨湰")]
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 鏀惰揣鏁伴噺
- ///
- [ImporterHeader(Name = "鏀惰揣鏁伴噺")]
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 寮绁ㄦ暟閲
- ///
- [ImporterHeader(Name = "寮绁ㄦ暟閲")]
- public decimal InvoicedQty { get; set; }
- ///
- /// 涓嶅惈绋庨噾棰
- ///
- [ImporterHeader(Name = "涓嶅惈绋庨噾棰")]
- public decimal AmountNoTax { get; set; }
- ///
- /// 閲囪喘浠锋牸涓嶅惈绋
- ///
- [ImporterHeader(Name = "閲囪喘浠锋牸涓嶅惈绋")]
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 绉戠洰鍙
- ///
- [ImporterHeader(Name = "绉戠洰鍙", FixAllSpace = true)]
- public string AccountNum { get; set; }
- ///
- /// 鐗╂枡浠g爜
- ///
- [ImporterHeader(Name = "鐗╂枡浠g爜", FixAllSpace = true)]
- public string MaterialCode { get; set; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- [ImporterHeader(Name = "鐗╂枡鎻忚堪")]
- public string MaterialDesc { get; set; }
- ///
- /// 鏃ユ湡
- ///
- [ImporterHeader(Name = "鏃ユ湡")]
- public DateTime SpareDate { get; set; }
- ///
- /// 浜よ揣鍗曞彿
- ///
- [ImporterHeader(Name = "浜よ揣鍗曞彿", FixAllSpace = true)]
- public string DeliveryOrderNo { get; set; }
- ///
- /// 浜よ揣琛屽彿
- ///
- [ImporterHeader(Name = "浜よ揣琛屽彿")]
- public string DeliveryLineNum { get; set; }
- ///
- /// 鎵规鍙
- ///
- [ImporterHeader(Name = "鎵规鍙")]
- public string BatchNo { get; set; }
- ///
- /// 鍗曚綅
- ///
- [ImporterHeader(Name = "鍗曚綅")]
- public string Unit { get; set; }
- ///
- /// 绋庣巼
- ///
- [ImporterHeader(Name = "绋庣巼")]
- public decimal TaxRate { get; set; }
- ///
- /// 绋庣爜
- ///
- [ImporterHeader(Name = "绋庣爜")]
- public string TaxCode { get; set; }
- ///
- /// 寰峰浗鍙戠エ鍙
- ///
- [ImporterHeader(Name = "寰峰浗鍙戠エ鍙")]
- public string GermanInvoiceNo { get; set; }
- ///
- /// 宸ュ巶
- ///
- [ImporterHeader(Name = "宸ュ巶")]
- public string Factory { get; set; }
- ///
- /// 宸ュ巶鍚嶇О
- ///
- [ImporterHeader(Name = "宸ュ巶鍚嶇О")]
- public string FactoryName { get; set; }
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartRequestDto.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartRequestDto.cs
deleted file mode 100644
index bc090dda..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartRequestDto.cs
+++ /dev/null
@@ -1,129 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- public class WMSSparePartRequestDto : RequestDtoBase
- {
- ///
- ///骞
- ///
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { set; get; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { set; get; }
-
- ///
- /// 琛屽彿
- ///
- public string LineNumber { set; get; }
-
-
- ///
- /// 閲囪喘绫诲瀷
- ///
- public string PurchaseType { get; set; }
-
- ///
- /// 閲囪喘璁㈠崟鍙
- ///
- public string PurchaseOrderNo { get; set; }
- ///
- /// 閲囪喘璁㈠崟琛岄」鐩
- ///
- public string PurchaseOrderNoItem { get; set; }
- ///
- /// 閲囪喘璁㈠崟鏂囨湰
- ///
- public string PurchaseOrderNoText { get; set; }
- ///
- /// 鏀惰揣鏁伴噺
- ///
- public decimal ReceiptQty { get; set; }
-
- ///
- /// 寮绁ㄦ暟閲
- ///
- public decimal InvoicedQty { get; set; }
- ///
- /// 涓嶅惈绋庨噾棰
- ///
- public decimal AmountNoTax { get; set; }
- ///
- /// 閲囪喘浠锋牸涓嶅惈绋
- ///
- public decimal PurchasePriceNoTax { get; set; }
- ///
- /// 绉戠洰鍙
- ///
- public string AccountNum { get; set; }
- ///
- /// 鐗╂枡浠g爜
- ///
- public string MaterialCode { get; set; }
- ///
- /// 鐗╂枡鎻忚堪
- ///
- public string MaterialDesc { get; set; }
- ///
- /// 鏃ユ湡
- ///
- public DateTime SpareDate { get; set; }
- ///
- /// 浜よ揣鍗曞彿
- ///
- public string DeliveryOrderNo { get; set; }
- ///
- /// 浜よ揣琛屽彿
- ///
- public string DeliveryLineNum { get; set; }
- ///
- /// 鎵规鍙
- ///
- public string BatchNo { get; set; }
- ///
- /// 鍗曚綅
- ///
- public string Unit { get; set; }
- ///
- /// 绋庣巼
- ///
- public decimal TaxRate { get; set; }
- ///
- /// 绋庣爜
- ///
- public string TaxCode { get; set; }
- ///
- /// 寰峰浗鍙戠エ鍙
- ///
- public string GermanInvoiceNo { get; set; }
- ///
- /// 宸ュ巶
- ///
- public string Factory { get; set; }
- ///
- /// 宸ュ巶鍚嶇О
- ///
- public string FactoryName { get; set; }
- ///
- /// 澶囨敞
- ///
- public string Extend { set; get; }
-
- public virtual Guid ParentId { get; set; }
- public virtual Guid BranchId { get; set; }
-
- public virtual Guid UserId { get; set; }
-
- public virtual int FileType { get; set; }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartVersionDtoBase.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartVersionDtoBase.cs
deleted file mode 100644
index b2d78b86..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Entities/WMSSparePart/WMSSparePartVersionDtoBase.cs
+++ /dev/null
@@ -1,100 +0,0 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using Win.Sfs.Shared;
-using Win.Sfs.Shared.DtoBase;
-
-namespace Win.Sfs.SettleAccount.Entities.WMSSparePart
-{
- ///
- /// SettleAccountVersion
- ///
- public class WMSSparePartVersionDtoBase : CreateOrUpdateEntityDtoBase
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-
-
-
- public class WMSSparePartVersionDto : AuditedEntityDtoBase, IBranch
- {
- public string Year { get; set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class WMSSparePartVersionCreateDto : WMSSparePartVersionDtoBase
- { }
- public class WMSSparePartVersionUpdateDto : WMSSparePartVersionDtoBase
- { }
- public class WMSSparePartVersionRequestDto : RequestDtoBase, IBranch
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
- public Guid BranchId { get; set; }
- }
-
- public class WMSSparePartVersionImportDto
- {
-
- public string Year { get; private set; }
- ///
- /// 鏈熼棿
- ///
- public string Period { get; private set; }
- ///
- /// 鐗堟湰鍙
- ///
- public string Version { get; private set; }
-
- ///
- /// 瀹㈡埛鍙
- ///
- public string CustomerCode { private set; get; }
-
-
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs
index a33b8cef..74fdd97a 100644
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs
+++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/ErrorListBill/ErrorBillAppService.cs
@@ -27,12 +27,10 @@ using Win.Sfs.SettleAccount.CommonManagers;
using Win.Sfs.SettleAccount.Constant;
using Win.Sfs.SettleAccount.Entities.Boms;
using Win.Sfs.SettleAccount.Entities.Errors;
-using Win.Sfs.SettleAccount.Entities.EstimatedInventories;
using Win.Sfs.SettleAccount.Entities.ImportMap;
using Win.Sfs.SettleAccount.Entities.Prices;
using Win.Sfs.SettleAccount.Entities.TaskJobs;
using Win.Sfs.SettleAccount.Errors;
-using Win.Sfs.SettleAccount.EstimatedInventories;
using Win.Sfs.SettleAccount.ExcelImporter;
using Win.Sfs.SettleAccount.ExportReports;
using Win.Sfs.SettleAccount.Reports;
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBExtendAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBExtendAppService.cs
deleted file mode 100644
index 3548daed..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBExtendAppService.cs
+++ /dev/null
@@ -1,347 +0,0 @@
-
-
-
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Linq;
-using System.Threading.Tasks;
-using EFCore.BulkExtensions;
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Csv;
-using Magicodes.ExporterAndImporter.Excel;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.Extensions.Caching.Distributed;
-using Shouldly;
-using Volo.Abp;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-using Volo.Abp.Caching;
-using Volo.Abp.Domain.Repositories;
-using Volo.Abp.Guids;
-using Volo.Abp.ObjectMapping;
-using Volo.Abp.Uow;
-using Win.Abp.Snowflakes;
-using Win.Sfs.BaseData.ImportExcelCommon;
-using Win.Sfs.SettleAccount.CommonManagers;
-using Win.Sfs.SettleAccount.Constant;
-using Win.Sfs.SettleAccount.Entities.ERPShipping;
-using Win.Sfs.SettleAccount.Entities.ERPShpping;
-using Win.Sfs.SettleAccount.Entities.HQExtend;
-using Win.Sfs.SettleAccount.Entities.ImportMap;
-using Win.Sfs.SettleAccount.Entities.Materials;
-using Win.Sfs.SettleAccount.ExcelImporter;
-using Win.Sfs.SettleAccount.ExportReports;
-using Win.Sfs.Shared.CacheBase;
-using Win.Sfs.Shared.Filter;
-using Win.Utils;
-
-namespace Win.Sfs.SettleAccount.HQKBExtends
-{
-
- ///
- /// 区域相关应用服务
- ///
- [Authorize(SettleAccountPermissions.Boms.Default)]
- //[AllowAnonymous]
- [Route("api/settleaccount/ErpShipping")]
- public class HQKBExtendAppService : SettleAccountApplicationBase
- {
- private readonly IGuidGenerator _guidGenerator;
-
- private readonly IObjectMapper _objectMapper;
-
- private readonly IExcelImportAppService _excelImportService;
-
-
- private readonly ISettleAccountBranchEfCoreRepository _repository;
-
-
- private readonly ISettleAccountBranchEfCoreRepository _materialRepository;
-
- private readonly ISettleAccountBranchEfCoreRepository _importColumnMapRepository;
-
- private readonly ISettleAccountBranchEfCoreRepository _versionRepository;
- ///
- /// 构建方法
- ///
- /// 构建UID
- /// 自动map
- /// 仓储接口
- /// 缓存
- public HQKBExtendAppService(IGuidGenerator guidGenerator,
- IObjectMapper objectMapper,
- IExcelImportAppService excelImportService,
- ISnowflakeIdGenerator snowflakeIdGenerator,
- ICommonManager commonManager,
- ISettleAccountBranchEfCoreRepository repository,
- ISettleAccountBranchEfCoreRepository versionRepository,
- ISettleAccountBranchEfCoreRepository materialRepository,
- ISettleAccountBranchEfCoreRepository importColumnMapRepository,
- IDistributedCache cache
- ) : base(cache,excelImportService,snowflakeIdGenerator,commonManager)
- {
- _guidGenerator = guidGenerator;
- _objectMapper = objectMapper;
- _repository = repository;
- _excelImportService = excelImportService;
- _versionRepository = versionRepository;
- _materialRepository = materialRepository;
- _importColumnMapRepository = importColumnMapRepository;
- }
-
- #region 导入导出功能
-
-
-
-
-
- ///
- /// 导入功能
- ///
- /// 上传的文件(前端已经限制只能上传一个附件)
- ///
- [HttpPost]
- [Route("ExcelImport")]
- [DisableRequestSizeLimit]
-
-
- public async Task HQKBExtendUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode,string factory)
- {
-
- ExportImporter _exportImporter = new ExportImporter();
- var result = await _exportImporter.UploadExcelImport(files, _excelImportService);
- var entityList = ObjectMapper.Map, List>(result);
- var _versionQuery = _versionRepository.Where(p => p.Version == version );
- await _versionQuery.BatchDeleteAsync();
- var _query = _repository.Where(p => p.Version == version );
- await _query.BatchDeleteAsync();
- //var checkList = new List();
- //var _matList =await _materialRepository.GetAllAsync(GuidGenerator.Create());
- // var _group = entityList.GroupBy(x => new { x.ParentItemCode, x.ChildItemCode, x.Version }).Select(p => new { Count = p.Count(),ParentItmeCode=p.Key.ParentItemCode, ChildItemCode=p.Key.ChildItemCode });
- //foreach (var itm in _group)
- //{
- // if (itm.Count > 1)
- // {
- // checkList.Add(new ErrorExportDto(version, customerCode, string.Empty, string.Empty, string.Empty, string.Empty, string.Format("不能导入父编码{0},子编码{1}有重复数据", itm.ParentItmeCode, itm.ChildItemCode), string.Empty));
- // }
- //}
- //var _id = GuidGenerator.Create();
- //var _HQKBExtendList = new List();
- //_HQKBExtendList.Add(new HQKBExtendVersion(_id, branchId, year, period, version, customerCode,factory));
- //foreach (var itm in entityList)
- //{
- // if (!_matList.Any(p => p.MaterialCode == itm.ParentItemCode))
- // {
- // checkList.Add(new ErrorExportDto(version, customerCode, string.Empty, string.Empty, itm.ParentItemCode, string.Empty, string.Format("物料主数据不存在物料号{0}!", itm.ParentItemCode), string.Empty));
- // continue;
- // }
- // itm.SetValue(GuidGenerator.Create(),branchId,year,period,version,_id,factory);
- //}
- //if (checkList.Count > 0)
- //{
- // return await ExportErrorReportAsync(checkList);
- //}
- await _repository.GetDbContext().BulkInsertAsync(entityList);
-
- await _versionRepository.GetDbContext().BulkInsertAsync(new List { new HQKBExtendVersion(Guid.NewGuid(), branchId, year, period, version, customerCode, factory) });
-
- //st.Stop();
- return ApplicationConsts.SuccessStr;
- }
- ///
- /// 导出文件
- ///
- ///
- ///
- [HttpPost]
- [Route("Export")]
-
- virtual public async Task ExportAsync(HQKBExtendRequestDto input)
- {
- IExporter _csv = new CsvExporter();
- IExporter _excel = new ExcelExporter();
- //导出加上版本过滤条件,不能全导出
- if (!string.IsNullOrEmpty(input.Version ))
- {
- input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "Version", Logic = EnumFilterLogic.And, Value = input.Version.ToString() });
- }
- //else
- //{
- // return new PagedResultDto(0, new List());
- //}
- var entities = await _repository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, int.MaxValue,
- 0, true);
- var dtoDetails = ObjectMapper.Map, List>(entities);
- string _fileName = string.Empty;
- //声明导出容器
-
- byte[] result = null;
-
-
-
- _fileName = string.Format("ERP调拨_{0}.xlsx", Guid.NewGuid().ToString("N"));
- result = await _excel.ExportAsByteArray(dtoDetails);
-
-
- result.ShouldNotBeNull();
-
- //保存导出文件到服务器存成二进制
- await _excelImportService.SaveBlobAsync(
- new SaveExcelImportInputDto
- {
- Name = _fileName,
- Content = result
- }
- );
- return _fileName;
- }
- #endregion
-
- ///
- /// 按ID获取唯一实体
- ///
- ///
- /// 返回实体全部属性
- ///
- /// ID
- /// 实体DTO
- [HttpGet]
- [Route("{id}")]
-
- virtual public async Task GetAsync(Guid id)
- {
- var result = await _repository.GetAsync(id);
- var dto = _objectMapper.Map(result);
- return dto;
- }
-
-
- private async Task GetFromCacheAsync(Guid id)
- {
- var result = await _repository.GetAsync(id);
- return result;
- }
-
-
- private async Task GetCountAsync(HQKBExtendRequestDto input)
- {
- return await _repository.GetCountByFilterAsync(input.BranchId, input.Filters);
- }
-
-
- private async Task GetCountAsync(HQKBExtendVersionRequestDto input)
- {
- return await _versionRepository.GetCountByFilterAsync(input.BranchId, input.Filters);
- }
-
- ///
- /// 获取实体总数
- ///
- /// 实体总数
- [HttpGet]
- [Route("count")]
-
- virtual public async Task GetTotalCountAsync(Guid branchId)
- {
- return await _repository.GetCountAsync(branchId);
- }
-
-
-
- ///
- /// 删除实体
- ///
- /// ID
- /// 无
- [HttpDelete]
- [Route("{id}")]
-
- virtual public async Task DeleteAsync(Guid id)
- {
- //var entity = await GetFromCacheAsync(id);
- //await Cache.DeleteAsync(id.ToString());
- await _repository.DeleteAsync(id);
- }
-
- ///
- /// 按IDs删除实体列表
- ///
- /// IDs
- /// 是否执行成功
- [HttpPost]
- [Route("delete")]
-
- virtual public async Task DeleteListAsync(List ids)
- {
- //foreach (var id in ids)
- //{
- // var entity = await GetFromCacheAsync(id);
-
- //}
-
- return await _repository.DeleteListAsync(ids);
- }
-
-
- /////
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
- [HttpPost]
- [Route("list")]
-
- public async Task> GetListAsync(Guid parentId, HQKBExtendRequestDto input)
- {
- if (!string.IsNullOrEmpty(input.Version) )
- {
- input.Filters.Add(new FilterCondition() { Action = EnumFilterAction.Equal, Column = "Version", Logic = EnumFilterLogic.And, Value = input.Version });
- }
- else
- {
- return new PagedResultDto(0,new List());
- }
- var entities = await _repository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, input.MaxResultCount,
- input.SkipCount, true);
- var totalCount = await GetCountAsync(input);
- var dtos = _objectMapper.Map, List>(entities);
- return new PagedResultDto(totalCount, dtos);
- }
-
- /////
-
- ///
- /// 根据筛选条件获取实体列表
- ///
- ///
- /// 请求条件包括:筛选条件列表,排序条件,数据数量,页码
- ///
- /// 请求条件
- /// 实体DTO列表
- [HttpPost]
- [Route("listVersion")]
-
- public async Task> GetVersionListAsync(HQKBExtendVersionRequestDto input)
- {
- var entities = await _versionRepository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, int.MaxValue,
- input.SkipCount, true);
-
- var totalCount = await GetCountAsync(input);
- var dtos = _objectMapper.Map, List>(entities);
- //foreach (var itm in dtos)
- //{
- // itm.Version = itm.Version + string.Format("({0})", itm.Factory);
- //}
- return new PagedResultDto(totalCount, dtos);
- }
- }
-}
diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBSettleExtendAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBSettleExtendAppService.cs
deleted file mode 100644
index 9b3f16f6..00000000
--- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQExtend/HQKBSettleExtendAppService.cs
+++ /dev/null
@@ -1,346 +0,0 @@
-
-
-
-using System;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Linq;
-using System.Threading.Tasks;
-using EFCore.BulkExtensions;
-using Magicodes.ExporterAndImporter.Core;
-using Magicodes.ExporterAndImporter.Csv;
-using Magicodes.ExporterAndImporter.Excel;
-using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Http;
-using Microsoft.AspNetCore.Mvc;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.Extensions.Caching.Distributed;
-using Shouldly;
-using Volo.Abp;
-using Volo.Abp.Application.Dtos;
-using Volo.Abp.Application.Services;
-using Volo.Abp.Caching;
-using Volo.Abp.Domain.Repositories;
-using Volo.Abp.Guids;
-using Volo.Abp.ObjectMapping;
-using Volo.Abp.Uow;
-using Win.Abp.Snowflakes;
-using Win.Sfs.BaseData.ImportExcelCommon;
-using Win.Sfs.SettleAccount.CommonManagers;
-using Win.Sfs.SettleAccount.Constant;
-using Win.Sfs.SettleAccount.Entities.ERPShipping;
-using Win.Sfs.SettleAccount.Entities.ERPShpping;
-using Win.Sfs.SettleAccount.Entities.HQExtend;
-using Win.Sfs.SettleAccount.Entities.ImportMap;
-using Win.Sfs.SettleAccount.Entities.Materials;
-using Win.Sfs.SettleAccount.ExcelImporter;
-using Win.Sfs.SettleAccount.ExportReports;
-using Win.Sfs.Shared.CacheBase;
-using Win.Sfs.Shared.Filter;
-using Win.Utils;
-
-namespace Win.Sfs.SettleAccount.HQKBExtends
-{
-
- ///
- /// 区域相关应用服务
- ///
- [Authorize(SettleAccountPermissions.Boms.Default)]
- //[AllowAnonymous]
- [Route("api/settleaccount/ErpShipping")]
- public class HQKBSettleExtendAppService : SettleAccountApplicationBase
- {
- private readonly IGuidGenerator _guidGenerator;
-
- private readonly IObjectMapper _objectMapper;
-
- private readonly IExcelImportAppService _excelImportService;
-
-
- private readonly ISettleAccountBranchEfCoreRepository _repository;
-
-
- private readonly ISettleAccountBranchEfCoreRepository _materialRepository;
-
- private readonly ISettleAccountBranchEfCoreRepository _importColumnMapRepository;
-
- private readonly ISettleAccountBranchEfCoreRepository _versionRepository;
- ///
- /// 构建方法
- ///
- /// 构建UID
- /// 自动map
- /// 仓储接口
- /// 缓存
- public HQKBSettleExtendAppService(IGuidGenerator guidGenerator,
- IObjectMapper objectMapper,
- IExcelImportAppService excelImportService,
- ISnowflakeIdGenerator snowflakeIdGenerator,
- ICommonManager commonManager,
- ISettleAccountBranchEfCoreRepository repository,
- ISettleAccountBranchEfCoreRepository versionRepository,
- ISettleAccountBranchEfCoreRepository materialRepository,
- ISettleAccountBranchEfCoreRepository