@@ -105,6 +105,10 @@ class ClearController extends BaseController
}
$where['ghsShopId'] = $this->shopId ?? 0;
$list = ClearService::getClearList($where);
+
+ $totalAmount = ClearClass::sum(['ghsShopId' => $this->shopId, 'status' => 2,], 'realPrice');
+ $list['totalAmount'] = $totalAmount;
util::success($list);