From f3ae2d7028a3e7d8179cb68021f3fff6e02c77ad Mon Sep 17 00:00:00 2001 From: yinzijian Date: Fri, 12 Dec 2025 10:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=8E=A8=E8=8D=90=E6=97=B6?= =?UTF-8?q?=E6=AE=B5=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yinzijian --- app/flow_worker.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)