Forráskód Böngészése

判断逻辑修改

yumeng 5 éve
szülő
commit
548d0ff6d5

BIN
lib/jave-1.0.2.jar


+ 1 - 3
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/KuaishouInterfaceServiceImpl.java

@@ -361,11 +361,9 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
         if (!Check.isNull(startDate)) {
             param.put("start_date", DateUtils.formatDate(startDate));
         }
-        if (Check.isNull(endDate)) {
+        if (!Check.isNull(endDate)) {
             param.put("end_date", DateUtils.formatDate(endDate));
         }
-
-
         param.put("advertiser_id", token.getAccountId());
         param.put("temporal_granularity", "DAILY");
         param.put("page_size", 500);