From 8e67cca4f799cd674fe65890609f8ea69ebe61d0 Mon Sep 17 00:00:00 2001 From: songliang Date: Thu, 13 Jul 2023 14:21:52 +0800 Subject: [PATCH] ... --- webapp/controller/MarketController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/controller/MarketController.class.php b/webapp/controller/MarketController.class.php index 5c3f29ad..34c8459c 100644 --- a/webapp/controller/MarketController.class.php +++ b/webapp/controller/MarketController.class.php @@ -350,7 +350,7 @@ class MarketController extends BaseAuthedController $conn = myself()->_getMysql(''); $counts = $conn->execQuery( - 'SELECT count(*) as count FROM t_market_store ' . + 'SELECT count(idx) as count FROM t_market_store ' . 'WHERE token_type=:token_type AND status=0 ' . $job_filter_fn($job_filter_array) . $lv_filter_fn($lv_filter) . @@ -806,7 +806,7 @@ class MarketController extends BaseAuthedController }; $counts = $conn->execQuery( - 'SELECT count(*) as count FROM t_market_transaction_record ' . + 'SELECT count(idx) as count FROM t_market_transaction_record ' . 'WHERE (seller=:account OR buyer=:account) ' . $type_filter_fn($type) . ' ORDER BY createtime DESC',