SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.003541s ]
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=1N4937RLG' [ RunTime:0.003546s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001491s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000476s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003186s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.46' ) [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001853s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001753s ]
SHOW FULL COLUMNS FROM `stock_search` [ RunTime:0.001273s ]
SELECT * FROM `stock_search` WHERE `partno` = '1N4937RLG' LIMIT 1 [ RunTime:0.007253s ]
UPDATE `stock_search` SET `count` = 17061 , `updatetime` = '2026-06-13 07:09:54' WHERE `partno` = '1N4937RLG' [ RunTime:0.007891s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002074s ]
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 '1N4937RLG%' OR `brand` LIKE '1N4937RLG%' ) AND `s`.`status` <> '2' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010054s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44080444 LIMIT 4 [ RunTime:0.011223s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44080444 ORDER BY `minOrder` ASC [ RunTime:0.014435s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 44080444 ORDER BY `unit` DESC [ RunTime:0.004028s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004461s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 44080444 LIMIT 2 [ RunTime:0.008694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 44080444 ORDER BY `minOrder` ASC [ RunTime:0.005914s ]
select * from pdf where partno='1N4937RLG' and brandshort='onsemi' limit 1 [ RunTime:0.004549s ]
select foldpath,foldpath2,filename from pdf_file where id=581440 limit 1 [ RunTime:0.009655s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4937RLG' OR `brand` LIKE 'onsemi%' ) ) LIMIT 1 [ RunTime:0.018880s ]
SELECT `id` FROM `stock` WHERE `id` <> 44080444 AND `partno` = '1N4937RLG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.006630s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6336 [ RunTime:0.008287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6336 LIMIT 4 [ RunTime:0.010628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6336 ORDER BY `minOrder` ASC [ RunTime:0.013690s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6336 ORDER BY `unit` DESC [ RunTime:0.002954s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6336 LIMIT 2 [ RunTime:0.008527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6336 ORDER BY `minOrder` ASC [ RunTime:0.015375s ]
select * from pdf where partno='1N4937RLG' and brandshort='ONSEMI' limit 1 [ RunTime:0.004083s ]
select foldpath,foldpath2,filename from pdf_file where id=581440 limit 1 [ RunTime:0.005579s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4937RLG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.002624s ]
SELECT `id` FROM `stock` WHERE `id` <> 6336 AND `partno` = '1N4937RLG' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%onsemi%' ) [ RunTime:0.002814s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 44080444 [ RunTime:0.001727s ]
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 '1N4937RLG%' OR `brand` LIKE '1N4937RLG%' ) AND `s`.`status` <> '2' ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005209s ]
SELECT brand, count(*) as count FROM ( SELECT `brand` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1N4937RLG%' OR `brand` LIKE '1N4937RLG%' ) AND `s`.`status` <> '2' ) LIMIT 2 ) tmp GROUP BY `brand` [ RunTime:0.013123s ]
SELECT DISTINCT `categoryid` FROM `stock` `s` WHERE ( `lockUser` = 0 AND `isDisplay` = 1 AND ( `partno` LIKE '1N4937RLG%' OR `brand` LIKE '1N4937RLG%' ) AND `s`.`status` <> '2' ) AND `categoryid` > 0 LIMIT 2 [ RunTime:0.007160s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 21 [ RunTime:0.000513s ]