SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001421s ]
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=STTH302' [ RunTime:0.012552s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.000955s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.008130s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001713s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.46' ) [ RunTime:0.000311s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001184s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000269s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002710s ]
SELECT * FROM `stock_search` WHERE `partno` = 'STTH302' LIMIT 1 [ RunTime:0.000627s ]
UPDATE `stock_search` SET `count` = 16104 , `updatetime` = '2026-06-12 23:33:29' WHERE `partno` = 'STTH302' [ RunTime:0.003828s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001975s ]
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 'STTH302%' OR `brand` LIKE 'STTH302%' ) AND `s`.`status` <> '2' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004747s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004093s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44082130 LIMIT 4 [ RunTime:0.004968s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44082130 ORDER BY `minOrder` ASC [ RunTime:0.007056s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003902s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44082130 ORDER BY `unit` DESC [ RunTime:0.019532s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006792s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44082130 LIMIT 2 [ RunTime:0.012626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44082130 ORDER BY `minOrder` ASC [ RunTime:0.013684s ]
select * from pdf where partno='STTH302S' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.010772s ]
select foldpath,foldpath2,filename from pdf_file where id=611041 limit 1 [ RunTime:0.013152s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STTH302S' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.017270s ]
SELECT `id` FROM `stock` WHERE `id` <> 44082130 AND `partno` = 'STTH302S' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.007787s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44092178 LIMIT 4 [ RunTime:0.014655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44092178 ORDER BY `minOrder` ASC [ RunTime:0.025356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44092178 ORDER BY `unit` DESC [ RunTime:0.007194s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44092178 LIMIT 2 [ RunTime:0.023016s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44092178 ORDER BY `minOrder` ASC [ RunTime:0.000987s ]
select * from pdf where partno='STTH302' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.008301s ]
select foldpath,foldpath2,filename from pdf_file where id=193721 limit 1 [ RunTime:0.006036s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STTH302' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.011166s ]
SELECT `id` FROM `stock` WHERE `id` <> 44092178 AND `partno` = 'STTH302' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.009633s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14826 [ RunTime:0.016765s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44092185 LIMIT 4 [ RunTime:0.006578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44092185 ORDER BY `minOrder` ASC [ RunTime:0.018679s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44092185 ORDER BY `unit` DESC [ RunTime:0.001707s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44092185 LIMIT 2 [ RunTime:0.000426s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44092185 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='STTH302RL' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.000486s ]
select foldpath,foldpath2,filename from pdf_file where id=193721 limit 1 [ RunTime:0.001814s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STTH302RL' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.000645s ]
SELECT `id` FROM `stock` WHERE `id` <> 44092185 AND `partno` = 'STTH302RL' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.000617s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14826 LIMIT 4 [ RunTime:0.001931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14826 ORDER BY `minOrder` ASC [ RunTime:0.006968s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14826 ORDER BY `unit` DESC [ RunTime:0.000564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14826 LIMIT 2 [ RunTime:0.019676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14826 ORDER BY `minOrder` ASC [ RunTime:0.005723s ]
select * from pdf where partno='STTH302' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.011104s ]
select foldpath,foldpath2,filename from pdf_file where id=193721 limit 1 [ RunTime:0.009764s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STTH302' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.006223s ]
SELECT `id` FROM `stock` WHERE `id` <> 14826 AND `partno` = 'STTH302' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.010730s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44092178 [ RunTime:0.000686s ]
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 'STTH302%' OR `brand` LIKE 'STTH302%' ) AND `s`.`status` <> '2' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.012036s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'STTH302%' OR `brand` LIKE 'STTH302%' ) AND `s`.`status` <> '2' ) LIMIT 4 ) tmp GROUP BY `brand` [ RunTime:0.005690s ]
SELECT DISTINCT `categoryid` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'STTH302%' OR `brand` LIKE 'STTH302%' ) AND `s`.`status` <> '2' ) AND `categoryid` > 0 LIMIT 4 [ RunTime:0.007695s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 21 [ RunTime:0.014914s ]