SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001269s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000501s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002292s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000333s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002453s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000483s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000431s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000284s ]
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.000490s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002943s ]
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 '1N4148WS%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001699s ]
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 ('7399','4517','6209','2913','9940','16287','15267','8715','29775','28382','27182','20385','18992','17792') ORDER BY FIELD(s.id, 7399,4517,6209,2913,9940,16287,15267,8715,29775,28382,27182,20385,18992,17792) [ RunTime:0.003302s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7399 LIMIT 4 [ RunTime:0.000263s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7399 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7399 ORDER BY `unit` DESC [ RunTime:0.000429s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000846s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7399 LIMIT 2 [ RunTime:0.000713s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7399 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.004124s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002427s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.014810s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4517 LIMIT 4 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4517 ORDER BY `minOrder` ASC [ RunTime:0.000612s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4517 ORDER BY `unit` DESC [ RunTime:0.000477s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4517 LIMIT 2 [ RunTime:0.000408s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4517 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000829s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000964s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6209 LIMIT 4 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6209 ORDER BY `minOrder` ASC [ RunTime:0.000877s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6209 ORDER BY `unit` DESC [ RunTime:0.000420s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6209 LIMIT 2 [ RunTime:0.000539s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6209 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000750s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000747s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2913 LIMIT 4 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2913 ORDER BY `minOrder` ASC [ RunTime:0.000556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2913 ORDER BY `unit` DESC [ RunTime:0.000568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2913 LIMIT 2 [ RunTime:0.000602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2913 ORDER BY `minOrder` ASC [ RunTime:0.000237s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-V-GS18' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.008699s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9940 LIMIT 4 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9940 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9940 ORDER BY `unit` DESC [ RunTime:0.000348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9940 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9940 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-18' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.005514s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16287 LIMIT 4 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16287 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16287 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16287 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16287 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.000377s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15267 LIMIT 4 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15267 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15267 ORDER BY `unit` DESC [ RunTime:0.000271s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15267 LIMIT 2 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15267 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.000351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8715 LIMIT 4 [ RunTime:0.000234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8715 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8715 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8715 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8715 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
select * from pdf where partno='1N4148WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.001057s ]
select foldpath,foldpath2,filename from pdf_file where id=1330504 limit 1 [ RunTime:0.000622s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.005747s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29775 LIMIT 4 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29775 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29775 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29775 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29775 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000828s ]
select foldpath,foldpath2,filename from pdf_file where id=602571 limit 1 [ RunTime:0.000686s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.004098s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28382 LIMIT 4 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28382 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28382 ORDER BY `unit` DESC [ RunTime:0.000334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28382 LIMIT 2 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28382 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
select * from pdf where partno='1N4148WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.000356s ]
select foldpath,foldpath2,filename from pdf_file where id=1330504 limit 1 [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-08' OR `brand` LIKE 'VISHAY(威世)俩段%' ) ) LIMIT 1 [ RunTime:0.000561s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27182 LIMIT 4 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27182 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27182 ORDER BY `unit` DESC [ RunTime:0.000327s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27182 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27182 ORDER BY `minOrder` ASC [ RunTime:0.000165s ]
select * from pdf where partno='1N4148WS' and brandshort='R+O' limit 1 [ RunTime:0.001060s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'R+O(宏嘉诚)%' ) ) LIMIT 1 [ RunTime:0.000646s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20385 LIMIT 4 [ RunTime:0.000267s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20385 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20385 ORDER BY `unit` DESC [ RunTime:0.000333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20385 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20385 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000368s ]
select foldpath,foldpath2,filename from pdf_file where id=602571 limit 1 [ RunTime:0.000226s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18992 LIMIT 4 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18992 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18992 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18992 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18992 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
select * from pdf where partno='1N4148WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.000379s ]
select foldpath,foldpath2,filename from pdf_file where id=1330504 limit 1 [ RunTime:0.000227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-08' OR `brand` LIKE 'VISHAY(威世)俩段%' ) ) LIMIT 1 [ RunTime:0.000153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17792 LIMIT 4 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17792 ORDER BY `minOrder` ASC [ RunTime:0.000381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17792 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17792 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17792 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
select * from pdf where partno='1N4148WS' and brandshort='CJ' limit 1 [ RunTime:0.000965s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'CJ%' ) ) LIMIT 1 [ RunTime:0.004075s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '1N4148WS%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000821s ]