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.marker,
t.kgbh,
t.sccj,
t.kgxh,
t.del_flag,
t.create_by,
t.create_time,
t.update_by,
t.update_time
select replace(uuid(), '-', '') from dual
INSERT INTO base_glkg
station_id,
xingbie,
pillar_code,
marker,
kgbh,
sccj,
kgxh,
del_flag,
create_by,
create_time,
update_by,
update_time
#{stationId},
#{xingbie},
#{pillarCode},
#{marker},
#{kgbh},
#{sccj},
#{kgxh},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime}
UPDATE base_glkg
set del_flag='1'
WHERE id = #{id}
UPDATE base_glkg
station_id = #{stationId},
xingbie = #{xingbie},
pillar_code = #{pillarCode},
marker = #{marker},
kgbh = #{kgbh},
sccj = #{sccj},
kgxh = #{kgxh},
del_flag = #{delFlag},
update_by = #{updateBy},
update_time = #{updateTime}
WHERE id = #{id}