SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.003353s ]
INSERT INTO `visit_log` SET `ip` = '216.73.216.220' , `useragent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' , `reffer` = '' [ RunTime:0.001625s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001923s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002134s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.220' ) [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001823s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000562s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 711 LIMIT 1 [ RunTime:0.000309s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 711 [ RunTime:0.000285s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 52 [ RunTime:0.000293s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002486s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 711 ) AND `u`.`lockUser` = '0' [ RunTime:0.000985s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 711 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001049s ]
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` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('13547','11732','5985','10523','4139','1021','4142','8987','12546','11074') ORDER BY FIELD(s.id, 13547,11732,5985,10523,4139,1021,4142,8987,12546,11074) [ RunTime:0.004119s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001482s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13547 LIMIT 4 [ RunTime:0.000624s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001043s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13547 ORDER BY `minOrder` ASC [ RunTime:0.002614s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13547 ORDER BY `unit` DESC [ RunTime:0.000792s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001819s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13547 LIMIT 2 [ RunTime:0.001760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13547 ORDER BY `minOrder` ASC [ RunTime:0.000572s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001041s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TSC506-ZP' OR `brand` LIKE 'LAIRD%' ) ) LIMIT 1 [ RunTime:0.005931s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11732 LIMIT 4 [ RunTime:0.001937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11732 ORDER BY `minOrder` ASC [ RunTime:0.003641s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11732 ORDER BY `unit` DESC [ RunTime:0.001925s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11732 LIMIT 2 [ RunTime:0.000507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11732 ORDER BY `minOrder` ASC [ RunTime:0.001175s ]
select * from pdf where partno='52936-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.004899s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '52936-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004677s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5985 LIMIT 4 [ RunTime:0.003287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5985 ORDER BY `minOrder` ASC [ RunTime:0.003290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5985 ORDER BY `unit` DESC [ RunTime:0.002387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5985 LIMIT 2 [ RunTime:0.001499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5985 ORDER BY `minOrder` ASC [ RunTime:0.001119s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S1791-42R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.001859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10523 LIMIT 4 [ RunTime:0.000923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10523 ORDER BY `minOrder` ASC [ RunTime:0.004204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10523 ORDER BY `unit` DESC [ RunTime:0.002310s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10523 LIMIT 2 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10523 ORDER BY `minOrder` ASC [ RunTime:0.000427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2306334-3' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000956s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4139 LIMIT 4 [ RunTime:0.001284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4139 ORDER BY `minOrder` ASC [ RunTime:0.003556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4139 ORDER BY `unit` DESC [ RunTime:0.001347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4139 LIMIT 2 [ RunTime:0.007507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4139 ORDER BY `minOrder` ASC [ RunTime:0.001497s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FK-MCP 1,5/3-ST-3.81' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.004090s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1021 LIMIT 4 [ RunTime:0.003148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1021 ORDER BY `minOrder` ASC [ RunTime:0.002362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1021 ORDER BY `unit` DESC [ RunTime:0.002792s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1021 LIMIT 2 [ RunTime:0.006142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1021 ORDER BY `minOrder` ASC [ RunTime:0.001886s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D110277' OR `brand` LIKE 'ITT CANNON%' ) ) LIMIT 1 [ RunTime:0.003394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4142 LIMIT 4 [ RunTime:0.002583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4142 ORDER BY `minOrder` ASC [ RunTime:0.004818s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4142 ORDER BY `unit` DESC [ RunTime:0.002209s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4142 LIMIT 2 [ RunTime:0.001647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4142 ORDER BY `minOrder` ASC [ RunTime:0.001781s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FK-MCP 1,5/ 2-STF-3,81' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.004044s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8987 LIMIT 4 [ RunTime:0.005026s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8987 ORDER BY `minOrder` ASC [ RunTime:0.008559s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8987 ORDER BY `unit` DESC [ RunTime:0.010099s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8987 LIMIT 2 [ RunTime:0.007618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8987 ORDER BY `minOrder` ASC [ RunTime:0.003282s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0861-0-15-20-82-14-11-0' OR `brand` LIKE 'MILL MAX%' ) ) LIMIT 1 [ RunTime:0.009517s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12546 LIMIT 4 [ RunTime:0.003260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12546 ORDER BY `minOrder` ASC [ RunTime:0.009864s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12546 ORDER BY `unit` DESC [ RunTime:0.006376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12546 LIMIT 2 [ RunTime:0.016587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12546 ORDER BY `minOrder` ASC [ RunTime:0.009410s ]
select * from pdf where partno='785080-01' and brandshort='NI' limit 1 [ RunTime:0.007475s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '785080-01' OR `brand` LIKE 'NI%' ) ) LIMIT 1 [ RunTime:0.010208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11074 LIMIT 4 [ RunTime:0.012482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11074 ORDER BY `minOrder` ASC [ RunTime:0.011415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11074 ORDER BY `unit` DESC [ RunTime:0.008285s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11074 LIMIT 2 [ RunTime:0.003344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11074 ORDER BY `minOrder` ASC [ RunTime:0.002566s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S7221-45R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.002632s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 711 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004723s ]