|
@@ -121,7 +121,6 @@ public class DuserServiceImpl implements DuserService {
|
|
|
List<Long> sonsId = sharePathService.sonsId(userId);
|
|
|
IntegralDO integral = integralService.getIntegral(userId);
|
|
|
if (integral == null) {
|
|
|
- // 初始化积分表
|
|
|
throw exception(INTEGRAL_NOT_EXISTS);
|
|
|
}
|
|
|
DuserInfoVO.DuserInfoVOBuilder duserInfoVOBuilder = DuserInfoVO.builder()
|
|
@@ -130,7 +129,7 @@ public class DuserServiceImpl implements DuserService {
|
|
|
|
|
|
String yesterday = "0";
|
|
|
String totalLog = "0";
|
|
|
- if (!sonsId.isEmpty()) {
|
|
|
+ if (sonsId.size() > 0) {
|
|
|
// 获取昨日贡献值 + 合赢奖
|
|
|
yesterday = ptProfitLogService.getYesterdayLog(sonsId);
|
|
|
totalLog = ptProfitLogService.getTotalLog(sonsId);
|