智慧保安后台管理项目备份
Administrator
2021-08-25 df577d901e09267d2e2ef597d063e3d6f3454bff
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -155,6 +155,7 @@
        on
        si.departmentid = bu.dept_id
        where is_deleted = 0
        and status = 1
        <if test="user.realName!=null and user.realName != ''">
            and bu.real_name like concat(concat('%', #{user.realName}),'%')
        </if>
@@ -172,9 +173,6 @@
        </if>
        <if test="user.sex!=null and user.sex != ''">
            and bu.sex = #{user.sex}
        </if>
        <if test="user.status!=null and user.status != ''">
            and bu.status = #{user.status}
        </if>
        <if test="user.hold!=null and user.hold != ''">
            and bu.hold = #{user.hold}
@@ -266,10 +264,9 @@
        select id,cardid from blade_user where is_deleted = 0
    </select>
    <!--查询用户数据,未删除的,未审核的-->
    <!--查询用户数据,未审核的-->
    <select id="getNotAuditAllUserList" resultType="org.springblade.modules.system.entity.User">
        select id,cardid from blade_user where is_deleted = 0
         and (examination_type!='0' or examination_type is null)
        select id,cardid from blade_user where examination_type is null
    </select>
</mapper>