去掉推荐时段合并
Signed-off-by: yinzijian <yinzijian@haomozhixing.onaliyun.com>
This commit is contained in:
parent
796197845d
commit
f3ae2d7028
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue