LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
LifePayment/LifePayment.Application/LifePay/LifePayService.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
LifePayment/LifePayment.Domain/LifePay/LifePayUser.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs
@@ -127,12 +127,12 @@ /// <summary> /// 最后登录渠道 /// </summary> public string CreationChannle { get; set; } public string? CreationChannle { get; set; } /// <summary> /// 最后登录渠道 /// </summary> public string LastLoginChannle { get; set; } public string? LastLoginChannle { get; set; } public DateTime? LastLoginTime { get; set; } LifePayment/LifePayment.Application/LifePay/LifePayService.cs
@@ -171,13 +171,12 @@ /// <returns></returns> public async Task<PageOutput<UserListOutput>> GetUserPage(PageInput input) { var channel = await _lifePayChannlesRep.ToListAsync(); return await _lifePayUserRepository.Select(x => new UserListOutput() { Id = x.Id, //CreationChannle = string.IsNullOrEmpty(x.CreationChannleNum) ? "" : channel.Where(c => c.ChannlesNum == x.CreationChannleNum).FirstOrDefault().ChannlesName, //LastLoginChannle = string.IsNullOrEmpty(x.LastLoginChannleNum) ? "" : channel.Where(c => c.ChannlesNum == x.LastLoginChannleNum).FirstOrDefault().ChannlesName, CreationChannle = string.IsNullOrEmpty(x.CreationChannleNum) ? "" : _lifePayChannlesRep.Where(c => c.ChannlesNum == x.CreationChannleNum).FirstOrDefault().ChannlesName, LastLoginChannle = string.IsNullOrEmpty(x.LastLoginChannleNum) ? "" : _lifePayChannlesRep.Where(c => c.ChannlesNum == x.LastLoginChannleNum).FirstOrDefault().ChannlesName, PhoneNumber = x.PhoneNumber, CreationTime = x.CreationTime, LastLoginTime = x.LastLoginTime LifePayment/LifePayment.Domain/LifePay/LifePayUser.cs
@@ -23,7 +23,7 @@ /// <summary> /// 注册渠道编号 /// </summary> public string CreationChannleNum { get; set; } public string? CreationChannleNum { get; set; } public string UnionId { get; set; } @@ -32,6 +32,6 @@ /// <summary> /// 最后登录渠道编号 /// </summary> public string LastLoginChannleNum { get; set; } public string? LastLoginChannleNum { get; set; } } }