select collection_id,
tether_id,
collection_title,
publisher_name,
status,
collection_type,
total,
count,
create_time,
create_by,
update_time,
update_by,
show_start,
show_end,
image,
form_work,
price,
story,
grounding,
cochain,
remark,
del_flag,
sold_out
from po_collection
insert into po_collection (
collection_title,
collection_type,
status,
remark,
create_by,
show_start,
show_end,
total, count,
image,
publisher_name,
form_work,
price,
story,
grounding,
cochain,
tether_id,
del_flag, sold_out
)values(
#{collectionTitle},
#{collectionType},
#{status},
#{remark},
#{createBy},
#{showStart},
#{showEnd},
#{colTotal}, #{colTotal},
#{colImage},
#{publisherName},
#{formWork},
#{colPrice},
#{colStory},
#{colGrounding},
#{colCochain},
#{tetherId},
0, 0
)
insert into po_collection (
tether_id,
collection_title,
publisher_name,
status,
collection_type,
total, count,
create_by,
show_start,
show_end,
image,
form_work,
price,
story,
grounding,
cochain,
remark,
del_flag, sold_out
)values(
#{tetherId},
#{collectionTitle},
#{publisherName},
#{status},
#{collectionType},
#{colTotal}, #{colTotal},
#{createBy},
s#{showStart},
#{showEnd},
#{colImage},
#{formWork},
#{colPrice},
#{colStory},
#{colGrounding},
#{colCochain},
#{remark},
0, 0
)
update po_collection
tether_id = #{tetherId},
collection_title = #{collectionTitle},
publisher_name = #{publisherName},
status = #{status},
collection_type = #{collectionType},
total = #{colTotal},
count = #{colCount},
update_by = #{updateBy},
show_start = #{showStart},
show_end = #{showEnd},
image = #{colImage},
form_work = #{formWork},
price = #{colPrice},
story = #{colStory},
grounding = #{colGrounding},
cochain = #{colCochain},
remark = #{remark},
del_flag = #{delFlag},
sold_out = #{soldOut},
where collection_id = #{collectionId}