select obj_id,
custom_type,
custom_function,
custom_code,
custom_data,
custom_sort,
remark,
is_flag,
created_by,
created_time,
updated_by,
updated_time
from base_custom_data
SELECT seq_base_custom_data.NEXTVAL as objId FROM DUAL
insert into base_custom_data
obj_id,
custom_type,
custom_function,
custom_code,
custom_data,
custom_sort,
remark,
is_flag,
created_by,
created_time,
updated_by,
updated_time,
#{objId},
#{customType},
#{customFunction},
#{customCode},
#{customData},
#{customSort},
#{remark},
#{isFlag},
#{createdBy},
#{createdTime},
#{updatedBy},
#{updatedTime},
update base_custom_data
custom_type = #{customType},
custom_function = #{customFunction},
custom_code = #{customCode},
custom_data = #{customData},
custom_sort = #{customSort},
remark = #{remark},
is_flag = #{isFlag},
created_by = #{createdBy},
created_time = #{createdTime},
updated_by = #{updatedBy},
updated_time = #{updatedTime},
where obj_id = #{objId}
delete
from base_custom_data
where obj_id = #{objId}
delete from base_custom_data where obj_id in
#{objId}