51,410
社区成员
发帖
与我相关
我的任务
分享<where>
<if test="userPhone != null and userPhone != ''">
AND wu.user_phone LIKE CONCAT(#{userPhone}, '%')
</if>
<if test="userName != null and userName != ''">
AND wu.user_account LIKE CONCAT(#{userName}, '%')
</if>
<if test="provinceId != null and provinceId != ''">
AND uoi.province_id = ${provinceId}
</if>
<if test="cityId != null and cityId != ''">
AND uoi.city_id = ${cityId}
</if>
<if test="companyInfo != null and companyInfo != ''">
AND uoi.company_info = '${companyInfo}'
</if>
</where>
用CONCAT函数