SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002120s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.134' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://ic118.com/stock&keyword=22-01-1062&typeid=282' [ RunTime:0.002816s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002712s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000787s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002615s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.134' ) [ RunTime:0.001771s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001898s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000359s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002472s ]
SELECT * FROM `stock_search` WHERE `partno` = '22-01-1062' LIMIT 1 [ RunTime:0.001092s ]
UPDATE `stock_search` SET `count` = 13891 , `updatetime` = '2026-06-14 08:50:24' WHERE `partno` = '22-01-1062' [ RunTime:0.002064s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 282 [ RunTime:0.000374s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 282 LIMIT 1 [ RunTime:0.000363s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003254s ]
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 '22-01-1062%' OR `brand` LIKE '22-01-1062%' ) AND `s`.`status` <> '2' AND `s`.`categoryid` = '282' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003977s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10559 LIMIT 4 [ RunTime:0.000780s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008994s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10559 ORDER BY `minOrder` ASC [ RunTime:0.012081s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001563s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10559 ORDER BY `unit` DESC [ RunTime:0.000708s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001935s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10559 LIMIT 2 [ RunTime:0.006471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10559 ORDER BY `minOrder` ASC [ RunTime:0.000555s ]
select * from pdf where partno='22-01-1062' and brandshort='MOLEX' limit 1 [ RunTime:0.012192s ]
select foldpath,foldpath2,filename from pdf_file where id=843354 limit 1 [ RunTime:0.003721s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002399s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '22-01-1062' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.014193s ]
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 '22-01-1062%' OR `brand` LIKE '22-01-1062%' ) AND `s`.`status` <> '2' AND `s`.`categoryid` = '282' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.008959s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '22-01-1062%' OR `brand` LIKE '22-01-1062%' ) AND `s`.`status` <> '2' AND `s`.`categoryid` = '282' ) LIMIT 1 ) tmp GROUP BY `brand` [ RunTime:0.008070s ]