SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001192s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000397s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001260s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000216s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000879s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000194s ]
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.000149s ]
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.000270s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001302s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'UPW1E471MPD%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.006132s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE 'UPW1E471MPD%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001827s ]
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 = 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.002079s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000951s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4863633 LIMIT 4 [ RunTime:0.000479s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000912s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4863633 ORDER BY `minOrder` ASC [ RunTime:0.001537s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002837s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4863633 ORDER BY `unit` DESC [ RunTime:0.001267s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002124s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4863633 LIMIT 2 [ RunTime:0.001586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4863633 ORDER BY `minOrder` ASC [ RunTime:0.000730s ]
select * from pdf where partno='UPW1E471MPD' and brandshort='Nichicon' limit 1 [ RunTime:0.005171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4383636 LIMIT 4 [ RunTime:0.004141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383636 ORDER BY `minOrder` ASC [ RunTime:0.001134s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4383636 ORDER BY `unit` DESC [ RunTime:0.002041s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4383636 LIMIT 2 [ RunTime:0.000802s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383636 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
select * from pdf where partno='UPW1E471MPD1TD' and brandshort='Nichicon' limit 1 [ RunTime:0.000726s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4383762 LIMIT 4 [ RunTime:0.002336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383762 ORDER BY `minOrder` ASC [ RunTime:0.001863s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4383762 ORDER BY `unit` DESC [ RunTime:0.001360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4383762 LIMIT 2 [ RunTime:0.002933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383762 ORDER BY `minOrder` ASC [ RunTime:0.000659s ]
select * from pdf where partno='UPW1E471MPD6TD' and brandshort='Nichicon' limit 1 [ RunTime:0.000634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6695668 LIMIT 4 [ RunTime:0.002489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6695668 ORDER BY `minOrder` ASC [ RunTime:0.000668s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6695668 ORDER BY `unit` DESC [ RunTime:0.001217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6695668 LIMIT 2 [ RunTime:0.000675s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6695668 ORDER BY `minOrder` ASC [ RunTime:0.001414s ]
select * from pdf where partno='UPW1E471MPD6TA' and brandshort='Nichicon' limit 1 [ RunTime:0.001265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16186 LIMIT 4 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16186 ORDER BY `minOrder` ASC [ RunTime:0.001415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16186 ORDER BY `unit` DESC [ RunTime:0.000216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16186 LIMIT 2 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16186 ORDER BY `minOrder` ASC [ RunTime:0.002972s ]
select * from pdf where partno='UPW1E471MPD' and brandshort='NICHICON' limit 1 [ RunTime:0.000504s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001502s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UPW1E471MPD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.000204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11787 LIMIT 4 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11787 ORDER BY `minOrder` ASC [ RunTime:0.002729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11787 ORDER BY `unit` DESC [ RunTime:0.002796s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11787 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11787 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='UPW1E471MPD' and brandshort='NICHICON' limit 1 [ RunTime:0.000249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UPW1E471MPD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.000199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7552041 LIMIT 4 [ RunTime:0.000543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552041 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7552041 ORDER BY `unit` DESC [ RunTime:0.000241s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7552041 LIMIT 2 [ RunTime:0.002281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552041 ORDER BY `minOrder` ASC [ RunTime:0.003640s ]
select * from pdf where partno='UPW1E471MPD6' and brandshort='Nichicon' limit 1 [ RunTime:0.000402s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7556586 LIMIT 4 [ RunTime:0.001697s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556586 ORDER BY `minOrder` ASC [ RunTime:0.001069s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7556586 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7556586 LIMIT 2 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556586 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7556435 LIMIT 4 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556435 ORDER BY `minOrder` ASC [ RunTime:0.000759s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7556435 ORDER BY `unit` DESC [ RunTime:0.003672s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7556435 LIMIT 2 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556435 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
select * from pdf where partno='UPW1E471MPD1CA' and brandshort='Nichicon' limit 1 [ RunTime:0.000436s ]
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.003997s ]