SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001137s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000445s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001316s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000273s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001628s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000252s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000343s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.003128s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) [ RunTime:0.000466s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001487s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) [ RunTime:0.001716s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010057s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6711 LIMIT 4 [ RunTime:0.002098s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.005208s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6711 ORDER BY `unit` DESC [ RunTime:0.000879s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001325s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6711 LIMIT 2 [ RunTime:0.000695s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6711 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
select * from pdf where partno='EMK105B7104KV-F' and brandshort='TAIYO YUDEN' limit 1 [ RunTime:0.004082s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001051s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EMK105B7104KV-F' OR `brand` LIKE 'TAIYO YUDEN%' ) ) LIMIT 1 [ RunTime:0.001503s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2529 LIMIT 4 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2529 ORDER BY `minOrder` ASC [ RunTime:0.001410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2529 ORDER BY `unit` DESC [ RunTime:0.000730s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2529 LIMIT 2 [ RunTime:0.004135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2529 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-2' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.001064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4349 LIMIT 4 [ RunTime:0.000430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4349 ORDER BY `minOrder` ASC [ RunTime:0.000791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4349 ORDER BY `unit` DESC [ RunTime:0.000433s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4349 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4349 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-04V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4348 LIMIT 4 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4348 ORDER BY `minOrder` ASC [ RunTime:0.001738s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4348 ORDER BY `unit` DESC [ RunTime:0.002926s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4348 LIMIT 2 [ RunTime:0.002013s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4348 ORDER BY `minOrder` ASC [ RunTime:0.000847s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-03V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000873s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13674 LIMIT 4 [ RunTime:0.002417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13674 ORDER BY `minOrder` ASC [ RunTime:0.000417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13674 ORDER BY `unit` DESC [ RunTime:0.001202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13674 LIMIT 2 [ RunTime:0.002925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13674 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
select * from pdf where partno='43025-0400' and brandshort='MOLEX' limit 1 [ RunTime:0.000837s ]
select foldpath,foldpath2,filename from pdf_file where id=761289 limit 1 [ RunTime:0.001308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-0400' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2546 LIMIT 4 [ RunTime:0.000421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2546 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2546 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2546 LIMIT 2 [ RunTime:0.002471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2546 ORDER BY `minOrder` ASC [ RunTime:0.004930s ]
select * from pdf where partno='39-01-2020' and brandshort='MOLEX' limit 1 [ RunTime:0.001827s ]
select foldpath,foldpath2,filename from pdf_file where id=850267 limit 1 [ RunTime:0.000607s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.008895s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3270 LIMIT 4 [ RunTime:0.003278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3270 ORDER BY `minOrder` ASC [ RunTime:0.001071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3270 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3270 LIMIT 2 [ RunTime:0.000635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3270 ORDER BY `minOrder` ASC [ RunTime:0.004390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1375820-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002572s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4723 LIMIT 4 [ RunTime:0.001510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4723 ORDER BY `minOrder` ASC [ RunTime:0.000600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4723 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4723 LIMIT 2 [ RunTime:0.000548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4723 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
select * from pdf where partno='953697-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.005560s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '953697-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000965s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4384 LIMIT 4 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4384 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4384 ORDER BY `unit` DESC [ RunTime:0.000311s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4384 LIMIT 2 [ RunTime:0.002292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4384 ORDER BY `minOrder` ASC [ RunTime:0.002748s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VHR-5N' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000707s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2547 LIMIT 4 [ RunTime:0.001202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2547 ORDER BY `minOrder` ASC [ RunTime:0.001430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2547 ORDER BY `unit` DESC [ RunTime:0.003630s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2547 LIMIT 2 [ RunTime:0.001253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2547 ORDER BY `minOrder` ASC [ RunTime:0.000454s ]
select * from pdf where partno='39-01-2040' and brandshort='MOLEX' limit 1 [ RunTime:0.001020s ]
select foldpath,foldpath2,filename from pdf_file where id=827354 limit 1 [ RunTime:0.004222s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2040' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006610s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4347 LIMIT 4 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4347 ORDER BY `minOrder` ASC [ RunTime:0.002536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4347 ORDER BY `unit` DESC [ RunTime:0.002999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4347 LIMIT 2 [ RunTime:0.003345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4347 ORDER BY `minOrder` ASC [ RunTime:0.003528s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PAP-02V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.008458s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13676 LIMIT 4 [ RunTime:0.006915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13676 ORDER BY `minOrder` ASC [ RunTime:0.005612s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13676 ORDER BY `unit` DESC [ RunTime:0.004260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13676 LIMIT 2 [ RunTime:0.013362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13676 ORDER BY `minOrder` ASC [ RunTime:0.006064s ]
select * from pdf where partno='43025-0800' and brandshort='MOLEX' limit 1 [ RunTime:0.003660s ]
select foldpath,foldpath2,filename from pdf_file where id=827943 limit 1 [ RunTime:0.000333s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-0800' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.010574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2157 LIMIT 4 [ RunTime:0.005441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2157 ORDER BY `minOrder` ASC [ RunTime:0.007895s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2157 ORDER BY `unit` DESC [ RunTime:0.007889s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2157 LIMIT 2 [ RunTime:0.004667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2157 ORDER BY `minOrder` ASC [ RunTime:0.001597s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-1023' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.009903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2162 LIMIT 4 [ RunTime:0.010477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2162 ORDER BY `minOrder` ASC [ RunTime:0.010417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2162 ORDER BY `unit` DESC [ RunTime:0.007958s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2162 LIMIT 2 [ RunTime:0.013158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2162 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-2023' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.010640s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 443 LIMIT 4 [ RunTime:0.011215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 443 ORDER BY `minOrder` ASC [ RunTime:0.006397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 443 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 443 LIMIT 2 [ RunTime:0.003509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 443 ORDER BY `minOrder` ASC [ RunTime:0.000206s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640440-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003407s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13442 LIMIT 4 [ RunTime:0.011788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.005056s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13442 ORDER BY `unit` DESC [ RunTime:0.000275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13442 LIMIT 2 [ RunTime:0.016687s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13442 ORDER BY `minOrder` ASC [ RunTime:0.003035s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '12063C103KAT2A' OR `brand` LIKE 'KYOCERA AVX%' ) ) LIMIT 1 [ RunTime:0.005718s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14673 LIMIT 4 [ RunTime:0.006586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14673 ORDER BY `minOrder` ASC [ RunTime:0.018122s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14673 ORDER BY `unit` DESC [ RunTime:0.009096s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14673 LIMIT 2 [ RunTime:0.006251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14673 ORDER BY `minOrder` ASC [ RunTime:0.008691s ]
select * from pdf where partno='51021-0400' and brandshort='MOLEX' limit 1 [ RunTime:0.006243s ]
select foldpath,foldpath2,filename from pdf_file where id=824931 limit 1 [ RunTime:0.007764s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51021-0400' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2160 LIMIT 4 [ RunTime:0.000508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2160 ORDER BY `minOrder` ASC [ RunTime:0.011543s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2160 ORDER BY `unit` DESC [ RunTime:0.000712s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2160 LIMIT 2 [ RunTime:0.000304s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2160 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-06-1032' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005998s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2552 LIMIT 4 [ RunTime:0.005028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2552 ORDER BY `minOrder` ASC [ RunTime:0.009199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2552 ORDER BY `unit` DESC [ RunTime:0.001257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2552 LIMIT 2 [ RunTime:0.005267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2552 ORDER BY `minOrder` ASC [ RunTime:0.000416s ]
select * from pdf where partno='39-01-2041' and brandshort='MOLEX' limit 1 [ RunTime:0.005642s ]
select foldpath,foldpath2,filename from pdf_file where id=850255 limit 1 [ RunTime:0.004639s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2041' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.014184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11571 LIMIT 4 [ RunTime:0.003492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11571 ORDER BY `minOrder` ASC [ RunTime:0.000202s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11571 ORDER BY `unit` DESC [ RunTime:0.000186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11571 LIMIT 2 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11571 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-969508-2' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000556s ]