SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002495s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000646s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002324s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000359s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002061s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000287s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000346s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000223s ]
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.000443s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002739s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'RC0603FR-0710KL%' AND `status` <> 2 ) [ RunTime:0.005154s ]
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 'RC0603FR-0710KL%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002143s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001970s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7022 LIMIT 4 [ RunTime:0.003115s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004819s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7022 ORDER BY `minOrder` ASC [ RunTime:0.002856s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7022 ORDER BY `unit` DESC [ RunTime:0.002798s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7022 LIMIT 2 [ RunTime:0.002276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7022 ORDER BY `minOrder` ASC [ RunTime:0.003036s ]
select * from pdf where partno='RC0603FR-0710KL' and brandshort='YAGEO' limit 1 [ RunTime:0.000484s ]
select foldpath,foldpath2,filename from pdf_file where id=1487253 limit 1 [ RunTime:0.000306s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002417s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC0603FR-0710KL' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.000494s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14128 LIMIT 4 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14128 ORDER BY `minOrder` ASC [ RunTime:0.004141s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14128 ORDER BY `unit` DESC [ RunTime:0.002929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14128 LIMIT 2 [ RunTime:0.000958s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14128 ORDER BY `minOrder` ASC [ RunTime:0.004751s ]
select * from pdf where partno='RC0603FR-0710KL' and brandshort='YAGEO' limit 1 [ RunTime:0.000744s ]
select foldpath,foldpath2,filename from pdf_file where id=1487253 limit 1 [ RunTime:0.000380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC0603FR-0710KL' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.000511s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7883737 LIMIT 4 [ RunTime:0.000977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7883737 ORDER BY `minOrder` ASC [ RunTime:0.005202s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7883737 ORDER BY `unit` DESC [ RunTime:0.000846s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7883737 LIMIT 2 [ RunTime:0.000959s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7883737 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
select * from pdf where partno='RC0603FR-0710KL' and brandshort='YAGEO' limit 1 [ RunTime:0.000570s ]
select foldpath,foldpath2,filename from pdf_file where id=1487253 limit 1 [ RunTime:0.000359s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16962 LIMIT 4 [ RunTime:0.000582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16962 ORDER BY `minOrder` ASC [ RunTime:0.000850s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16962 ORDER BY `unit` DESC [ RunTime:0.000584s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16962 LIMIT 2 [ RunTime:0.000710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16962 ORDER BY `minOrder` ASC [ RunTime:0.004749s ]
select * from pdf where partno='RC0603FR-0710KL' and brandshort='YAGEO' limit 1 [ RunTime:0.000558s ]
select foldpath,foldpath2,filename from pdf_file where id=1487253 limit 1 [ RunTime:0.000362s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC0603FR-0710KL' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.000453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15944 LIMIT 4 [ RunTime:0.000670s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15944 ORDER BY `minOrder` ASC [ RunTime:0.002618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15944 ORDER BY `unit` DESC [ RunTime:0.001506s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15944 LIMIT 2 [ RunTime:0.000529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15944 ORDER BY `minOrder` ASC [ RunTime:0.000543s ]
select * from pdf where partno='RC0603FR-0710KL' and brandshort='YAGEO' limit 1 [ RunTime:0.000663s ]
select foldpath,foldpath2,filename from pdf_file where id=1487253 limit 1 [ RunTime:0.000400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC0603FR-0710KL' OR `brand` LIKE 'YAGEO%' ) ) LIMIT 1 [ RunTime:0.000512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30890 LIMIT 4 [ RunTime:0.000440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30890 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30890 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30890 LIMIT 2 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30890 ORDER BY `minOrder` ASC [ RunTime:0.000368s ]
select * from pdf where partno='RC0603FR-0710KL' and brandshort='YAGEO' limit 1 [ RunTime:0.000501s ]
select foldpath,foldpath2,filename from pdf_file where id=1487253 limit 1 [ RunTime:0.000403s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RC0603FR-0710KL' OR `brand` LIKE 'YAGEO(国巨)%' ) ) LIMIT 1 [ RunTime:0.000461s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'RC0603FR-0710KL%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001661s ]