SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001105s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.46' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/stock&keyword=STTH112U' [ RunTime:0.011728s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001130s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.019967s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001887s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.46' ) [ RunTime:0.027090s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001605s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.025028s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001385s ]
SELECT * FROM `stock_search` WHERE `partno` = 'STTH112U' LIMIT 1 [ RunTime:0.017595s ]
UPDATE `stock_search` SET `count` = 15499 , `updatetime` = '2026-06-12 22:26:43' WHERE `partno` = 'STTH112U' [ RunTime:0.006347s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001425s ]
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` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'STTH112U%' OR `brand` LIKE 'STTH112U%' ) AND `s`.`status` <> '2' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.051797s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44081569 LIMIT 4 [ RunTime:0.023232s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.014485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44081569 ORDER BY `minOrder` ASC [ RunTime:0.124526s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002130s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44081569 ORDER BY `unit` DESC [ RunTime:0.051625s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.033974s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44081569 LIMIT 2 [ RunTime:0.026730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44081569 ORDER BY `minOrder` ASC [ RunTime:0.048562s ]
select * from pdf where partno='STTH112U' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.059025s ]
select foldpath,foldpath2,filename from pdf_file where id=190089 limit 1 [ RunTime:0.118700s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002757s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STTH112U' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.066143s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44079707 LIMIT 4 [ RunTime:0.070235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44079707 ORDER BY `minOrder` ASC [ RunTime:0.026118s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44079707 ORDER BY `unit` DESC [ RunTime:0.029928s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44079707 LIMIT 2 [ RunTime:0.021083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44079707 ORDER BY `minOrder` ASC [ RunTime:0.045373s ]
select * from pdf where partno='STTH112UFY' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.035790s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STTH112UFY' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.028147s ]
SELECT `id` FROM `stock` WHERE `id` <> 44079707 AND `partno` = 'STTH112UFY' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.009708s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2232 LIMIT 4 [ RunTime:0.028270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2232 ORDER BY `minOrder` ASC [ RunTime:0.052034s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2232 ORDER BY `unit` DESC [ RunTime:0.057125s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2232 LIMIT 2 [ RunTime:0.030818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2232 ORDER BY `minOrder` ASC [ RunTime:0.007746s ]
select * from pdf where partno='STTH112U' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.081328s ]
select foldpath,foldpath2,filename from pdf_file where id=190089 limit 1 [ RunTime:0.010824s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STTH112U' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.039282s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'STTH112U%' OR `brand` LIKE 'STTH112U%' ) AND `s`.`status` <> '2' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.018644s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'STTH112U%' OR `brand` LIKE 'STTH112U%' ) AND `s`.`status` <> '2' ) LIMIT 3 ) tmp GROUP BY `brand` [ RunTime:0.021568s ]
SELECT DISTINCT `categoryid` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'STTH112U%' OR `brand` LIKE 'STTH112U%' ) AND `s`.`status` <> '2' ) AND `categoryid` > 0 LIMIT 3 [ RunTime:0.014189s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 21 [ RunTime:0.013721s ]