[ DB ] CONNECT:[ UseTime:0.001611s ] mysql:host=127.0.0.1;dbname=xuanranglobal_co;charset=utf8
[ SQL ] SHOW COLUMNS FROM `tp_catalog_category` [ RunTime:0.003772s ]
[ SQL ] SELECT `id`,`name`,pid as pid,`name_en`,`sort`,`status`,`created_at`,`is_open` FROM `tp_catalog_category` WHERE `is_del` = 1 AND `status` = 1 ORDER BY `id` ASC [ RunTime:0.002331s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `status` = 1 AND `is_del` = 1 AND `id` = 218 LIMIT 1 [ RunTime:0.000976s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `status` = 1 AND `is_del` = 1 [ RunTime:0.001589s ]
[ SQL ] SHOW COLUMNS FROM `tp_catalog_product` [ RunTime:0.002328s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_catalog_product` `g` LEFT JOIN `tp_catalog_category` `c` ON `g`.`category_id`=`c`.`id` WHERE `g`.`is_del` = 1 AND `g`.`status` = 1 AND `g`.`parent_id` = 0 AND `g`.`category_id` IN (218) LIMIT 1 [ RunTime:0.015647s ]
[ SQL ] SELECT `g`.*,c.name category_name,c.name_en category_name_en FROM `tp_catalog_product` `g` LEFT JOIN `tp_catalog_category` `c` ON `g`.`category_id`=`c`.`id` WHERE `g`.`is_del` = 1 AND `g`.`status` = 1 AND `g`.`parent_id` = 0 AND `g`.`category_id` IN (218) ORDER BY `g`.`cas_number` ASC LIMIT 0,20 [ RunTime:0.010618s ]
[ SQL ] SELECT * FROM `tp_catalog_product` WHERE `parent_id` = 9873 AND `status` = 1 AND `is_del` = 1 [ RunTime:0.036608s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 215 LIMIT 1 [ RunTime:0.000715s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 78 LIMIT 1 [ RunTime:0.000509s ]
[ SQL ] SELECT `id`,`name`,pid as pid,`name_en`,`sort`,`status`,`created_at`,`is_open` FROM `tp_catalog_category` WHERE `is_del` = 1 AND `status` = 1 ORDER BY `id` ASC [ RunTime:0.000956s ]
[ SQL ] SELECT * FROM `tp_catalog_category` WHERE `id` = 215 LIMIT 1 [ RunTime:0.000691s ]