select id, record_no, project_id, drill_id, record_type, start_depth, end_depth, drill_method, protect_method, drill_aperture, soil_quality, sampling_method, rock_type, rock_name, color, particle_shape, particle_arrange, particle_grade, humidity, density, uniformity, state, inclusions, general_small_particle, general_big_particle, larger_small_particle, larger_big_particle, biggest_particle, main_ingredient, second_ingredient, hard_degree, complete_degree, dig_property, drill_length, advance_start_depth, first_start_depth, second_start_depth, third_start_depth, advance_end_depth, first_end_depth, second_end_depth, third_end_depth, advance_hammer_number, first_hammer_number, second_hammer_number, third_hammer_number from js_hole_record
insert into js_hole_record
id,
record_no,
project_id,
drill_id,
record_type,
start_depth,
end_depth,
drill_method,
protect_method,
drill_aperture,
soil_quality,
sampling_method,
rock_type,
rock_name,
color,
particle_shape,
particle_arrange,
particle_grade,
humidity,
density,
uniformity,
state,
inclusions,
general_small_particle,
general_big_particle,
larger_small_particle,
larger_big_particle,
biggest_particle,
main_ingredient,
second_ingredient,
hard_degree,
complete_degree,
dig_property,
drill_length,
advance_start_depth,
first_start_depth,
second_start_depth,
third_start_depth,
advance_end_depth,
first_end_depth,
second_end_depth,
third_end_depth,
advance_hammer_number,
first_hammer_number,
second_hammer_number,
third_hammer_number,
#{id},
#{recordNo},
#{projectId},
#{drillId},
#{recordType},
#{startDepth},
#{endDepth},
#{drillMethod},
#{protectMethod},
#{drillAperture},
#{soilQuality},
#{samplingMethod},
#{rockType},
#{rockName},
#{color},
#{particleShape},
#{particleArrange},
#{particleGrade},
#{humidity},
#{density},
#{uniformity},
#{state},
#{inclusions},
#{generalSmallParticle},
#{generalBigParticle},
#{largerSmallParticle},
#{largerBigParticle},
#{biggestParticle},
#{mainIngredient},
#{secondIngredient},
#{hardDegree},
#{completeDegree},
#{digProperty},
#{drillLength},
#{advanceStartDepth},
#{firstStartDepth},
#{secondStartDepth},
#{thirdStartDepth},
#{advanceEndDepth},
#{firstEndDepth},
#{secondEndDepth},
#{thirdEndDepth},
#{advanceHammerNumber},
#{firstHammerNumber},
#{secondHammerNumber},
#{thirdHammerNumber},
update js_hole_record
record_no = #{recordNo},
project_id = #{projectId},
drill_id = #{drillId},
record_type = #{recordType},
start_depth = #{startDepth},
end_depth = #{endDepth},
drill_method = #{drillMethod},
protect_method = #{protectMethod},
drill_aperture = #{drillAperture},
soil_quality = #{soilQuality},
sampling_method = #{samplingMethod},
rock_type = #{rockType},
rock_name = #{rockName},
color = #{color},
particle_shape = #{particleShape},
particle_arrange = #{particleArrange},
particle_grade = #{particleGrade},
humidity = #{humidity},
density = #{density},
uniformity = #{uniformity},
state = #{state},
inclusions = #{inclusions},
general_small_particle = #{generalSmallParticle},
general_big_particle = #{generalBigParticle},
larger_small_particle = #{largerSmallParticle},
larger_big_particle = #{largerBigParticle},
biggest_particle = #{biggestParticle},
main_ingredient = #{mainIngredient},
second_ingredient = #{secondIngredient},
hard_degree = #{hardDegree},
complete_degree = #{completeDegree},
dig_property = #{digProperty},
drill_length = #{drillLength},
advance_start_depth = #{advanceStartDepth},
first_start_depth = #{firstStartDepth},
second_start_depth = #{secondStartDepth},
third_start_depth = #{thirdStartDepth},
advance_end_depth = #{advanceEndDepth},
first_end_depth = #{firstEndDepth},
second_end_depth = #{secondEndDepth},
third_end_depth = #{thirdEndDepth},
advance_hammer_number = #{advanceHammerNumber},
first_hammer_number = #{firstHammerNumber},
second_hammer_number = #{secondHammerNumber},
third_hammer_number = #{thirdHammerNumber},
where id = #{id}
delete from js_hole_record where id = #{id}
delete from js_hole_record where id in
#{id}