t.station_id,
t.dept_id,
v.dept_name,
t.line_id,
v.line_name,
t.xingbie,
t.station_name,
t.station_type,
t.qjlc,
t.start_marker,
t.end_marker,
t.dhgds,
t.order_num,
t.del_flag,
t.create_by,
t.create_time,
t.update_by,
t.update_time
select replace(uuid(), '-', '') from dual
INSERT INTO base_station
dept_id,
line_id,
xingbie,
station_name,
station_type,
qjlc,
start_marker,
end_marker,
dhgds,
order_num,
del_flag,
create_by,
create_time,
update_by,
update_time
#{deptId},
#{lineId},
#{xingbie},
#{stationName},
#{stationType},
#{qjlc},
#{startMarker},
#{endMarker},
#{dhgds},
#{orderNum},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime}
UPDATE base_station
set del_flag='1'
WHERE station_id = #{stationId}
UPDATE base_station
dept_id = #{deptId},
line_id = #{lineId},
xingbie = #{xingbie},
station_name = #{stationName},
station_type = #{stationType},
qjlc = #{qjlc},
start_marker = #{startMarker},
end_marker = #{endMarker},
dhgds = #{dhgds},
order_num = #{orderNum},
del_flag = #{delFlag},
update_by = #{updateBy},
update_time = #{updateTime}
WHERE station_id = #{stationId}