|
@@ -251,7 +251,7 @@ public class PlayerDataServiceImpl implements IPlayerDataService {
|
|
|
//推广账号ID
|
|
|
cri.where().andEquals("account_id", dto.getAccountId());
|
|
|
}
|
|
|
- if (dto.getChannelId() != null) {
|
|
|
+ if (CollectionUtils.isNotEmpty(dto.getChannelId())) {
|
|
|
//渠道ID
|
|
|
cri.where().andIn("agent_id", dto.getChannelId().toArray(String[]::new));
|
|
|
}
|
|
@@ -391,7 +391,7 @@ public class PlayerDataServiceImpl implements IPlayerDataService {
|
|
|
//推广账号ID
|
|
|
cri.where().andEquals("account_id", dto.getAccountId());
|
|
|
}
|
|
|
- if (dto.getChannelId() != null) {
|
|
|
+ if (CollectionUtils.isNotEmpty(dto.getChannelId())) {
|
|
|
//渠道ID
|
|
|
cri.where().andIn("agent_id", dto.getChannelId().toArray(String[]::new));
|
|
|
}
|