wugg 2 years ago
parent
commit
09cae8e85a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Payment.php

+ 1 - 1
app/admin/controller/Payment.php

@@ -207,7 +207,7 @@ class Payment extends BaseController
                 $paydata['wpay_fee']+= $temp['wpay_fee'];
                 $paydata['ainv_fee']+= $temp['ainv_fee'];
                 $paydata['winv_fee']+= $temp['winv_fee'];
-                $report=ReportCode::find(["cgdNo"=>$value['sequenceNo']]);
+                $report=ReportCode::where(["cgdNo"=>$value['sequenceNo']])->find();
                 $report->setField("payNo",$payNo);
            }
             $paydata['total_fee']= round($paydata['total_fee'],2);