select ids,code, project_id, hole_id, begin_depth, end_depth, earth_type, get_mode, test_type, title, create_time, record_person, description, longitude, latitude, gps_time, is_delete, position, locate_time, reason, pic1, pic2, pic3 from js_hole_qutu
insert into js_hole_qutu
ids,
code,
project_id,
hole_id,
begin_depth,
end_depth,
earth_type,
get_mode,
test_type,
title,
create_time,
record_person,
description,
longitude,
latitude,
gps_time,
is_delete,
position,
locate_time,
reason,
pic1,
pic2,
pic3,
#{ids},
#{code},
#{projectId},
#{holeId},
#{beginDepth},
#{endDepth},
#{earthType},
#{getMode},
#{testType},
#{title},
#{createTime},
#{recordPerson},
#{description},
#{longitude},
#{latitude},
#{gpsTime},
#{isDelete},
#{position},
#{locateTime},
#{reason},
#{pic1},
#{pic2},
#{pic3},
insert into js_hole_qutu
(ids,code, project_id, hole_id, begin_depth, end_depth, earth_type, get_mode, test_type, title, create_time, record_person, description, longitude, latitude, gps_time, is_delete, position, locate_time, reason, pic1, pic2, pic3)
VALUES
(#{item.ids}, #{item.code}, #{item.projectId},#{item.holeId},
#{item.beginDepth},#{item.endDepth},#{item.earthType},#{item.getMode},#{item.testType},#{item.title},#{item.createTime},#{item.recordPerson},#{item.description},#{item.longitude},#{item.latitude},#{item.gpsTime},#{item.isDelete},#{item.position},#{item.locateTime},#{item.reason},#{item.pic1},#{item.pic2},#{item.pic3})
update js_hole_qutu
code = #{code},
project_id = #{projectId},
hole_id = #{holeId},
begin_depth = #{beginDepth},
end_depth = #{endDepth},
earth_type = #{earthType},
get_mode = #{getMode},
test_type = #{testType},
title = #{title},
create_time = #{createTime},
record_person = #{recordPerson},
description = #{description},
longitude = #{longitude},
latitude = #{latitude},
gps_time = #{gpsTime},
is_delete = #{isDelete},
position = #{position},
locate_time = #{locateTime},
reason = #{reason},
pic1 = #{pic1},
pic2 = #{pic2},
pic3 = #{pic3},
where ids = #{ids}
delete from js_hole_qutu where ids = #{ids}
delete from js_hole_qutu where ids in
#{ids}