select ids,code, project_id, hole_id, frequency_type, layer_name, causes, era, begin_depth, end_depth, title, create_time, record_person, description, longitude, latitude, gps_time, is_delete, position, locate_time, reason, pic1, pic2, pic3, zycf, cycf, djnd, msd, jyx, wzcf, ys, zt, bhw, jc, sd, ftfchd, fzntfchd, kx, czjl, klzc, hsl, tcw, klxz, klpl, kljp, ybljx, ybljd, jdljx, jdljd, zdlj, mycf, fhcd, kwzc, jycd, wzcd, jbzldj, kwx, jglx from js_hole_yantu
insert into js_hole_yantu
ids,
code,
project_id,
hole_id,
frequency_type,
layer_name,
causes,
era,
begin_depth,
end_depth,
title,
create_time,
record_person,
description,
longitude,
latitude,
gps_time,
is_delete,
position,
locate_time,
reason,
pic1,
pic2,
pic3,
zycf,
cycf,
djnd,
msd,
jyx,
wzcf,
ys,
zt,
bhw,
jc,
sd,
ftfchd,
fzntfchd,
kx,
czjl,
klzc,
hsl,
tcw,
klxz,
klpl,
kljp,
ybljx,
ybljd,
jdljx,
jdljd,
zdlj,
mycf,
fhcd,
kwzc,
jycd,
wzcd,
jbzldj,
kwx,
jglx,
#{ids},
#{code},
#{projectId},
#{holeId},
#{frequencyType},
#{layerName},
#{causes},
#{era},
#{beginDepth},
#{endDepth},
#{title},
#{createTime},
#{recordPerson},
#{description},
#{longitude},
#{latitude},
#{gpsTime},
#{isDelete},
#{position},
#{locateTime},
#{reason},
#{pic1},
#{pic2},
#{pic3},
#{zycf},
#{cycf},
#{djnd},
#{msd},
#{jyx},
#{wzcf},
#{ys},
#{zt},
#{bhw},
#{jc},
#{sd},
#{ftfchd},
#{fzntfchd},
#{kx},
#{czjl},
#{klzc},
#{hsl},
#{tcw},
#{klxz},
#{klpl},
#{kljp},
#{ybljx},
#{ybljd},
#{jdljx},
#{jdljd},
#{zdlj},
#{mycf},
#{fhcd},
#{kwzc},
#{jycd},
#{wzcd},
#{jbzldj},
#{kwx},
#{jglx},
insert into js_hole_yantu
(ids,code, project_id, hole_id, frequency_type, layer_name, causes, era, begin_depth, end_depth, title, create_time, record_person, description,
longitude, latitude, gps_time, is_delete, position, locate_time, reason, pic1, pic2, pic3, zycf, cycf, djnd, msd, jyx, wzcf, ys, zt, bhw, jc, sd,
ftfchd, fzntfchd, kx, czjl, klzc, hsl, tcw, klxz, klpl, kljp, ybljx, ybljd, jdljx, jdljd, zdlj, mycf, fhcd, kwzc, jycd, wzcd, jbzldj, kwx, jglx)
VALUES
(#{item.ids}, #{item.code}, #{item.projectId},#{item.holeId},#{item.frequencyType},#{item.layerName},#{item.causes},#{item.era},#{item.beginDepth},#{item.endDepth},#{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},
#{item.zycf},#{item.cycf},#{item.djnd},#{item.msd},#{item.jyx},#{item.wzcf},#{item.ys},#{item.zt},#{item.bhw},#{item.jc},#{item.sd},#{item.ftfchd},#{item.fzntfchd},
#{item.kx},#{item.czjl},#{item.klzc},#{item.hsl},#{item.tcw},#{item.klxz},#{item.klpl},#{item.kljp},#{item.ybljx},#{item.ybljd},#{item.jdljx},#{item.jdljd},#{item.zdlj},
#{item.mycf},#{item.fhcd},#{item.kwzc},#{item.jycd},#{item.wzcd},#{item.jbzldj},#{item.kwx},#{item.jglx}
)
update js_hole_yantu
code = #{code},
project_id = #{projectId},
hole_id = #{holeId},
frequency_type = #{frequencyType},
layer_name = #{layerName},
causes = #{causes},
era = #{era},
begin_depth = #{beginDepth},
end_depth = #{endDepth},
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},
zycf = #{zycf},
cycf = #{cycf},
djnd = #{djnd},
msd = #{msd},
jyx = #{jyx},
wzcf = #{wzcf},
ys = #{ys},
zt = #{zt},
bhw = #{bhw},
jc = #{jc},
sd = #{sd},
ftfchd = #{ftfchd},
fzntfchd = #{fzntfchd},
kx = #{kx},
czjl = #{czjl},
klzc = #{klzc},
hsl = #{hsl},
tcw = #{tcw},
klxz = #{klxz},
klpl = #{klpl},
kljp = #{kljp},
ybljx = #{ybljx},
ybljd = #{ybljd},
jdljx = #{jdljx},
jdljd = #{jdljd},
zdlj = #{zdlj},
mycf = #{mycf},
fhcd = #{fhcd},
kwzc = #{kwzc},
jycd = #{jycd},
wzcd = #{wzcd},
jbzldj = #{jbzldj},
kwx = #{kwx},
jglx = #{jglx},
where ids = #{ids}
delete from js_hole_yantu where ids = #{ids}
delete from js_hole_yantu where ids in
#{ids}