SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001379s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002780s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001720s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.002162s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001445s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000957s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001504s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000184s ]
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.000335s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001199s ]
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.002099s ]
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.000578s ]
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.001434s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001150s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4863633 LIMIT 4 [ RunTime:0.006019s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4863633 ORDER BY `minOrder` ASC [ RunTime:0.007752s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4863633 ORDER BY `unit` DESC [ RunTime:0.003851s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001024s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4863633 LIMIT 2 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4863633 ORDER BY `minOrder` ASC [ RunTime:0.000586s ]
select * from pdf where partno='UPW1E471MPD' and brandshort='Nichicon' limit 1 [ RunTime:0.016138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4383636 LIMIT 4 [ RunTime:0.004090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383636 ORDER BY `minOrder` ASC [ RunTime:0.006517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4383636 ORDER BY `unit` DESC [ RunTime:0.003582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4383636 LIMIT 2 [ RunTime:0.003111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383636 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='UPW1E471MPD1TD' and brandshort='Nichicon' limit 1 [ RunTime:0.003877s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4383762 LIMIT 4 [ RunTime:0.007148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383762 ORDER BY `minOrder` ASC [ RunTime:0.001067s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4383762 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4383762 LIMIT 2 [ RunTime:0.000340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4383762 ORDER BY `minOrder` ASC [ RunTime:0.000905s ]
select * from pdf where partno='UPW1E471MPD6TD' and brandshort='Nichicon' limit 1 [ RunTime:0.000713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6695668 LIMIT 4 [ RunTime:0.000855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6695668 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6695668 ORDER BY `unit` DESC [ RunTime:0.004316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6695668 LIMIT 2 [ RunTime:0.010868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6695668 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
select * from pdf where partno='UPW1E471MPD6TA' and brandshort='Nichicon' limit 1 [ RunTime:0.000787s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16186 LIMIT 4 [ RunTime:0.001632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16186 ORDER BY `minOrder` ASC [ RunTime:0.002369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16186 ORDER BY `unit` DESC [ RunTime:0.003283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16186 LIMIT 2 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16186 ORDER BY `minOrder` ASC [ RunTime:0.004204s ]
select * from pdf where partno='UPW1E471MPD' and brandshort='NICHICON' limit 1 [ RunTime:0.002863s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UPW1E471MPD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.001166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11787 LIMIT 4 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11787 ORDER BY `minOrder` ASC [ RunTime:0.002163s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11787 ORDER BY `unit` DESC [ RunTime:0.002174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11787 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11787 ORDER BY `minOrder` ASC [ RunTime:0.002180s ]
select * from pdf where partno='UPW1E471MPD' and brandshort='NICHICON' limit 1 [ RunTime:0.000380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UPW1E471MPD' OR `brand` LIKE 'NICHICON%' ) ) LIMIT 1 [ RunTime:0.005347s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7552041 LIMIT 4 [ RunTime:0.001073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552041 ORDER BY `minOrder` ASC [ RunTime:0.002901s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7552041 ORDER BY `unit` DESC [ RunTime:0.009231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7552041 LIMIT 2 [ RunTime:0.003041s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7552041 ORDER BY `minOrder` ASC [ RunTime:0.003455s ]
select * from pdf where partno='UPW1E471MPD6' and brandshort='Nichicon' limit 1 [ RunTime:0.006979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7556586 LIMIT 4 [ RunTime:0.004786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556586 ORDER BY `minOrder` ASC [ RunTime:0.004869s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7556586 ORDER BY `unit` DESC [ RunTime:0.000484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7556586 LIMIT 2 [ RunTime:0.001475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556586 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7556435 LIMIT 4 [ RunTime:0.008110s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556435 ORDER BY `minOrder` ASC [ RunTime:0.011066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7556435 ORDER BY `unit` DESC [ RunTime:0.007591s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7556435 LIMIT 2 [ RunTime:0.005536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7556435 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
select * from pdf where partno='UPW1E471MPD1CA' and brandshort='Nichicon' limit 1 [ RunTime:0.000644s ]
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.001034s ]