assess-system/src/main/resources/mapper/SysUserMapper.xml
@@ -94,6 +94,9 @@ <if test="state != null"> AND u.state = #{state} </if> <if test="attribute != null"> AND a.attribute = #{attribute} </if> <if test="phone != null and phone != ''"> AND u.phone like concat('%', #{phone}, '%') </if> @@ -135,6 +138,9 @@ <if test="post != null and post != ''"> AND u.post =#{post} </if> <if test="agencyName != null and agencyName != ''"> AND a.name like concat('%', #{agencyName}, '%') </if> </where> order by u.create_time desc