shish 2 лет назад
Родитель
Сommit
dd36fdfe95
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app-ghs/controllers/TestController.php

+ 2 - 2
app-ghs/controllers/TestController.php

@@ -53,14 +53,14 @@ class TestController extends BaseController
                 $arr[$payTime] = $order;
             }
         }
-        $clearList = PurchaseClearClass::getAllByCondition(['ghsShopId' => $ghsShopId, 'status' => 2], null, '*', null);
+        $clearList = PurchaseClearClass::getAllByCondition(['ghsShopId' => $ghsShopId, 'status' => 2], null, 'actPrice,payTime', null);
         if (!empty($clearList)) {
             foreach ($clearList as $clear) {
                 $payTime = $clear['payTime'] ?? '';
                 $arr[$payTime] = $clear;
             }
         }
-        $refundList = RefundOrderClass::getAllByCondition(['mainId' => $mainId], null, '*', null);
+        $refundList = RefundOrderClass::getAllByCondition(['mainId' => $mainId], null, 'refundPrice,updateTime', null);
         if (!empty($refundList)) {
             foreach ($refundList as $refund) {
                 $updateTime = $refund['updateTime'] ?? '';