java110
2021-01-23 4430ceb824ac85a3b50108dadb2eac1e31d2c7d8
java110-db/src/main/resources/mapper/user/UserServiceDaoImplMapper.xml
@@ -551,7 +551,7 @@
            and ua.status_cd = '0'
        </if>
        <if test="key != null and key != ''">
            and u.user_id = ua.user_id
            and u.user_id = ub.user_id
            and ub.spec_cd = '100202061602'
            and ub.value = #{key}
            and ub.status_cd = '0'
@@ -571,6 +571,31 @@
                #{item}
            </foreach>
        </if>
        <if test="name !=null and name != ''">
            and u.name= #{name}
        </if>
        <if test="userName !=null and userName != ''">
            and u.name= #{userName}
        </if>
        <if test="email !=null and email != ''">
            and u.email= #{email}
        </if>
        <if test="password !=null and password != ''">
            and u.password= #{password}
        </if>
        <if test="locationCd !=null and locationCd != ''">
            and u.location_cd= #{locationCd}
        </if>
        <if test="age !=null and age != ''">
            and u.age= #{age}
        </if>
        <if test="sex !=null and sex != ''">
            and u.sex= #{sex}
        </if>
        <if test="tel !=null and tel != ''">
            and u.tel= #{tel}
        </if>
        order by u.create_time desc
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}