SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001858s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000494s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002162s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.108' ) [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002179s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000282s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 232 LIMIT 1 [ RunTime:0.001499s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 232 [ RunTime:0.002259s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000248s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002099s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 232 ) AND `u`.`lockUser` = '0' [ RunTime:0.008216s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 232 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007085s ]
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 ('14927','14926','14925','14971','14967') ORDER BY FIELD(s.id, 14927,14926,14925,14971,14967) [ RunTime:0.004948s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14927 LIMIT 4 [ RunTime:0.004286s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002046s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927 ORDER BY `minOrder` ASC [ RunTime:0.001669s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005291s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14927 ORDER BY `unit` DESC [ RunTime:0.001414s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001724s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14927 LIMIT 2 [ RunTime:0.002817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927 ORDER BY `minOrder` ASC [ RunTime:0.001161s ]
select * from pdf where partno='CNT-M254-1*40-GD-6/6/1.5' and brandshort='CNT' limit 1 [ RunTime:0.010565s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-1*40-GD-6/6/1.5' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.007132s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14926 LIMIT 4 [ RunTime:0.000667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14926 ORDER BY `minOrder` ASC [ RunTime:0.000515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14926 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14926 LIMIT 2 [ RunTime:0.002419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14926 ORDER BY `minOrder` ASC [ RunTime:0.004622s ]
select * from pdf where partno='CNT-M254-2*40-GS-6/3' and brandshort='CNT' limit 1 [ RunTime:0.001053s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-2*40-GS-6/3' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.002841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14925 LIMIT 4 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14925 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14925 ORDER BY `unit` DESC [ RunTime:0.000296s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14925 LIMIT 2 [ RunTime:0.009034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14925 ORDER BY `minOrder` ASC [ RunTime:0.004343s ]
select * from pdf where partno='CNT-M254-1*40-GS-6/3' and brandshort='CNT' limit 1 [ RunTime:0.006822s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-1*40-GS-6/3' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.002015s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14971 LIMIT 4 [ RunTime:0.000717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14971 ORDER BY `minOrder` ASC [ RunTime:0.000644s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14971 ORDER BY `unit` DESC [ RunTime:0.000656s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14971 LIMIT 2 [ RunTime:0.000417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14971 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
select * from pdf where partno='FX10A-100S/10-SV' and brandshort='Hirose' limit 1 [ RunTime:0.001154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FX10A-100S/10-SV' OR `brand` LIKE 'Hirose%' ) ) LIMIT 1 [ RunTime:0.009660s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14967 LIMIT 4 [ RunTime:0.002619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14967 ORDER BY `minOrder` ASC [ RunTime:0.003725s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14967 ORDER BY `unit` DESC [ RunTime:0.003035s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14967 LIMIT 2 [ RunTime:0.000512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14967 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
select * from pdf where partno='2199230-4' and brandshort='TE' limit 1 [ RunTime:0.002006s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2199230-4' OR `brand` LIKE 'TE%' ) ) LIMIT 1 [ RunTime:0.024802s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 232 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.017356s ]