|  | @@ -298,6 +298,7 @@ public class UserAccountServiceImpl extends ServiceImpl<UserAccountDao, UserAcco
 | 
	
		
			
				|  |  |          List<AccountTotal> infoList = baseMapper.accountTotal(totalReq.getTimeType().getCode(), totalReq);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          BigDecimal practiceAmount = BigDecimal.ZERO;
 | 
	
		
			
				|  |  | +        BigDecimal vipCourseAmount = BigDecimal.ZERO;
 | 
	
		
			
				|  |  |          BigDecimal liveAmount = BigDecimal.ZERO;
 | 
	
		
			
				|  |  |          BigDecimal videoAmount = BigDecimal.ZERO;
 | 
	
		
			
				|  |  |          BigDecimal musicAmount = BigDecimal.ZERO;
 | 
	
	
		
			
				|  | @@ -314,6 +315,7 @@ public class UserAccountServiceImpl extends ServiceImpl<UserAccountDao, UserAcco
 | 
	
		
			
				|  |  |              info = dealAccountTotal(info);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              practiceAmount = practiceAmount.add(info.getPracticeAmount());
 | 
	
		
			
				|  |  | +            vipCourseAmount = vipCourseAmount.add(info.getVipCourseAmount());
 | 
	
		
			
				|  |  |              liveAmount = liveAmount.add(info.getLiveAmount());
 | 
	
		
			
				|  |  |              videoAmount = videoAmount.add(info.getVideoAmount());
 | 
	
		
			
				|  |  |              musicAmount = musicAmount.add(info.getMusicAmount());
 | 
	
	
		
			
				|  | @@ -332,6 +334,7 @@ public class UserAccountServiceImpl extends ServiceImpl<UserAccountDao, UserAcco
 | 
	
		
			
				|  |  |                  practiceAmount.add(liveAmount).add(videoAmount).add(musicAmount)
 | 
	
		
			
				|  |  |                          .add(liveShareAmount).add(videoShareAmount).add(musicShareAmount)
 | 
	
		
			
				|  |  |                          .add(vipShareAmount).add(mallShareAmount).add(actiRegistShareAmount).add(albumShareAmount)
 | 
	
		
			
				|  |  | +                        .add(vipCourseAmount)
 | 
	
		
			
				|  |  |          );
 | 
	
		
			
				|  |  |          if (total.getTotalInAmount().doubleValue() > 0) {
 | 
	
		
			
				|  |  |              total.setPracticeAmount(practiceAmount);
 | 
	
	
		
			
				|  | @@ -339,6 +342,11 @@ public class UserAccountServiceImpl extends ServiceImpl<UserAccountDao, UserAcco
 | 
	
		
			
				|  |  |                      .divide(total.getTotalInAmount(), 4, RoundingMode.HALF_UP)
 | 
	
		
			
				|  |  |                      .multiply(new BigDecimal("100")));
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +            total.setVipCourseAmount(vipCourseAmount);
 | 
	
		
			
				|  |  | +            total.setVipCourseRate(total.getVipCourseAmount()
 | 
	
		
			
				|  |  | +                    .divide(total.getTotalInAmount(), 4, RoundingMode.HALF_UP)
 | 
	
		
			
				|  |  | +                    .multiply(new BigDecimal("100")));
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |              total.setLiveAmount(liveAmount);
 | 
	
		
			
				|  |  |              total.setLiveRate(total.getLiveAmount()
 | 
	
		
			
				|  |  |                      .divide(total.getTotalInAmount(), 4, RoundingMode.HALF_UP)
 | 
	
	
		
			
				|  | @@ -388,6 +396,7 @@ public class UserAccountServiceImpl extends ServiceImpl<UserAccountDao, UserAcco
 | 
	
		
			
				|  |  |              total.setActiRegistShareRate(
 | 
	
		
			
				|  |  |                      BigDecimal.valueOf(100)
 | 
	
		
			
				|  |  |                              .subtract(total.getPracticeRate())
 | 
	
		
			
				|  |  | +                            .subtract(total.getVipCourseRate())
 | 
	
		
			
				|  |  |                              .subtract(total.getLiveRate())
 | 
	
		
			
				|  |  |                              .subtract(total.getVideoRate())
 | 
	
		
			
				|  |  |                              .subtract(total.getMusicRate())
 | 
	
	
		
			
				|  | @@ -537,6 +546,8 @@ public class UserAccountServiceImpl extends ServiceImpl<UserAccountDao, UserAcco
 | 
	
		
			
				|  |  |                  null == info.getTotalInAmount() ? BigDecimal.ZERO.setScale(2, RoundingMode.HALF_UP) : info.getTotalInAmount().setScale(2, RoundingMode.HALF_UP));
 | 
	
		
			
				|  |  |          info.setPracticeAmount(
 | 
	
		
			
				|  |  |                  null == info.getPracticeAmount() ? BigDecimal.ZERO.setScale(2, RoundingMode.HALF_UP) : info.getPracticeAmount().setScale(2, RoundingMode.HALF_UP));
 | 
	
		
			
				|  |  | +        info.setVipCourseAmount(
 | 
	
		
			
				|  |  | +                null == info.getVipCourseAmount() ? BigDecimal.ZERO.setScale(2, RoundingMode.HALF_UP) : info.getVipCourseAmount().setScale(2, RoundingMode.HALF_UP));
 | 
	
		
			
				|  |  |          info.setLiveAmount(
 | 
	
		
			
				|  |  |                  null == info.getLiveAmount() ? BigDecimal.ZERO.setScale(2, RoundingMode.HALF_UP) : info.getLiveAmount().setScale(2, RoundingMode.HALF_UP));
 | 
	
		
			
				|  |  |          info.setVideoAmount(
 |