session.createSQLQuery("select count(*) as old from table1").un****.toString();
List list = statisticsService.getValue();
Map map = (Map)list.get(0);
BigInteger oldAnd= (BigInteger)map.get("old");
int d = oldAnd.intValue();
session.createSQLQuery("select count(*) as old from table1").un****.toString();
List list = statisticsService.getValue();
Map map = (Map)list.get(0);
BigInteger oldAnd= (BigInteger)map.get("old");
int d = oldAnd.intValue();
转载于:https://my.oschina.net/meSpace/blog/74055