select t1.id, t1.company_id, t1.name, t1.details, t1.create_by, t1.create_time, t1.update_by, t1.update_time from gas_wells t1 insert into gas_wells company_id, name, details, create_by, create_time, update_by, update_time, #{companyId}, #{name}, #{details}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update gas_wells company_id = #{companyId}, name = #{name}, details = #{details}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from gas_wells where id = #{id} delete from gas_wells where id in #{id}