SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002327s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001327s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002599s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.245' ) [ RunTime:0.000638s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002128s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000579s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002455s ]
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` = '49554680' LIMIT 1 [ RunTime:0.000869s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 49554680 [ RunTime:0.000468s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001835s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49554680 ORDER BY `minOrder` ASC [ RunTime:0.000589s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002856s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 49554680 ORDER BY `unit` DESC [ RunTime:0.000519s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001739s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 49554680 [ RunTime:0.000480s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 49554680 ORDER BY `minOrder` ASC [ RunTime:0.000534s ]
select * from pdf where partno='21004-8' and brandshort='TE Application Tooling' limit 1 [ RunTime:0.000919s ]
SHOW FULL COLUMNS FROM `stock_product_overview` [ RunTime:0.002284s ]
SELECT `memo` FROM `stock_product_overview` WHERE `icName` = '21004-8' LIMIT 1 [ RunTime:0.000496s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.002245s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = '21004-8' LIMIT 1 [ RunTime:0.000615s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002265s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '21004-8' OR `brand` LIKE 'TE Application Tooling%' ) ) LIMIT 1 [ RunTime:0.000577s ]
SELECT `id` FROM `stock` WHERE `id` <> 49554680 AND `partno` = '21004-8' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%te application tooling%' ) [ RunTime:0.001270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12049213 [ RunTime:0.001685s ]
SELECT `note` FROM `stock` WHERE `id` = 12049213 LIMIT 1 [ RunTime:0.000324s ]
SELECT `description` FROM `stock` WHERE `id` = 12049213 LIMIT 1 [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001556s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = '21004-8' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.000416s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `categoryid` = 0 AND ( `partno` > '21004-8' ) ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.001931s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `status` = 3 ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.000652s ]