|  | @ -1721,12 +1721,12 @@ public class StatisticsService extends BaseService {
 | 
	
		
			
				|  |  |         sql += "   and quota_date = ? " +
 | 
	
		
			
				|  |  |                 "   and " + areaField + " = ? ";
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         Map<String, Object> result = null;
 | 
	
		
			
				|  |  |         List<Map<String, Object>> result = null;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         result = jdbcTemplate.queryForMap(sql, new Object[]{level, dateCon, area});
 | 
	
		
			
				|  |  |         result = jdbcTemplate.queryForList(sql, new Object[]{level, dateCon, area});
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         if (result != null && result.containsKey("amount")) {
 | 
	
		
			
				|  |  |             total += (result.get("amount") == null ? 0 : Math.round(Double.valueOf(result.get("amount").toString())));
 | 
	
		
			
				|  |  |         if (result != null && result.size() > 0) {
 | 
	
		
			
				|  |  |             total += (result.get(0).get("amount") == null ? 0 : Math.round(Double.valueOf(result.get(0).get("amount").toString())));
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         if (endDate.compareTo(datef.format(new Date())) == 0) {
 |