From 9025b9cf7ec8610003d445a31d93e35e7bd73c2e Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期三, 31 一月 2024 17:54:52 +0800 Subject: [PATCH] 修改 --- modules/mainPart/src/main/resources/mapper/configAuditReport/ConfigAuditReportContentDao.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/mainPart/src/main/resources/mapper/configAuditReport/ConfigAuditReportContentDao.xml b/modules/mainPart/src/main/resources/mapper/configAuditReport/ConfigAuditReportContentDao.xml index 6a31947..4fe485b 100644 --- a/modules/mainPart/src/main/resources/mapper/configAuditReport/ConfigAuditReportContentDao.xml +++ b/modules/mainPart/src/main/resources/mapper/configAuditReport/ConfigAuditReportContentDao.xml @@ -16,10 +16,10 @@ ORDER BY ${orderBySql} </if> </select> - <select id="dictList" resultType="java.util.List"> + <select id="dictList" resultType="com.zt.life.modules.configAuditReport.model.ConfigAuditReportContent"> SET @row_number = 0; - SELECT dd.dict_label AS audit_content, - (@row_number := @row_number + 1) AS no, + SELECT (@row_number := @row_number + 1) AS no, + dd.dict_label AS auditContent FROM sys_dict_type dt JOIN sys_dict_data dd ON dt.ID = dd.DICT_TYPE_ID <where> -- Gitblit v1.9.1