|
@@ -94,8 +94,8 @@ public class AppAgentController extends BaseController {
|
|
|
if(null != redisCache.getCacheMapValue(CacheConstants.USER_AGENT_TEAM_PHASE,String.valueOf(topUserId))){
|
|
|
money = redisCache.getCacheMapValue(CacheConstants.USER_AGENT_TEAM_PHASE,String.valueOf(topUserId));
|
|
|
}
|
|
|
- if(null != appUserAgent.getDividendGuaranteeRate()){
|
|
|
- money = money * appUserAgent.getDividendGuaranteeRate();
|
|
|
+ if(money >0 && null != appUserAgent.getDividendGuaranteeRate()){
|
|
|
+ money = money * appUserAgent.getDividendGuaranteeRate() ;
|
|
|
}
|
|
|
|
|
|
vo.setMyCommission(BigDecimal.valueOf(money).setScale(2,BigDecimal.ROUND_HALF_UP).doubleValue());
|