From 4a1e0b54b0fafd2713bc9e1ffbe30096edfb00c6 Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Wed, 21 Dec 2022 18:20:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/huoran/iasf/mapper/xml/SysContentMapper.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml b/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml index 448149b..2ae29d4 100644 --- a/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml +++ b/src/main/java/com/huoran/iasf/mapper/xml/SysContentMapper.xml @@ -51,7 +51,8 @@ ( SELECT GROUP_CONCAT( label_name ) FROM sys_content_label l WHERE deleted = 1 AND FIND_IN_SET( l.id, s.lable_id ) ) AS labelName, ( SELECT c.classification_name FROM sys_content_classification c WHERE deleted = 1 AND s.classification_id = - c.id ) AS classificationName + c.id ) AS classificationName , + (SELECT c.column_name from sys_column c WHERE c.id = s.column_id) as columnName FROM sys_content s WHERE @@ -59,7 +60,7 @@ AND is_release = 1 ) t WHERE - t.site_id = 1 + t.site_id = #{req.siteId}