SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002809s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000522s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002181s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.121' ) [ RunTime:0.000328s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001984s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 601 LIMIT 1 [ RunTime:0.000501s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 601 [ RunTime:0.000410s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000250s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001989s ]
SELECT `s`.`id`,`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 ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-28 20:45:18' ) ) AND `categoryid` = 601 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,10 [ RunTime:0.027733s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4029 LIMIT 4 [ RunTime:0.000520s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4029 ORDER BY `unit` DESC [ RunTime:0.000454s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001677s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4029 LIMIT 2 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4029 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='PP002062' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.004178s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001797s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PP002062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000923s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1322 LIMIT 4 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1322 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1322 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1322 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TY523MR' OR `brand` LIKE 'ABB - THOMAS & BETTS%' ) ) LIMIT 1 [ RunTime:0.000599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16897 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16897 ORDER BY `unit` DESC [ RunTime:0.000388s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16897 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16897 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.001247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15878 LIMIT 4 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15878 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15878 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15878 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='113-05019' and brandshort='HELLERMANNTYTON' limit 1 [ RunTime:0.000276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7011 LIMIT 4 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7011 ORDER BY `unit` DESC [ RunTime:0.000400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7011 LIMIT 2 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7011 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VEL-EC60466' OR `brand` LIKE 'VELCRO%' ) ) LIMIT 1 [ RunTime:0.000542s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8697 LIMIT 4 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8697 ORDER BY `unit` DESC [ RunTime:0.000240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8697 LIMIT 2 [ RunTime:0.000241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8697 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NBB12' OR `brand` LIKE 'PRO POWER%' ) ) LIMIT 1 [ RunTime:0.000222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13844 LIMIT 4 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.000413s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13844 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13844 LIMIT 2 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13844 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '111-01960' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000709s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4033 LIMIT 4 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.000443s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4033 ORDER BY `unit` DESC [ RunTime:0.000478s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4033 LIMIT 2 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4033 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT1M-M100' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.003080s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9980 LIMIT 4 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9980 ORDER BY `unit` DESC [ RunTime:0.000403s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9980 LIMIT 2 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9980 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLT2.5S-M' OR `brand` LIKE 'PANDUIT%' ) ) LIMIT 1 [ RunTime:0.002383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13837 LIMIT 4 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13837 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13837 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13837 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '113-05019' OR `brand` LIKE 'HELLERMANNTYTON%' ) ) LIMIT 1 [ RunTime:0.000228s ]
SELECT `id`,`brand`,`package` FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-28 20:45:18' ) ) AND `categoryid` = 601 ) ORDER BY `id` DESC LIMIT 10000 [ RunTime:0.034434s ]
SELECT COUNT(*) AS think_count FROM `stock` WHERE ( ( `status` = 1 OR `status` = 3 OR `status` = 4 OR ( `status` = 2 AND `expiretime` > '2025-09-28 20:45:18' ) ) AND `categoryid` = 601 ) [ RunTime:0.017486s ]