select id, proj_no, hole_no, return_num, office_code, start_depth, end_depth, footage, core_length, core_rate, rock_quality_quota, wall_protect_method, drill_method, bore_diameter, drill_abnormal_desc, longitude, latitude, location_time, create_time, update_time, remarks, descriptor, driller, return_img, return_video, del_flag, isHistory, record_no, record_type from js_return_info
insert into js_return_info
id,
proj_no,
hole_no,
return_num,
office_code,
start_depth,
end_depth,
footage,
core_length,
core_rate,
rock_quality_quota,
wall_protect_method,
drill_method,
bore_diameter,
drill_abnormal_desc,
longitude,
latitude,
location_time,
create_time,
update_time,
remarks,
descriptor,
driller,
return_img,
return_video,
del_flag,
isHistory,
record_no,
record_type,
#{id},
#{projNo},
#{holeNo},
#{returnNum},
#{officeCode},
#{startDepth},
#{endDepth},
#{footage},
#{coreLength},
#{coreRate},
#{rockQualityQuota},
#{wallProtectMethod},
#{drillMethod},
#{boreDiameter},
#{drillAbnormalDesc},
#{longitude},
#{latitude},
#{locationTime},
#{createTime},
#{updateTime},
#{remarks},
#{descriptor},
#{driller},
#{returnImg},
#{returnVideo},
#{delFlag},
#{ishistory},
#{recordNo},
#{recordType},
update js_return_info
proj_no = #{projNo},
hole_no = #{holeNo},
return_num = #{returnNum},
office_code = #{officeCode},
start_depth = #{startDepth},
end_depth = #{endDepth},
footage = #{footage},
core_length = #{coreLength},
core_rate = #{coreRate},
rock_quality_quota = #{rockQualityQuota},
wall_protect_method = #{wallProtectMethod},
drill_method = #{drillMethod},
bore_diameter = #{boreDiameter},
drill_abnormal_desc = #{drillAbnormalDesc},
longitude = #{longitude},
latitude = #{latitude},
location_time = #{locationTime},
create_time = #{createTime},
update_time = #{updateTime},
remarks = #{remarks},
descriptor = #{descriptor},
driller = #{driller},
return_img = #{returnImg},
return_video = #{returnVideo},
del_flag = #{delFlag},
isHistory = #{ishistory},
record_no = #{recordNo},
record_type = #{recordType},
where id = #{id}
delete from js_return_info where id = #{id}
delete from js_return_info where id in
#{id}