SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001190s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001092s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001575s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.117' ) [ RunTime:0.000465s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001665s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000467s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001384s ]
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` = '58343764' LIMIT 1 [ RunTime:0.000849s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 58343764 [ RunTime:0.000364s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58343764 ORDER BY `minOrder` ASC [ RunTime:0.000814s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001383s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 58343764 ORDER BY `unit` DESC [ RunTime:0.000451s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002102s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 58343764 [ RunTime:0.000482s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 58343764 ORDER BY `minOrder` ASC [ RunTime:0.000497s ]
select * from pdf where partno='ZB6YD20' and brandshort='Schneider Electric' limit 1 [ RunTime:0.001545s ]
SHOW FULL COLUMNS FROM `stock_product_overview` [ RunTime:0.002331s ]
SELECT `memo` FROM `stock_product_overview` WHERE `icName` = 'ZB6YD20' LIMIT 1 [ RunTime:0.000440s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.001706s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = 'ZB6YD20' LIMIT 1 [ RunTime:0.000460s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002067s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZB6YD20' OR `brand` LIKE 'Schneider Electric%' ) ) LIMIT 1 [ RunTime:0.000594s ]
SELECT `id` FROM `stock` WHERE `id` <> 58343764 AND `partno` = 'ZB6YD20' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%schneider electric%' ) [ RunTime:0.001516s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19534209 [ RunTime:0.001589s ]
SELECT `note` FROM `stock` WHERE `id` = 19534209 LIMIT 1 [ RunTime:0.000317s ]
SELECT `description` FROM `stock` WHERE `id` = 19534209 LIMIT 1 [ RunTime:0.000265s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001939s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = 'ZB6YD20' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.000669s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `categoryid` = 0 AND ( `partno` > 'ZB6YD20' ) ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.005119s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `status` = 3 ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.000847s ]