SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001896s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.006702s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001519s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.151' ) [ RunTime:0.000279s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000873s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000187s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000196s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000153s ]
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.000278s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001071s ]
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.004267s ]
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.007371s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7399 LIMIT 4 [ RunTime:0.001416s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7399 ORDER BY `minOrder` ASC [ RunTime:0.001265s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000977s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7399 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7399 LIMIT 2 [ RunTime:0.000239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7399 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.004171s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002661s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.018302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4517 LIMIT 4 [ RunTime:0.010790s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4517 ORDER BY `minOrder` ASC [ RunTime:0.004124s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4517 ORDER BY `unit` DESC [ RunTime:0.002098s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4517 LIMIT 2 [ RunTime:0.004363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4517 ORDER BY `minOrder` ASC [ RunTime:0.001113s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.004322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6209 LIMIT 4 [ RunTime:0.000578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6209 ORDER BY `minOrder` ASC [ RunTime:0.000720s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6209 ORDER BY `unit` DESC [ RunTime:0.000729s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6209 LIMIT 2 [ RunTime:0.000672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6209 ORDER BY `minOrder` ASC [ RunTime:0.001214s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000856s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.008501s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2913 LIMIT 4 [ RunTime:0.000783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2913 ORDER BY `minOrder` ASC [ RunTime:0.001909s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2913 ORDER BY `unit` DESC [ RunTime:0.003855s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2913 LIMIT 2 [ RunTime:0.002718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2913 ORDER BY `minOrder` ASC [ RunTime:0.004926s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-V-GS18' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.008851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9940 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9940 ORDER BY `minOrder` ASC [ RunTime:0.005168s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9940 ORDER BY `unit` DESC [ RunTime:0.001816s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9940 LIMIT 2 [ RunTime:0.001413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9940 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-18' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006106s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16287 LIMIT 4 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16287 ORDER BY `minOrder` ASC [ RunTime:0.000471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16287 ORDER BY `unit` DESC [ RunTime:0.000440s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16287 LIMIT 2 [ RunTime:0.002011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16287 ORDER BY `minOrder` ASC [ RunTime:0.012860s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.000498s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15267 LIMIT 4 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15267 ORDER BY `minOrder` ASC [ RunTime:0.002781s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15267 ORDER BY `unit` DESC [ RunTime:0.000473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15267 LIMIT 2 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15267 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.000512s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8715 LIMIT 4 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8715 ORDER BY `minOrder` ASC [ RunTime:0.001985s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8715 ORDER BY `unit` DESC [ RunTime:0.000822s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8715 LIMIT 2 [ RunTime:0.002691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8715 ORDER BY `minOrder` ASC [ RunTime:0.001990s ]
select * from pdf where partno='1N4148WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.001097s ]
select foldpath,foldpath2,filename from pdf_file where id=1330504 limit 1 [ RunTime:0.000603s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.011511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29775 LIMIT 4 [ RunTime:0.001140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29775 ORDER BY `minOrder` ASC [ RunTime:0.000627s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29775 ORDER BY `unit` DESC [ RunTime:0.010931s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29775 LIMIT 2 [ RunTime:0.001065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29775 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.001360s ]
select foldpath,foldpath2,filename from pdf_file where id=602571 limit 1 [ RunTime:0.000715s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.003513s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28382 LIMIT 4 [ RunTime:0.002443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28382 ORDER BY `minOrder` ASC [ RunTime:0.005243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28382 ORDER BY `unit` DESC [ RunTime:0.005221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28382 LIMIT 2 [ RunTime:0.004213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28382 ORDER BY `minOrder` ASC [ RunTime:0.001607s ]
select * from pdf where partno='1N4148WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.003056s ]
select foldpath,foldpath2,filename from pdf_file where id=1330504 limit 1 [ RunTime:0.004270s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-08' OR `brand` LIKE 'VISHAY(威世)俩段%' ) ) LIMIT 1 [ RunTime:0.001030s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27182 LIMIT 4 [ RunTime:0.001642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27182 ORDER BY `minOrder` ASC [ RunTime:0.001188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27182 ORDER BY `unit` DESC [ RunTime:0.000463s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27182 LIMIT 2 [ RunTime:0.000432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27182 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
select * from pdf where partno='1N4148WS' and brandshort='R+O' limit 1 [ RunTime:0.000791s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'R+O(宏嘉诚)%' ) ) LIMIT 1 [ RunTime:0.002352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20385 LIMIT 4 [ RunTime:0.003263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20385 ORDER BY `minOrder` ASC [ RunTime:0.004437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20385 ORDER BY `unit` DESC [ RunTime:0.004842s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20385 LIMIT 2 [ RunTime:0.003173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20385 ORDER BY `minOrder` ASC [ RunTime:0.004672s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000452s ]
select foldpath,foldpath2,filename from pdf_file where id=602571 limit 1 [ RunTime:0.000268s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.000327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18992 LIMIT 4 [ RunTime:0.002960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18992 ORDER BY `minOrder` ASC [ RunTime:0.000740s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18992 ORDER BY `unit` DESC [ RunTime:0.010129s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18992 LIMIT 2 [ RunTime:0.006616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18992 ORDER BY `minOrder` ASC [ RunTime:0.000748s ]
select * from pdf where partno='1N4148WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.000407s ]
select foldpath,foldpath2,filename from pdf_file where id=1330504 limit 1 [ RunTime:0.000244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-08' OR `brand` LIKE 'VISHAY(威世)俩段%' ) ) LIMIT 1 [ RunTime:0.000323s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17792 LIMIT 4 [ RunTime:0.002630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17792 ORDER BY `minOrder` ASC [ RunTime:0.005745s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17792 ORDER BY `unit` DESC [ RunTime:0.005469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17792 LIMIT 2 [ RunTime:0.004341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17792 ORDER BY `minOrder` ASC [ RunTime:0.000811s ]
select * from pdf where partno='1N4148WS' and brandshort='CJ' limit 1 [ RunTime:0.000789s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'CJ%' ) ) LIMIT 1 [ RunTime:0.003194s ]
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.000981s ]