SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002762s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002158s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002490s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.15' ) [ RunTime:0.000707s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002673s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000594s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002361s ]
SELECT `s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `s`.`id` = '32222489' LIMIT 1 [ RunTime:0.002018s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002206s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32222489 [ RunTime:0.000549s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001891s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32222489 ORDER BY `minOrder` ASC [ RunTime:0.002313s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 32222489 ORDER BY `unit` DESC [ RunTime:0.000482s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 32222489 [ RunTime:0.000437s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 32222489 ORDER BY `minOrder` ASC [ RunTime:0.000586s ]
select * from pdf where partno='130-004' and brandshort='altech' limit 1 [ RunTime:0.002033s ]
select foldpath,foldpath2,filename from pdf_file where id=1192132 limit 1 [ RunTime:0.000580s ]
SHOW FULL COLUMNS FROM `stock_product_overview` [ RunTime:0.001284s ]
SELECT `memo` FROM `stock_product_overview` WHERE `icName` = '130-004' LIMIT 1 [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.001123s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = '130-004' LIMIT 1 [ RunTime:0.000549s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001099s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '130-004' OR `brand` LIKE 'altech%' ) ) LIMIT 1 [ RunTime:0.001749s ]
SELECT `id` FROM `stock` WHERE `id` <> 32222489 AND `partno` = '130-004' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%altech%' ) [ RunTime:0.002165s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 32170962 [ RunTime:0.000450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17057482 [ RunTime:0.000715s ]
SELECT `note` FROM `stock` WHERE `id` = 17057482 LIMIT 1 [ RunTime:0.000326s ]
SELECT `description` FROM `stock` WHERE `id` = 17057482 LIMIT 1 [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001326s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = '130-004' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.000588s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `categoryid` = 0 AND ( `partno` > '130-004' ) ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.006469s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `status` = 3 ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.000930s ]