SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002255s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000576s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002453s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001847s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000287s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000554s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000271s ]
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.000452s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002167s ]
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 'L7805CV%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004509s ]
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 ('6012952','4626513','14708','6011598','30742','29166','19776','6021409') ORDER BY FIELD(s.id, 6012952,4626513,14708,6011598,30742,29166,19776,6021409) [ RunTime:0.006132s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6012952 LIMIT 4 [ RunTime:0.001589s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6012952 ORDER BY `minOrder` ASC [ RunTime:0.001446s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000884s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6012952 ORDER BY `unit` DESC [ RunTime:0.001154s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6012952 LIMIT 2 [ RunTime:0.000255s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6012952 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4626513 LIMIT 4 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4626513 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4626513 ORDER BY `unit` DESC [ RunTime:0.001957s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4626513 LIMIT 2 [ RunTime:0.006689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4626513 ORDER BY `minOrder` ASC [ RunTime:0.005533s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14708 LIMIT 4 [ RunTime:0.001235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14708 ORDER BY `minOrder` ASC [ RunTime:0.001906s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14708 ORDER BY `unit` DESC [ RunTime:0.002565s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14708 LIMIT 2 [ RunTime:0.001081s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14708 ORDER BY `minOrder` ASC [ RunTime:0.001294s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001117s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L7805CV' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000968s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6011598 LIMIT 4 [ RunTime:0.002188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6011598 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6011598 ORDER BY `unit` DESC [ RunTime:0.000240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6011598 LIMIT 2 [ RunTime:0.001692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6011598 ORDER BY `minOrder` ASC [ RunTime:0.002893s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30742 LIMIT 4 [ RunTime:0.000951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30742 ORDER BY `minOrder` ASC [ RunTime:0.008631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30742 ORDER BY `unit` DESC [ RunTime:0.006444s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30742 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30742 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
select * from pdf where partno='L7805CV' and brandshort='ST' limit 1 [ RunTime:0.001055s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L7805CV' OR `brand` LIKE 'ST(意法半导体)%' ) ) LIMIT 1 [ RunTime:0.010592s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29166 LIMIT 4 [ RunTime:0.006674s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29166 ORDER BY `minOrder` ASC [ RunTime:0.002171s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29166 ORDER BY `unit` DESC [ RunTime:0.001824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29166 LIMIT 2 [ RunTime:0.001582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29166 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
select * from pdf where partno='L7805CV-DG' and brandshort='ST' limit 1 [ RunTime:0.004351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L7805CV-DG' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.013340s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19776 LIMIT 4 [ RunTime:0.004448s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19776 ORDER BY `minOrder` ASC [ RunTime:0.003836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19776 ORDER BY `unit` DESC [ RunTime:0.001352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19776 LIMIT 2 [ RunTime:0.002277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19776 ORDER BY `minOrder` ASC [ RunTime:0.001575s ]
select * from pdf where partno='L7805CV-DG' and brandshort='ST' limit 1 [ RunTime:0.000313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L7805CV-DG' OR `brand` LIKE 'ST%' ) ) LIMIT 1 [ RunTime:0.000223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6021409 LIMIT 4 [ RunTime:0.000841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6021409 ORDER BY `minOrder` ASC [ RunTime:0.008763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6021409 ORDER BY `unit` DESC [ RunTime:0.000947s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6021409 LIMIT 2 [ RunTime:0.000308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6021409 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='L7805CV' and brandshort='EVVO' limit 1 [ RunTime:0.000570s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'L7805CV%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004708s ]