|  | @ -1862,7 +1862,7 @@ public class ImService {
 | 
	
		
			
				|  |  | 		List<Map<String, Object>> rstotal = hibenateUtils.createSQLQuery(sql);
 | 
	
		
			
				|  |  | 		Long count = 0L;
 | 
	
		
			
				|  |  | 		if (rstotal != null && rstotal.size() > 0) {
 | 
	
		
			
				|  |  | 			count = (Long) rstotal.get(0).get("total");
 | 
	
		
			
				|  |  | 			count = Long.parseLong(rstotal.get(0).get("total").toString());
 | 
	
		
			
				|  |  | 		}
 | 
	
		
			
				|  |  | 		
 | 
	
		
			
				|  |  | 		return count;
 | 
	
	
		
			
				|  | @ -2226,7 +2226,7 @@ public class ImService {
 | 
	
		
			
				|  |  | 		List<Map<String, Object>> rstotal = jdbcTemplate.queryForList(sql);
 | 
	
		
			
				|  |  | 		Long count = 0L;
 | 
	
		
			
				|  |  | 		if (rstotal != null && rstotal.size() > 0) {
 | 
	
		
			
				|  |  | 			count = (Long) rstotal.get(0).get("total");
 | 
	
		
			
				|  |  | 			count = Long.parseLong(rstotal.get(0).get("total").toString());
 | 
	
		
			
				|  |  | 		}
 | 
	
		
			
				|  |  | 		
 | 
	
		
			
				|  |  | 		return count;
 |