From ac1cf9f57ed1ef031ddd57fa8c6a9fee3f18e158 Mon Sep 17 00:00:00 2001 From: wente <329538422@qq.com> Date: 星期五, 12 一月 2024 10:23:21 +0800 Subject: [PATCH] 项目表 --- modules/mainPart/src/main/resources/mapper/configAuditReport/ConfigAuditReportDao.xml | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/configAuditReport/ConfigAuditReportDao.xml b/modules/mainPart/src/main/resources/mapper/configAuditReport/ConfigAuditReportDao.xml index da5da9d..70f7b8f 100644 --- a/modules/mainPart/src/main/resources/mapper/configAuditReport/ConfigAuditReportDao.xml +++ b/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 <= #{secretClass} + </if> <if test="whereSql!=null"> and ${whereSql} </if> -- Gitblit v1.9.1