This commit is contained in:
张良(004796)
2024-02-04 15:51:11 +08:00
parent 405660082d
commit d946b45ab1
13 changed files with 121 additions and 30 deletions

View File

@@ -30,6 +30,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where t1.follow_user = #{query.userId}
order by t1.create_time desc
</select>
<select id="pageFanUserIdByGender" resultType="com.ruoyi.cai.dto.commom.IdDTO">
select t2.id
from cai_user_follow t1
join cai_user t2 on t1.user_id = t2.id
where t1.follow_user = #{userId} and t2.gender = #{gender}
</select>
</mapper>