SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001621s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000540s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001720s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.166' ) [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001228s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000375s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000319s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000186s ]
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.000335s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001621s ]
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.007477s ]
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.004258s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4445349 LIMIT 4 [ RunTime:0.003445s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4445349 ORDER BY `minOrder` ASC [ RunTime:0.001344s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001092s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4445349 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002431s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4445349 LIMIT 2 [ RunTime:0.002625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4445349 ORDER BY `minOrder` ASC [ RunTime:0.000674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4406542 LIMIT 4 [ RunTime:0.001360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4406542 ORDER BY `minOrder` ASC [ RunTime:0.003979s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4406542 ORDER BY `unit` DESC [ RunTime:0.000242s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4406542 LIMIT 2 [ RunTime:0.001881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4406542 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2065 LIMIT 4 [ RunTime:0.001520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2065 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2065 ORDER BY `unit` DESC [ RunTime:0.000286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2065 LIMIT 2 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2065 ORDER BY `minOrder` ASC [ RunTime:0.001740s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001266s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.001922s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4406764 LIMIT 4 [ RunTime:0.012961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4406764 ORDER BY `minOrder` ASC [ RunTime:0.002570s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4406764 ORDER BY `unit` DESC [ RunTime:0.002055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4406764 LIMIT 2 [ RunTime:0.002749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4406764 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15209 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15209 ORDER BY `minOrder` ASC [ RunTime:0.000960s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15209 ORDER BY `unit` DESC [ RunTime:0.002514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15209 LIMIT 2 [ RunTime:0.006863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15209 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='C315C103K5R5TA' and brandshort='KEMET' limit 1 [ RunTime:0.009501s ]
select foldpath,foldpath2,filename from pdf_file where id=1637727 limit 1 [ RunTime:0.004729s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.004886s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15104 LIMIT 4 [ RunTime:0.003039s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15104 ORDER BY `minOrder` ASC [ RunTime:0.000886s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15104 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15104 LIMIT 2 [ RunTime:0.002470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15104 ORDER BY `minOrder` ASC [ RunTime:0.002317s ]
select * from pdf where partno='C315C103K5R5TA' and brandshort='KEMET' limit 1 [ RunTime:0.000414s ]
select foldpath,foldpath2,filename from pdf_file where id=1637727 limit 1 [ RunTime:0.004151s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C315C103K5R5TA' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7683453 LIMIT 4 [ RunTime:0.001536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7683453 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7683453 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7683453 LIMIT 2 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7683453 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7676102 LIMIT 4 [ RunTime:0.000528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676102 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7676102 ORDER BY `unit` DESC [ RunTime:0.001844s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7676102 LIMIT 2 [ RunTime:0.000714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676102 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7676101 LIMIT 4 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676101 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7676101 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7676101 LIMIT 2 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7676101 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7673288 LIMIT 4 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7673288 ORDER BY `minOrder` ASC [ RunTime:0.001420s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7673288 ORDER BY `unit` DESC [ RunTime:0.000967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7673288 LIMIT 2 [ RunTime:0.001811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7673288 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7671736 LIMIT 4 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7671736 ORDER BY `minOrder` ASC [ RunTime:0.000279s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7671736 ORDER BY `unit` DESC [ RunTime:0.001521s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7671736 LIMIT 2 [ RunTime:0.000845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7671736 ORDER BY `minOrder` ASC [ RunTime:0.000839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4917305 LIMIT 4 [ RunTime:0.001180s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4917305 ORDER BY `minOrder` ASC [ RunTime:0.006104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4917305 ORDER BY `unit` DESC [ RunTime:0.000485s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4917305 LIMIT 2 [ RunTime:0.000849s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4917305 ORDER BY `minOrder` ASC [ RunTime:0.001432s ]
select * from pdf where partno='C315C103K5R5TA91707303' and brandshort='KEMET' limit 1 [ RunTime:0.001600s ]
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.000870s ]