智慧保安后台管理-验收版本
Administrator
2021-12-04 7ebee593491aca54bcfb064f5fc47fad1accc325
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -248,7 +248,7 @@
        <if test="user.realName!=null and user.realName != ''">
            and bu.real_name like concat(concat('%', #{user.realName}),'%')
        </if>
        <if test="user.jurisdiction!=null and user.jurisdiction != ''">
        <if test="user.jurisdiction!=null and user.jurisdiction != '' and user.jurisdiction != '1372091709474910209'">
            and (sj.id = #{user.jurisdiction} or sj.parent_id = #{user.jurisdiction})
        </if>
        <if test="user.dispatch!=null and user.dispatch != ''">
@@ -274,9 +274,6 @@
        </if>
        <if test="user.hold!=null and user.hold != ''">
            and bu.hold = #{user.hold}
        </if>
        <if test="user.jurisdiction!=null and user.jurisdiction != '' and user.jurisdiction != '1372091709474910209'">
            and bu.jurisdiction = #{user.jurisdiction}
        </if>
        <if test="user.securitynumber!=null and user.securitynumber != ''">
            and bu.securitynumber like concat('%', #{user.securitynumber},'%')