From fbe38145adba23e5b2b5e03ce138efd1bef8ad7d Mon Sep 17 00:00:00 2001 From: mahao Date: Thu, 13 Jul 2023 08:55:34 +0800 Subject: [PATCH] tj --- .../Entities/BQ/HBPO_SE_DETAIL_SERVICE.cs | 4 +--- .../Entities/Boms/BomAppService.cs | 2 +- .../Entities/CodeSettingTables/CodeSettingAppService.cs | 8 ++++---- .../Entities/Controls/CentralizedControlAppService.cs | 2 +- .../MaterialRelationshipAppService.cs | 2 +- .../Entities/Materials/MaterialAppService.cs | 2 +- .../Entities/Prices/PriceListAppService.cs | 2 +- .../Entities/Prices/PriceListAppServiceBJ.cs | 2 +- 8 files changed, 11 insertions(+), 13 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_SE_DETAIL_SERVICE.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_SE_DETAIL_SERVICE.cs index e67248dc..33a1db39 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_SE_DETAIL_SERVICE.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/HBPO_SE_DETAIL_SERVICE.cs @@ -18,7 +18,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ /// HBPO发运单 /// [AllowAnonymous] - [Route("api/settleaccount/HBPO_SE_DETAIL_SERVICE")] + [Route("api/settleaccount/hbpo_se_detail/[action]")] public class HBPO_SE_DETAIL_SERVICE : ApplicationService { /// @@ -42,7 +42,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ /// 导出 /// [HttpPost] - [Route("Export")] public async Task ExportAsync(RequestDto input) { string fileName = $"HBPO发运单_{Guid.NewGuid()}.xlsx"; @@ -63,7 +62,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ /// 获取列表 /// [HttpPost] - [Route("list")] public async Task> GetListAsync(RequestDto input) { var entities = await _repository.GetListByFilterAsync(input.Filters, input.Sorting, input.MaxResultCount, input.SkipCount, true); diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Boms/BomAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Boms/BomAppService.cs index dd2bcfae..934e28f6 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Boms/BomAppService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Boms/BomAppService.cs @@ -80,7 +80,7 @@ namespace Win.Sfs.SettleAccount.Boms /// /// ȡб /// - [HttpGet] + [HttpPost] public async Task> GetListAsync(BomRequestDto input) { var entities = await _repository.GetListByFilterAsync(input.Filters, input.Sorting, input.MaxResultCount, input.SkipCount, true); diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/CodeSettingTables/CodeSettingAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/CodeSettingTables/CodeSettingAppService.cs index 1f2fcb96..39c4dea8 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/CodeSettingTables/CodeSettingAppService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/CodeSettingTables/CodeSettingAppService.cs @@ -143,7 +143,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables /// /// ID /// 实体DTO - [HttpGet] + [HttpPost] virtual public async Task GetAsync(Guid id) { var result = await _repository.GetAsync(id); @@ -179,7 +179,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables /// /// 请求条件 /// 实体DTO列表 - [HttpGet] + [HttpPost] virtual public async Task> GetListAsync(CodeSettingRequestDto input) { var entities = await _repository.GetListByFilterAsync(input.BranchId, input.Filters, input.Sorting, input.MaxResultCount, @@ -196,7 +196,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables /// 获取实体总数 /// /// 实体总数 - [HttpGet] + [HttpPost] virtual public async Task GetTotalCountAsync(Guid branchId) { return await _repository.GetCountAsync(branchId); @@ -206,7 +206,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables /// 获取全部实体列表 /// /// 实体DTO列表 - [HttpGet] + [HttpPost] virtual public async Task> GetAllAsync(Guid branchId) { var entities = await _repository.GetAllAsync(branchId, true); diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Controls/CentralizedControlAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Controls/CentralizedControlAppService.cs index cb19ee9b..9efa0c95 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Controls/CentralizedControlAppService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Controls/CentralizedControlAppService.cs @@ -64,7 +64,7 @@ namespace Win.Sfs.SettleAccount.Entities.Controls /// /// 获取列表 /// - [HttpGet] + [HttpPost] public async Task> GetListAsync(CentralizedControlRequestDto input) { var entities = await _repository.GetListByFilterAsync(input.Filters, input.Sorting, input.MaxResultCount, input.SkipCount, true); diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/MaterialRelationships/MaterialRelationshipAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/MaterialRelationships/MaterialRelationshipAppService.cs index ab9c8b2c..c5872bba 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/MaterialRelationships/MaterialRelationshipAppService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/MaterialRelationships/MaterialRelationshipAppService.cs @@ -115,7 +115,7 @@ namespace Win.Sfs.SettleAccount.Entities.MaterialRelationships /// /// 获取列表 /// - [HttpGet] + [HttpPost] public async Task> GetListAsync(RequestDtoBase input) { var entities = await _repository.GetListByFilterAsync(input.Filters, input.Sorting, input.MaxResultCount, input.SkipCount, true); diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Materials/MaterialAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Materials/MaterialAppService.cs index 466616c6..8b38a844 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Materials/MaterialAppService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Materials/MaterialAppService.cs @@ -75,7 +75,7 @@ namespace Win.Sfs.SettleAccount.Entities.Materials /// /// 获取列表 /// - [HttpGet] + [HttpPost] virtual public async Task> GetListAsync(MaterialRequestDto input) { var entities = await _repository.GetListByFilterAsync(input.Filters, input.Sorting, input.MaxResultCount, diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppService.cs index 558877c2..63b0e3a4 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppService.cs @@ -123,7 +123,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices /// /// 获取列表 /// - [HttpGet] + [HttpPost] public virtual async Task> GetListAsync(RequestDto input) { var entitys = await _priceListManager.GetListAsync(input.Filters, input.Sorting, input.MaxResultCount, input.SkipCount); diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppServiceBJ.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppServiceBJ.cs index e6a307ba..3270d577 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppServiceBJ.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppServiceBJ.cs @@ -90,7 +90,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices /// /// 获取列表 /// - [HttpGet] + [HttpPost] public async Task> GetListAsync(RequestDto input) { var entities = await _repository.GetListByFilterAsync(input.Filters, input.Sorting, input.MaxResultCount, input.SkipCount, true);