This commit is contained in:
liumengyi
2023-03-01 05:06:42 +00:00
parent 57c46206e9
commit 951e4a09e1
+1 -1
View File
@@ -1556,7 +1556,7 @@ class executionModel extends model
->andWhere('t2.type')->eq('stage')
->andWhere('t2.grade')->eq(1)
->andWhere('t2.deleted')->eq(0)
->andWhere('t2.parent')->eq($oldExecution->id)
->andWhere('t2.parent')->eq($oldExecution->parent)
->fetch('total');
if(!$oldPercentTotal) $oldPercentTotal = 0;