SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002824s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000748s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003248s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.166' ) [ RunTime:0.000427s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002381s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000368s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000592s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000322s ]
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.000683s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003519s ]
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 'C315C103K5R5TA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001574s ]
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 ('4445349','4406542','2065','4406764','15209','15104','7683453','7676102','7676101','7673288','7671736','4917305') ORDER BY FIELD(s.id, 4445349,4406542,2065,4406764,15209,15104,7683453,7676102,7676101,7673288,7671736,4917305) [ RunTime:0.006494s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4445349 LIMIT 4 [ RunTime:0.002679s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4445349 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001564s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4445349 ORDER BY `unit` DESC [ RunTime:0.002297s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001151s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4445349 LIMIT 2 [ RunTime:0.002130s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4445349 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4406542 LIMIT 4 [ RunTime:0.002603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4406542 ORDER BY `minOrder` ASC [ RunTime:0.001315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4406542 ORDER BY `unit` DESC [ RunTime:0.001010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4406542 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4406542 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2065 LIMIT 4 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2065 ORDER BY `minOrder` ASC [ RunTime:0.001640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2065 ORDER BY `unit` DESC [ RunTime:0.002399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2065 LIMIT 2 [ RunTime:0.002583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2065 ORDER BY `minOrder` ASC [ RunTime:0.000938s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.004535s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4406764 LIMIT 4 [ RunTime:0.002686s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4406764 ORDER BY `minOrder` ASC [ RunTime:0.002206s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4406764 ORDER BY `unit` DESC [ RunTime:0.006533s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4406764 LIMIT 2 [ RunTime:0.005634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4406764 ORDER BY `minOrder` ASC [ RunTime:0.001278s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15209 LIMIT 4 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15209 ORDER BY `minOrder` ASC [ RunTime:0.002857s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15209 ORDER BY `unit` DESC [ RunTime:0.000550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15209 LIMIT 2 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15209 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
select * from pdf where partno='C315C103K5R5TA' and brandshort='KEMET' limit 1 [ RunTime:0.004140s ]
select foldpath,foldpath2,filename from pdf_file where id=1637727 limit 1 [ RunTime:0.002276s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000447s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15104 LIMIT 4 [ RunTime:0.002320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15104 ORDER BY `minOrder` ASC [ RunTime:0.004276s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15104 ORDER BY `unit` DESC [ RunTime:0.007624s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15104 LIMIT 2 [ RunTime:0.009914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15104 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
select * from pdf where partno='C315C103K5R5TA' and brandshort='KEMET' limit 1 [ RunTime:0.006037s ]
select foldpath,foldpath2,filename from pdf_file where id=1637727 limit 1 [ RunTime:0.003019s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7683453 LIMIT 4 [ RunTime:0.000618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7683453 ORDER BY `minOrder` ASC [ RunTime:0.001856s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7683453 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7683453 LIMIT 2 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7683453 ORDER BY `minOrder` ASC [ RunTime:0.002207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7676102 LIMIT 4 [ RunTime:0.003681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676102 ORDER BY `minOrder` ASC [ RunTime:0.002711s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7676102 ORDER BY `unit` DESC [ RunTime:0.001294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7676102 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676102 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7676101 LIMIT 4 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676101 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7676101 ORDER BY `unit` DESC [ RunTime:0.001873s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7676101 LIMIT 2 [ RunTime:0.005363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676101 ORDER BY `minOrder` ASC [ RunTime:0.014000s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7673288 LIMIT 4 [ RunTime:0.006709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7673288 ORDER BY `minOrder` ASC [ RunTime:0.004720s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7673288 ORDER BY `unit` DESC [ RunTime:0.006989s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7673288 LIMIT 2 [ RunTime:0.010699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7673288 ORDER BY `minOrder` ASC [ RunTime:0.000932s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7671736 LIMIT 4 [ RunTime:0.006919s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7671736 ORDER BY `minOrder` ASC [ RunTime:0.003166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7671736 ORDER BY `unit` DESC [ RunTime:0.003757s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7671736 LIMIT 2 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7671736 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4917305 LIMIT 4 [ RunTime:0.000976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4917305 ORDER BY `minOrder` ASC [ RunTime:0.001654s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4917305 ORDER BY `unit` DESC [ RunTime:0.002483s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4917305 LIMIT 2 [ RunTime:0.001623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4917305 ORDER BY `minOrder` ASC [ RunTime:0.000708s ]
select * from pdf where partno='C315C103K5R5TA91707303' and brandshort='KEMET' limit 1 [ RunTime:0.000822s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'C315C103K5R5TA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002109s ]