his-uncles-father
2021-04-01 39b3fc3da32d5c8655baf6741e14517f53a769f8
java110-db/src/main/resources/mapper/user/UserServiceDaoImplMapper.xml
@@ -535,7 +535,7 @@
    <select id="getUsers" parameterType="Map" resultType="Map">
        select u.user_id, u.user_id userId,u.name,u.name
        userName,u.email,u.address,u.password,u.location_cd,u.location_cd locationCd,
        u.age,u.sex,u.tel,u.level_cd,u.b_id
        u.age,u.sex,u.tel,u.level_cd,u.b_id,u.level_cd levelCd
        from u_user u
        <if test="openId != null and openId !=''">
            ,u_user_attr ua
@@ -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'
@@ -596,6 +596,9 @@
        <if test="tel !=null and tel != ''">
            and u.tel= #{tel}
        </if>
        <if test="levelCd !=null and levelCd != ''">
            and u.level_cd= #{levelCd}
        </if>
        order by u.create_time desc
        <if test="page != -1 and page != null ">
            limit #{page}, #{row}