|  | @@ -52,7 +52,7 @@ public class AdsAgentRechargeRankingServiceImpl implements IAdsAgentRechargeRank
 | 
	
		
			
				|  |  |                  max(total_recharge_count) as total_recharge_count,
 | 
	
		
			
				|  |  |                  max(total_cost) as total_cost,
 | 
	
		
			
				|  |  |                  max(total_recharge_amount) / max(total_recharge_count) as avg_amount,
 | 
	
		
			
				|  |  | -                if (sum(total_cost) > 0, max(total_recharge_amount) / sum(total_cost), '0') as roi
 | 
	
		
			
				|  |  | +                if (sum(total_cost) > 0, max(total_recharge_amount) / max(total_cost), '0') as roi
 | 
	
		
			
				|  |  |                  from ads_agent_recharge_ranking
 | 
	
		
			
				|  |  |                  """;
 | 
	
		
			
				|  |  |          Criteria cri = Cnd.cri();
 |