模型新增objectKey
parent
09b3e8f7d2
commit
6810cd2270
|
@ -7,11 +7,11 @@
|
||||||
|
|
||||||
<insert id="addWorkFlowVersion">
|
<insert id="addWorkFlowVersion">
|
||||||
INSERT INTO work_flow_version (version_name,version_description,file_path,image_paths,hide_gen_info,del_flag,
|
INSERT INTO work_flow_version (version_name,version_description,file_path,image_paths,hide_gen_info,del_flag,
|
||||||
work_flow_id,file_name,file_size,file_hash)
|
work_flow_id,file_name,file_size,file_hash,object_key)
|
||||||
VALUES
|
VALUES
|
||||||
<foreach collection="list" item="item" separator=",">
|
<foreach collection="list" item="item" separator=",">
|
||||||
(#{item.versionName}, #{item.versionDescription}, #{item.filePath}, #{item.imagePaths},#{item.hideGenInfo},
|
(#{item.versionName}, #{item.versionDescription}, #{item.filePath}, #{item.imagePaths},#{item.hideGenInfo},
|
||||||
0,#{workFlow.id},#{item.fileName},#{item.fileSize},#{item.fileHash})
|
0,#{workFlow.id},#{item.fileName},#{item.fileSize},#{item.fileHash},#{item.objectKey})
|
||||||
</foreach>
|
</foreach>
|
||||||
</insert>
|
</insert>
|
||||||
<update id="updateWorkFlowVersion">
|
<update id="updateWorkFlowVersion">
|
||||||
|
|
Loading…
Reference in New Issue