* Adjust code style.

This commit is contained in:
tianshujie98
2020-12-01 08:57:26 +08:00
parent f374d793f2
commit 7a69d80269
+1 -1
View File
@@ -806,7 +806,7 @@ class projectModel extends model
->andWhere('t2.deleted')->eq(0)
->fetch('total');
if($type == 'create') $percentTotal = $percent + $oldPercentTotal;
if($type == 'create') $percentTotal = $percent + $oldPercentTotal;
if($oldProject->grade == 1) $percentTotal = $oldPercentTotal - $oldProject->percent + $this->post->percent;
if($percentTotal >100)