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.jybjmc,
t.zq,
t.sl,
t.operation_date,
t.operator,
t.remark,
t.submit_state,
t.del_flag,
t.create_by,
t.create_time,
t.update_by,
t.update_time
select @@IDENTITY as id
INSERT INTO bus_jceb_jyzqsjl
jybjmc,
zq,
dept_station_id,
xingbie,
pillar_code,
sl,
operation_date,
operator,
remark,
submit_state,
del_flag,
create_by,
create_time,
update_by,
update_time
#{jybjmc},
#{zq},
#{deptStationId},
#{xingbie},
#{pillarCode},
#{sl},
#{operationDate},
#{operator},
#{remark},
#{submitState},
#{delFlag},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime}
UPDATE bus_jceb_jyzqsjl
set del_flag='1'
WHERE id = #{id}
UPDATE bus_jceb_jyzqsjl
jybjmc = #{jybjmc},
zq = #{zq},
dept_station_id = #{deptStationId},
xingbie = #{xingbie},
pillar_code = #{pillarCode},
sl = #{sl},
operation_date = #{operationDate},
operator = #{operator},
remark = #{remark},
submit_state = #{submitState},
del_flag = #{delFlag},
update_by = #{updateBy},
update_time = #{updateTime}
WHERE id = #{id}