t.id,
v.dept_id,
v.dept_name,
v.line_id,
v.line_name,
v.station_name as station_name,
t.station_id,
t.xingbie,
t.pillar_code,
t.station_track,
t.gxms,
t.fxcs,
t.fxmc,
t.mdh,
t.sbbh,
t.gzlx,
t.czlc,
t.fxzxlc,
t.sccj,
t.xh,
t.del_flag,
t.create_by,
t.create_time,
t.update_by,
t.update_time,
t.sjbh
select replace(uuid(), '-', '') from dual
INSERT INTO base_dmcgyq
station_id,
xingbie,
pillar_code,
station_track,
gxms,
fxcs,
fxmc,
mdh,
sbbh,
gzlx,
czlc,
fxzxlc,
sccj,
xh,
del_flag,
create_by,
create_time,
update_by,
update_time,
sjbh
#{station_id},
#{xingbie},
#{pillarCode},
#{stationTrack},
#{gxms},
#{fxcs},
#{fxmc},
#{mdh},
#{sbbh},
#{gzlx},
#{czlc},
#{fxzxlc},
#{sccj},
#{xh},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{sjbh}
UPDATE base_dmcgyq
set del_flag='1'
WHERE id = #{id}
UPDATE base_dmcgyq
station_id = #{stationId},
xingbie = #{xingbie},
pillar_code = #{pillarCode},
station_track = #{stationTrack},
gxms = #{gxms},
fxcs = #{fxcs},
fxmc = #{fxmc},
mdh = #{mdh},
sbbh = #{sbbh},
gzlx = #{gzlx},
czlc = #{czlc},
fxzxlc = #{fxzxlc},
sccj = #{sccj},
xh = #{xh},
del_flag = #{delFlag},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
sjbh = #{sjbh}
WHERE id = #{id}