select collection_id,
collection_title,
collection_type,
status,
create_by,
create_time,
update_by,
update_time,
remark,
del_flag,
publisher_name,
formwork,
price,
story,
grounding,
cochain,
tether_id
from po_collection
insert into po_collection (
collection_title,
collection_type,
status,
remark,
create_by,
publisher_name,
formwork,
price,
story,
grounding,
cochain,
tether_id,
del_flag,
create_time
)values(
#{collectionTitle},
#{collectionType},
#{status},
#{remark},
#{createBy},
#{publisherName},
#{formwork},
#{price},
#{story},
#{grounding},
#{cochain},
#{tetherId},
0,
sysdate()
)
insert into po_collection (
collection_title,
collection_type,
status,
remark,
create_by,
publisher_name,
formwork,
price,
story,
grounding,
cochain,
tether_id,
del_flag,
create_time
)values(
#{collectionTitle},
#{collectionType},
#{status},
#{remark},
#{createBy},
#{publisherName},
#{formwork},
#{price},
#{story},
#{grounding},
#{cochain},
#{tetherId},
0,
sysdate()
)
update po_collection
collection_title = #{collectionTitle},
collection_type = #{collectionType},
status = #{status},
remark = #{remark},
create_by = #{createBy},
publisher_name = #{publisherName},
formwork = #{formwork},
price = #{price},
story = #{story},
grouding = #{grounding},
cochain = #{cochain},
tetherId = #{tetherId},
update_time = sysdate()
where collection_id = #{collectionId}
delete from po_collection where collection_id = #{collectionId}
delete from po_collection where collection_id in
#{collectionId}