From 969c4f4fe789c190a0bde92f44dbe054eaed7024 Mon Sep 17 00:00:00 2001 From: linhw <5331581+linhw11@user.noreply.gitee.com> Date: Tue, 30 Apr 2024 17:22:00 +0800 Subject: [PATCH] ~ --- .../mapper/app/AppUserDynamicMapper.xml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gan-modules/ruoyi-gan/src/main/resources/mapper/app/AppUserDynamicMapper.xml b/gan-modules/ruoyi-gan/src/main/resources/mapper/app/AppUserDynamicMapper.xml index 22ebf97..760999c 100644 --- a/gan-modules/ruoyi-gan/src/main/resources/mapper/app/AppUserDynamicMapper.xml +++ b/gan-modules/ruoyi-gan/src/main/resources/mapper/app/AppUserDynamicMapper.xml @@ -56,16 +56,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" left join app_user u on u.id = a.user_id left join app_town t on t.id = a.address - and user_id = #{userId} - and username like concat('%',#{username},'%') - and content = #{content} - and video_url = #{videoUrl} - and topic_id like concat('%',#{topicId},'%') - and address = #{address} - and privacy_status = #{privacyStatus} - and updateBy = #{updateBy} - and is_top = #{isTop} - and is_member = #{isMember} + and a.user_id = #{userId} + and u.username like concat('%',#{username},'%') + and a.content = #{content} + and a.video_url = #{videoUrl} + and a.topic_id like concat('%',#{topicId},'%') + and a.address = #{address} + and a.privacy_status = #{privacyStatus} + and a.updateBy = #{updateBy} + and a.is_top = #{isTop} + and u.is_member = #{isMember} order by a.is_top,a.create_time