提交 ff3740dd 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 d125acb5
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<!--数据查询[DefaultEx]--> <!--数据查询[DefaultEx]-->
<sql id="DefaultEx" databaseId="postgresql"> <sql id="DefaultEx" databaseId="postgresql">
<![CDATA[ SELECT t1.CREATE_DATE, t1.CREATE_UID, t41.NAME AS CREATE_UID_TEXT, t1.DEFAULT, t1.HIDDEN, t1.ID, t1.INTERNAL, t1.NAME, t1.PARENT_ID, t51.NAME AS PARENT_ID_TEXT, t1.RELATION_FIELD, t1.RES_MODEL, t1.SEQUENCE, t1.WRITE_DATE, t1.WRITE_UID, t21.NAME AS WRITE_UID_TEXT FROM MAIL_MESSAGE_SUBTYPE t1 LEFT JOIN RES_USERS t11 ON t1.WRITE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.CREATE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID LEFT JOIN MAIL_MESSAGE_SUBTYPE t51 ON t1.PARENT_ID = t51.ID <![CDATA[ SELECT t1.CREATE_DATE, t1.CREATE_UID, t41.NAME AS CREATE_UID_TEXT, t1.DEFAULT, t1.HIDDEN, t1.ID, t1.INTERNAL, t1.NAME, t1.PARENT_ID, t51.NAME AS PARENT_ID_TEXT, t1.RELATION_FIELD, t1.RES_MODEL, t1.SEQUENCE, t1.WRITE_DATE, t1.WRITE_UID, t21.NAME AS WRITE_UID_TEXT FROM MAIL_MESSAGE_SUBTYPE t1 LEFT JOIN RES_USERS t11 ON t1.WRITE_UID = t11.ID LEFT JOIN RES_PARTNER t21 ON t11.PARTNER_ID = t21.ID LEFT JOIN RES_USERS t31 ON t1.CREATE_UID = t31.ID LEFT JOIN RES_PARTNER t41 ON t31.PARTNER_ID = t41.ID LEFT JOIN MAIL_MESSAGE_SUBTYPE t51 ON t1.PARENT_ID = t51.ID
WHERE ( ( t1.RES_MODEL = #{srf.datacontext.res_model} OR t1.RES_MODEL IS NULL ) ) WHERE ( ( t1.RES_MODEL = #{srf.datacontext.res_model} OR t1.RES_MODEL IS NULL ) AND t1.DEFAULT = true )
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册