shish 3 rokov pred
rodič
commit
f08ac3f3d0
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      biz-ghs/stat/classes/StatKdClass.php

+ 2 - 2
biz-ghs/stat/classes/StatKdClass.php

@@ -148,7 +148,7 @@ class StatKdClass extends BaseClass
                 $payWay = $ghsOrder['payWay'] ?? 0;
                 $actPrice = $ghsOrder['actPrice'] ?? 0;
                 $getStaffId = $ghsOrder['getStaffId'] ?? 0;
-                $debtPrice = $ghsOrder['debtPrice'] ?? 0;
+                $debtPrice = $ghsOrder['remainDebtPrice'] ?? 0;
                 $onlinePay = $ghsOrder['onlinePay'] ?? dict::getDict('onlinePay', 'not');
                 if ($debtPrice > 0) {
                     //不管是否结清,只要$debtPrice > 0,说明曾经是欠款单
@@ -225,7 +225,7 @@ class StatKdClass extends BaseClass
             $cash = $hdOrder['cash'] ?? 0;
             $actPrice = $hdOrder['actPrice'] ?? 0;
             $getStaffId = $hdOrder['getStaffId'] ?? 0;
-            $debtPrice = $hdOrder['debtPrice'] ?? 0;
+            $debtPrice = $hdOrder['remainDebtPrice'] ?? 0;
             $onlinePay = $hdOrder['onlinePay'] ?? 0;
             $fromType = $hdOrder['fromType'] ?? 0;