feat: cal_x_task_count默认使用target_quantity
This commit is contained in:
parent
33f6c3982d
commit
d36edaffe1
|
|
@ -82,8 +82,8 @@ class PmService:
|
||||||
queue.append(input_material_id)
|
queue.append(input_material_id)
|
||||||
|
|
||||||
|
|
||||||
# 返回各Route的任务数量
|
# 返回各Route的任务数量/默认使用target_quantity
|
||||||
return {route.id: step_production.get(route.id, 0) for route in route_qs}
|
return {route.id: step_production.get(route.id, target_quantity) for route in route_qs}
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def cal_real_task_count(cls, count: int, rate_list):
|
def cal_real_task_count(cls, count: int, rate_list):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue