You've already forked FrameTour-BE
This commit is contained in:
@@ -14,4 +14,5 @@ public class TemplateConfigEntity {
|
||||
private Date createDate;
|
||||
private Integer minimalPlaceholderFill;
|
||||
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())
|
||||
</insert>
|
||||
<insert id="addConfig">
|
||||
insert into template_config(id, template_id, create_time)
|
||||
values (#{id}, #{templateId}, now())
|
||||
insert into template_config(id, template_id, duplicate_enable, create_time)
|
||||
values (#{id}, #{templateId}, #{duplicateEnable}, now())
|
||||
</insert>
|
||||
<update id="update">
|
||||
update template
|
||||
@@ -52,7 +52,8 @@
|
||||
<set>
|
||||
<if test="isDefault!= null">is_default = #{isDefault}, </if>
|
||||
minimal_placeholder_fill = #{minimalPlaceholderFill},
|
||||
automatic_placeholder_fill = #{automaticPlaceholderFill}
|
||||
automatic_placeholder_fill = #{automaticPlaceholderFill},
|
||||
duplicate_enable = #{duplicateEnable}
|
||||
</set>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
Reference in New Issue
Block a user