This commit is contained in:
张良(004796)
2024-03-05 18:57:21 +08:00
parent 779de6cbc1
commit 7e1f31ed2f
65 changed files with 1976 additions and 751 deletions

View File

@@ -21,6 +21,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="createTime" column="create_time"/>
<result property="sort" column="sort"/>
</resultMap>
<select id="pageApp" resultType="com.ruoyi.xq.dto.app.dynamic.DynamicListVo">
select t1.id, t1.content, t1.user_id,t1.create_time,
t2.avatar, t2.nickname, t2.birthday, t2.gender, t2.residence_city, t2.education,
t2.profession
from xq_dynamic t1
join xq_user t2 on t1.user_id = t2.id
where t1.audit_status = 2 and t2.status = 0
<where>
<if test="query.gender != null">
and t2.gender = #{query.gender}
</if>
</where>
</select>
</mapper>