SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001995s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000599s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002835s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001977s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000285s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000363s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000225s ]
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.000467s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002177s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE '1N4148WS%' AND `status` <> 2 ) [ RunTime:0.000897s ]
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 ( `partno` LIKE '1N4148WS%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006681s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7399 LIMIT 4 [ RunTime:0.006103s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7399 ORDER BY `minOrder` ASC [ RunTime:0.000673s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002035s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7399 ORDER BY `unit` DESC [ RunTime:0.000961s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.009274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7399 LIMIT 2 [ RunTime:0.001278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7399 ORDER BY `minOrder` ASC [ RunTime:0.002777s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.002200s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017031s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4517 LIMIT 4 [ RunTime:0.000596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4517 ORDER BY `minOrder` ASC [ RunTime:0.009318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4517 ORDER BY `unit` DESC [ RunTime:0.000563s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4517 LIMIT 2 [ RunTime:0.001709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4517 ORDER BY `minOrder` ASC [ RunTime:0.004352s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000661s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.004799s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6209 LIMIT 4 [ RunTime:0.010783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6209 ORDER BY `minOrder` ASC [ RunTime:0.004616s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6209 ORDER BY `unit` DESC [ RunTime:0.002899s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6209 LIMIT 2 [ RunTime:0.003926s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6209 ORDER BY `minOrder` ASC [ RunTime:0.001549s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001939s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000704s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2913 LIMIT 4 [ RunTime:0.007646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2913 ORDER BY `minOrder` ASC [ RunTime:0.001680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2913 ORDER BY `unit` DESC [ RunTime:0.000542s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2913 LIMIT 2 [ RunTime:0.002289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2913 ORDER BY `minOrder` ASC [ RunTime:0.002649s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-V-GS18' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.012454s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9940 LIMIT 4 [ RunTime:0.004983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9940 ORDER BY `minOrder` ASC [ RunTime:0.000547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9940 ORDER BY `unit` DESC [ RunTime:0.004341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9940 LIMIT 2 [ RunTime:0.004534s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9940 ORDER BY `minOrder` ASC [ RunTime:0.000905s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-18' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.005904s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16287 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16287 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16287 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16287 LIMIT 2 [ RunTime:0.002073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16287 ORDER BY `minOrder` ASC [ RunTime:0.003708s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.000390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15267 LIMIT 4 [ RunTime:0.003025s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15267 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15267 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15267 LIMIT 2 [ RunTime:0.001128s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15267 ORDER BY `minOrder` ASC [ RunTime:0.001081s ]
select * from pdf where partno='1N4148WS' and brandshort='ONSEMI' limit 1 [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8715 LIMIT 4 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8715 ORDER BY `minOrder` ASC [ RunTime:0.004298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8715 ORDER BY `unit` DESC [ RunTime:0.002026s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8715 LIMIT 2 [ RunTime:0.002897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8715 ORDER BY `minOrder` ASC [ RunTime:0.001341s ]
select * from pdf where partno='1N4148WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.002143s ]
select foldpath,foldpath2,filename from pdf_file where id=1330504 limit 1 [ RunTime:0.000321s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.011201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29775 LIMIT 4 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29775 ORDER BY `minOrder` ASC [ RunTime:0.000258s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29775 ORDER BY `unit` DESC [ RunTime:0.000253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29775 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29775 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000372s ]
select foldpath,foldpath2,filename from pdf_file where id=602571 limit 1 [ RunTime:0.000233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.000261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28382 LIMIT 4 [ RunTime:0.001477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28382 ORDER BY `minOrder` ASC [ RunTime:0.000889s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28382 ORDER BY `unit` DESC [ RunTime:0.000499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28382 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28382 ORDER BY `minOrder` ASC [ RunTime:0.000249s ]
select * from pdf where partno='1N4148WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.000299s ]
select foldpath,foldpath2,filename from pdf_file where id=1330504 limit 1 [ RunTime:0.000234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-08' OR `brand` LIKE 'VISHAY(威世)俩段%' ) ) LIMIT 1 [ RunTime:0.001173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27182 LIMIT 4 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27182 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27182 ORDER BY `unit` DESC [ RunTime:0.008389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27182 LIMIT 2 [ RunTime:0.002436s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27182 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
select * from pdf where partno='1N4148WS' and brandshort='R+O' limit 1 [ RunTime:0.000982s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'R+O(宏嘉诚)%' ) ) LIMIT 1 [ RunTime:0.006488s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 26321 LIMIT 4 [ RunTime:0.001556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26321 ORDER BY `minOrder` ASC [ RunTime:0.000840s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 26321 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 26321 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26321 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
select * from pdf where partno='1N4148WST4'limit 1 [ RunTime:0.003345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WST4' OR `brand` LIKE '长电%' ) ) LIMIT 1 [ RunTime:0.001349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 26265 LIMIT 4 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26265 ORDER BY `minOrder` ASC [ RunTime:0.000770s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 26265 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 26265 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26265 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='1N4148WSQ-7-F' and brandshort='Diodes Inc' limit 1 [ RunTime:0.001341s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WSQ-7-F' OR `brand` LIKE 'Diodes Inc%' ) ) LIMIT 1 [ RunTime:0.000576s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 21453 LIMIT 4 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21453 ORDER BY `minOrder` ASC [ RunTime:0.001993s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 21453 ORDER BY `unit` DESC [ RunTime:0.000378s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 21453 LIMIT 2 [ RunTime:0.010691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21453 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='1N4148WS' and brandshort='CJ' limit 1 [ RunTime:0.004610s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'CJ江苏长电(授权代理)%' ) ) LIMIT 1 [ RunTime:0.006600s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 21231 LIMIT 4 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21231 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 21231 ORDER BY `unit` DESC [ RunTime:0.000253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 21231 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21231 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000708s ]
select foldpath,foldpath2,filename from pdf_file where id=602571 limit 1 [ RunTime:0.000364s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES(美台)%' ) ) LIMIT 1 [ RunTime:0.000314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20385 LIMIT 4 [ RunTime:0.000412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20385 ORDER BY `minOrder` ASC [ RunTime:0.002648s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20385 ORDER BY `unit` DESC [ RunTime:0.002847s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20385 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20385 ORDER BY `minOrder` ASC [ RunTime:0.001775s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000730s ]
select foldpath,foldpath2,filename from pdf_file where id=602571 limit 1 [ RunTime:0.000357s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.000310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18992 LIMIT 4 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18992 ORDER BY `minOrder` ASC [ RunTime:0.008924s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18992 ORDER BY `unit` DESC [ RunTime:0.003036s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18992 LIMIT 2 [ RunTime:0.000396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18992 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
select * from pdf where partno='1N4148WS-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.000562s ]
select foldpath,foldpath2,filename from pdf_file where id=1330504 limit 1 [ RunTime:0.000356s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-E3-08' OR `brand` LIKE 'VISHAY(威世)俩段%' ) ) LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17792 LIMIT 4 [ RunTime:0.001095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17792 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17792 ORDER BY `unit` DESC [ RunTime:0.002089s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17792 LIMIT 2 [ RunTime:0.004292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17792 ORDER BY `minOrder` ASC [ RunTime:0.002839s ]
select * from pdf where partno='1N4148WS' and brandshort='CJ' limit 1 [ RunTime:0.000489s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS' OR `brand` LIKE 'CJ%' ) ) LIMIT 1 [ RunTime:0.004713s ]
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.002925s ]