This commit is contained in:
冯辉
2026-07-07 22:16:31 +08:00
parent 110c5e30df
commit fdfe4276a3

View File

@@ -80,9 +80,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where> <where>
f.del_flag = '0' f.del_flag = '0'
<if test="reviewStatus != null and reviewStatus != ''"> and f.review_status = #{reviewStatus}</if> <if test="reviewStatus != null and reviewStatus != ''"> and f.review_status = #{reviewStatus}</if>
<if test="userName != null and userName != ''"> and u.name like concat('%', #{userName}, '%')</if> <if test="userName != null and userName != ''"> and u.name like '%' || #{userName} || '%'</if>
<if test="userType != null and userType != ''"> and u.is_company_user = #{userType}</if> <if test="userType != null and userType != ''"> and u.is_company_user = #{userType}</if>
<if test="userPhone != null and userPhone != ''"> and u.phone like concat('%', #{userPhone}, '%')</if> <if test="userPhone != null and userPhone != ''"> and u.phone like '%' || #{userPhone} || '%'</if>
</where> </where>
order by f.create_time desc order by f.create_time desc
</select> </select>