jinlin
2024-01-15 1a7af6fff5185bb257c16b0445140c93263a3331
modules/mainPart/src/main/resources/mapper/configAuditReport/ConfigAuditReportDao.xml
@@ -4,10 +4,14 @@
<mapper namespace="com.zt.life.modules.configAuditReport.dao.ConfigAuditReportDao">
    <select id="getList" resultType="com.zt.life.modules.configAuditReport.model.ConfigAuditReport">
        select a.*
        select a.*,p.software_identity,p.software_name
        from config_audit_report a
        JOIN project p ON p.id = a.project_id
        <where>
            a.is_delete = 0
            a.is_delete = 0 and p.is_delete = 0
            <if test="secretClass!=null">
                and p.secret_class &lt;= #{secretClass}
            </if>
            <if test="whereSql!=null">
                and ${whereSql}
            </if>