SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.001583s ]
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://ic118.com/stock/detail&id=38225682' [ RunTime:0.010334s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001684s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.014192s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001313s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.46' ) [ RunTime:0.010756s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001745s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004388s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002555s ]
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` = '38225682' LIMIT 1 [ RunTime:0.013303s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.011226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 38225682 [ RunTime:0.030481s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38225682 ORDER BY `minOrder` ASC [ RunTime:0.033329s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001287s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 38225682 ORDER BY `unit` DESC [ RunTime:0.020944s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.020352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 38225682 [ RunTime:0.010770s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.024520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 38225682 ORDER BY `minOrder` ASC [ RunTime:0.027960s ]
select * from pdf where partno='NYB2A-30470' and brandshort='Omron Automation and Safety' limit 1 [ RunTime:0.028704s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.039460s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = 'NYB2A-30470' LIMIT 1 [ RunTime:0.025215s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NYB2A-30470' OR `brand` LIKE 'Omron Automation and Safety%' ) ) LIMIT 1 [ RunTime:0.016325s ]
SELECT `id` FROM `stock` WHERE `id` <> 38225682 AND `partno` = 'NYB2A-30470' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%omron automation and safety%' ) [ RunTime:0.051812s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.005248s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = 'NYB2A-30470' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.044202s ]