This commit is contained in:
songliang 2023-07-13 14:21:52 +08:00
parent dfbe9f5f96
commit 8e67cca4f7

View File

@ -350,7 +350,7 @@ class MarketController extends BaseAuthedController
$conn = myself()->_getMysql(''); $conn = myself()->_getMysql('');
$counts = $conn->execQuery( $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 ' . 'WHERE token_type=:token_type AND status=0 ' .
$job_filter_fn($job_filter_array) . $job_filter_fn($job_filter_array) .
$lv_filter_fn($lv_filter) . $lv_filter_fn($lv_filter) .
@ -806,7 +806,7 @@ class MarketController extends BaseAuthedController
}; };
$counts = $conn->execQuery( $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) ' . 'WHERE (seller=:account OR buyer=:account) ' .
$type_filter_fn($type) . $type_filter_fn($type) .
' ORDER BY createtime DESC', ' ORDER BY createtime DESC',