You've already forked FrameTour-BE
This commit is contained in:
@@ -14,4 +14,5 @@ public class TemplateConfigEntity {
|
|||||||
private Date createDate;
|
private Date createDate;
|
||||||
private Integer minimalPlaceholderFill;
|
private Integer minimalPlaceholderFill;
|
||||||
private Integer automaticPlaceholderFill;
|
private Integer automaticPlaceholderFill;
|
||||||
|
private Integer duplicateEnable;
|
||||||
}
|
}
|
||||||
|
@@ -6,8 +6,8 @@
|
|||||||
values (#{id}, #{scenicId}, #{name}, #{pid}, #{isPlaceholder}, #{sourceUrl}, #{effects}, #{luts}, #{overlays}, #{audios}, #{coverUrl}, #{frameRate}, #{speed}, #{price}, #{slashPrice}, #{sort}, #{cropEnable}, #{zoomCut}, #{onlyIf}, #{resolution}, now())
|
values (#{id}, #{scenicId}, #{name}, #{pid}, #{isPlaceholder}, #{sourceUrl}, #{effects}, #{luts}, #{overlays}, #{audios}, #{coverUrl}, #{frameRate}, #{speed}, #{price}, #{slashPrice}, #{sort}, #{cropEnable}, #{zoomCut}, #{onlyIf}, #{resolution}, now())
|
||||||
</insert>
|
</insert>
|
||||||
<insert id="addConfig">
|
<insert id="addConfig">
|
||||||
insert into template_config(id, template_id, create_time)
|
insert into template_config(id, template_id, duplicate_enable, create_time)
|
||||||
values (#{id}, #{templateId}, now())
|
values (#{id}, #{templateId}, #{duplicateEnable}, now())
|
||||||
</insert>
|
</insert>
|
||||||
<update id="update">
|
<update id="update">
|
||||||
update template
|
update template
|
||||||
@@ -52,7 +52,8 @@
|
|||||||
<set>
|
<set>
|
||||||
<if test="isDefault!= null">is_default = #{isDefault}, </if>
|
<if test="isDefault!= null">is_default = #{isDefault}, </if>
|
||||||
minimal_placeholder_fill = #{minimalPlaceholderFill},
|
minimal_placeholder_fill = #{minimalPlaceholderFill},
|
||||||
automatic_placeholder_fill = #{automaticPlaceholderFill}
|
automatic_placeholder_fill = #{automaticPlaceholderFill},
|
||||||
|
duplicate_enable = #{duplicateEnable}
|
||||||
</set>
|
</set>
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
|
Reference in New Issue
Block a user