SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001107s ]
INSERT INTO `visit_log` SET `ip` = '216.73.217.116' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' , `host` = 'https://www.ic118.com/stock/detail_51316350.html' [ RunTime:0.015067s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.003369s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.006238s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002542s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.116' ) [ RunTime:0.037605s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002970s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.007326s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002245s ]
SELECT `s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `s`.`id` = '51316350' LIMIT 1 [ RunTime:0.011555s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001969s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 51316350 [ RunTime:0.005905s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.008505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51316350 ORDER BY `minOrder` ASC [ RunTime:0.028035s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.011080s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 51316350 ORDER BY `unit` DESC [ RunTime:0.026509s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009585s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 51316350 [ RunTime:0.019232s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.017672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 51316350 ORDER BY `minOrder` ASC [ RunTime:0.025332s ]
select * from pdf where partno='002520001' and brandshort='Altech Corporation' limit 1 [ RunTime:0.024251s ]
SHOW FULL COLUMNS FROM `stock_product_overview` [ RunTime:0.001514s ]
SELECT `memo` FROM `stock_product_overview` WHERE `memo` LIKE '%002520001%' LIMIT 1 [ RunTime:1.015082s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.001377s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = '002520001' LIMIT 1 [ RunTime:0.091112s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '002520001' OR `brand` LIKE 'Altech Corporation%' ) ) LIMIT 1 [ RunTime:0.036494s ]
SELECT `id` FROM `stock` WHERE `id` <> 51316350 AND `partno` = '002520001' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech corporation%' ) [ RunTime:0.105989s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14707560 [ RunTime:0.132085s ]
SELECT `note` FROM `stock` WHERE `id` = 14707560 LIMIT 1 [ RunTime:0.067259s ]
SELECT `description` FROM `stock` WHERE `id` = 14707560 LIMIT 1 [ RunTime:0.054019s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.002351s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = '002520001' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.054773s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `categoryid` = 0 AND ( `partno` > '002520001' ) ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.043208s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `status` = 3 ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.085735s ]