|
@@ -13,6 +13,7 @@
|
|
|
<result property="taskExecuteUserNo" column="task_execute_user_no"/>
|
|
|
<result property="taskArtificialScriptKey" column="task_artificial_script_key"/>
|
|
|
<result property="taskAutomaticScriptTriggerType" column="task_automatic_script_trigger_type"/>
|
|
|
+ <result property="taskNodeAroundScriptKey" column="task_node_around_script_key"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectBpmExecuteNodeMiddleVo">
|
|
@@ -22,7 +23,8 @@
|
|
|
task_real_role,
|
|
|
task_execute_user_no,
|
|
|
task_artificial_script_key,
|
|
|
- task_automatic_script_trigger_type
|
|
|
+ task_automatic_script_trigger_type,
|
|
|
+ task_node_around_script_key
|
|
|
from bpm_execute_node_middle
|
|
|
</sql>
|
|
|
|
|
@@ -64,6 +66,7 @@
|
|
|
<if test="taskExecuteUserNo != null">task_execute_user_no,</if>
|
|
|
<if test="taskArtificialScriptKey != null">task_artificial_script_key,</if>
|
|
|
<if test="taskAutomaticScriptTriggerType != null">task_automatic_script_trigger_type,</if>
|
|
|
+ <if test="taskNodeAroundScriptKey != null">task_node_around_script_key,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="taskNodeKey != null">#{taskNodeKey},</if>
|
|
@@ -72,6 +75,7 @@
|
|
|
<if test="taskExecuteUserNo != null">#{taskExecuteUserNo},</if>
|
|
|
<if test="taskArtificialScriptKey != null">#{taskArtificialScriptKey},</if>
|
|
|
<if test="taskAutomaticScriptTriggerType != null">#{taskAutomaticScriptTriggerType},</if>
|
|
|
+ <if test="taskNodeAroundScriptKey != null">#{taskNodeAroundScriptKey},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<insert id="insertBpmExecuteNodeMiddleList" parameterType="java.util.List">
|
|
@@ -80,7 +84,8 @@
|
|
|
task_real_role,
|
|
|
task_execute_user_no,
|
|
|
task_artificial_script_key,
|
|
|
- task_automatic_script_trigger_type)
|
|
|
+ task_automatic_script_trigger_type,
|
|
|
+ task_node_around_script_key)
|
|
|
values
|
|
|
<foreach collection="list" item="item" index="index" separator=",">
|
|
|
(#{item.taskNodeKey},
|
|
@@ -88,7 +93,8 @@
|
|
|
#{item.taskRealRole},
|
|
|
#{item.taskExecuteUserNo},
|
|
|
#{item.taskArtificialScriptKey},
|
|
|
- #{item.taskAutomaticScriptTriggerType})
|
|
|
+ #{item.taskAutomaticScriptTriggerType},
|
|
|
+ #{item.taskNodeAroundScriptKey})
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
|
|
@@ -104,6 +110,7 @@
|
|
|
<if test="taskAutomaticScriptTriggerType != null">task_automatic_script_trigger_type =
|
|
|
#{taskAutomaticScriptTriggerType},
|
|
|
</if>
|
|
|
+ <if test="taskNodeAroundScriptKey != null">task_node_around_script_key = #{taskNodeAroundScriptKey},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|