SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001879s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.20' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://ic118.com/stock&keyword=1563189-1&typeid=282' [ RunTime:0.004162s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001294s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.006560s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002660s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.20' ) [ RunTime:0.000590s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001234s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001359s ]
SELECT * FROM `stock_search` WHERE `partno` = '1563189-1' LIMIT 1 [ RunTime:0.001105s ]
UPDATE `stock_search` SET `count` = 18748 , `updatetime` = '2026-06-14 19:25:19' WHERE `partno` = '1563189-1' [ RunTime:0.001956s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 282 [ RunTime:0.000247s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 282 LIMIT 1 [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001457s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1563189-1%' OR `brand` LIKE '1563189-1%' ) AND `s`.`status` <> '2' AND `s`.`categoryid` = '282' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005139s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9347 LIMIT 4 [ RunTime:0.001370s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004555s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9347 ORDER BY `minOrder` ASC [ RunTime:0.007716s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002830s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9347 ORDER BY `unit` DESC [ RunTime:0.001562s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002269s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9347 LIMIT 2 [ RunTime:0.020098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9347 ORDER BY `minOrder` ASC [ RunTime:0.010093s ]
select * from pdf where partno='1563189-1' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.012761s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1563189-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.042796s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` FORCE INDEX ( idx_categoryid ) LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1563189-1%' OR `brand` LIKE '1563189-1%' ) AND `s`.`status` <> '2' AND `s`.`categoryid` = '282' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.028052s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1563189-1%' OR `brand` LIKE '1563189-1%' ) AND `s`.`status` <> '2' AND `s`.`categoryid` = '282' ) LIMIT 1 ) tmp GROUP BY `brand` [ RunTime:0.052999s ]