This commit is contained in:
77
2024-05-09 22:40:47 +08:00
parent abbcf1ea6b
commit 3a7f21239e
2 changed files with 6 additions and 0 deletions

View File

@@ -22,6 +22,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="bo.nickname != null and bo.nickname != ''"> <if test="bo.nickname != null and bo.nickname != ''">
and t1.nickname like concat('%',#{bo.nickname},'%') and t1.nickname like concat('%',#{bo.nickname},'%')
</if> </if>
<if test="bo.residenceCityName != null and bo.residenceCityName != ''">
and t1.residence_city_name like concat('%',#{bo.residenceCityName},'%')
</if>
</where> </where>
</select> </select>

View File

@@ -19,6 +19,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="bo.mobile != null and bo.mobile != ''"> <if test="bo.mobile != null and bo.mobile != ''">
and t1.mobile = #{bo.mobile} and t1.mobile = #{bo.mobile}
</if> </if>
<if test="bo.residenceCityName != null and bo.residenceCityName != ''">
and t1.residence_city_name like concat('%',#{bo.residenceCityName},'%')
</if>
</where> </where>
order by t1.id desc order by t1.id desc
</select> </select>