SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001279s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000525s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001481s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.222' ) [ RunTime:0.000296s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001158s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000249s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000248s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000177s ]
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.000340s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001280s ]
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 'T491D336K025AT%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002890s ]
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 ('7593920','7617342','16685','15666','5897','6712401','6712131','5570725','5570405','4885220','4885086','4884846') ORDER BY FIELD(s.id, 7593920,7617342,16685,15666,5897,6712401,6712131,5570725,5570405,4885220,4885086,4884846) [ RunTime:0.006671s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001104s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7593920 LIMIT 4 [ RunTime:0.001846s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7593920 ORDER BY `minOrder` ASC [ RunTime:0.001678s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000858s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7593920 ORDER BY `unit` DESC [ RunTime:0.000695s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000829s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7593920 LIMIT 2 [ RunTime:0.000265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7593920 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7617342 LIMIT 4 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7617342 ORDER BY `minOrder` ASC [ RunTime:0.002856s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7617342 ORDER BY `unit` DESC [ RunTime:0.003192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7617342 LIMIT 2 [ RunTime:0.000247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7617342 ORDER BY `minOrder` ASC [ RunTime:0.001281s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16685 LIMIT 4 [ RunTime:0.007261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16685 ORDER BY `minOrder` ASC [ RunTime:0.002140s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16685 ORDER BY `unit` DESC [ RunTime:0.000184s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16685 LIMIT 2 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16685 ORDER BY `minOrder` ASC [ RunTime:0.000168s ]
select * from pdf where partno='T491D336K025AT' and brandshort='KEMET' limit 1 [ RunTime:0.000410s ]
select foldpath,foldpath2,filename from pdf_file where id=610751 limit 1 [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001534s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491D336K025AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15666 LIMIT 4 [ RunTime:0.003454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15666 ORDER BY `minOrder` ASC [ RunTime:0.001387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15666 ORDER BY `unit` DESC [ RunTime:0.000177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15666 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15666 ORDER BY `minOrder` ASC [ RunTime:0.000165s ]
select * from pdf where partno='T491D336K025AT' and brandshort='KEMET' limit 1 [ RunTime:0.000417s ]
select foldpath,foldpath2,filename from pdf_file where id=610751 limit 1 [ RunTime:0.000264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491D336K025AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5897 LIMIT 4 [ RunTime:0.004796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5897 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5897 ORDER BY `unit` DESC [ RunTime:0.000172s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5897 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5897 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
select * from pdf where partno='T491D336K025AT' and brandshort='KEMET' limit 1 [ RunTime:0.000398s ]
select foldpath,foldpath2,filename from pdf_file where id=610751 limit 1 [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491D336K025AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6712401 LIMIT 4 [ RunTime:0.001354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6712401 ORDER BY `minOrder` ASC [ RunTime:0.000584s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6712401 ORDER BY `unit` DESC [ RunTime:0.000318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6712401 LIMIT 2 [ RunTime:0.000610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6712401 ORDER BY `minOrder` ASC [ RunTime:0.000206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6712131 LIMIT 4 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6712131 ORDER BY `minOrder` ASC [ RunTime:0.000267s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6712131 ORDER BY `unit` DESC [ RunTime:0.000257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6712131 LIMIT 2 [ RunTime:0.001811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6712131 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5570725 LIMIT 4 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5570725 ORDER BY `minOrder` ASC [ RunTime:0.000952s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5570725 ORDER BY `unit` DESC [ RunTime:0.001690s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5570725 LIMIT 2 [ RunTime:0.001870s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5570725 ORDER BY `minOrder` ASC [ RunTime:0.000459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5570405 LIMIT 4 [ RunTime:0.003139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5570405 ORDER BY `minOrder` ASC [ RunTime:0.001888s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5570405 ORDER BY `unit` DESC [ RunTime:0.001224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5570405 LIMIT 2 [ RunTime:0.003518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5570405 ORDER BY `minOrder` ASC [ RunTime:0.001412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4885220 LIMIT 4 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4885220 ORDER BY `minOrder` ASC [ RunTime:0.005704s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4885220 ORDER BY `unit` DESC [ RunTime:0.001953s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4885220 LIMIT 2 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4885220 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4885086 LIMIT 4 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4885086 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4885086 ORDER BY `unit` DESC [ RunTime:0.002488s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4885086 LIMIT 2 [ RunTime:0.005747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4885086 ORDER BY `minOrder` ASC [ RunTime:0.001983s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4884846 LIMIT 4 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4884846 ORDER BY `minOrder` ASC [ RunTime:0.001252s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4884846 ORDER BY `unit` DESC [ RunTime:0.001488s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4884846 LIMIT 2 [ RunTime:0.003434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4884846 ORDER BY `minOrder` ASC [ RunTime:0.001247s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'T491D336K025AT%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.006458s ]