SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001900s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000489s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001358s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000259s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000974s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000221s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000179s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000148s ]
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.000325s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001084s ]
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 '980%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 120,20 [ RunTime:0.006730s ]
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 ('9237436','9237435','8924296','8924294','8924284','8916077','8916076','8916075','8916074','8916073','8901962','8892981','8882238','8866281','8866280','8866277','8866260','8866247','8866246','8758839') ORDER BY FIELD(s.id, 9237436,9237435,8924296,8924294,8924284,8916077,8916076,8916075,8916074,8916073,8901962,8892981,8882238,8866281,8866280,8866277,8866260,8866247,8866246,8758839) [ RunTime:0.004389s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9237436 LIMIT 4 [ RunTime:0.000555s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9237436 ORDER BY `minOrder` ASC [ RunTime:0.001204s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002606s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9237436 ORDER BY `unit` DESC [ RunTime:0.001445s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004597s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9237436 LIMIT 2 [ RunTime:0.001345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9237436 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9237435 LIMIT 4 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9237435 ORDER BY `minOrder` ASC [ RunTime:0.002904s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9237435 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9237435 LIMIT 2 [ RunTime:0.001500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9237435 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8924296 LIMIT 4 [ RunTime:0.001690s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8924296 ORDER BY `minOrder` ASC [ RunTime:0.000790s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8924296 ORDER BY `unit` DESC [ RunTime:0.000257s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8924296 LIMIT 2 [ RunTime:0.012460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8924296 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8924294 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8924294 ORDER BY `minOrder` ASC [ RunTime:0.001269s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8924294 ORDER BY `unit` DESC [ RunTime:0.003371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8924294 LIMIT 2 [ RunTime:0.001504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8924294 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8924284 LIMIT 4 [ RunTime:0.000480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8924284 ORDER BY `minOrder` ASC [ RunTime:0.002045s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8924284 ORDER BY `unit` DESC [ RunTime:0.002494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8924284 LIMIT 2 [ RunTime:0.000940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8924284 ORDER BY `minOrder` ASC [ RunTime:0.003729s ]
select * from pdf where partno='98000337299' and brandshort='3M' limit 1 [ RunTime:0.002825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8916077 LIMIT 4 [ RunTime:0.001101s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8916077 ORDER BY `minOrder` ASC [ RunTime:0.000744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8916077 ORDER BY `unit` DESC [ RunTime:0.004177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8916077 LIMIT 2 [ RunTime:0.002442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8916077 ORDER BY `minOrder` ASC [ RunTime:0.003504s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8916076 LIMIT 4 [ RunTime:0.009881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8916076 ORDER BY `minOrder` ASC [ RunTime:0.003816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8916076 ORDER BY `unit` DESC [ RunTime:0.004707s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8916076 LIMIT 2 [ RunTime:0.006259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8916076 ORDER BY `minOrder` ASC [ RunTime:0.000477s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8916075 LIMIT 4 [ RunTime:0.002698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8916075 ORDER BY `minOrder` ASC [ RunTime:0.002255s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8916075 ORDER BY `unit` DESC [ RunTime:0.002013s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8916075 LIMIT 2 [ RunTime:0.000633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8916075 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8916074 LIMIT 4 [ RunTime:0.004376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8916074 ORDER BY `minOrder` ASC [ RunTime:0.006710s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8916074 ORDER BY `unit` DESC [ RunTime:0.001979s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8916074 LIMIT 2 [ RunTime:0.001824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8916074 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8916073 LIMIT 4 [ RunTime:0.002783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8916073 ORDER BY `minOrder` ASC [ RunTime:0.002837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8916073 ORDER BY `unit` DESC [ RunTime:0.000738s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8916073 LIMIT 2 [ RunTime:0.001958s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8916073 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8901962 LIMIT 4 [ RunTime:0.003850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8901962 ORDER BY `minOrder` ASC [ RunTime:0.003462s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8901962 ORDER BY `unit` DESC [ RunTime:0.000696s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8901962 LIMIT 2 [ RunTime:0.000423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8901962 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8892981 LIMIT 4 [ RunTime:0.000722s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8892981 ORDER BY `minOrder` ASC [ RunTime:0.003626s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8892981 ORDER BY `unit` DESC [ RunTime:0.006961s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8892981 LIMIT 2 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8892981 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8882238 LIMIT 4 [ RunTime:0.000679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8882238 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8882238 ORDER BY `unit` DESC [ RunTime:0.002389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8882238 LIMIT 2 [ RunTime:0.014085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8882238 ORDER BY `minOrder` ASC [ RunTime:0.001219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8866281 LIMIT 4 [ RunTime:0.005937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866281 ORDER BY `minOrder` ASC [ RunTime:0.007192s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8866281 ORDER BY `unit` DESC [ RunTime:0.001222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8866281 LIMIT 2 [ RunTime:0.000479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866281 ORDER BY `minOrder` ASC [ RunTime:0.000383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8866280 LIMIT 4 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866280 ORDER BY `minOrder` ASC [ RunTime:0.000604s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8866280 ORDER BY `unit` DESC [ RunTime:0.002538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8866280 LIMIT 2 [ RunTime:0.007139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866280 ORDER BY `minOrder` ASC [ RunTime:0.003813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8866277 LIMIT 4 [ RunTime:0.005617s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866277 ORDER BY `minOrder` ASC [ RunTime:0.008366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8866277 ORDER BY `unit` DESC [ RunTime:0.000861s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8866277 LIMIT 2 [ RunTime:0.002944s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866277 ORDER BY `minOrder` ASC [ RunTime:0.002391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8866260 LIMIT 4 [ RunTime:0.007142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866260 ORDER BY `minOrder` ASC [ RunTime:0.006698s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8866260 ORDER BY `unit` DESC [ RunTime:0.000697s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8866260 LIMIT 2 [ RunTime:0.000595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866260 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
select * from pdf where partno='98000342273' and brandshort='3M' limit 1 [ RunTime:0.000783s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8866247 LIMIT 4 [ RunTime:0.004151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866247 ORDER BY `minOrder` ASC [ RunTime:0.002886s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8866247 ORDER BY `unit` DESC [ RunTime:0.002381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8866247 LIMIT 2 [ RunTime:0.004859s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866247 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
select * from pdf where partno='98000331227' and brandshort='3M' limit 1 [ RunTime:0.003302s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8866246 LIMIT 4 [ RunTime:0.000646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866246 ORDER BY `minOrder` ASC [ RunTime:0.000543s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8866246 ORDER BY `unit` DESC [ RunTime:0.000471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8866246 LIMIT 2 [ RunTime:0.014427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8866246 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
select * from pdf where partno='98000329940' and brandshort='3M' limit 1 [ RunTime:0.000909s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8758839 LIMIT 4 [ RunTime:0.008829s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8758839 ORDER BY `minOrder` ASC [ RunTime:0.016090s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8758839 ORDER BY `unit` DESC [ RunTime:0.002721s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8758839 LIMIT 2 [ RunTime:0.006331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8758839 ORDER BY `minOrder` ASC [ RunTime:0.003501s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '980%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000389s ]