feat: cal_x_task_count默认使用target_quantity2
This commit is contained in:
parent
ddd75d408a
commit
0c12480ed3
|
|
@ -83,7 +83,7 @@ class PmService:
|
|||
|
||||
|
||||
# 返回各Route的任务数量/默认使用target_quantity
|
||||
return {route.id: step_production.get(route.id, target_quantity) for route in route_qs}
|
||||
return {route.id: step_production.get(route.id, target_quantity if route.material_out.id == target_materialId else 0) for route in route_qs}
|
||||
|
||||
@classmethod
|
||||
def cal_real_task_count(cls, count: int, rate_list):
|
||||
|
|
|
|||
Loading…
Reference in New Issue