|
@@ -483,15 +483,17 @@ public class MaterialReportOverViewV2ServiceImpl implements IMaterialReportOverV
|
|
|
//根据userID查询公司id
|
|
|
String companyId = materialReportOverViewV3Mapper.getCompanyId(userId);
|
|
|
if (mediaId == CtopAdConstant.PLATFORM_TYPE_BYTEDANCE_INT) {
|
|
|
+ total =materialReportOverViewV3Mapper.queryBytedanceTopDesign(Long.parseLong(startDate), Long.parseLong(endDate), type, companyId).size();
|
|
|
PageHelper.startPage(pageNumber, pageSize, false);
|
|
|
// 查询头条设计排行
|
|
|
result = materialReportOverViewV3Mapper.queryBytedanceTopDesign(Long.parseLong(startDate), Long.parseLong(endDate), type, companyId);
|
|
|
- total = result.size();
|
|
|
+
|
|
|
} else if (mediaId == CtopAdConstant.PLATFORM_TYPE_KUAISHOU_INT) {
|
|
|
+ total =materialReportOverViewV3Mapper.queryKuaishouTopDesign(Long.parseLong(startDate), Long.parseLong(endDate), type, companyId).size();
|
|
|
PageHelper.startPage(pageNumber, pageSize, false);
|
|
|
//查询快手设计排行版
|
|
|
result = materialReportOverViewV3Mapper.queryKuaishouTopDesign(Long.parseLong(startDate), Long.parseLong(endDate), type, companyId);
|
|
|
- total = result.size();
|
|
|
+
|
|
|
}
|
|
|
int number = (page - 1) * 10 + 1;
|
|
|
for (JSONObject jsonObject : result) {
|