|
@@ -1811,6 +1811,9 @@ public class MaterialStareServiceImpl implements MaterialStareService {
|
|
|
//头条
|
|
//头条
|
|
|
if (mediaType.equals("1")) {
|
|
if (mediaType.equals("1")) {
|
|
|
List<Long> projectIds = materialStareMapper.getBytedanceProjectList(parameterMap);
|
|
List<Long> projectIds = materialStareMapper.getBytedanceProjectList(parameterMap);
|
|
|
|
|
+ if(Check.isNull(projectIds)){
|
|
|
|
|
+ return listOperate;
|
|
|
|
|
+ }
|
|
|
parameterMap.put("projectIds", projectIds);
|
|
parameterMap.put("projectIds", projectIds);
|
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
PageHelper.startPage(pageNum, pageSize);
|
|
|
if (startDate == now || entDate == now) {
|
|
if (startDate == now || entDate == now) {
|
|
@@ -1824,6 +1827,9 @@ public class MaterialStareServiceImpl implements MaterialStareService {
|
|
|
//快手
|
|
//快手
|
|
|
if (mediaType.equals("2")) {
|
|
if (mediaType.equals("2")) {
|
|
|
List<Long> projectIds = materialStareMapper.getKuaishouProjectList(parameterMap);
|
|
List<Long> projectIds = materialStareMapper.getKuaishouProjectList(parameterMap);
|
|
|
|
|
+ if(Check.isNull(projectIds)){
|
|
|
|
|
+ return listOperate;
|
|
|
|
|
+ }
|
|
|
parameterMap.put("projectIds", projectIds);
|
|
parameterMap.put("projectIds", projectIds);
|
|
|
if (startDate == now || entDate == now) {
|
|
if (startDate == now || entDate == now) {
|
|
|
parameterMap.put("tableName", "application.kuaishou_account_report_hourly_dw");
|
|
parameterMap.put("tableName", "application.kuaishou_account_report_hourly_dw");
|