智慧保安后台管理-外网-验收版本
Administrator
2021-12-02 6b052be0122ab8df9a48752ab2adfa1b35a48ea9
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -119,7 +119,10 @@
        <if test="user.cardid!=null and user.cardid != ''">
            and bu.cardid like concat('%', #{user.cardid},'%')
        </if>
        <if test="user.examinationType!=null and user.examinationType != ''">
        <if test="user.examinationType==0">
            and (bu.examination_type = #{user.examinationType} or bu.examination_type is null or bu.examination_type="")
        </if>
        <if test="user.examinationType==1">
            and bu.examination_type = #{user.examinationType}
        </if>
        ORDER BY bu.id
@@ -195,6 +198,8 @@
        SELECT id, name, real_name RealName
        FROM blade_user
        where cardid = #{param1}
        and is_deleted = 0
        and status = 1
    </select>