From 45f4118f98840ff098e94a5072a9f937d3810a1c Mon Sep 17 00:00:00 2001
From: 18582019636 <1657978663@qq.com>
Date: 星期五, 21 六月 2024 12:00:03 +0800
Subject: [PATCH] feat: 代码初始化

---
 ruoyi-service/ruoyi-user/src/main/resources/mapper/user/UserCollectMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ruoyi-service/ruoyi-user/src/main/resources/mapper/user/UserCollectMapper.xml b/ruoyi-service/ruoyi-user/src/main/resources/mapper/user/UserCollectMapper.xml
index de09681..b31bab5 100644
--- a/ruoyi-service/ruoyi-user/src/main/resources/mapper/user/UserCollectMapper.xml
+++ b/ruoyi-service/ruoyi-user/src/main/resources/mapper/user/UserCollectMapper.xml
@@ -15,7 +15,10 @@
     </resultMap>
 
     <select id="collectList" resultType="com.ruoyi.user.vo.UserCollectVO">
-        select s.serve_name, s.serve_describe, s.cover
+        select s.serve_name     as serveName,
+               s.serve_describe as serveDescribe,
+               s.cover,
+               s.id             as serveId
         from t_user_collect c
                  left join sys_recovery_serve s on c.serve_id = s.id
         where c.user_id = #{userid}

--
Gitblit v1.7.1