tangzy
2021-07-14 5fb38e71cc5ab8eee8e7f489c4476d59104f07df
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -37,11 +37,11 @@
        <result column="registered" property="registered"/>
        <result column="rtime" property="rtime"/>
        <result column="hold" property="hold"/>
        <result column="jurisdiction" property="jurisdiction"/>
    </resultMap>
    <select id="selectUserPage" resultMap="userResultMap">
        select * from blade_user where is_deleted = 0
            and tenant_id!=000000
        <if test="user.tenantId!=null and user.tenantId != ''">
            and tenant_id = #{user.tenantId}
        </if>
@@ -65,6 +65,8 @@
        </if>
        <if test="user.hold!=null and user.hold != ''">
            and hold = #{user.hold}
        </if> <if test="user.jurisdiction!=null and user.jurisdiction != ''">
            and jurisdiction = #{user.jurisdiction}
        </if>
        <if test="deptIdList!=null and deptIdList.size>0">
            and id in (