This commit is contained in:
张良(004796)
2024-04-25 14:01:07 +08:00
parent d4f3d79b7c
commit 1db3fdf40c
2 changed files with 1 additions and 2 deletions

View File

@@ -31,7 +31,6 @@ public class HomeAppController {
private BannerService bannerService; private BannerService bannerService;
@PostMapping("/user/page") @PostMapping("/user/page")
@Operation(summary = "首页查询用户-分页") @Operation(summary = "首页查询用户-分页")
@Log(title = "首页查询用户-分页", businessType = BusinessType.OTHER, isSaveDb = false) @Log(title = "首页查询用户-分页", businessType = BusinessType.OTHER, isSaveDb = false)

View File

@@ -24,7 +24,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="homePageApp" resultType="com.ruoyi.xq.dto.app.user.vo.HomeUserListVo"> <select id="homePageApp" resultType="com.ruoyi.xq.dto.app.user.vo.HomeUserListVo">
select t1.id as user_id, t1.avatar, t1.gender, t1.nickname, t1.birthday, t1.residence_city_name,t1.open_vip,t1.vip_type, select t1.id as user_id, t1.avatar, t1.gender, t1.nickname, t1.birthday, t1.residence_city_name,t1.open_vip,t1.vip_type,
t1.education, t1.profession, if(t2.card_num_auth = 1, 1, 0) as cardNumAuthBool,t4.show_avatar t1.education, t1.profession, if(t2.card_num_auth = 1, 1, 0) as card_num_auth_bool,t4.show_avatar
from xq_user t1 from xq_user t1
join xq_user_auth t2 on t1.id = t2.user_id join xq_user_auth t2 on t1.id = t2.user_id
join xq_user_info t3 on t1.id = t3.user_id join xq_user_info t3 on t1.id = t3.user_id