|
@@ -141,6 +141,10 @@ public class UserInviteServiceImpl extends ServiceImpl<UserInviteMapper, UserInv
|
|
}
|
|
}
|
|
}
|
|
}
|
|
dto = baseMapper.teamTotalStatistics(param.getType(), userId);
|
|
dto = baseMapper.teamTotalStatistics(param.getType(), userId);
|
|
|
|
+ BigDecimal totalAmount = dto.getTotalAmount();
|
|
|
|
+ if(totalAmount == null){
|
|
|
|
+ dto.setTotalAmount(BigDecimal.ZERO);
|
|
|
|
+ }
|
|
dto.setRecords(records);
|
|
dto.setRecords(records);
|
|
return dto;
|
|
return dto;
|
|
}
|
|
}
|
|
@@ -193,6 +197,10 @@ public class UserInviteServiceImpl extends ServiceImpl<UserInviteMapper, UserInv
|
|
}
|
|
}
|
|
}
|
|
}
|
|
dto = baseMapper.inviteTotalStatistics(param.getType());
|
|
dto = baseMapper.inviteTotalStatistics(param.getType());
|
|
|
|
+ BigDecimal totalAmount = dto.getTotalAmount();
|
|
|
|
+ if(totalAmount == null){
|
|
|
|
+ dto.setTotalAmount(BigDecimal.ZERO);
|
|
|
|
+ }
|
|
dto.setRecords(records);
|
|
dto.setRecords(records);
|
|
return dto;
|
|
return dto;
|
|
}
|
|
}
|