fix 条款导入,没有译文
This commit is contained in:
+11
-2
@@ -7,6 +7,7 @@
|
||||
<result column="type" property="type" />
|
||||
<result column="item_id" property="itemId" />
|
||||
<result column="item_content" property="itemContent" />
|
||||
<result column="translation" property="translation" />
|
||||
<result column="valid_flag" property="validFlag" />
|
||||
<result column="creation_user" property="creationUser" />
|
||||
<result column="creation_time" property="creationTime" />
|
||||
@@ -19,7 +20,7 @@
|
||||
|
||||
<!-- SAR_FILE_SPLIT_ITEMS_VAL table all fields -->
|
||||
<sql id="Base_Column_List" >
|
||||
id, type, item_id, item_content, valid_flag, creation_user, creation_time, modify_time, modify_user, display_seq,img_name,index_item
|
||||
id, type, item_id, item_content, translation, valid_flag, creation_user, creation_time, modify_time, modify_user, display_seq,img_name,index_item
|
||||
</sql>
|
||||
|
||||
<!-- 查询条件 -->
|
||||
@@ -124,6 +125,7 @@
|
||||
set type = #{type},
|
||||
item_id = #{itemId},
|
||||
item_content = #{itemContent},
|
||||
translation = #{translation},
|
||||
valid_flag = #{validFlag},
|
||||
creation_user = #{creationUser},
|
||||
creation_time = #{creationTime},
|
||||
@@ -146,6 +148,9 @@
|
||||
<if test="itemContent != null" >
|
||||
item_content = #{itemContent},
|
||||
</if>
|
||||
<if test="translation != null" >
|
||||
translation = #{translation},
|
||||
</if>
|
||||
<if test="validFlag != null" >
|
||||
valid_flag = #{validFlag},
|
||||
</if>
|
||||
@@ -228,7 +233,7 @@
|
||||
<!-- 批量插入接口 -->
|
||||
<insert id="insertForeach" parameterType="java.util.List">
|
||||
insert into SAR_FILE_SPLIT_ITEMS_VAL
|
||||
(id, type, item_id, valid_flag, creation_user, creation_time, modify_time, modify_user, display_seq, img_name, item_content, index_item)
|
||||
(id, type, item_id, valid_flag, creation_user, creation_time, modify_time, modify_user, display_seq, img_name, item_content, translation, index_item)
|
||||
values
|
||||
<foreach collection="list" item="item" index="index" separator=",">(
|
||||
#{item.id, jdbcType=VARCHAR}, #{item.type, jdbcType=VARCHAR},
|
||||
@@ -238,6 +243,7 @@
|
||||
#{item.modifyUser, jdbcType=VARCHAR}, #{item.displaySeq, jdbcType=INTEGER},
|
||||
#{item.imgName, jdbcType=INTEGER},
|
||||
#{item.itemContent, jdbcType=CLOB},
|
||||
#{item.translation, jdbcType=CLOB},
|
||||
#{item.indexItem, jdbcType=INTEGER})
|
||||
</foreach>
|
||||
</insert>
|
||||
@@ -268,6 +274,7 @@
|
||||
update SAR_FILE_SPLIT_ITEMS_VAL
|
||||
<set >
|
||||
item_content = #{item.itemContent, jdbcType=VARCHAR},
|
||||
translation = #{item.translation, jdbcType=VARCHAR},
|
||||
modify_time = #{item.modifyTime, jdbcType=TIMESTAMP},
|
||||
modify_user = #{item.modifyUser, jdbcType=VARCHAR},
|
||||
display_seq = #{item.displaySeq, jdbcType=INTEGER},
|
||||
@@ -283,6 +290,7 @@
|
||||
<set >
|
||||
item_id = #{item.itemId, jdbcType=VARCHAR},
|
||||
item_content = #{item.itemContent, jdbcType=VARCHAR},
|
||||
translation = #{item.translation, jdbcType=VARCHAR},
|
||||
modify_time = #{item.modifyTime, jdbcType=TIMESTAMP},
|
||||
modify_user = #{item.modifyUser, jdbcType=VARCHAR},
|
||||
display_seq = #{item.displaySeq, jdbcType=INTEGER},
|
||||
@@ -318,6 +326,7 @@
|
||||
item_id,
|
||||
type,
|
||||
item_content,
|
||||
translation,
|
||||
display_seq,
|
||||
valid_flag,
|
||||
img_name,
|
||||
|
||||
Reference in New Issue
Block a user