diff --git a/src/Oms.Application/Dtos/Finance/ReceivablePayablePaginatedInput.cs b/src/Oms.Application/Dtos/Finance/ReceivablePayablePaginatedInput.cs
new file mode 100644
index 0000000..bb51370
--- /dev/null
+++ b/src/Oms.Application/Dtos/Finance/ReceivablePayablePaginatedInput.cs
@@ -0,0 +1,43 @@
+namespace Oms.Application.Dtos.Finance;
+
+///
+/// 应收应付分页查询入参。
+///
+public class ReceivablePayablePaginatedInput
+{
+ public int Page { get; set; } = 1;
+
+ public int PageSize { get; set; } = 20;
+
+ ///
+ /// 运单号 / 客户单号 / 跟踪号关键词。
+ ///
+ public string? Keyword { get; set; }
+
+ ///
+ /// 费用类型:receivable / payable,空或 all 表示全部。
+ ///
+ public string? FeeType { get; set; }
+
+ ///
+ /// 费用项关键词。
+ ///
+ public string? CostItem { get; set; }
+
+ ///
+ /// 计费阶段:forecast / inbound / outbound。
+ ///
+ public string? ChargingStage { get; set; }
+
+ public int? CustomerId { get; set; }
+
+ ///
+ /// 订单创建时间起。
+ ///
+ public DateTime? StartTime { get; set; }
+
+ ///
+ /// 订单创建时间止。
+ ///
+ public DateTime? EndTime { get; set; }
+}
diff --git a/src/Oms.Application/Dtos/Finance/ReceivablePayablePaginatedOutput.cs b/src/Oms.Application/Dtos/Finance/ReceivablePayablePaginatedOutput.cs
new file mode 100644
index 0000000..fa832c3
--- /dev/null
+++ b/src/Oms.Application/Dtos/Finance/ReceivablePayablePaginatedOutput.cs
@@ -0,0 +1,53 @@
+namespace Oms.Application.Dtos.Finance;
+
+///
+/// 应收应付分页出参(不含主键与审计字段)。
+///
+public class ReceivablePayablePaginatedOutput
+{
+ public string ServiceNo { get; set; } = string.Empty;
+
+ public string? ClientNo { get; set; }
+
+ public string? TrackNo { get; set; }
+
+ public string? CustomerCode { get; set; }
+
+ public string OrderStatus { get; set; } = string.Empty;
+
+ public string? OrderStatusName { get; set; }
+
+ public byte IsPaid { get; set; }
+
+ public DateTime? PayTime { get; set; }
+
+ public DateTime? ReceiveTime { get; set; }
+
+ public DateTime? ShipTime { get; set; }
+
+ public string? ProductCode { get; set; }
+
+ public string? ChannelCode { get; set; }
+
+ public string? ConsigneeCountryName { get; set; }
+
+ public string FeeType { get; set; } = string.Empty;
+
+ public string? FeeTypeName { get; set; }
+
+ public string CostItem { get; set; } = string.Empty;
+
+ public decimal Amount { get; set; }
+
+ public string Currency { get; set; } = string.Empty;
+
+ public string? DownstreamProvider { get; set; }
+
+ public string? PriceNo { get; set; }
+
+ public DateTime? PriceEffectiveTime { get; set; }
+
+ public string? ChargingStage { get; set; }
+
+ public string? ChargingStageName { get; set; }
+}
diff --git a/src/Oms.Application/Services/Channels/AutoTriggerService.cs b/src/Oms.Application/Services/Channels/AutoTriggerService.cs
index 7d7c359..c7914aa 100644
--- a/src/Oms.Application/Services/Channels/AutoTriggerService.cs
+++ b/src/Oms.Application/Services/Channels/AutoTriggerService.cs
@@ -22,12 +22,6 @@ public class AutoTriggerService : ApplicationService
///
/// 入参:自动触发规则列表查询条件。
/// 自动触发规则分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpGet("/channel/auto-trigger/list")]
public async Task> GetListAsync([FromQuery] AutoTriggerListInput input)
{
@@ -49,12 +43,6 @@ public class AutoTriggerService : ApplicationService
///
/// 入参:自动触发规则保存参数。
/// 无返回体,仅完成新增自动触发规则。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/auto-trigger/create")]
public async Task CreateAsync(AutoTriggerSaveInput input)
{
@@ -75,12 +63,6 @@ public class AutoTriggerService : ApplicationService
///
/// 入参:自动触发规则保存参数。
/// 无返回体,仅完成更新自动触发规则。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/auto-trigger/update")]
public async Task UpdateAsync(AutoTriggerSaveInput input)
{
@@ -99,12 +81,6 @@ public class AutoTriggerService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除自动触发规则。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/auto-trigger/delete")]
public async Task DeleteAsync(IdInput input)
{
@@ -117,12 +93,6 @@ public class AutoTriggerService : ApplicationService
///
/// 入参:目标主键和状态值。
/// 无返回体,仅完成切换自动触发规则状态。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 更新启停状态。
- /// 3. 保存状态变更结果。
- ///
[HttpPost("/channel/auto-trigger/toggleStatus")]
public async Task ToggleStatusAsync(ToggleStatusInput input)
{
diff --git a/src/Oms.Application/Services/Channels/KpiAreaService.cs b/src/Oms.Application/Services/Channels/KpiAreaService.cs
index f391563..8313e88 100644
--- a/src/Oms.Application/Services/Channels/KpiAreaService.cs
+++ b/src/Oms.Application/Services/Channels/KpiAreaService.cs
@@ -26,12 +26,6 @@ public class KpiAreaService : ApplicationService
///
/// 入参:KPI分区列表查询条件。
/// KPI分区分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpPost("/channel/kpi-area/list")]
public async Task> GetListAsync(KpiAreaListInput input)
{
@@ -56,12 +50,6 @@ public class KpiAreaService : ApplicationService
///
/// 入参:KPI分区保存参数。
/// 无返回体,仅完成新增KPI分区。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/kpi-area/create")]
public async Task CreateAsync(KpiAreaSaveInput input)
{
@@ -81,12 +69,6 @@ public class KpiAreaService : ApplicationService
///
/// 入参:KPI分区保存参数。
/// 无返回体,仅完成更新KPI分区。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/kpi-area/update")]
public async Task UpdateAsync(KpiAreaSaveInput input)
{
@@ -104,12 +86,6 @@ public class KpiAreaService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除KPI分区。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/kpi-area/delete")]
public async Task DeleteAsync(IdInput input)
{
@@ -122,12 +98,6 @@ public class KpiAreaService : ApplicationService
///
/// 入参:KPI分区明细列表查询条件。
/// KPI分区明细分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpPost("/channel/kpi-area/info/list")]
public async Task> GetInfoListAsync(KpiAreaInfoListInput input)
{
@@ -148,12 +118,6 @@ public class KpiAreaService : ApplicationService
///
/// 入参:KPI分区明细保存参数。
/// 无返回体,仅完成新增KPI分区明细。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/kpi-area/info/add")]
public async Task AddInfoAsync(KpiAreaInfoSaveInput input)
{
@@ -175,12 +139,6 @@ public class KpiAreaService : ApplicationService
///
/// 入参:KPI分区明细保存参数。
/// 无返回体,仅完成更新KPI分区明细。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/kpi-area/info/update")]
public async Task UpdateInfoAsync(KpiAreaInfoSaveInput input)
{
@@ -201,12 +159,6 @@ public class KpiAreaService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除KPI分区明细。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/kpi-area/info/delete")]
public async Task DeleteInfoAsync(IdInput input)
{
diff --git a/src/Oms.Application/Services/Channels/LabelTemplateService.cs b/src/Oms.Application/Services/Channels/LabelTemplateService.cs
index 71250b7..43995b5 100644
--- a/src/Oms.Application/Services/Channels/LabelTemplateService.cs
+++ b/src/Oms.Application/Services/Channels/LabelTemplateService.cs
@@ -20,12 +20,6 @@ public class LabelTemplateService : ApplicationService
///
/// 入参:标签模板保存参数。
/// 标签模板保存结果。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/label-template/save")]
public async Task SaveAsync(LabelTemplateSaveInput input)
{
diff --git a/src/Oms.Application/Services/Channels/SalesProductService.cs b/src/Oms.Application/Services/Channels/SalesProductService.cs
index eb75bac..ec96d94 100644
--- a/src/Oms.Application/Services/Channels/SalesProductService.cs
+++ b/src/Oms.Application/Services/Channels/SalesProductService.cs
@@ -33,12 +33,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品列表查询条件。
/// 销售产品分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpGet("/channel/sales-product/list")]
public async Task> GetListAsync([FromQuery] SalesProductListInput input)
{
@@ -63,12 +57,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:目标主键。
/// 销售产品详情。
- ///
- /// 核心业务逻辑:
- /// 1. 根据标识查询目标对象。
- /// 2. 目标不存在时抛出业务异常。
- /// 3. 映射并返回详情结果。
- ///
[HttpGet("/channel/sales-product/detail")]
public async Task GetDetailAsync([FromQuery] int id)
{
@@ -83,12 +71,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品保存参数。
/// 无返回体,仅完成新增销售产品。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/sales-product/create")]
public async Task CreateAsync(SalesProductSaveInput input)
{
@@ -103,12 +85,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品保存参数。
/// 无返回体,仅完成更新销售产品。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/sales-product/update")]
public async Task UpdateAsync(SalesProductSaveInput input)
{
@@ -123,12 +99,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除销售产品。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/sales-product/delete")]
public async Task DeleteAsync(IdInput input)
{
@@ -141,12 +111,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品保存参数。
/// 无返回体,仅完成保存销售产品配置。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[ApiExplorerSettings(IgnoreApi = true)]
[HttpPost("/channel/sales-product/config/save")]
public async Task SaveConfigAsync(SalesProductSaveInput input)
@@ -162,12 +126,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品主键。
/// 销售产品价格项列表结果。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpGet("/channel/sales-product/price/list")]
public async Task> GetPriceListAsync([FromQuery] int salesProductId)
{
@@ -183,12 +141,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品价格项保存参数。
/// 无返回体,仅完成新增销售产品价格项。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/sales-product/price/create")]
public async Task CreatePriceAsync(SalesProductPriceSaveInput input)
{
@@ -214,12 +166,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品价格项保存参数。
/// 无返回体,仅完成更新销售产品价格项。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/sales-product/price/update")]
public async Task UpdatePriceAsync(SalesProductPriceSaveInput input)
{
@@ -247,12 +193,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除销售产品价格项。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/sales-product/price/delete")]
public async Task DeletePriceAsync(IdInput input)
{
@@ -265,12 +205,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:目标主键和状态值。
/// 无返回体,仅完成切换销售产品价格项状态。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 更新启停状态。
- /// 3. 保存状态变更结果。
- ///
[HttpPost("/channel/sales-product/price/toggleStatus")]
public async Task TogglePriceStatusAsync(ToggleStatusInput input)
{
@@ -283,12 +217,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品价格项批量保存参数。
/// 无返回体,仅完成批量保存销售产品价格项。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/sales-product/price/save")]
public async Task SavePriceAsync(SalesProductPriceSaveAllInput input)
{
@@ -330,12 +258,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品主键。
/// 销售产品分配配置。
- ///
- /// 核心业务逻辑:
- /// 1. 根据标识查询目标对象。
- /// 2. 目标不存在时抛出业务异常。
- /// 3. 映射并返回详情结果。
- ///
[HttpGet("/channel/sales-product/allocation/get")]
public Task GetAllocationAsync([FromQuery] int salesProductId)
{
@@ -347,12 +269,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品分配配置保存参数。
/// 无返回体,仅完成保存销售产品分配配置。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/sales-product/allocation/save")]
public async Task SaveAllocationAsync(SalesProductAllocationSaveInput input)
{
@@ -382,12 +298,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品发布列表查询条件。
/// 销售产品发布价格分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpGet("/channel/sales-product/publish/price/list")]
public Task> GetPricePublishListAsync([FromQuery] SalesProductPublishListInput input)
{
@@ -399,12 +309,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品发布列表查询条件。
/// 销售产品发布规则分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpGet("/channel/sales-product/publish/rules/list")]
public Task> GetRulesPublishListAsync([FromQuery] SalesProductPublishListInput input)
{
@@ -428,12 +332,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品发布参数。
/// 无返回体,仅完成销售产品发布处理。
- ///
- /// 核心业务逻辑:
- /// 1. 校验目标对象和发布前提条件。
- /// 2. 生成、切换或回退发布版本数据。
- /// 3. 保存发布结果并返回处理信息。
- ///
[HttpPost("/channel/sales-product/publish")]
public async Task PublishAsync(SalesProductPublishInput input)
{
@@ -445,12 +343,6 @@ public partial class SalesProductService : ApplicationService
///
/// 入参:销售产品发布回滚参数。
/// 无返回体,仅完成回滚销售产品发布版本。
- ///
- /// 核心业务逻辑:
- /// 1. 校验目标对象和发布前提条件。
- /// 2. 生成、切换或回退发布版本数据。
- /// 3. 保存发布结果并返回处理信息。
- ///
[HttpPost("/channel/sales-product/publish/rollback")]
public Task RollbackAsync(SalesProductRollbackInput input)
{
diff --git a/src/Oms.Application/Services/Channels/ServiceChannelService.cs b/src/Oms.Application/Services/Channels/ServiceChannelService.cs
index 6fe41cd..9609f8b 100644
--- a/src/Oms.Application/Services/Channels/ServiceChannelService.cs
+++ b/src/Oms.Application/Services/Channels/ServiceChannelService.cs
@@ -28,12 +28,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道列表查询条件。
/// 服务渠道分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpGet("/channel/service-channel/list")]
public async Task> GetListAsync([FromQuery] ServiceChannelListInput input)
{
@@ -59,12 +53,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:目标主键。
/// 服务渠道详情。
- ///
- /// 核心业务逻辑:
- /// 1. 根据标识查询目标对象。
- /// 2. 目标不存在时抛出业务异常。
- /// 3. 映射并返回详情结果。
- ///
[HttpGet("/channel/service-channel/detail")]
public async Task GetDetailAsync([FromQuery] int id)
{
@@ -79,12 +67,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道保存参数。
/// 无返回体,仅完成新增服务渠道。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/service-channel/create")]
public async Task CreateAsync(ServiceChannelSaveInput input)
{
@@ -99,12 +81,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道保存参数。
/// 无返回体,仅完成更新服务渠道。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/service-channel/update")]
public async Task UpdateAsync(ServiceChannelSaveInput input)
{
@@ -119,12 +95,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除服务渠道。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/service-channel/delete")]
public async Task DeleteAsync(IdInput input)
{
@@ -137,12 +107,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:分组名称、应用 ID、API 服务商 ID 等筛选条件。
/// 服务渠道分组列表,供下拉与左侧树筛选使用。
- ///
- /// 核心业务逻辑:
- /// 1. 按 keyword、appId、apiServiceProviderId 构造筛选条件。
- /// 2. 查询未删除分组并按 id 倒序返回。
- /// 3. 无数据时返回空数组。
- ///
[HttpGet("/channel/service-channel/group/list")]
public async Task> GetGroupListAsync([FromQuery] ServiceChannelGroupListInput input)
{
@@ -158,12 +122,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道分组保存参数。
/// 无返回体,仅完成新增服务渠道分组。
- ///
- /// 核心业务逻辑:
- /// 1. 校验分组名称、应用ID、API服务商ID等基础字段。
- /// 2. 检查分组名称唯一性,避免重复配置。
- /// 3. 保存分组主数据供服务渠道绑定。
- ///
[HttpPost("/channel/service-channel/group/create")]
public async Task CreateGroupAsync(ServiceChannelGroupSaveInput input)
{
@@ -181,12 +139,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道分组保存参数。
/// 无返回体,仅完成更新服务渠道分组。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标分组是否存在。
- /// 2. 检查名称唯一性并更新分组主数据。
- /// 3. 保留既有渠道关联,只更新分组属性。
- ///
[HttpPost("/channel/service-channel/group/update")]
public async Task UpdateGroupAsync(ServiceChannelGroupSaveInput input)
{
@@ -203,12 +155,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:目标分组主键。
/// 无返回体,仅完成删除服务渠道分组。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标分组是否存在。
- /// 2. 检查分组下是否仍有关联渠道。
- /// 3. 无关联时执行删除,保留框架软删语义。
- ///
[HttpPost("/channel/service-channel/group/delete")]
public async Task DeleteGroupAsync(IdInput input)
{
@@ -226,12 +172,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道保存参数。
/// 无返回体,仅完成保存服务渠道配置。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[ApiExplorerSettings(IgnoreApi = true)]
[HttpPost("/channel/service-channel/config/save")]
public async Task SaveConfigAsync(ServiceChannelSaveInput input)
@@ -247,12 +187,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:serviceChannelId。
/// 服务渠道价格项列表结果。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpGet("/channel/service-channel/price/list")]
public async Task> GetPriceListAsync([FromQuery] int serviceChannelId)
{
@@ -268,12 +202,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道价格项保存参数。
/// 无返回体,仅完成新增服务渠道价格项。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/service-channel/price/create")]
public async Task CreatePriceAsync(ServiceChannelPriceSaveInput input)
{
@@ -299,12 +227,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道价格项保存参数。
/// 无返回体,仅完成更新服务渠道价格项。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/service-channel/price/update")]
public async Task UpdatePriceAsync(ServiceChannelPriceSaveInput input)
{
@@ -332,12 +254,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除服务渠道价格项。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/service-channel/price/delete")]
public async Task DeletePriceAsync(IdInput input)
{
@@ -350,12 +266,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:目标主键和状态值。
/// 无返回体,仅完成切换服务渠道价格项状态。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 更新启停状态。
- /// 3. 保存状态变更结果。
- ///
[HttpPost("/channel/service-channel/price/toggleStatus")]
public async Task TogglePriceStatusAsync(ToggleStatusInput input)
{
@@ -368,12 +278,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道价格项批量保存参数。
/// 无返回体,仅完成批量保存服务渠道价格项。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/service-channel/price/save")]
public async Task SavePriceAsync(ServiceChannelPriceSaveAllInput input)
{
@@ -415,12 +319,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道发布列表查询条件。
/// 服务渠道发布价格分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpGet("/channel/service-channel/publish/price/list")]
public Task> GetPricePublishListAsync([FromQuery] ServiceChannelPublishListInput input)
{
@@ -444,12 +342,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道发布列表查询条件。
/// 服务渠道发布规则分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpGet("/channel/service-channel/publish/rules/list")]
public Task> GetRulesPublishListAsync([FromQuery] ServiceChannelPublishListInput input)
{
@@ -461,12 +353,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道发布参数。
/// 无返回体,仅完成服务渠道发布处理。
- ///
- /// 核心业务逻辑:
- /// 1. 校验目标对象和发布前提条件。
- /// 2. 生成、切换或回退发布版本数据。
- /// 3. 保存发布结果并返回处理信息。
- ///
[HttpPost("/channel/service-channel/publish")]
public async Task PublishAsync(ServiceChannelPublishInput input)
{
@@ -478,12 +364,6 @@ public partial class ServiceChannelService : ApplicationService
///
/// 入参:服务渠道发布回滚参数。
/// 无返回体,仅完成回滚服务渠道发布版本。
- ///
- /// 核心业务逻辑:
- /// 1. 校验目标对象和发布前提条件。
- /// 2. 生成、切换或回退发布版本数据。
- /// 3. 保存发布结果并返回处理信息。
- ///
[HttpPost("/channel/service-channel/publish/rollback")]
public Task RollbackAsync(ServiceChannelRollbackInput input)
{
diff --git a/src/Oms.Application/Services/Channels/WeightRoundingService.cs b/src/Oms.Application/Services/Channels/WeightRoundingService.cs
index 6adc81e..c919d5b 100644
--- a/src/Oms.Application/Services/Channels/WeightRoundingService.cs
+++ b/src/Oms.Application/Services/Channels/WeightRoundingService.cs
@@ -22,12 +22,6 @@ public class WeightRoundingService : ApplicationService
///
/// 入参:计重进位规则列表查询条件。
/// 计重进位规则分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpPost("/channel/weight-rounding/list")]
public async Task> GetListAsync(WeightRoundingListInput input)
{
@@ -52,12 +46,6 @@ public class WeightRoundingService : ApplicationService
///
/// 入参:计重进位规则保存参数。
/// 无返回体,仅完成新增计重进位规则。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/weight-rounding/create")]
public async Task CreateAsync(WeightRoundingSaveInput input)
{
@@ -74,12 +62,6 @@ public class WeightRoundingService : ApplicationService
///
/// 入参:计重进位规则保存参数。
/// 无返回体,仅完成更新计重进位规则。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/weight-rounding/update")]
public async Task UpdateAsync(WeightRoundingSaveInput input)
{
@@ -95,12 +77,6 @@ public class WeightRoundingService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除计重进位规则。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/weight-rounding/delete")]
public async Task DeleteAsync(IdInput input)
{
@@ -113,12 +89,6 @@ public class WeightRoundingService : ApplicationService
///
/// 入参:计重进位规则明细列表查询条件。
/// 计重进位规则明细分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpPost("/channel/weight-rounding/info/list")]
public async Task> GetInfoListAsync(WeightRoundingInfoListInput input)
{
@@ -139,12 +109,6 @@ public class WeightRoundingService : ApplicationService
///
/// 入参:计重进位规则明细保存参数。
/// 无返回体,仅完成新增计重进位规则明细。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/weight-rounding/info/add")]
public async Task AddInfoAsync(WeightRoundingInfoSaveInput input)
{
@@ -165,12 +129,6 @@ public class WeightRoundingService : ApplicationService
///
/// 入参:计重进位规则明细保存参数。
/// 无返回体,仅完成更新计重进位规则明细。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/weight-rounding/info/update")]
public async Task UpdateInfoAsync(WeightRoundingInfoSaveInput input)
{
@@ -190,12 +148,6 @@ public class WeightRoundingService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除计重进位规则明细。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/weight-rounding/info/delete")]
public async Task DeleteInfoAsync(IdInput input)
{
diff --git a/src/Oms.Application/Services/Channels/WeightRuleService.cs b/src/Oms.Application/Services/Channels/WeightRuleService.cs
index cbe93f5..e60acbb 100644
--- a/src/Oms.Application/Services/Channels/WeightRuleService.cs
+++ b/src/Oms.Application/Services/Channels/WeightRuleService.cs
@@ -22,12 +22,6 @@ public class WeightRuleService : ApplicationService
///
/// 入参:计重规则列表查询条件。
/// 计重规则分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpPost("/channel/weight-rule/list")]
public async Task> GetListAsync(WeightRuleListInput input)
{
@@ -52,12 +46,6 @@ public class WeightRuleService : ApplicationService
///
/// 入参:计重规则保存参数。
/// 无返回体,仅完成新增计重规则。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/weight-rule/create")]
public async Task CreateAsync(WeightRuleSaveInput input)
{
@@ -74,12 +62,6 @@ public class WeightRuleService : ApplicationService
///
/// 入参:计重规则保存参数。
/// 无返回体,仅完成更新计重规则。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/weight-rule/update")]
public async Task UpdateAsync(WeightRuleSaveInput input)
{
@@ -95,12 +77,6 @@ public class WeightRuleService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除计重规则。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/weight-rule/delete")]
public async Task DeleteAsync(IdInput input)
{
@@ -113,12 +89,6 @@ public class WeightRuleService : ApplicationService
///
/// 入参:计重规则明细列表查询条件。
/// 计重规则明细分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpPost("/channel/weight-rule/info/list")]
public async Task> GetInfoListAsync(WeightRuleInfoListInput input)
{
@@ -139,12 +109,6 @@ public class WeightRuleService : ApplicationService
///
/// 入参:计重规则明细保存参数。
/// 无返回体,仅完成新增计重规则明细。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/channel/weight-rule/info/add")]
public async Task AddInfoAsync(WeightRuleInfoSaveInput input)
{
@@ -164,12 +128,6 @@ public class WeightRuleService : ApplicationService
///
/// 入参:计重规则明细保存参数。
/// 无返回体,仅完成更新计重规则明细。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/channel/weight-rule/info/update")]
public async Task UpdateInfoAsync(WeightRuleInfoSaveInput input)
{
@@ -188,12 +146,6 @@ public class WeightRuleService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除计重规则明细。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/channel/weight-rule/info/delete")]
public async Task DeleteInfoAsync(IdInput input)
{
diff --git a/src/Oms.Application/Services/Customers/CustomerService.cs b/src/Oms.Application/Services/Customers/CustomerService.cs
index 960df8d..4ca749a 100644
--- a/src/Oms.Application/Services/Customers/CustomerService.cs
+++ b/src/Oms.Application/Services/Customers/CustomerService.cs
@@ -40,12 +40,6 @@ public class CustomerService : ApplicationService
///
/// 入参:客户分页查询条件。
/// 客户分页结果,包含列表数据和总记录数。
- ///
- /// 核心业务逻辑:
- /// 1. 根据查询条件构造筛选规则。
- /// 2. 查询目标数据并补齐关联展示字段。
- /// 3. 按接口约定返回列表结果。
- ///
[HttpGet("/customer/list")]
public async Task> GetPaginatedListAsync([FromQuery] CustomerPaginatedInput input)
{
@@ -83,12 +77,6 @@ public class CustomerService : ApplicationService
///
/// 入参:目标主键。
/// 客户详情。
- ///
- /// 核心业务逻辑:
- /// 1. 根据标识查询目标对象。
- /// 2. 目标不存在时抛出业务异常。
- /// 3. 映射并返回详情结果。
- ///
[HttpGet("/customer/get")]
public async Task GetByIdAsync([FromQuery] int id)
{
@@ -107,12 +95,6 @@ public class CustomerService : ApplicationService
///
/// 入参:客户创建参数。
/// 无返回体,仅完成新增客户。
- ///
- /// 核心业务逻辑:
- /// 1. 校验入参与关联对象、唯一性等前置条件。
- /// 2. 组装目标实体及相关明细数据。
- /// 3. 写入审计字段并持久化结果。
- ///
[HttpPost("/customer/create")]
public async Task CreateAsync(CreateCustomerInput input)
{
@@ -181,12 +163,6 @@ public class CustomerService : ApplicationService
///
/// 入参:客户更新参数。
/// 无返回体,仅完成更新客户。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 按入参更新主体数据和关联配置。
- /// 3. 写入更新审计字段并保存结果。
- ///
[HttpPost("/customer/update")]
public async Task UpdateAsync(UpdateCustomerInput input)
{
@@ -221,12 +197,6 @@ public class CustomerService : ApplicationService
///
/// 入参:目标主键。
/// 无返回体,仅完成删除客户。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象。
- /// 2. 执行软删除或删除关联明细。
- /// 3. 持久化删除结果。
- ///
[HttpPost("/customer/delete")]
public async Task DeleteAsync(IdInput input)
{
@@ -239,12 +209,6 @@ public class CustomerService : ApplicationService
///
/// 入参:客户密码重置参数。
/// 无返回体,仅完成重置客户密码。
- ///
- /// 核心业务逻辑:
- /// 1. 查询并校验目标对象及当前状态。
- /// 2. 执行业务状态流转或敏感字段更新。
- /// 3. 写入审计字段并保存结果。
- ///
[HttpPost("/customer/reset-password")]
public async Task ResetPasswordAsync(ResetCustomerPasswordInput input)
{
diff --git a/src/Oms.Application/Services/DataPerm/DataPermService.Template.cs b/src/Oms.Application/Services/DataPerm/DataPermService.Template.cs
index 088af50..286e931 100644
--- a/src/Oms.Application/Services/DataPerm/DataPermService.Template.cs
+++ b/src/Oms.Application/Services/DataPerm/DataPermService.Template.cs
@@ -10,6 +10,9 @@ namespace Oms.Application.Services.DataPerm;
public partial class DataPermService
{
+ ///
+ /// 分页查询数据权限模板
+ ///
[HttpGet("/rbac/data-perm/template/list")]
public Task> GetTemplateListAsync(
[FromQuery] string? keyword,
@@ -22,12 +25,18 @@ public partial class DataPermService
OmsDocHelper.NormalizePageSize(pageSize),
cancellationToken);
+ ///
+ /// 查询数据权限模板详情
+ ///
[HttpGet("/rbac/data-perm/template/get")]
public Task GetTemplateDetailAsync(
[FromQuery] string id,
CancellationToken cancellationToken = default) =>
Store.GetTemplateDetailAsync(ParseGuid(id, "id"), cancellationToken);
+ ///
+ /// 创建数据权限模板
+ ///
[HttpPost("/rbac/data-perm/template/create")]
public Task CreateTemplateAsync(
[FromBody] DataPermTemplateSaveInput input,
@@ -37,6 +46,9 @@ public partial class DataPermService
return Store.CreateTemplateAsync(input, GetCurrentMapId(), cancellationToken);
}
+ ///
+ /// 更新数据权限模板
+ ///
[HttpPut("/rbac/data-perm/template/update")]
public Task UpdateTemplateAsync(
[FromQuery] string id,
@@ -47,10 +59,16 @@ public partial class DataPermService
return Store.UpdateTemplateAsync(ParseGuid(id, "id"), input, GetCurrentMapId(), cancellationToken);
}
+ ///
+ /// 删除数据权限模板
+ ///
[HttpDelete("/rbac/data-perm/template/delete")]
public Task DeleteTemplateAsync([FromQuery] string id, CancellationToken cancellationToken = default) =>
Store.DeleteTemplateAsync(ParseGuid(id, "id"), cancellationToken);
+ ///
+ /// 应用数据权限模板
+ ///
[HttpPost("/rbac/data-perm/template/apply")]
public async Task ApplyTemplateAsync(
[FromBody] TemplateApplyInput input,
diff --git a/src/Oms.Application/Services/DataPerm/DataPermService.cs b/src/Oms.Application/Services/DataPerm/DataPermService.cs
index 448a964..cb9c7f2 100644
--- a/src/Oms.Application/Services/DataPerm/DataPermService.cs
+++ b/src/Oms.Application/Services/DataPerm/DataPermService.cs
@@ -14,6 +14,9 @@ using Oms.Domain.SystemAggregate.Repositories;
namespace Oms.Application.Services.DataPerm;
+///
+/// 数据权限服务
+///
[Authorize]
[ApiExplorerSettings(GroupName = "RBAC-DataPerm")]
public partial class DataPermService : ApplicationService
@@ -26,6 +29,9 @@ public partial class DataPermService : ApplicationService
private IKpiAreaRepository KpiAreaRepository => LazyServiceProvider.GetRequiredService();
private IWarehouseAddressRepository WarehouseRepository => LazyServiceProvider.GetRequiredService();
+ ///
+ /// 获取数据权限元数据
+ ///
[HttpGet("/rbac/data-perm/meta")]
public async Task GetMetaAsync(CancellationToken cancellationToken = default)
{
@@ -45,6 +51,9 @@ public partial class DataPermService : ApplicationService
};
}
+ ///
+ /// 分页查询业务选项
+ ///
[HttpGet("/rbac/data-perm/biz-options")]
public async Task> GetBizOptionsAsync(
[FromQuery] string bizType,
@@ -72,6 +81,9 @@ public partial class DataPermService : ApplicationService
};
}
+ ///
+ /// 查询用户数据权限
+ ///
[HttpGet("/rbac/data-perm/get-by-user")]
public async Task GetByUserAsync([FromQuery] string userId, CancellationToken cancellationToken = default)
{
@@ -84,6 +96,9 @@ public partial class DataPermService : ApplicationService
return await Store.GetUserDataPermAsync(id, cancellationToken);
}
+ ///
+ /// 查询用户生效数据范围
+ ///
[HttpGet("/rbac/data-perm/get-effective-by-user")]
public async Task GetEffectiveByUserAsync(
[FromQuery] string userId,
@@ -122,6 +137,9 @@ public partial class DataPermService : ApplicationService
};
}
+ ///
+ /// 保存用户数据权限
+ ///
[HttpPut("/rbac/data-perm/save-user")]
public async Task SaveUserAsync(
[FromQuery] string userId,
@@ -153,12 +171,18 @@ public partial class DataPermService : ApplicationService
return await Store.GetUserDataPermAsync(targetUserId, cancellationToken);
}
+ ///
+ /// 查询角色数据权限
+ ///
[HttpGet("/rbac/data-perm/get-by-role")]
public Task GetByRoleAsync([FromQuery] string roleId, CancellationToken cancellationToken = default)
{
return Store.GetRoleDataPermAsync(ParseGuid(roleId, "roleId"), cancellationToken);
}
+ ///
+ /// 保存角色数据权限
+ ///
[HttpPut("/rbac/data-perm/save-role")]
public async Task SaveRoleAsync(
[FromQuery] string roleId,
@@ -180,6 +204,9 @@ public partial class DataPermService : ApplicationService
return await Store.GetRoleDataPermAsync(targetRoleId, cancellationToken);
}
+ ///
+ /// 查询字段脱敏配置
+ ///
[HttpGet("/rbac/data-perm/field-mask/list")]
public async Task