智慧保安后台管理项目备份
tangzy
2021-11-22 cff62ae0836df0799651abd462feabeb4644b742
1.统计
2 files modified
4 ■■■■ changed files
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -1075,7 +1075,7 @@
        u.dept_id
        FROM
        sys_performance p
        INNER JOIN blade_user u ON p.securityId = u.id WHERE 1=1
        INNER JOIN blade_user u ON p.cardid = u.cardid WHERE 1=1
        <if test="type!=null and type=='1'.toString()">
            and to_days(p.time) = to_days(now())
        </if>
src/main/java/org/springblade/modules/system/mapper/UserMapper.xml
@@ -156,9 +156,9 @@
        sys_information si
        on
        si.departmentid = bu.dept_id
        LEFT JOIN sys_performance p ON p.departmentid = bu.dept_id
        LEFT JOIN blade_dept d ON bu.dept_id = d.id
        LEFT JOIN sys_jurisdiction j ON j.id = si.jurisdiction
        LEFT JOIN sys_performance p ON p.cardid = bu.cardid
        where bu.is_deleted = 0
        and bu.status = 1
        <if test="user.realName!=null and user.realName != ''">