From 39a4390e33adbb812908fd5059379c9c0ae627a9 Mon Sep 17 00:00:00 2001 From: 44673626 <44673626@qq.com> Date: Wed, 12 Jan 2022 14:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E7=9B=B8=E5=85=B3=E4=BB=A3?= =?UTF-8?q?=E7=A0=811?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ttleAccountPermissionDefinitionProvider.cs | 12 +++++++++ .../Permissions/SettleAccountPermissions.cs | 22 ++++++++++++++++ .../BT_Car/BT_Car_PlatformAppService.cs | 4 +-- .../CodeSettingAppService.cs | 2 +- .../Controls/CentralizedControlAppService.cs | 2 +- .../Entities/HQ_F/HQ_F_PlatformAppService.cs | 4 +-- .../Entities/HQ_H/HQ_H_PlatformAppService.cs | 4 +-- .../Entities/HQ_M/HQ_M_PlatformAppService.cs | 4 +-- .../Entities/Invoices/InvoiceAppService.cs | 8 +++--- .../Entities/Materials/MaterialAppService.cs | 2 +- .../Entities/Prices/PriceListAppService.cs | 8 +++--- .../SettleAccounts/SettleAccountAppService.cs | 20 +++++++++++--- .../UnSettleAccountAppService.cs | 4 +-- .../Entities/VWKanBan/VWKanBanAppService.cs | 5 ++-- .../VWScrapClaims/ScrapClaimsAppService.cs | 4 +-- .../VWSparePart/SparePartAppService.cs | 3 ++- .../ReportServices/ReportMakeService.cs | 4 +-- .../SettleAccount.Application.xml | 26 ++++++++++++++++--- 18 files changed, 100 insertions(+), 38 deletions(-) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissionDefinitionProvider.cs b/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissionDefinitionProvider.cs index 73cc08b4..d1d317c3 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissionDefinitionProvider.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissionDefinitionProvider.cs @@ -67,6 +67,18 @@ namespace Win.Sfs.SettleAccount unSettleAccount.AddChild(SettleAccountPermissions.UnSettleAccount.Update, L("Update")); unSettleAccount.AddChild(SettleAccountPermissions.UnSettleAccount.Delete, L("Delete")); + //大众输出报表相关权限 + var wmsjit = myGroup.AddPermission(SettleAccountPermissions.WMSJIT.Default, L("WMSJIT")); + wmsjit.AddChild(SettleAccountPermissions.WMSJIT.Create, L("Create")); + wmsjit.AddChild(SettleAccountPermissions.WMSJIT.Update, L("Update")); + wmsjit.AddChild(SettleAccountPermissions.WMSJIT.Delete, L("Delete")); + + //红旗输出报表相关权限 + var wmshq = myGroup.AddPermission(SettleAccountPermissions.WMSHQ.Default, L("WMSHQ")); + wmshq.AddChild(SettleAccountPermissions.WMSHQ.Create, L("Create")); + wmshq.AddChild(SettleAccountPermissions.WMSHQ.Update, L("Update")); + wmshq.AddChild(SettleAccountPermissions.WMSHQ.Delete, L("Delete")); + #endregion diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissions.cs b/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissions.cs index 5bd07ac3..a164c39a 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissions.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application.Contracts/Permissions/SettleAccountPermissions.cs @@ -14,6 +14,28 @@ namespace Win.Sfs.SettleAccount #region 派格 + /// + /// 大众输出报表权限 + /// + public static class WMSJIT + { + public const string Default = GroupName + "." + nameof(WMSJIT); + public const string Create = Default + "." + CreateStr; + public const string Update = Default + "." + UpdateStr; + public const string Delete = Default + "." + DeleteStr; + } + + /// + /// 红旗输出报表权限 + /// + public static class WMSHQ + { + public const string Default = GroupName + "." + nameof(WMSHQ); + public const string Create = Default + "." + CreateStr; + public const string Update = Default + "." + UpdateStr; + public const string Delete = Default + "." + DeleteStr; + } + /// /// 一汽轿车-权限 /// diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BT_Car/BT_Car_PlatformAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BT_Car/BT_Car_PlatformAppService.cs index c48b1537..e01f5bc9 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BT_Car/BT_Car_PlatformAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BT_Car/BT_Car_PlatformAppService.cs @@ -28,7 +28,7 @@ namespace Win.Sfs.SettleAccount.Entities.BT_Car /// /// 一汽轿车平台导入 /// - //[Authorize(SettleAccountPermissions.BT_Carlatform.Default)] + [Authorize(SettleAccountPermissions.BT_Carlatform.Default)] //[AllowAnonymous] [Route("api/settleaccount/BT_Carlatform")] public class BT_Car_PlatformAppService : SettleAccountApplicationBase, IBT_Car_PlatformAppService @@ -70,7 +70,7 @@ namespace Win.Sfs.SettleAccount.Entities.BT_Car [HttpPost] [Route("ExcelImport")] [DisableRequestSizeLimit] - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.BT_Carlatform.Create)] public async Task BT_Car_PlatformUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode) { ExportImporter _exportImporter = new ExportImporter(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/CodeSettingTables/CodeSettingAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/CodeSettingTables/CodeSettingAppService.cs index 4912d2eb..dc6e3615 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/CodeSettingTables/CodeSettingAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/CodeSettingTables/CodeSettingAppService.cs @@ -31,7 +31,7 @@ namespace Win.Sfs.SettleAccount.Entities.CodeSettingTables { /// - /// 区域相关应用服务 + /// 通用代码-相关应用服务 /// [Authorize(SettleAccountPermissions.CodeSettings.Default)] diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Controls/CentralizedControlAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Controls/CentralizedControlAppService.cs index 0b9754d9..081a1ce8 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Controls/CentralizedControlAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Controls/CentralizedControlAppService.cs @@ -34,7 +34,7 @@ namespace Win.Sfs.SettleAccount.Entities.Controls /// - /// 区域相关应用服务 + /// 期间设置 /// [Authorize(SettleAccountPermissions.CentralizedControls.Default)] //[AllowAnonymous] diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_F/HQ_F_PlatformAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_F/HQ_F_PlatformAppService.cs index dd7b82be..cb543484 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_F/HQ_F_PlatformAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_F/HQ_F_PlatformAppService.cs @@ -28,7 +28,7 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_F /// /// 红旗F平台导入 /// - //[Authorize(SettleAccountPermissions.HQ_FPlatform.Default)] + [Authorize(SettleAccountPermissions.HQ_FPlatform.Default)] //[AllowAnonymous] [Route("api/settleaccount/HQFPlatform")] public class HQ_F_PlatformAppService : SettleAccountApplicationBase, IHQ_F_PlatformAppService @@ -70,7 +70,7 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_F [HttpPost] [Route("ExcelImport")] [DisableRequestSizeLimit] - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.HQ_FPlatform.Create)] public async Task HQ_F_PlatformUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode) { ExportImporter _exportImporter = new ExportImporter(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_H/HQ_H_PlatformAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_H/HQ_H_PlatformAppService.cs index cea4e52d..899cd5a8 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_H/HQ_H_PlatformAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_H/HQ_H_PlatformAppService.cs @@ -28,7 +28,7 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_H /// /// 红旗H平台导入 /// - //[Authorize(SettleAccountPermissions.HQ_HPlatform.Default)] + [Authorize(SettleAccountPermissions.HQ_HPlatform.Default)] //[AllowAnonymous] [Route("api/settleaccount/HQHPlatform")] public class HQ_H_PlatformAppService : SettleAccountApplicationBase, IHQ_H_PlatformAppService @@ -70,7 +70,7 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_H [HttpPost] [Route("ExcelImport")] [DisableRequestSizeLimit] - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.HQ_HPlatform.Create)] public async Task HQ_H_PlatformUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode) { ExportImporter _exportImporter = new ExportImporter(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_M/HQ_M_PlatformAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_M/HQ_M_PlatformAppService.cs index cb1e58c1..9591e4ab 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_M/HQ_M_PlatformAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/HQ_M/HQ_M_PlatformAppService.cs @@ -28,7 +28,7 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_M /// /// 红旗M平台导入 /// - //[Authorize(SettleAccountPermissions.HQ_MPlatform.Default)] + [Authorize(SettleAccountPermissions.HQ_MPlatform.Default)] //[AllowAnonymous] [Route("api/settleaccount/HQMPlatform")] public class HQ_M_PlatformAppService : SettleAccountApplicationBase, IHQ_M_PlatformAppService @@ -70,7 +70,7 @@ namespace Win.Sfs.SettleAccount.Entities.HQ_M [HttpPost] [Route("ExcelImport")] [DisableRequestSizeLimit] - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.HQ_MPlatform.Create)] public async Task HQ_M_PlatformUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode) { ExportImporter _exportImporter = new ExportImporter(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Invoices/InvoiceAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Invoices/InvoiceAppService.cs index a284e803..cf99128b 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Invoices/InvoiceAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Invoices/InvoiceAppService.cs @@ -38,11 +38,11 @@ using Win.Utils; namespace Win.Sfs.SettleAccount.Entities.Invoices { - //[Authorize(SettleAccountPermissions.Invoices.Default)] - - - //[AllowAnonymous] + /// + /// + /// [Route("api/settleaccount/Invoices")] + [Authorize(SettleAccountPermissions.Invoices.Default)] public class InvoiceAppService : SettleAccountApplicationBase,IInvoiceAppService { diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Materials/MaterialAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Materials/MaterialAppService.cs index 513b8578..019902cf 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Materials/MaterialAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Materials/MaterialAppService.cs @@ -41,7 +41,7 @@ namespace Win.Sfs.SettleAccount.Entities.Materials { /// - /// 区域相关应用服务 + /// 物料主数据应用服务 /// [Authorize(SettleAccountPermissions.Materials.Default)] //[AllowAnonymous] diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppService.cs index cd8058de..bbaaf95b 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/Prices/PriceListAppService.cs @@ -21,11 +21,9 @@ using Win.Sfs.Shared.Filter; namespace Win.Sfs.SettleAccount.Entities.Prices { /// - /// 供应商相关应用服务 + /// 标准价格单-相关应用服务 /// - [AllowAnonymous] - - //[Authorize(SettleAccountPermissions.PriceLists.Default)] + [Authorize(SettleAccountPermissions.PriceLists.Default)] [Route("api/SettleAccount/PriceList")] public class PriceListAppService : ApplicationService /*, IPriceListAppService*/ @@ -158,7 +156,7 @@ namespace Win.Sfs.SettleAccount.Entities.Prices /// 是否导入成功 [HttpPost] [Route("ExcelImport-Map")] - //[Authorize(SettleAccountPermissions.PriceLists.Create)] + [Authorize(SettleAccountPermissions.PriceLists.Create)] virtual public async Task ImportAsync([FromForm] IFormFileCollection files,string version) { ExportImporter _exportImporter = new ExportImporter(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/SettleAccounts/SettleAccountAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/SettleAccounts/SettleAccountAppService.cs index 2e65593a..1831a1fd 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/SettleAccounts/SettleAccountAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/SettleAccounts/SettleAccountAppService.cs @@ -52,8 +52,8 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts /// /// 大众准时化结算明细导入-R3已结 /// - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] - [AllowAnonymous] + [Authorize(SettleAccountPermissions.SettleAccounts.Default)] + //[AllowAnonymous] [Route("api/settleaccount/SettleAccount")] public class SettleAccountAppService : SettleAccountApplicationBase, ISettleAccountAppService { @@ -261,10 +261,22 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts }); return _taskid; } + /// + /// 导入功能 + /// + /// + /// + /// + /// + /// + /// + /// + /// [HttpPost] [Route("ExcelImport-PG")] [DisableRequestSizeLimit] - + [Authorize(SettleAccountPermissions.SettleAccounts.Create)] + public async Task SettleAccountUploadExcelImportTH([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory) { List customConditionList = new List(); @@ -300,7 +312,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts [HttpPost] [Route("ExcelImport")] [DisableRequestSizeLimit] - [Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.SettleAccounts.Create)] public async Task SettleAccountUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory) { List _setls = new List(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/UnSettleAccounts/UnSettleAccountAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/UnSettleAccounts/UnSettleAccountAppService.cs index f3a36da0..3e334c67 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/UnSettleAccounts/UnSettleAccountAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/UnSettleAccounts/UnSettleAccountAppService.cs @@ -49,7 +49,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts /// ///大众FIS未结算明细导入功能 /// - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.UnSettleAccount.Default)] //[AllowAnonymous] [Route("api/settleaccount/UnSettleAccount")] public class UnSettleAccountAppService : SettleAccountApplicationBase, IUnSettleAccountAppService @@ -100,7 +100,7 @@ namespace Win.Sfs.SettleAccount.Entities.SettleAccounts [HttpPost] [Route("ExcelImport")] [DisableRequestSizeLimit] - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.SettleAccounts.Create)] public async Task UnSettleAccountUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode, string factory) { diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWKanBan/VWKanBanAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWKanBan/VWKanBanAppService.cs index 647c0ca1..1a52e6d1 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWKanBan/VWKanBanAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWKanBan/VWKanBanAppService.cs @@ -30,8 +30,7 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan /// /// 大众看板结算明细导入 /// - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] - //[AllowAnonymous] + [Authorize(SettleAccountPermissions.VWKanBan.Default)] [Route("api/settleaccount/VWKanBan")] public class VWKanBanAppService : SettleAccountApplicationBase, IVWKanBanAppService { @@ -72,7 +71,7 @@ namespace Win.Sfs.SettleAccount.Entities.VWKanBan [HttpPost] [Route("ExcelImport")] [DisableRequestSizeLimit] - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.SettleAccounts.Create)] public async Task VWKanBanUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode) { if(string.IsNullOrEmpty(version)) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWScrapClaims/ScrapClaimsAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWScrapClaims/ScrapClaimsAppService.cs index b56a6d1b..fec2cbdd 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWScrapClaims/ScrapClaimsAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWScrapClaims/ScrapClaimsAppService.cs @@ -28,7 +28,7 @@ namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims /// /// 大众CP7报废和索赔导入 /// - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.ScrapClaims.Default)] //[AllowAnonymous] [Route("api/settleaccount/ScrapClaims")] public class ScrapClaimsAppService : SettleAccountApplicationBase, IScrapClaimsAppService @@ -70,7 +70,7 @@ namespace Win.Sfs.SettleAccount.Entities.VWScrapClaims [HttpPost] [Route("ExcelImport")] [DisableRequestSizeLimit] - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.ScrapClaims.Create)] public async Task ScrapClaimsUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode) { ExportImporter _exportImporter = new ExportImporter(); diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWSparePart/SparePartAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWSparePart/SparePartAppService.cs index 1a99deee..709caf29 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWSparePart/SparePartAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/VWSparePart/SparePartAppService.cs @@ -30,6 +30,7 @@ namespace Win.Sfs.SettleAccount.Entities.VWSparePart /// 大众备件服务 /// [Route("api/settleaccount/SparePart")] + [Authorize(SettleAccountPermissions.SparePart.Default)] public class SparePartAppService : SettleAccountApplicationBase, ISparePartAppService { private readonly IGuidGenerator _guidGenerator; @@ -69,7 +70,7 @@ namespace Win.Sfs.SettleAccount.Entities.VWSparePart [HttpPost] [Route("ExcelImport")] [DisableRequestSizeLimit] - //[Authorize(SettleAccountPermissions.SettleAccounts.Default)] + [Authorize(SettleAccountPermissions.SettleAccounts.Create)] public async Task SparePartUploadExcelImport([FromForm] IFormFileCollection files, Guid branchId, string year, string period, string version, string customerCode) { if (string.IsNullOrEmpty(version)) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Reports/ReportServices/ReportMakeService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Reports/ReportServices/ReportMakeService.cs index aed229d1..377cba79 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Reports/ReportServices/ReportMakeService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Reports/ReportServices/ReportMakeService.cs @@ -32,8 +32,8 @@ using Win.Sfs.SettleAccount.Reports.ReportRequestDto; namespace Win.Sfs.SettleAccount.Reports.ReportServices { - //[Authorize(SettleAccountPermissions.Reports.Default)] - [AllowAnonymous] + [Authorize(SettleAccountPermissions.Reports.Default)] + //[AllowAnonymous] [Route("api/settleaccount/ReportMakeService")] public class ReportService : ApplicationService { diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.xml b/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.xml index 26f471c2..10151a13 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.xml +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/SettleAccount.Application.xml @@ -484,7 +484,7 @@ - 区域相关应用服务 + 通用代码-相关应用服务 @@ -576,7 +576,7 @@ - 区域相关应用服务 + 期间设置 @@ -978,6 +978,11 @@ + + + + + 构建方法 @@ -1219,7 +1224,7 @@ - 区域相关应用服务 + 物料主数据应用服务 @@ -1311,7 +1316,7 @@ - 供应商相关应用服务 + 标准价格单-相关应用服务 @@ -1497,6 +1502,19 @@ 上传的文件(前端已经限制只能上传一个附件) + + + 导入功能 + + + + + + + + + + 导入功能