-- 暂估冲回单计划行序号问题历史数据升级
-- select * from t_ar_busplanentry where fid in (select fid from t_ar_busbill where fisadjust = '1') and fseq = 0;
update t_ar_busplanentry set fseq = fseq + 1 where fid in (
 select * from (select fid from t_ar_busplanentry where fid in (select fid from t_ar_busbill where fisadjust = '1') and fseq = 0) as busid
);
