select collection_id,
collection_title,
collection_type,
status,
create_by,
create_time,
update_by,
update_time,
remark,
del_flag,
image,
publisher_name,
formwork,
price,
story,
grounding,
cochain,
tether_id
from po_collection
insert into po_collection (
collection_title,
collection_type,
status,
remark,
create_by,
total,
image,
publisher_name,
formwork,
price,
story,
grounding,
cochain,
tether_id,
del_flag,
create_time
)values(
#{collectionTitle},
#{collectionType},
#{status},
#{remark},
#{createBy},
#{total},
#{image},
#{publisherName},
#{formwork},
#{price},
#{story},
#{grounding},
#{cochain},
#{tetherId},
0,
sysdate()
)
insert into po_collection (
collection_title,
collection_type,
status,
remark,
create_by,
total,
image,
publisher_name,
formwork,
price,
story,
grounding,
cochain,
tether_id,
del_flag,
create_time
)values(
#{collectionTitle},
#{collectionType},
#{status},
#{remark},
#{createBy},
#{total},
#{image},
#{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},
total = #{total},
image = #{image},
publisher_name = #{publisherName},
formwork = #{formwork},
price = #{price},
story = #{story},
grouding = #{grounding},
cochain = #{cochain},
tether_id = #{tetherId},
del_flag = #{delFlag},
update_time = sysdate()
where collection_id = #{collectionId}
update po_collection
SET del_flag = 1
where collection_id = #{collectionId}
update po_collection SET del_flag = #{1} where collection_id in
#{collectionId}