|
@@ -84,6 +84,9 @@ public class AccountAgentDayServiceImpl implements IAccountAgentDayService {
|
|
|
if (StringUtils.isNotBlank(dto.getGameName())) {
|
|
|
cri.where().andLike("game_name", dto.getGameName());
|
|
|
}
|
|
|
+ if (null != dto.getGameId()) {
|
|
|
+ cri.where().andEquals("game_id", dto.getGameId());
|
|
|
+ }
|
|
|
if (StringUtils.isNotBlank(dto.getGameType())) {
|
|
|
cri.where().andEquals("game_type", dto.getGameType());
|
|
|
}
|
|
@@ -228,6 +231,9 @@ public class AccountAgentDayServiceImpl implements IAccountAgentDayService {
|
|
|
if (StringUtils.isNotBlank(dto.getGameType())) {
|
|
|
cri.where().andEquals("game_type", dto.getGameType());
|
|
|
}
|
|
|
+ if (null != dto.getGameId()) {
|
|
|
+ cri.where().andEquals("game_id", dto.getGameId());
|
|
|
+ }
|
|
|
if (null != dto.getBeginDay()) {
|
|
|
cri.where().and("dt", ">=", dto.getBeginDay());
|
|
|
}
|
|
@@ -291,6 +297,9 @@ public class AccountAgentDayServiceImpl implements IAccountAgentDayService {
|
|
|
if (null != dto.getCostEndDay()) {
|
|
|
cri.where().and("a.dt", "<=", dto.getCostEndDay());
|
|
|
}
|
|
|
+ if (null != dto.getGameId()) {
|
|
|
+ cri.where().andEquals("a.game_id", dto.getGameId());
|
|
|
+ }
|
|
|
if (StringUtils.isNotBlank(dto.getSourceSystem())) {
|
|
|
cri.where().andEquals("a.source_system", dto.getSourceSystem());
|
|
|
}
|
|
@@ -624,6 +633,7 @@ public class AccountAgentDayServiceImpl implements IAccountAgentDayService {
|
|
|
agent_id,
|
|
|
pitcher AS sys_user_name,
|
|
|
game_cp AS cp_name,
|
|
|
+ game_id,
|
|
|
game_name,
|
|
|
game_type,
|
|
|
dt AS cost_day,
|
|
@@ -802,6 +812,7 @@ public class AccountAgentDayServiceImpl implements IAccountAgentDayService {
|
|
|
max(a.account_type) as account_type,
|
|
|
max(a.pitcher) as sys_user_name,
|
|
|
max(a.game_cp) as cp_name,
|
|
|
+ max(a.game_id) as game_id,
|
|
|
max(a.game_name) as game_name,
|
|
|
max(a.game_type) as game_type,
|
|
|
max(a.pitcher_id) as sys_user_id,
|