|
@@ -1,10 +1,8 @@
|
|
|
package com.zanxiang.game.data.serve.service.impl;
|
|
|
|
|
|
import com.google.common.base.CaseFormat;
|
|
|
-import com.zanxiang.erp.security.util.SecurityUtil;
|
|
|
import com.zanxiang.game.data.serve.component.DataPowerComponent;
|
|
|
import com.zanxiang.game.data.serve.pojo.dto.AdsAgentRechargeRankingListDTO;
|
|
|
-import com.zanxiang.game.data.serve.pojo.entity.AdsAgentRechargeRanking;
|
|
|
import com.zanxiang.game.data.serve.pojo.vo.AdsAgentRechargeRankingVO;
|
|
|
import com.zanxiang.game.data.serve.service.IAdsAgentRechargeRankingService;
|
|
|
import com.zanxiang.game.data.serve.utils.Page;
|
|
@@ -61,8 +59,8 @@ public class AdsAgentRechargeRankingServiceImpl implements IAdsAgentRechargeRank
|
|
|
if (null != dto.getBeginDay() && null != dto.getEndDay()) {
|
|
|
cri.where().and("dt", ">=", dto.getBeginDay()).and("dt", "<=", dto.getEndDay());
|
|
|
}
|
|
|
- if (StringUtils.isNotBlank(dto.getAgentId())) {
|
|
|
- cri.where().and("agent_id", "=", dto.getAgentId());
|
|
|
+ if (CollectionUtils.isNotEmpty(dto.getAgentId())) {
|
|
|
+ cri.where().andIn("agent_id", dto.getAgentId().toArray(String[]::new));
|
|
|
}
|
|
|
if (userIds != null) {
|
|
|
cri.where().andInList("pitcher_id", userIds);
|