智慧保安后台管理-外网项目备份
zhongrj
2024-03-25 05e62b206c43db5fa74adb106d49b09e18d826bb
src/main/java/org/springblade/modules/accreditation/mapper/AccreditationRecordsMapper.xml
@@ -33,6 +33,9 @@
        WHERE  1=1
        and bu.status = 1
        and bu.is_deleted = 0
        <if test="accreditationRecords.userPaperTime != null and accreditationRecords.userPaperTime !=''">
            AND DATE_FORMAT(bu.paper_time,'%Y-%m-%d')  = #{accreditationRecords.userPaperTime}
        </if>
        <if test="accreditationRecords.deptName!=null and  accreditationRecords.deptName!=''">
            and bt.dept_name like concat('%', #{accreditationRecords.deptName},'%')
        </if>