|
|
@ -33,8 +33,8 @@ |
|
|
|
<select id="filter" resultType="com.huoran.iasf.entity.SysColumn"> |
|
|
|
<select id="filter" resultType="com.huoran.iasf.entity.SysColumn"> |
|
|
|
SELECT |
|
|
|
SELECT |
|
|
|
*, |
|
|
|
*, |
|
|
|
( SELECT u.username FROM sys_user u WHERE u.id = s.founder_id ) AS creteUser, |
|
|
|
( SELECT u.real_name FROM sys_user u WHERE u.id = s.founder_id ) AS creteUser, |
|
|
|
( SELECT u.username FROM sys_user u WHERE u.id = s.editor_id ) AS editorUser, |
|
|
|
( SELECT u.real_name FROM sys_user u WHERE u.id = s.editor_id ) AS editorUser, |
|
|
|
( SELECT t.template_type FROM sys_template t WHERE t.id = s.template_id ) AS templateName, |
|
|
|
( SELECT t.template_type FROM sys_template t WHERE t.id = s.template_id ) AS templateName, |
|
|
|
( SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.list_style_id ) AS listStyle, |
|
|
|
( SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.list_style_id ) AS listStyle, |
|
|
|
( SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.detail_style_id ) AS detailStyle, |
|
|
|
( SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.detail_style_id ) AS detailStyle, |
|
|
@ -61,8 +61,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="longPageColumnList" resultType="com.huoran.iasf.vo.resp.PageContentRespVO"> |
|
|
|
<select id="longPageColumnList" resultType="com.huoran.iasf.vo.resp.PageContentRespVO"> |
|
|
|
SELECT (SELECT u.username FROM sys_user u WHERE u.id = c.founder_id) AS founderName, |
|
|
|
SELECT (SELECT u.real_name FROM sys_user u WHERE u.id = c.founder_id) AS founderName, |
|
|
|
(SELECT u.username FROM sys_user u WHERE u.id = c.editor_id) AS editorName, |
|
|
|
(SELECT u.real_name FROM sys_user u WHERE u.id = c.editor_id) AS editorName, |
|
|
|
c.* |
|
|
|
c.* |
|
|
|
FROM sys_column c |
|
|
|
FROM sys_column c |
|
|
|
WHERE deleted = 1 |
|
|
|
WHERE deleted = 1 |
|
|
@ -93,8 +93,8 @@ |
|
|
|
<select id="filterMenuVisible" resultType="com.huoran.iasf.entity.SysColumn"> |
|
|
|
<select id="filterMenuVisible" resultType="com.huoran.iasf.entity.SysColumn"> |
|
|
|
SELECT |
|
|
|
SELECT |
|
|
|
*, |
|
|
|
*, |
|
|
|
( SELECT u.username FROM sys_user u WHERE u.id = s.founder_id ) AS creteUser, |
|
|
|
( SELECT u.real_name FROM sys_user u WHERE u.id = s.founder_id ) AS creteUser, |
|
|
|
( SELECT u.username FROM sys_user u WHERE u.id = s.editor_id ) AS editorUser, |
|
|
|
( SELECT u.real_name FROM sys_user u WHERE u.id = s.editor_id ) AS editorUser, |
|
|
|
( SELECT t.template_type FROM sys_template t WHERE t.id = s.template_id ) AS templateName, |
|
|
|
( SELECT t.template_type FROM sys_template t WHERE t.id = s.template_id ) AS templateName, |
|
|
|
( SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.list_style_id ) AS listStyle, |
|
|
|
( SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.list_style_id ) AS listStyle, |
|
|
|
( SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.detail_style_id ) AS detailStyle, |
|
|
|
( SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.detail_style_id ) AS detailStyle, |
|
|
@ -148,8 +148,8 @@ |
|
|
|
</select>--> |
|
|
|
</select>--> |
|
|
|
<select id="getsTheSubColumn" resultType="com.huoran.iasf.entity.SysColumn"> |
|
|
|
<select id="getsTheSubColumn" resultType="com.huoran.iasf.entity.SysColumn"> |
|
|
|
SELECT *, |
|
|
|
SELECT *, |
|
|
|
(SELECT u.username FROM sys_user u WHERE u.id = s.founder_id) AS creteUser, |
|
|
|
(SELECT u.real_name FROM sys_user u WHERE u.id = s.founder_id) AS creteUser, |
|
|
|
(SELECT u.username FROM sys_user u WHERE u.id = s.editor_id) AS editorUser, |
|
|
|
(SELECT u.real_name FROM sys_user u WHERE u.id = s.editor_id) AS editorUser, |
|
|
|
(SELECT t.template_type FROM sys_template t WHERE t.id = s.template_id) AS templateName, |
|
|
|
(SELECT t.template_type FROM sys_template t WHERE t.id = s.template_id) AS templateName, |
|
|
|
(SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.list_style_id) AS listStyle, |
|
|
|
(SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.list_style_id) AS listStyle, |
|
|
|
(SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.detail_style_id) AS detailStyle, |
|
|
|
(SELECT sty.style FROM sys_template_style sty WHERE sty.id = s.detail_style_id) AS detailStyle, |
|
|
|