SHOW FULL COLUMNS FROM `cms_product` [ RunTime:0.000768s ]
SELECT * FROM `cms_product` WHERE ( `id` = 1039 ) AND `cms_product`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `cms_exchange` [ RunTime:0.000628s ]
SELECT count(id) as count,avg(ex_price) as avg,product_id FROM `cms_exchange` WHERE ( `product_id` = 1039 AND `ex_type` = 1 AND `ex_status` = 2 ) AND `cms_exchange`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000252s ]
SELECT count(id) as count,avg(ex_price) as avg,product_id FROM `cms_exchange` WHERE ( `product_id` = 1039 AND `ex_type` = 2 AND `ex_status` = 2 ) AND `cms_exchange`.`delete_time` IS NULL LIMIT 1 [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `cms_quote` [ RunTime:0.000522s ]
SELECT * FROM `cms_quote` WHERE `product_id` = 1039 AND `price_time` <= '2023-09-10 18:50:18' ORDER BY `price_time` DESC LIMIT 1 [ RunTime:0.000535s ]
SHOW FULL COLUMNS FROM `cms_product_categories` [ RunTime:0.000535s ]
SELECT `id`,`name`,`pinyin`,`icon` FROM `cms_product_categories` WHERE `pid` = 0 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000214s ]
SHOW FULL COLUMNS FROM `cms_column` [ RunTime:0.000524s ]
SELECT * FROM `cms_column` ORDER BY `id` ASC [ RunTime:0.000206s ]
SELECT COUNT(*) AS think_count FROM `cms_quote` WHERE `product_id` = 1039 [ RunTime:0.000200s ]
SELECT `id`,`user_id`,`brand_id`,`product_id`,`price`,`change_price`,`change_rate`,`form`,`create_time`,`update_time`,`price_time` FROM `cms_quote` WHERE `product_id` = 1039 ORDER BY `price_time` DESC LIMIT 0,10 [ RunTime:0.000208s ]
SELECT COUNT(*) AS think_count FROM `cms_quote` WHERE `change_rate` > '0' AND `brand_id` = 74 [ RunTime:0.000201s ]
SELECT COUNT(*) AS think_count FROM `cms_quote` WHERE `change_rate` < '0' AND `brand_id` = 74 [ RunTime:0.000187s ]
SELECT COUNT(*) AS think_count FROM `cms_exchange` WHERE ( `ex_status` = 2 AND `ex_type` = 1 AND `product_id` = 1039 ) AND `cms_exchange`.`delete_time` IS NULL [ RunTime:0.000200s ]
SELECT COUNT(*) AS think_count FROM `cms_exchange` WHERE ( `ex_status` = 2 AND `ex_type` = 2 AND `product_id` = 1039 ) AND `cms_exchange`.`delete_time` IS NULL [ RunTime:0.000191s ]