SHOW FULL COLUMNS FROM `visit_log` [ RunTime:0.002090s ]
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.003341s ]
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001918s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000668s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001822s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.220' ) [ RunTime:0.001821s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001253s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000325s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 676 LIMIT 1 [ RunTime:0.000310s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 676 [ RunTime:0.000209s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 51 [ RunTime:0.000235s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001392s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 676 ) AND `u`.`lockUser` = '0' [ RunTime:0.001891s ]
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` = 676 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006490s ]
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 ('16367','15347','15219','15114','8539','5866','3669','13392','3006','13393','3078','3056','3086','3007','10732','3076','3049','10790','3080','11304') ORDER BY FIELD(s.id, 16367,15347,15219,15114,8539,5866,3669,13392,3006,13393,3078,3056,3086,3007,10732,3076,3049,10790,3080,11304) [ RunTime:0.002745s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16367 LIMIT 4 [ RunTime:0.005212s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16367 ORDER BY `minOrder` ASC [ RunTime:0.001358s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16367 ORDER BY `unit` DESC [ RunTime:0.007349s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004537s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16367 LIMIT 2 [ RunTime:0.006045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16367 ORDER BY `minOrder` ASC [ RunTime:0.000863s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.000745s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001298s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000344s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15347 LIMIT 4 [ RunTime:0.000510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15347 ORDER BY `minOrder` ASC [ RunTime:0.007560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15347 ORDER BY `unit` DESC [ RunTime:0.001953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15347 LIMIT 2 [ RunTime:0.001548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15347 ORDER BY `minOrder` ASC [ RunTime:0.001524s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.006747s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.005205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15219 LIMIT 4 [ RunTime:0.006262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15219 ORDER BY `minOrder` ASC [ RunTime:0.001708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15219 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15219 LIMIT 2 [ RunTime:0.000629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15219 ORDER BY `minOrder` ASC [ RunTime:0.002295s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.003770s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.007679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15114 LIMIT 4 [ RunTime:0.005467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15114 ORDER BY `minOrder` ASC [ RunTime:0.004150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15114 ORDER BY `unit` DESC [ RunTime:0.000377s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15114 LIMIT 2 [ RunTime:0.001854s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15114 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.000449s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000330s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8539 LIMIT 4 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.003205s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8539 ORDER BY `unit` DESC [ RunTime:0.002586s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8539 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.003673s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAV0120/3D' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.008820s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5866 LIMIT 4 [ RunTime:0.000456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5866 ORDER BY `minOrder` ASC [ RunTime:0.002934s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5866 ORDER BY `unit` DESC [ RunTime:0.001676s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5866 LIMIT 2 [ RunTime:0.002898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5866 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RMD05024' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3669 LIMIT 4 [ RunTime:0.000603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3669 ORDER BY `minOrder` ASC [ RunTime:0.000442s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3669 ORDER BY `unit` DESC [ RunTime:0.000457s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3669 LIMIT 2 [ RunTime:0.002179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3669 ORDER BY `minOrder` ASC [ RunTime:0.004478s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26705.' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.004547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13392 LIMIT 4 [ RunTime:0.001990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13392 ORDER BY `minOrder` ASC [ RunTime:0.001505s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13392 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13392 LIMIT 2 [ RunTime:0.001929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13392 ORDER BY `minOrder` ASC [ RunTime:0.002843s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XN100' OR `brand` LIKE 'WELLER XCELITE%' ) ) LIMIT 1 [ RunTime:0.005208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3006 LIMIT 4 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3006 ORDER BY `minOrder` ASC [ RunTime:0.001596s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3006 ORDER BY `unit` DESC [ RunTime:0.002164s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3006 LIMIT 2 [ RunTime:0.009158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3006 ORDER BY `minOrder` ASC [ RunTime:0.005319s ]
select * from pdf where partno='26008' and brandshort='WIHA' limit 1 [ RunTime:0.002502s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26008' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.003108s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13393 LIMIT 4 [ RunTime:0.000758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13393 ORDER BY `minOrder` ASC [ RunTime:0.004831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13393 ORDER BY `unit` DESC [ RunTime:0.000891s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13393 LIMIT 2 [ RunTime:0.005398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13393 ORDER BY `minOrder` ASC [ RunTime:0.000877s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XNB103' OR `brand` LIKE 'WELLER XCELITE%' ) ) LIMIT 1 [ RunTime:0.001112s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3078 LIMIT 4 [ RunTime:0.008572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3078 ORDER BY `minOrder` ASC [ RunTime:0.005230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3078 ORDER BY `unit` DESC [ RunTime:0.015435s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3078 LIMIT 2 [ RunTime:0.011354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3078 ORDER BY `minOrder` ASC [ RunTime:0.002447s ]
select * from pdf where partno='36270' and brandshort='WIHA' limit 1 [ RunTime:0.014122s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36270' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.007856s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3056 LIMIT 4 [ RunTime:0.003788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3056 ORDER BY `minOrder` ASC [ RunTime:0.007851s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3056 ORDER BY `unit` DESC [ RunTime:0.003589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3056 LIMIT 2 [ RunTime:0.002550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3056 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
select * from pdf where partno='31140' and brandshort='WIHA' limit 1 [ RunTime:0.000653s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31140' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.002960s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3086 LIMIT 4 [ RunTime:0.003365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3086 ORDER BY `minOrder` ASC [ RunTime:0.000545s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3086 ORDER BY `unit` DESC [ RunTime:0.002583s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3086 LIMIT 2 [ RunTime:0.001463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3086 ORDER BY `minOrder` ASC [ RunTime:0.003030s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.003715s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001847s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3007 LIMIT 4 [ RunTime:0.002727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3007 ORDER BY `minOrder` ASC [ RunTime:0.000639s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3007 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3007 LIMIT 2 [ RunTime:0.003728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3007 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
select * from pdf where partno='31118' and brandshort='WIHA' limit 1 [ RunTime:0.000899s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31118' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.004632s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10732 LIMIT 4 [ RunTime:0.001099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10732 ORDER BY `minOrder` ASC [ RunTime:0.000684s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10732 ORDER BY `unit` DESC [ RunTime:0.000480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10732 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10732 ORDER BY `minOrder` ASC [ RunTime:0.002303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '138070' OR `brand` LIKE 'WERA%' ) ) LIMIT 1 [ RunTime:0.002866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3076 LIMIT 4 [ RunTime:0.004830s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3076 ORDER BY `minOrder` ASC [ RunTime:0.002310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3076 ORDER BY `unit` DESC [ RunTime:0.003206s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3076 LIMIT 2 [ RunTime:0.017128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3076 ORDER BY `minOrder` ASC [ RunTime:0.002350s ]
select * from pdf where partno='36266' and brandshort='WIHA' limit 1 [ RunTime:0.002396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36266' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3049 LIMIT 4 [ RunTime:0.012904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3049 ORDER BY `minOrder` ASC [ RunTime:0.003951s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3049 ORDER BY `unit` DESC [ RunTime:0.010788s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3049 LIMIT 2 [ RunTime:0.002913s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3049 ORDER BY `minOrder` ASC [ RunTime:0.003308s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.001608s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10790 LIMIT 4 [ RunTime:0.002189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10790 ORDER BY `minOrder` ASC [ RunTime:0.001943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10790 ORDER BY `unit` DESC [ RunTime:0.000639s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10790 LIMIT 2 [ RunTime:0.004473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10790 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C-730' OR `brand` LIKE 'DURATOOL%' ) ) LIMIT 1 [ RunTime:0.000648s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3080 LIMIT 4 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3080 ORDER BY `minOrder` ASC [ RunTime:0.002413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3080 ORDER BY `unit` DESC [ RunTime:0.004749s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3080 LIMIT 2 [ RunTime:0.000825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3080 ORDER BY `minOrder` ASC [ RunTime:0.002504s ]
select * from pdf where partno='31115' and brandshort='WIHA' limit 1 [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31115' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11304 LIMIT 4 [ RunTime:0.010077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11304 ORDER BY `minOrder` ASC [ RunTime:0.013460s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11304 ORDER BY `unit` DESC [ RunTime:0.006021s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11304 LIMIT 2 [ RunTime:0.031455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11304 ORDER BY `minOrder` ASC [ RunTime:0.035693s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '002990' OR `brand` LIKE 'WERA%' ) ) LIMIT 1 [ RunTime:0.015414s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 676 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.021539s ]