|
@@ -138,6 +138,9 @@ public class AdsOrderDetailService implements IAdsOrderDetailService {
|
|
//广告ID
|
|
//广告ID
|
|
cri.where().andEquals("project_id", dto.getProjectId());
|
|
cri.where().andEquals("project_id", dto.getProjectId());
|
|
}
|
|
}
|
|
|
|
+ //添加判断,除去BG的数据 BG的数据在我们这找不到用户以及渠道
|
|
|
|
+ cri.where().andNotIsNull("agent_name");
|
|
|
|
+ cri.where().andNotIsNull("username");
|
|
|
|
|
|
//pager
|
|
//pager
|
|
Pager pager = dto.toPage();
|
|
Pager pager = dto.toPage();
|
|
@@ -267,6 +270,9 @@ public class AdsOrderDetailService implements IAdsOrderDetailService {
|
|
//广告ID
|
|
//广告ID
|
|
cri.where().andEquals("project_id", dto.getProjectId());
|
|
cri.where().andEquals("project_id", dto.getProjectId());
|
|
}
|
|
}
|
|
|
|
+ //添加判断,除去BG的数据 BG的数据在我们这找不到用户以及渠道
|
|
|
|
+ cri.where().andNotIsNull("agent_name");
|
|
|
|
+ cri.where().andNotIsNull("username");
|
|
|
|
|
|
Sql sql = Sqls.create(getOrderDetailTotalSql() + cri);
|
|
Sql sql = Sqls.create(getOrderDetailTotalSql() + cri);
|
|
sql.setCallback(Sqls.callback.entity());
|
|
sql.setCallback(Sqls.callback.entity());
|