shish 1 сар өмнө
parent
commit
b270084fea

+ 1 - 1
console/controllers/ClearController.php

@@ -44,7 +44,7 @@ class ClearController extends Controller
                             $cgInfo = GhsClass::getById($cgId, true);
                             $remainDebtPrice = $cgInfo->remainDebtPrice ?? 0;
                             $remainDebtPrice = floatval($remainDebtPrice);
-                            if ($clearPrice == $remainDebtPrice) {
+                            if ($remainDebtPrice>0 && $clearPrice == $remainDebtPrice) {
                                 echo "clearId {$clearId} cgId {$cgId} remainDebtPrice {$remainDebtPrice} 需要清除 \n";
                             }
                         }