SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001431s ]
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=STPS2150A' [ RunTime:0.038034s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001206s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.014290s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002535s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.46' ) [ RunTime:0.018240s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002229s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.068510s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.002258s ]
SELECT * FROM `stock_search` WHERE `partno` = 'STPS2150A' LIMIT 1 [ RunTime:0.162500s ]
UPDATE `stock_search` SET `count` = 16924 , `updatetime` = '2026-06-12 21:25:51' WHERE `partno` = 'STPS2150A' [ RunTime:0.053796s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002708s ]
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 'STPS2150A%' OR `brand` LIKE 'STPS2150A%' ) AND `s`.`status` <> '2' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.040253s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.037803s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44079457 LIMIT 4 [ RunTime:0.195038s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44079457 ORDER BY `minOrder` ASC [ RunTime:0.036154s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002510s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44079457 ORDER BY `unit` DESC [ RunTime:0.064619s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004998s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44079457 LIMIT 2 [ RunTime:0.045855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44079457 ORDER BY `minOrder` ASC [ RunTime:0.000533s ]
select * from pdf where partno='STPS2150A' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.038633s ]
select foldpath,foldpath2,filename from pdf_file where id=419598 limit 1 [ RunTime:0.022834s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001592s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STPS2150A' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.040026s ]
SELECT `id` FROM `stock` WHERE `id` <> 44079457 AND `partno` = 'STPS2150A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.057329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2884 [ RunTime:0.016084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2884 LIMIT 4 [ RunTime:0.052968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2884 ORDER BY `minOrder` ASC [ RunTime:0.029267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2884 ORDER BY `unit` DESC [ RunTime:0.009286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2884 LIMIT 2 [ RunTime:0.036363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2884 ORDER BY `minOrder` ASC [ RunTime:0.029720s ]
select * from pdf where partno='STPS2150A' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.031513s ]
select foldpath,foldpath2,filename from pdf_file where id=419598 limit 1 [ RunTime:0.011247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STPS2150A' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.014726s ]
SELECT `id` FROM `stock` WHERE `id` <> 2884 AND `partno` = 'STPS2150A' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.039397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44079457 [ RunTime:0.041239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44095176 LIMIT 4 [ RunTime:0.022811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44095176 ORDER BY `minOrder` ASC [ RunTime:0.024803s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44095176 ORDER BY `unit` DESC [ RunTime:0.081447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44095176 LIMIT 2 [ RunTime:0.038786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44095176 ORDER BY `minOrder` ASC [ RunTime:0.041215s ]
select * from pdf where partno='STPS2150AFN' and brandshort='STMicroelectronics' limit 1 [ RunTime:0.031270s ]
select foldpath,foldpath2,filename from pdf_file where id=611108 limit 1 [ RunTime:0.035009s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STPS2150AFN' OR `brand` LIKE 'STMicroelectronics%' ) ) LIMIT 1 [ RunTime:0.006334s ]
SELECT `id` FROM `stock` WHERE `id` <> 44095176 AND `partno` = 'STPS2150AFN' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%stmicroelectronics%' ) [ RunTime:0.015387s ]
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 'STPS2150A%' OR `brand` LIKE 'STPS2150A%' ) AND `s`.`status` <> '2' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.011185s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'STPS2150A%' OR `brand` LIKE 'STPS2150A%' ) AND `s`.`status` <> '2' ) LIMIT 3 ) tmp GROUP BY `brand` [ RunTime:0.019301s ]
SELECT DISTINCT `categoryid` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE 'STPS2150A%' OR `brand` LIKE 'STPS2150A%' ) AND `s`.`status` <> '2' ) AND `categoryid` > 0 LIMIT 3 [ RunTime:0.003649s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 21 [ RunTime:0.008016s ]