SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002105s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000593s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002493s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000340s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002096s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000317s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 608 LIMIT 1 [ RunTime:0.000344s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 608 [ RunTime:0.000261s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000263s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002730s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 608 ) AND `u`.`lockUser` = '0' [ RunTime:0.005678s ]
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` = 608 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001924s ]
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 ('841','844','10960','10958','716','10962','10959','1307','14846','14848','1306','10956','14845','843') ORDER BY FIELD(s.id, 841,844,10960,10958,716,10962,10959,1307,14846,14848,1306,10956,14845,843) [ RunTime:0.002976s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 841 LIMIT 4 [ RunTime:0.000214s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000955s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 841 ORDER BY `unit` DESC [ RunTime:0.000193s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000930s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 841 LIMIT 2 [ RunTime:0.000202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 841 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='3101.0030' and brandshort='SCHURTER' limit 1 [ RunTime:0.000452s ]
select foldpath,foldpath2,filename from pdf_file where id=761500 limit 1 [ RunTime:0.000251s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001337s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0030' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.000203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 844 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 844 ORDER BY `minOrder` ASC [ RunTime:0.002109s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 844 ORDER BY `unit` DESC [ RunTime:0.006638s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 844 LIMIT 2 [ RunTime:0.001842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 844 ORDER BY `minOrder` ASC [ RunTime:0.001778s ]
select * from pdf where partno='0031.8201' and brandshort='SCHURTER' limit 1 [ RunTime:0.006819s ]
select foldpath,foldpath2,filename from pdf_file where id=776340 limit 1 [ RunTime:0.001489s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '0031.8201' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.005170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10960 LIMIT 4 [ RunTime:0.003151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10960 ORDER BY `minOrder` ASC [ RunTime:0.004251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10960 ORDER BY `unit` DESC [ RunTime:0.001076s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10960 LIMIT 2 [ RunTime:0.003994s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10960 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0380' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.004896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10958 LIMIT 4 [ RunTime:0.001424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.001074s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10958 ORDER BY `unit` DESC [ RunTime:0.000848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10958 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10958 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
select * from pdf where partno='FX0357' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.001854s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0357' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.006316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 716 LIMIT 4 [ RunTime:0.001826s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.002406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 716 ORDER BY `unit` DESC [ RunTime:0.002346s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 716 LIMIT 2 [ RunTime:0.004212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 716 ORDER BY `minOrder` ASC [ RunTime:0.002399s ]
select * from pdf where partno='3101.0010' and brandshort='SCHURTER' limit 1 [ RunTime:0.008011s ]
select foldpath,foldpath2,filename from pdf_file where id=751592 limit 1 [ RunTime:0.000679s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0010' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.010326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10962 LIMIT 4 [ RunTime:0.001435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.000640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10962 ORDER BY `unit` DESC [ RunTime:0.011212s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10962 LIMIT 2 [ RunTime:0.002087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10962 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
select * from pdf where partno='FX0321' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.002641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0321' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.015654s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10959 LIMIT 4 [ RunTime:0.010125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10959 ORDER BY `minOrder` ASC [ RunTime:0.014354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10959 ORDER BY `unit` DESC [ RunTime:0.000966s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10959 LIMIT 2 [ RunTime:0.000606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10959 ORDER BY `minOrder` ASC [ RunTime:0.002863s ]
select * from pdf where partno='FX0365' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.001091s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0365' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.000987s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1307 LIMIT 4 [ RunTime:0.004499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1307 ORDER BY `minOrder` ASC [ RunTime:0.002260s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1307 ORDER BY `unit` DESC [ RunTime:0.002603s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1307 LIMIT 2 [ RunTime:0.000605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1307 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
select * from pdf where partno='3101.0045' and brandshort='SCHURTER' limit 1 [ RunTime:0.005144s ]
select foldpath,foldpath2,filename from pdf_file where id=761501 limit 1 [ RunTime:0.000708s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0045' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.002335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14846 LIMIT 4 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14846 ORDER BY `minOrder` ASC [ RunTime:0.003434s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14846 ORDER BY `unit` DESC [ RunTime:0.008811s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14846 LIMIT 2 [ RunTime:0.005042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14846 ORDER BY `minOrder` ASC [ RunTime:0.002209s ]
select * from pdf where partno='01520001TXN940' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.003715s ]
select foldpath,foldpath2,filename from pdf_file where id=2029898 limit 1 [ RunTime:0.004846s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01520001TXN940' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.014691s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14848 LIMIT 4 [ RunTime:0.000713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14848 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14848 ORDER BY `unit` DESC [ RunTime:0.000402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14848 LIMIT 2 [ RunTime:0.001081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14848 ORDER BY `minOrder` ASC [ RunTime:0.001581s ]
select * from pdf where partno='01530008Z' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.009279s ]
select foldpath,foldpath2,filename from pdf_file where id=1188897 limit 1 [ RunTime:0.000886s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01530008Z' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.006957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1306 LIMIT 4 [ RunTime:0.003951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1306 ORDER BY `minOrder` ASC [ RunTime:0.000922s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1306 ORDER BY `unit` DESC [ RunTime:0.001648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1306 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1306 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
select * from pdf where partno='3101.0040' and brandshort='SCHURTER' limit 1 [ RunTime:0.000765s ]
select foldpath,foldpath2,filename from pdf_file where id=761501 limit 1 [ RunTime:0.000186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3101.0040' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.001643s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10956 LIMIT 4 [ RunTime:0.000278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10956 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10956 ORDER BY `unit` DESC [ RunTime:0.000530s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10956 LIMIT 2 [ RunTime:0.001689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10956 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
select * from pdf where partno='FX0296' and brandshort='BULGIN LIMITED' limit 1 [ RunTime:0.002511s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX0296' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.002316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14845 LIMIT 4 [ RunTime:0.000744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14845 ORDER BY `minOrder` ASC [ RunTime:0.000363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14845 ORDER BY `unit` DESC [ RunTime:0.000935s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14845 LIMIT 2 [ RunTime:0.000598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14845 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '01550320ZXU' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.010948s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 843 LIMIT 4 [ RunTime:0.002474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 843 ORDER BY `minOrder` ASC [ RunTime:0.002702s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 843 ORDER BY `unit` DESC [ RunTime:0.008894s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 843 LIMIT 2 [ RunTime:0.008941s ]
SELECT * FROM `stock_price` WHERE `stockid` = 843 ORDER BY `minOrder` ASC [ RunTime:0.000988s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4301.1405' OR `brand` LIKE 'SCHURTER%' ) ) LIMIT 1 [ RunTime:0.003415s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 608 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001450s ]