SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002461s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000588s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001384s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000267s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000957s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000195s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.005031s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000270s ]
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.000453s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001087s ]
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 'UPW1E471MPD%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002594s ]
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 ('4863633','4383636','4383762','6695668','16186','11787','7552041','7556586','7556435') ORDER BY FIELD(s.id, 4863633,4383636,4383762,6695668,16186,11787,7552041,7556586,7556435) [ RunTime:0.007156s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4863633 LIMIT 4 [ RunTime:0.001953s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4863633 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000777s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4863633 ORDER BY `unit` DESC [ RunTime:0.000248s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000837s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4863633 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4863633 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
select * from pdf where partno='UPW1E471MPD' and brandshort='Nichicon' limit 1 [ RunTime:0.001093s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4383636 LIMIT 4 [ RunTime:0.005442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383636 ORDER BY `minOrder` ASC [ RunTime:0.008982s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4383636 ORDER BY `unit` DESC [ RunTime:0.002831s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4383636 LIMIT 2 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383636 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
select * from pdf where partno='UPW1E471MPD1TD' and brandshort='Nichicon' limit 1 [ RunTime:0.000599s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4383762 LIMIT 4 [ RunTime:0.001242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383762 ORDER BY `minOrder` ASC [ RunTime:0.001984s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4383762 ORDER BY `unit` DESC [ RunTime:0.000546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4383762 LIMIT 2 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383762 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='UPW1E471MPD6TD' and brandshort='Nichicon' limit 1 [ RunTime:0.000490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6695668 LIMIT 4 [ RunTime:0.003823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6695668 ORDER BY `minOrder` ASC [ RunTime:0.004554s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6695668 ORDER BY `unit` DESC [ RunTime:0.000515s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6695668 LIMIT 2 [ RunTime:0.001532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6695668 ORDER BY `minOrder` ASC [ RunTime:0.001805s ]
select * from pdf where partno='UPW1E471MPD6TA' and brandshort='Nichicon' limit 1 [ RunTime:0.001749s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16186 LIMIT 4 [ RunTime:0.000991s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16186 ORDER BY `minOrder` ASC [ RunTime:0.002042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16186 ORDER BY `unit` DESC [ RunTime:0.002849s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16186 LIMIT 2 [ RunTime:0.000629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16186 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='UPW1E471MPD' and brandshort='NICHICON' limit 1 [ RunTime:0.000547s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UPW1E471MPD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.001336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11787 LIMIT 4 [ RunTime:0.000499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11787 ORDER BY `minOrder` ASC [ RunTime:0.000887s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11787 ORDER BY `unit` DESC [ RunTime:0.001873s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11787 LIMIT 2 [ RunTime:0.001630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11787 ORDER BY `minOrder` ASC [ RunTime:0.001657s ]
select * from pdf where partno='UPW1E471MPD' and brandshort='NICHICON' limit 1 [ RunTime:0.000378s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UPW1E471MPD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7552041 LIMIT 4 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552041 ORDER BY `minOrder` ASC [ RunTime:0.000521s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7552041 ORDER BY `unit` DESC [ RunTime:0.000489s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7552041 LIMIT 2 [ RunTime:0.000985s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552041 ORDER BY `minOrder` ASC [ RunTime:0.004196s ]
select * from pdf where partno='UPW1E471MPD6' and brandshort='Nichicon' limit 1 [ RunTime:0.000570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7556586 LIMIT 4 [ RunTime:0.001405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556586 ORDER BY `minOrder` ASC [ RunTime:0.001282s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7556586 ORDER BY `unit` DESC [ RunTime:0.007635s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7556586 LIMIT 2 [ RunTime:0.001284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556586 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7556435 LIMIT 4 [ RunTime:0.000724s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556435 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7556435 ORDER BY `unit` DESC [ RunTime:0.000494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7556435 LIMIT 2 [ RunTime:0.001633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556435 ORDER BY `minOrder` ASC [ RunTime:0.002862s ]
select * from pdf where partno='UPW1E471MPD1CA' and brandshort='Nichicon' limit 1 [ RunTime:0.007022s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'UPW1E471MPD%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.006422s ]