Ver código fonte

修改内容:推广渠道多选

shishaosong 1 ano atrás
pai
commit
b0ae90ee68

+ 4 - 4
game-data/game-data-serve/src/main/java/com/zanxiang/game/data/serve/service/impl/AccountAgentDayServiceImpl.java

@@ -70,7 +70,7 @@ public class AccountAgentDayServiceImpl implements IAccountAgentDayService {
             cri.where().andEquals("account_id", dto.getAccountId());
         }
         if (StringUtils.isNotBlank(dto.getAccountType())) {
-            cri.where().andEquals("account_type", dto.getAccountId());
+            cri.where().andEquals("account_type", dto.getAccountType());
         }
         if (!CollectionUtils.isEmpty(dto.getAgentId())) {
             cri.where().andInList("agent_id", dto.getAgentId());
@@ -217,7 +217,7 @@ public class AccountAgentDayServiceImpl implements IAccountAgentDayService {
             cri.where().andEquals("account_id", dto.getAccountId());
         }
         if (StringUtils.isNotBlank(dto.getAccountType())) {
-            cri.where().andEquals("account_type", dto.getAccountId());
+            cri.where().andEquals("account_type", dto.getAccountType());
         }
         if (!CollectionUtils.isEmpty(dto.getAgentId())) {
             cri.where().andInList("agent_id", dto.getAgentId());
@@ -280,7 +280,7 @@ public class AccountAgentDayServiceImpl implements IAccountAgentDayService {
             cri.where().andEquals("a.account_id", dto.getAccountId());
         }
         if (StringUtils.isNotBlank(dto.getAccountType())) {
-            cri.where().andEquals("account_type", dto.getAccountId());
+            cri.where().andEquals("account_type", dto.getAccountType());
         }
         if (!CollectionUtils.isEmpty(dto.getAgentId())) {
             cri.where().andInList("agent_id", dto.getAgentId());
@@ -750,7 +750,7 @@ public class AccountAgentDayServiceImpl implements IAccountAgentDayService {
             cri.where().andEquals("a.account_id", dto.getAccountId());
         }
         if (StringUtils.isNotBlank(dto.getAccountType())) {
-            cri.where().andEquals("account_type", dto.getAccountId());
+            cri.where().andEquals("account_type", dto.getAccountType());
         }
         if (!CollectionUtils.isEmpty(dto.getAgentId())) {
             cri.where().andInList("agent_id", dto.getAgentId());