LifePayment/LifePayment.Application.Contracts/LifePay/ILifePayService.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
LifePayment/LifePayment.Application/LifePay/LifePayService.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
LifePayment/LifePayment.Application.Contracts/LifePay/ILifePayService.cs
@@ -171,6 +171,8 @@ /// <returns></returns> Task<PageOutput<CreateEditPayChannelsInput>> GetLifePayChannlesPage(PageInput input); Task<List<CreateEditPayChannelsInput>> GetLifePayChannlesAllList(); Task<CreateEditPayChannelsInput> GetLifePayChannlesDto(Guid id); LifePayment/LifePayment.Application/LifePay/LifePayService.cs
@@ -324,19 +324,12 @@ public async Task<PageOutput<CreateEditPayChannelsInput>> GetLifePayChannlesPage(PageInput input) { return await GetLifePayChannlesListFilter().GetPageResult(input.PageModel); } return await _lifePayChannlesRep.Select(x => new CreateEditPayChannelsInput { Id = x.Id, ChannlesRate = x.ChannlesRate, ChannlesName = x.ChannlesName, ChannlesNum = x.ChannlesNum, Status = x.Status, SwitchType = x.SwitchType, ChannlesType = x.ChannlesType, }) .GetPageResult(input.PageModel); public async Task<List<CreateEditPayChannelsInput>> GetLifePayChannlesAllList() { return await GetLifePayChannlesListFilter().Where(x => x.Status == LifePayChannelsStatsEnum.启用).ToListAsync(); } public async Task<CreateEditPayChannelsInput> GetLifePayChannlesDto(Guid id) @@ -1503,6 +1496,20 @@ return result; } private IQueryable<CreateEditPayChannelsInput> GetLifePayChannlesListFilter() { return _lifePayChannlesRep.Select(x => new CreateEditPayChannelsInput { Id = x.Id, ChannlesRate = x.ChannlesRate, ChannlesName = x.ChannlesName, ChannlesNum = x.ChannlesNum, Status = x.Status, SwitchType = x.SwitchType, ChannlesType = x.ChannlesType, }); } #endregion } #endregion } LifePayment/LifePayment.Host/LifePaymentService.HttpApi.xml
@@ -88,7 +88,7 @@ </member> <member name="M:LifePayment.HttpApi.LifePayController.AddLogger(LifePayment.Domain.Shared.LogErrorInput)"> <summary> 获取燃气支持商户 添加日志 </summary> <returns></returns> </member> @@ -140,6 +140,11 @@ <param name="input"></param> <returns></returns> </member> <member name="M:LifePayment.HttpApi.LifePayController.GetLifePayChannlesAllList"> <summary> 获取全部缴费渠道 </summary> </member> <member name="M:LifePayment.HttpApi.LifePayController.GetLifePayChannlesDto(System.Guid)"> <summary> 获取渠道详情 LifePayment/LifePayment.HttpApi/LifePay/LifePayController.cs
@@ -208,6 +208,15 @@ } /// <summary> /// 获取全部缴费渠道 /// </summary> [HttpGet] public async Task<List<CreateEditPayChannelsInput>> GetLifePayChannlesAllList() { return await _lifePayService.GetLifePayChannlesAllList(); } /// <summary> /// 获取渠道详情 /// </summary> /// <param name="id"></param>