SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001831s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000523s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001269s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.113' ) [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001089s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000245s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 121 LIMIT 1 [ RunTime:0.000315s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 121 [ RunTime:0.000205s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000213s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001153s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 121 ) AND `u`.`lockUser` = '0' [ RunTime:0.004080s ]
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` = 4 AND `status` <> 2 AND `categoryid` = 121 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007137s ]
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 ('15743','15422','15323','15142') ORDER BY FIELD(s.id, 15743,15422,15323,15142) [ RunTime:0.002017s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15743 LIMIT 4 [ RunTime:0.004090s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000926s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15743 ORDER BY `minOrder` ASC [ RunTime:0.007872s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002049s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15743 ORDER BY `unit` DESC [ RunTime:0.007804s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.005943s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15743 LIMIT 2 [ RunTime:0.005352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15743 ORDER BY `minOrder` ASC [ RunTime:0.006625s ]
select * from pdf where partno='BAW56LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.012244s ]
select foldpath,foldpath2,filename from pdf_file where id=568830 limit 1 [ RunTime:0.006534s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.017875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15422 LIMIT 4 [ RunTime:0.002383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15422 ORDER BY `minOrder` ASC [ RunTime:0.014735s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15422 ORDER BY `unit` DESC [ RunTime:0.008332s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15422 LIMIT 2 [ RunTime:0.007225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15422 ORDER BY `minOrder` ASC [ RunTime:0.016812s ]
select * from pdf where partno='1SS355TE-17' and brandshort='ROHM' limit 1 [ RunTime:0.008189s ]
select foldpath,foldpath2,filename from pdf_file where id=1106100 limit 1 [ RunTime:0.017712s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.013166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15323 LIMIT 4 [ RunTime:0.006569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15323 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15323 ORDER BY `unit` DESC [ RunTime:0.000194s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15323 LIMIT 2 [ RunTime:0.001845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15323 ORDER BY `minOrder` ASC [ RunTime:0.003344s ]
select * from pdf where partno='BAV74LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000282s ]
select foldpath,foldpath2,filename from pdf_file where id=668717 limit 1 [ RunTime:0.000160s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV74LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.001585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15142 LIMIT 4 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15142 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15142 ORDER BY `unit` DESC [ RunTime:0.000184s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15142 LIMIT 2 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15142 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
select * from pdf where partno='BAS20HT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000231s ]
select foldpath,foldpath2,filename from pdf_file where id=671906 limit 1 [ RunTime:0.000148s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20HT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000191s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 121 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002400s ]