Quellcode durchsuchen

首页,添加抖音维度数据

zhaoxian vor 2 Jahren
Ursprung
Commit
e91205a0c2

+ 2 - 2
ruixuan-live/src/main/java/com/ruixuan/isc/controller/SupplyChainController.java

@@ -614,7 +614,7 @@ public class SupplyChainController extends BaseController {
         Map<String, Object> requestMap = new HashMap<>();
         if (dateType == 0) {
             if ("1".equals(mediaId)) {
-                return indexPromoterRankBytedance(dateType, orderStartDate, orderEndDate,userId);
+                return indexPromoterRankBytedance(dateType, orderStartDate, orderEndDate, userId);
             } else {
                 if (Check.isNotNull(userId)) {
                     List<String> promoterIds = promoterService.selectPromoterIdList(Arrays.asList(userId), mediaId);
@@ -647,7 +647,7 @@ public class SupplyChainController extends BaseController {
             }
         } else {
             if ("1".equals(mediaId)) {
-                return indexPromoterRankBytedance(dateType, orderStartDate, orderEndDate,userId);
+                return indexPromoterRankBytedance(dateType, orderStartDate, orderEndDate, userId);
             } else {
                 if (!Check.isNull(orderStartDate)) {
                     Long start = DateUtils.getStartLongTime(orderStartDate);

+ 6 - 6
ruixuan-live/src/main/java/com/ruixuan/isc/service/impl/KuaishouItemCollectSamplesServiceImpl.java

@@ -448,9 +448,9 @@ public class KuaishouItemCollectSamplesServiceImpl implements IKuaishouItemColle
         List<String> promoterIds = null;
         if (Check.isNotNull(userList)) {
             promoterIds = promoterService.selectPromoterIdList(userList, mediaId);
-        }
-        if (Check.isNull(promoterIds)) {
-            return data;
+            if (Check.isNull(promoterIds)) {
+                return data;
+            }
         }
         JSONObject sample = kuaishouItemCollectSamplesMapper.queryTheNumberOfCompletedJobs(promoterIds, startDate, endDate, mediaId);
 
@@ -719,9 +719,9 @@ public class KuaishouItemCollectSamplesServiceImpl implements IKuaishouItemColle
         List<String> promoterIds = null;
         if (Check.isNotNull(userList)) {
             promoterIds = promoterService.selectPromoterIdList(userList, mediaId);
-        }
-        if (Check.isNull(promoterIds)) {
-            return data;
+            if (Check.isNull(promoterIds)) {
+                return data;
+            }
         }
         if (Check.isNull(startDate) && Check.isNull(endDate)) {
             //当前月份第一天