|
@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="scriptType" column="script_type" />
|
|
|
<result property="scriptDescription" column="script_description" />
|
|
|
<result property="industryType" column="industry_type"/>
|
|
|
+ <result property="tableName" column="table_name"/>
|
|
|
<result property="delFlag" column="del_flag" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="createTime" column="create_time" />
|
|
@@ -21,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectSysBpmNodeScriptVo">
|
|
|
- select id, script_key, script_function_name, script_name, script_function_code, script_type, script_description, industry_type, del_flag, create_by, create_time, update_by, update_time from sys_bpm_node_script
|
|
|
+ select id, script_key, script_function_name, script_name, script_function_code, script_type, script_description, industry_type,table_name, del_flag, create_by, create_time, update_by, update_time from sys_bpm_node_script
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectSysBpmNodeScriptList" parameterType="SysBpmNodeScript" resultMap="SysBpmNodeScriptResult">
|
|
@@ -34,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="scriptType != null "> and script_type = #{scriptType}</if>
|
|
|
<if test="scriptDescription != null and scriptDescription != ''"> and script_description = #{scriptDescription}</if>
|
|
|
<if test="industryType != null"> and industry_type = #{industryType}</if>
|
|
|
+ <if test="tableName != null and tableName != ''"> and table_name = #{tableName}</if>
|
|
|
order by create_time desc
|
|
|
</select>
|
|
|
|
|
@@ -52,6 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="scriptType != null">script_type,</if>
|
|
|
<if test="scriptDescription != null">script_description,</if>
|
|
|
<if test="industryType != null">industry_type,</if>
|
|
|
+ <if test="tableName != null">table_name,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
|
del_flag
|
|
@@ -64,6 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="scriptType != null">#{scriptType},</if>
|
|
|
<if test="scriptDescription != null">#{scriptDescription},</if>
|
|
|
<if test="industryType != null">#{industryType},</if>
|
|
|
+ <if test="tableName != null">#{tableName},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
'0'
|
|
@@ -80,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="scriptType != null">script_type = #{scriptType},</if>
|
|
|
<if test="scriptDescription != null">script_description = #{scriptDescription},</if>
|
|
|
<if test="industryType != null">industry_type = #{industryType},</if>
|
|
|
+ <if test="tableName != null">table_name = #{tableName},</if>
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
</trim>
|