SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.000921s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000454s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.000922s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.151' ) [ RunTime:0.003511s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000880s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000192s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000235s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000156s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001111s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `partno` LIKE '1N4007%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000924s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('2092','6205','6333','6833','4526','6361','3117','29916','29172','27974','20526','19782','18584') ORDER BY FIELD(s.id, 2092,6205,6333,6833,4526,6361,3117,29916,29172,27974,20526,19782,18584) [ RunTime:0.003562s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001000s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2092 LIMIT 4 [ RunTime:0.000260s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002266s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2092 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2092 ORDER BY `unit` DESC [ RunTime:0.000288s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2092 LIMIT 2 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2092 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
select * from pdf where partno='1N4007G' and brandshort='ONSEMI' limit 1 [ RunTime:0.002721s ]
select foldpath,foldpath2,filename from pdf_file where id=581385 limit 1 [ RunTime:0.001716s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6205 LIMIT 4 [ RunTime:0.000998s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6205 ORDER BY `minOrder` ASC [ RunTime:0.000576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6205 ORDER BY `unit` DESC [ RunTime:0.000667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6205 LIMIT 2 [ RunTime:0.000615s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6205 ORDER BY `minOrder` ASC [ RunTime:0.004908s ]
select * from pdf where partno='1N4007' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.007509s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001557s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6333 LIMIT 4 [ RunTime:0.005924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6333 ORDER BY `minOrder` ASC [ RunTime:0.005335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6333 ORDER BY `unit` DESC [ RunTime:0.005094s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6333 LIMIT 2 [ RunTime:0.005337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6333 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
select * from pdf where partno='1N4007RLG' and brandshort='ONSEMI' limit 1 [ RunTime:0.001372s ]
select foldpath,foldpath2,filename from pdf_file where id=581385 limit 1 [ RunTime:0.001135s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007RLG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.011156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6833 LIMIT 4 [ RunTime:0.001952s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6833 ORDER BY `minOrder` ASC [ RunTime:0.000948s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6833 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6833 LIMIT 2 [ RunTime:0.000978s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6833 ORDER BY `minOrder` ASC [ RunTime:0.001020s ]
select * from pdf where partno='1N4007-E3/73' and brandshort='VISHAY' limit 1 [ RunTime:0.001356s ]
select foldpath,foldpath2,filename from pdf_file where id=1299729 limit 1 [ RunTime:0.002054s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007-E3/73' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.014536s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4526 LIMIT 4 [ RunTime:0.004102s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4526 ORDER BY `minOrder` ASC [ RunTime:0.000541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4526 ORDER BY `unit` DESC [ RunTime:0.002294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4526 LIMIT 2 [ RunTime:0.005142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4526 ORDER BY `minOrder` ASC [ RunTime:0.005014s ]
select * from pdf where partno='1N4007-T' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007-T' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.006374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6361 LIMIT 4 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6361 ORDER BY `minOrder` ASC [ RunTime:0.008710s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6361 ORDER BY `unit` DESC [ RunTime:0.000589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6361 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6361 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007RLG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3117 LIMIT 4 [ RunTime:0.000600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3117 ORDER BY `minOrder` ASC [ RunTime:0.000592s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3117 ORDER BY `unit` DESC [ RunTime:0.002754s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3117 LIMIT 2 [ RunTime:0.004502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3117 ORDER BY `minOrder` ASC [ RunTime:0.008606s ]
select * from pdf where partno='1N4007' and brandshort='NTE ELECTRONICS' limit 1 [ RunTime:0.006907s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007' OR `brand` LIKE 'NTE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29916 LIMIT 4 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29916 ORDER BY `minOrder` ASC [ RunTime:0.000587s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29916 ORDER BY `unit` DESC [ RunTime:0.000539s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29916 LIMIT 2 [ RunTime:0.000667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29916 ORDER BY `minOrder` ASC [ RunTime:0.001086s ]
select * from pdf where partno='1N4007(M7)' and brandshort='STAR' limit 1 [ RunTime:0.002803s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007(M7)' OR `brand` LIKE 'STAR%' ) ) LIMIT 1 [ RunTime:0.007769s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29172 LIMIT 4 [ RunTime:0.002480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29172 ORDER BY `minOrder` ASC [ RunTime:0.000866s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29172 ORDER BY `unit` DESC [ RunTime:0.000550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29172 LIMIT 2 [ RunTime:0.000668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29172 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
select * from pdf where partno='1N4007 SMA(DO-214AC' and brandshort='NA' limit 1 [ RunTime:0.000764s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007 SMA(DO-214AC' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.003115s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27974 LIMIT 4 [ RunTime:0.005021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27974 ORDER BY `minOrder` ASC [ RunTime:0.009840s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27974 ORDER BY `unit` DESC [ RunTime:0.008275s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27974 LIMIT 2 [ RunTime:0.009259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27974 ORDER BY `minOrder` ASC [ RunTime:0.002383s ]
select * from pdf where partno='1N4007W'limit 1 [ RunTime:0.001605s ]
select foldpath,foldpath2,filename from pdf_file where id=2003870 limit 1 [ RunTime:0.001179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007W' OR `brand` LIKE '晶导微电子%' ) ) LIMIT 1 [ RunTime:0.004329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20526 LIMIT 4 [ RunTime:0.000644s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20526 ORDER BY `minOrder` ASC [ RunTime:0.006484s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20526 ORDER BY `unit` DESC [ RunTime:0.006019s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20526 LIMIT 2 [ RunTime:0.006446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20526 ORDER BY `minOrder` ASC [ RunTime:0.001923s ]
select * from pdf where partno='1N4007(M7)' and brandshort='STAR' limit 1 [ RunTime:0.000385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007(M7)' OR `brand` LIKE 'STAR%' ) ) LIMIT 1 [ RunTime:0.000311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19782 LIMIT 4 [ RunTime:0.000727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19782 ORDER BY `minOrder` ASC [ RunTime:0.006952s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19782 ORDER BY `unit` DESC [ RunTime:0.006910s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19782 LIMIT 2 [ RunTime:0.000686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19782 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
select * from pdf where partno='1N4007 SMA(DO-214AC' and brandshort='NA' limit 1 [ RunTime:0.000275s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007 SMA(DO-214AC' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.000245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18584 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18584 ORDER BY `minOrder` ASC [ RunTime:0.006037s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18584 ORDER BY `unit` DESC [ RunTime:0.005522s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18584 LIMIT 2 [ RunTime:0.000657s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18584 ORDER BY `minOrder` ASC [ RunTime:0.000841s ]
select * from pdf where partno='1N4007W'limit 1 [ RunTime:0.000264s ]
select foldpath,foldpath2,filename from pdf_file where id=2003870 limit 1 [ RunTime:0.000159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007W' OR `brand` LIKE '晶导微电子%' ) ) LIMIT 1 [ RunTime:0.000181s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '1N4007%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001016s ]