diff --git a/app/flow_worker.py b/app/flow_worker.py index 368baf9..cb9e877 100644 --- a/app/flow_worker.py +++ b/app/flow_worker.py @@ -531,10 +531,10 @@ def auto_match_phase(params): res['data']['plans'].append(max_max_calc_diff_minute) continue - if (res['data']['plans'][-1]['tp_end'] == max_max_calc_diff_minute['tp_start'] - and res['data']['plans'][-1]['planid'] == max_max_calc_diff_minute['planid']): - res['data']['plans'][-1]['tp_end'] = max_max_calc_diff_minute['tp_end'] - continue + # if (res['data']['plans'][-1]['tp_end'] == max_max_calc_diff_minute['tp_start'] + # and res['data']['plans'][-1]['planid'] == max_max_calc_diff_minute['planid']): + # res['data']['plans'][-1]['tp_end'] = max_max_calc_diff_minute['tp_end'] + # continue res['data']['plans'].append(max_max_calc_diff_minute)