xieb
2023-12-12 b0032ea8486dfc0fcf1c830dfad2a154e139b851
用户筛选
1 files modified
9 ■■■■■ changed files
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml 9 ●●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -35,6 +35,12 @@
        <if test="user.tenantId!=null and user.tenantId != ''">
            and tenant_id = #{user.tenantId}
        </if>
        <if test="user.code!=null and user.code != ''">
            and code like concat('%', #{user.code},'%')
        </if>
        <if test="user.name!=null and user.name != ''">
            and name like concat('%', #{user.name},'%')
        </if>
        <if test="user.account!=null and user.account != ''">
            and account = #{user.account}
        </if>
@@ -44,6 +50,9 @@
        <if test="user.userType!=null and user.userType != ''">
            and user_type = #{user.userType}
        </if>
        <if test="user.postId!=null and user.postId != ''">
            and post_id = #{user.postId}
        </if>
        <if test="deptIdList!=null and deptIdList.size>0">
            and id in (
                SELECT