[ DB ] CONNECT:[ UseTime:0.000621s ] mysql:host=127.0.0.1;port=3306;dbname=shangshuiedi;charset=utf8
[ SQL ] SHOW COLUMNS FROM `ds_articleclass` [ RunTime:0.003337s ]
[ SQL ] SELECT * FROM `ds_articleclass` WHERE `ac_id` <= 7 ORDER BY `ac_sort` ASC [ RunTime:0.000413s ]
[ SQL ] SHOW COLUMNS FROM `ds_article` [ RunTime:0.002607s ]
[ SQL ] SELECT `article`.`article_id`,`article`.`ac_id`,`article`.`article_url`,`article`.`article_title`,`article`.`article_time`,`article_class`.`ac_name`,`article_class`.`ac_parent_id` FROM `ds_article` `article` LEFT JOIN `ds_articleclass` `article_class` ON `article`.`ac_id`=`article_class`.`ac_id` WHERE ( article.article_show = '1' and (article_class.ac_id <= 7 or (article_class.ac_parent_id > 0 and article_class.ac_parent_id <= 7)) ) ORDER BY `article_sort` ASC,`article_time` DESC LIMIT 300 [ RunTime:0.000587s ]
[ SQL ] SHOW COLUMNS FROM `ds_store` [ RunTime:0.003348s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `ds_store` WHERE `store_state` = 1 LIMIT 1 [ RunTime:0.000455s ]
[ SQL ] SELECT * FROM `ds_store` WHERE `store_state` = 1 ORDER BY `store_sort` ASC LIMIT 0,10 [ RunTime:0.000733s ]
[ SQL ] SHOW COLUMNS FROM `ds_evaluatestore` [ RunTime:0.002925s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 2 LIMIT 1 [ RunTime:0.000315s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 3 LIMIT 1 [ RunTime:0.000258s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 4 LIMIT 1 [ RunTime:0.000247s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 5 LIMIT 1 [ RunTime:0.000255s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 6 LIMIT 1 [ RunTime:0.000237s ]
[ SQL ] SELECT * FROM `ds_store` WHERE `storeclass_id` = 2 AND `store_state` = 1 [ RunTime:0.000566s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` IN (6,0) LIMIT 1 [ RunTime:0.000257s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` = 7 LIMIT 1 [ RunTime:0.000249s ]
[ SQL ] SELECT * FROM `ds_store` WHERE `storeclass_id` = 12 AND `store_state` = 1 [ RunTime:0.000535s ]
[ SQL ] SELECT AVG(seval_desccredit) as store_desccredit,AVG(seval_servicecredit) as store_servicecredit,AVG(seval_deliverycredit) as store_deliverycredit,COUNT(seval_id) as count FROM `ds_evaluatestore` WHERE `seval_storeid` IN (7,0) LIMIT 1 [ RunTime:0.000262s ]
[ SQL ] SHOW COLUMNS FROM `ds_goods` [ RunTime:0.003087s ]
[ SQL ] SELECT store_id,count(*) as goods_count FROM `ds_goods` WHERE `goods_state` = 1 AND `store_id` IN (2,3,4,5,6,7) GROUP BY `store_id` [ RunTime:0.000556s ]
[ SQL ] SHOW COLUMNS FROM `ds_order` [ RunTime:0.002795s ]
[ SQL ] SELECT store_id,count(*) as order_count FROM `ds_order` WHERE `store_id` IN (2,3,4,5,6,7) AND `add_time` > 1694145430 GROUP BY `store_id` [ RunTime:0.000368s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 2 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.000495s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 3 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.000496s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 4 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.000465s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 5 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.000474s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 6 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.000468s ]
[ SQL ] SELECT `goods_id`,`store_id`,`goods_name`,`goods_image`,`goods_price`,`goods_salenum` FROM `ds_goods` WHERE `store_id` = 7 AND `goods_state` = 1 ORDER BY `goods_salenum` DESC LIMIT 8 [ RunTime:0.000467s ]