From 2e9f8582050753e3e8c1025f7aceadf352f50991 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Tue, 25 Feb 2025 15:05:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20cal=5Freal=5Ftask=5Fcount=20=E5=9C=A8?= =?UTF-8?q?=E5=AD=90=E4=BB=BB=E5=8A=A1=E6=95=B0=E9=87=8F=E4=B8=8A=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/pm/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/pm/services.py b/apps/pm/services.py index b1458621..796d3978 100644 --- a/apps/pm/services.py +++ b/apps/pm/services.py @@ -27,7 +27,7 @@ class PmService: break div_number0 = 1 rate, div_number, mtype, rq = rate_list[indx+1] - if rq.parent is None: + if rq.parent is not None: xcount = 0 else: if mtype == Process.PRO_DIV: