|
@@ -30,16 +30,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<select id="selectSysMemberList" parameterType="SysMember" resultMap="SysMemberResult">
|
|
<select id="selectSysMemberList" parameterType="SysMember" resultMap="SysMemberResult">
|
|
<include refid="selectSysMemberVo"/>
|
|
<include refid="selectSysMemberVo"/>
|
|
<where>
|
|
<where>
|
|
- <if test="username != null and username != ''"> and username like concat('%', #{username}, '%')</if>
|
|
|
|
- <if test="password != null and password != ''"> and password = #{password}</if>
|
|
|
|
<if test="realName != null and realName != ''"> and real_name like concat('%', #{realName}, '%')</if>
|
|
<if test="realName != null and realName != ''"> and real_name like concat('%', #{realName}, '%')</if>
|
|
- <if test="mobile != null and mobile != ''"> and mobile = #{mobile}</if>
|
|
|
|
- <if test="loginDate != null "> and login_date = #{loginDate}</if>
|
|
|
|
- <if test="loginIp != null and loginIp != ''"> and login_ip = #{loginIp}</if>
|
|
|
|
- <if test="registerIp != null and registerIp != ''"> and register_ip = #{registerIp}</if>
|
|
|
|
- <if test="integral != null "> and integral = #{integral}</if>
|
|
|
|
- <if test="wxProfile != null and wxProfile != ''"> and wx_profile = #{wxProfile}</if>
|
|
|
|
- <if test="openId != null and openId != ''"> and open_id = #{openId}</if>
|
|
|
|
|
|
+ <if test="mobile != null and mobile != ''"> and mobile like concat('%', #{mobile}, '%')</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|