SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001805s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001977s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001977s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.000661s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001861s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000360s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.003918s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.008304s ]
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.000474s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002083s ]
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.007366s ]
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.004866s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2092 LIMIT 4 [ RunTime:0.001397s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2092 ORDER BY `minOrder` ASC [ RunTime:0.000497s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000828s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2092 ORDER BY `unit` DESC [ RunTime:0.000464s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000790s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2092 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2092 ORDER BY `minOrder` ASC [ RunTime:0.002195s ]
select * from pdf where partno='1N4007G' and brandshort='ONSEMI' limit 1 [ RunTime:0.002934s ]
select foldpath,foldpath2,filename from pdf_file where id=581385 limit 1 [ RunTime:0.003143s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001987s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.011360s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6205 LIMIT 4 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6205 ORDER BY `minOrder` ASC [ RunTime:0.000502s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6205 ORDER BY `unit` DESC [ RunTime:0.002513s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6205 LIMIT 2 [ RunTime:0.007171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6205 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
select * from pdf where partno='1N4007' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.006999s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.003358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6333 LIMIT 4 [ RunTime:0.012157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6333 ORDER BY `minOrder` ASC [ RunTime:0.005078s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6333 ORDER BY `unit` DESC [ RunTime:0.002109s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6333 LIMIT 2 [ RunTime:0.003520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6333 ORDER BY `minOrder` ASC [ RunTime:0.001053s ]
select * from pdf where partno='1N4007RLG' and brandshort='ONSEMI' limit 1 [ RunTime:0.005343s ]
select foldpath,foldpath2,filename from pdf_file where id=581385 limit 1 [ RunTime:0.000692s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007RLG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017117s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6833 LIMIT 4 [ RunTime:0.007083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6833 ORDER BY `minOrder` ASC [ RunTime:0.001723s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6833 ORDER BY `unit` DESC [ RunTime:0.002063s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6833 LIMIT 2 [ RunTime:0.003498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6833 ORDER BY `minOrder` ASC [ RunTime:0.000431s ]
select * from pdf where partno='1N4007-E3/73' and brandshort='VISHAY' limit 1 [ RunTime:0.001208s ]
select foldpath,foldpath2,filename from pdf_file where id=1299729 limit 1 [ RunTime:0.004072s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007-E3/73' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.018301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4526 LIMIT 4 [ RunTime:0.002694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4526 ORDER BY `minOrder` ASC [ RunTime:0.005713s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4526 ORDER BY `unit` DESC [ RunTime:0.001425s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4526 LIMIT 2 [ RunTime:0.004632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4526 ORDER BY `minOrder` ASC [ RunTime:0.003391s ]
select * from pdf where partno='1N4007-T' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001499s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007-T' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001651s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6361 LIMIT 4 [ RunTime:0.008791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6361 ORDER BY `minOrder` ASC [ RunTime:0.002127s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6361 ORDER BY `unit` DESC [ RunTime:0.000597s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6361 LIMIT 2 [ RunTime:0.000584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6361 ORDER BY `minOrder` ASC [ RunTime:0.003626s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007RLG' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3117 LIMIT 4 [ RunTime:0.001626s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3117 ORDER BY `minOrder` ASC [ RunTime:0.001310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3117 ORDER BY `unit` DESC [ RunTime:0.000735s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3117 LIMIT 2 [ RunTime:0.000719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3117 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
select * from pdf where partno='1N4007' and brandshort='NTE ELECTRONICS' limit 1 [ RunTime:0.007035s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007' OR `brand` LIKE 'NTE ELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005044s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29916 LIMIT 4 [ RunTime:0.003231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29916 ORDER BY `minOrder` ASC [ RunTime:0.007545s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29916 ORDER BY `unit` DESC [ RunTime:0.016999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29916 LIMIT 2 [ RunTime:0.007160s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29916 ORDER BY `minOrder` ASC [ RunTime:0.002130s ]
select * from pdf where partno='1N4007(M7)' and brandshort='STAR' limit 1 [ RunTime:0.004066s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007(M7)' OR `brand` LIKE 'STAR%' ) ) LIMIT 1 [ RunTime:0.017785s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29172 LIMIT 4 [ RunTime:0.001046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29172 ORDER BY `minOrder` ASC [ RunTime:0.000921s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29172 ORDER BY `unit` DESC [ RunTime:0.000780s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29172 LIMIT 2 [ RunTime:0.000769s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29172 ORDER BY `minOrder` ASC [ RunTime:0.000706s ]
select * from pdf where partno='1N4007 SMA(DO-214AC' and brandshort='NA' limit 1 [ RunTime:0.003453s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007 SMA(DO-214AC' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.008314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27974 LIMIT 4 [ RunTime:0.008981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27974 ORDER BY `minOrder` ASC [ RunTime:0.004170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27974 ORDER BY `unit` DESC [ RunTime:0.004832s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27974 LIMIT 2 [ RunTime:0.002461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27974 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
select * from pdf where partno='1N4007W'limit 1 [ RunTime:0.002247s ]
select foldpath,foldpath2,filename from pdf_file where id=2003870 limit 1 [ RunTime:0.002886s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007W' OR `brand` LIKE '晶导微电子%' ) ) LIMIT 1 [ RunTime:0.013018s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20526 LIMIT 4 [ RunTime:0.000821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20526 ORDER BY `minOrder` ASC [ RunTime:0.002126s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20526 ORDER BY `unit` DESC [ RunTime:0.000803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20526 LIMIT 2 [ RunTime:0.000901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20526 ORDER BY `minOrder` ASC [ RunTime:0.000962s ]
select * from pdf where partno='1N4007(M7)' and brandshort='STAR' limit 1 [ RunTime:0.000445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007(M7)' OR `brand` LIKE 'STAR%' ) ) LIMIT 1 [ RunTime:0.000420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19782 LIMIT 4 [ RunTime:0.000553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19782 ORDER BY `minOrder` ASC [ RunTime:0.000771s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19782 ORDER BY `unit` DESC [ RunTime:0.011303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19782 LIMIT 2 [ RunTime:0.009440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19782 ORDER BY `minOrder` ASC [ RunTime:0.000891s ]
select * from pdf where partno='1N4007 SMA(DO-214AC' and brandshort='NA' limit 1 [ RunTime:0.002427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007 SMA(DO-214AC' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.000674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18584 LIMIT 4 [ RunTime:0.002752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18584 ORDER BY `minOrder` ASC [ RunTime:0.006975s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18584 ORDER BY `unit` DESC [ RunTime:0.007000s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18584 LIMIT 2 [ RunTime:0.000946s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18584 ORDER BY `minOrder` ASC [ RunTime:0.003432s ]
select * from pdf where partno='1N4007W'limit 1 [ RunTime:0.000745s ]
select foldpath,foldpath2,filename from pdf_file where id=2003870 limit 1 [ RunTime:0.000374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4007W' OR `brand` LIKE '晶导微电子%' ) ) LIMIT 1 [ RunTime:0.000420s ]
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.011282s ]