SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002096s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000499s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002298s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.222' ) [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001770s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000272s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000310s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000226s ]
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.000379s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002019s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'LT3032IDE%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.000356s ]
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 'LT3032IDE%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002103s ]
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 ('9066536','4626206','7047806','6010003','6021173','5278939','6013446','13203','9083242','7056908','7056907') ORDER BY FIELD(s.id, 9066536,4626206,7047806,6010003,6021173,5278939,6013446,13203,9083242,7056908,7056907) [ RunTime:0.003665s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002221s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9066536 LIMIT 4 [ RunTime:0.000644s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9066536 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001690s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9066536 ORDER BY `unit` DESC [ RunTime:0.000266s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001667s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9066536 LIMIT 2 [ RunTime:0.002280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9066536 ORDER BY `minOrder` ASC [ RunTime:0.001025s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4626206 LIMIT 4 [ RunTime:0.001145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4626206 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4626206 ORDER BY `unit` DESC [ RunTime:0.000703s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4626206 LIMIT 2 [ RunTime:0.000598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4626206 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7047806 LIMIT 4 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7047806 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7047806 ORDER BY `unit` DESC [ RunTime:0.000226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7047806 LIMIT 2 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7047806 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6010003 LIMIT 4 [ RunTime:0.000660s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6010003 ORDER BY `minOrder` ASC [ RunTime:0.002204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6010003 ORDER BY `unit` DESC [ RunTime:0.001715s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6010003 LIMIT 2 [ RunTime:0.002739s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6010003 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6021173 LIMIT 4 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6021173 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6021173 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6021173 LIMIT 2 [ RunTime:0.001786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6021173 ORDER BY `minOrder` ASC [ RunTime:0.003154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5278939 LIMIT 4 [ RunTime:0.001581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5278939 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5278939 ORDER BY `unit` DESC [ RunTime:0.000225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5278939 LIMIT 2 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5278939 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6013446 LIMIT 4 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6013446 ORDER BY `minOrder` ASC [ RunTime:0.009861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6013446 ORDER BY `unit` DESC [ RunTime:0.011738s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6013446 LIMIT 2 [ RunTime:0.002501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6013446 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13203 LIMIT 4 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13203 ORDER BY `minOrder` ASC [ RunTime:0.000663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13203 ORDER BY `unit` DESC [ RunTime:0.002745s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13203 LIMIT 2 [ RunTime:0.002331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13203 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001137s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LT3032IDE#PBF' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000840s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9083242 LIMIT 4 [ RunTime:0.002809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9083242 ORDER BY `minOrder` ASC [ RunTime:0.000488s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9083242 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9083242 LIMIT 2 [ RunTime:0.004924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9083242 ORDER BY `minOrder` ASC [ RunTime:0.004510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7056908 LIMIT 4 [ RunTime:0.001981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7056908 ORDER BY `minOrder` ASC [ RunTime:0.000813s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7056908 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7056908 LIMIT 2 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7056908 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7056907 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7056907 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7056907 ORDER BY `unit` DESC [ RunTime:0.002088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7056907 LIMIT 2 [ RunTime:0.000895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7056907 ORDER BY `minOrder` ASC [ RunTime:0.001358s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'LT3032IDE%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000322s ]