|
|
@@ -34,6 +34,7 @@ class ClearController extends Controller
|
|
|
$status = $clear['status'] ?? 1;
|
|
|
$clearId = $clear['id'] ?? 0;
|
|
|
$clearPrice = $clear['actPrice'] ?? 0;
|
|
|
+ $addTime = $clear['addTime'] ?? '';
|
|
|
$clearPrice = floatval($clearPrice);
|
|
|
if ($status == 2) {
|
|
|
$relateList = OrderCgClearClass::getAllByCondition(['clearId' => $clearId], null, '*');
|
|
|
@@ -44,8 +45,8 @@ class ClearController extends Controller
|
|
|
$cgInfo = GhsClass::getById($cgId, true);
|
|
|
$remainDebtPrice = $cgInfo->remainDebtPrice ?? 0;
|
|
|
$remainDebtPrice = floatval($remainDebtPrice);
|
|
|
- if ($remainDebtPrice>0 && $clearPrice == $remainDebtPrice) {
|
|
|
- echo "clearId {$clearId} cgId {$cgId} remainDebtPrice {$remainDebtPrice} 需要清除 \n";
|
|
|
+ if ($remainDebtPrice > 0 && $clearPrice == $remainDebtPrice) {
|
|
|
+ echo "clearId {$clearId} cgId {$cgId} remainDebtPrice {$remainDebtPrice} {$addTime} 需要清除 \n";
|
|
|
}
|
|
|
}
|
|
|
}
|