From 567911f4b389e0c6e548855ec10ff827a3095f33 Mon Sep 17 00:00:00 2001
From: lingling <kety1122@163.com>
Date: 星期三, 19 三月 2025 16:20:23 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentApi

---
 LifePayment/LifePayment.Application/User/UserRoleService.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/LifePayment/LifePayment.Application/User/UserRoleService.cs b/LifePayment/LifePayment.Application/User/UserRoleService.cs
index 97fbd78..3a0aad5 100644
--- a/LifePayment/LifePayment.Application/User/UserRoleService.cs
+++ b/LifePayment/LifePayment.Application/User/UserRoleService.cs
@@ -53,10 +53,10 @@
                             Name = r.Name,
                         },
                 Channles = from uc in u.UserChannle
-                           from c in _channleRepository.Where(s => s.Id == uc.ChannleId)
+                           from c in _channleRepository.Where(s => s.ChannlesNum == uc.ChannleId)
                         select new UserChannleDto
                         {
-                            Id = c.Id,
+                            Id = c.ChannlesNum,
                             Name = c.ChannlesName,
                         },
                 Remark = u.Remark,

--
Gitblit v1.9.1