hberp/hb_server/apps/pm/services.py

10 lines
283 B
Python

from apps.pm.models import ProductionPlan, SubProductionPlan
class PmService:
@classmethod
def update_plan_process_json(cls, plan:ProductionPlan):
"""
更新计划统计字段
"""
ret = {}
subplans = SubProductionPlan.objects.filter()