提交代码

master
rong.liu 2 years ago
parent 2dcb6c6591
commit 4a1e0b54b0
  1. 5
      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 ( SELECT GROUP_CONCAT( label_name ) FROM sys_content_label l WHERE deleted = 1 AND FIND_IN_SET( l.id, s.lable_id
) ) AS labelName, ) ) AS labelName,
( SELECT c.classification_name FROM sys_content_classification c WHERE deleted = 1 AND s.classification_id = ( 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 FROM
sys_content s sys_content s
WHERE WHERE
@ -59,7 +60,7 @@
AND is_release = 1 AND is_release = 1
) t ) t
WHERE WHERE
t.site_id = 1 t.site_id = #{req.siteId}
<if test="req.labelName != null and req.labelName.size() > 0 "> <if test="req.labelName != null and req.labelName.size() > 0 ">

Loading…
Cancel
Save