t.id,
v.dept_id,
v.dept_name,
v.line_id,
v.line_name,
v.station_name as station_name,
v.station_id,
t.dept_station_id,
t.xingbie,
t.pillar_code,
t.marker,
t.station_track,
t.gxms,
t.dsgc,
t.remark,
t.xch,
t.xclx,
t.bzdw,
t.sjbh,
t.del_flag,
t.create_by,
t.create_time,
t.update_by,
t.update_time
select @@IDENTITY as line_id
INSERT INTO base_jcxc
dept_station_id,
xingbie,
pillar_code,
station_track,
gxms,
marker,
dsgc,
remark,
xch,
xclx,
bzdw,
del_flag,
create_by,
create_time,
sjbh
#{station_id},
#{xingbie},
#{pillarCode},
#{stationTrack},
#{gxms},
#{marker},
#{dsgc},
#{remark},
#{xch},
#{xclx},
#{bzdw},
#{delFlag},
#{createBy},
#{createTime},
#{sjbh}
UPDATE base_jcxc
set del_flag='1'
WHERE id = #{id}
UPDATE base_jcxc
dept_station_id = #{deptStationId},
xingbie = #{xingbie},
pillar_code = #{pillarCode},
marker = #{marker},
station_track = #{stationTrack},
gxms = #{gxms},
dsgc = #{dsgc},
remark = #{remark},
xch = #{xch},
xclx = #{xclx},
bzdw = #{bzdw},
del_flag = #{delFlag},
update_by = #{updateBy},
update_time = #{updateTime},
sjbh = #{sjbh}
WHERE id = #{id}