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

lab_qyk 发布系统代码

上级 ebfde06e
......@@ -33,5 +33,10 @@
<![CDATA[ SELECT t1.GROUPID, t1.GROUPNAME, t1.GROUPSCOPE FROM IBZWFGROUP t1
]]>
</sql>
<!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.GROUPID, t1.GROUPNAME, t1.GROUPSCOPE FROM IBZWFGROUP t1
]]>
</sql>
</mapper>
......@@ -52,5 +52,10 @@
<![CDATA[ SELECT t1.GROUPID, t11.GROUPNAME, t1.MEMBERID, t1.MEMBERNAME, t21.PERSONNAME, t1.USERID FROM IBZWFMEMBER t1 LEFT JOIN IBZWFGROUP t11 ON t1.GROUPID = t11.GROUPID LEFT JOIN IBZUSER t21 ON t1.USERID = t21.USERID
]]>
</sql>
<!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.GROUPID, t11.GROUPNAME, t1.MEMBERID, t1.MEMBERNAME, t21.PERSONNAME, t1.USERID FROM IBZWFMEMBER t1 LEFT JOIN IBZWFGROUP t11 ON t1.GROUPID = t11.GROUPID LEFT JOIN IBZUSER t21 ON t1.USERID = t21.USERID
]]>
</sql>
</mapper>
......@@ -10,6 +10,9 @@
<select id="selectById" resultMap="WFProcessDefinitionResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.BPMNFILE, t1.DEFINITIONKEY, t1.DEFINITIONNAME, t1.DEPLOYKEY, t1.MD5CHECK, t1.MODELENABLE, t1.MODELVERSION, t1.PSSYSTEMID, t1.TASKDEFINITIONKEY FROM IBZWFDEFINITION t1 ) t1 where definitionkey=#{id}]]>
</select>
<select id="selectById" resultMap="WFProcessDefinitionResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t1.BPMNFILE, t1.DEFINITIONKEY, t1.DEFINITIONNAME, t1.DEPLOYKEY, t1.MD5CHECK, t1.MODELENABLE, t1.MODELVERSION, t1.PSSYSTEMID, t1.TASKDEFINITIONKEY FROM IBZWFDEFINITION t1 ) t1 where definitionkey=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
<resultMap id="WFProcessDefinitionResultMap" type="cn.ibizlab.core.workflow.domain.WFProcessDefinition" autoMapping="true">
......@@ -39,6 +42,11 @@
<![CDATA[ SELECT t1.BPMNFILE, t1.DEFINITIONKEY, t1.DEFINITIONNAME, t1.DEPLOYKEY, t1.MD5CHECK, t1.MODELENABLE, t1.MODELVERSION, t1.PSSYSTEMID, t1.TASKDEFINITIONKEY FROM IBZWFDEFINITION t1
]]>
</sql>
<!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.BPMNFILE, t1.DEFINITIONKEY, t1.DEFINITIONNAME, t1.DEPLOYKEY, t1.MD5CHECK, t1.MODELENABLE, t1.MODELVERSION, t1.PSSYSTEMID, t1.TASKDEFINITIONKEY FROM IBZWFDEFINITION t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`BPMNFILE`, t1.`DEFINITIONKEY`, t1.`DEFINITIONNAME`, t1.`DEPLOYKEY`, t1.`MD5CHECK`, t1.`MODELENABLE`, t1.`MODELVERSION`, t1.`PSSYSTEMID`, t1.`TASKDEFINITIONKEY` FROM `IBZWFDEFINITION` t1
......@@ -49,5 +57,10 @@
<![CDATA[ SELECT t1.BPMNFILE, t1.DEFINITIONKEY, t1.DEFINITIONNAME, t1.DEPLOYKEY, t1.MD5CHECK, t1.MODELENABLE, t1.MODELVERSION, t1.PSSYSTEMID, t1.TASKDEFINITIONKEY FROM IBZWFDEFINITION t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="postgresql">
<![CDATA[ SELECT t1.BPMNFILE, t1.DEFINITIONKEY, t1.DEFINITIONNAME, t1.DEPLOYKEY, t1.MD5CHECK, t1.MODELENABLE, t1.MODELVERSION, t1.PSSYSTEMID, t1.TASKDEFINITIONKEY FROM IBZWFDEFINITION t1
]]>
</sql>
</mapper>
......@@ -10,6 +10,9 @@
<select id="selectById" resultMap="WFSystemResultMap" databaseId="oracle">
<![CDATA[select t1.* from (SELECT t1.PSSYSTEMID, t1.PSSYSTEMNAME FROM IBZPSSYSTEM t1 ) t1 where pssystemid=#{id}]]>
</select>
<select id="selectById" resultMap="WFSystemResultMap" databaseId="postgresql">
<![CDATA[select t1.* from (SELECT t1.PSSYSTEMID, t1.PSSYSTEMNAME FROM IBZPSSYSTEM t1 ) t1 where pssystemid=#{id}]]>
</select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
<resultMap id="WFSystemResultMap" type="cn.ibizlab.core.workflow.domain.WFSystem" autoMapping="true">
......@@ -38,6 +41,11 @@
<![CDATA[ SELECT t1.PSSYSTEMID, t1.PSSYSTEMNAME FROM IBZPSSYSTEM t1
]]>
</sql>
<!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.PSSYSTEMID, t1.PSSYSTEMNAME FROM IBZPSSYSTEM t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`PSSYSTEMID`, t1.`PSSYSTEMNAME` FROM `IBZPSSYSTEM` t1
......@@ -48,5 +56,10 @@
<![CDATA[ SELECT t1.PSSYSTEMID, t1.PSSYSTEMNAME FROM IBZPSSYSTEM t1
]]>
</sql>
<!--数据查询[View]-->
<sql id="View" databaseId="postgresql">
<![CDATA[ SELECT t1.PSSYSTEMID, t1.PSSYSTEMNAME FROM IBZPSSYSTEM t1
]]>
</sql>
</mapper>
......@@ -34,5 +34,10 @@
<![CDATA[ SELECT t1.PERSONNAME, t1.USERID, t1.USERNAME FROM IBZUSER t1
]]>
</sql>
<!--数据查询[Default]-->
<sql id="Default" databaseId="postgresql">
<![CDATA[ SELECT t1.PERSONNAME, t1.USERID, t1.USERNAME FROM IBZUSER t1
]]>
</sql>
</mapper>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册