|
|
@@ -16,10 +16,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.HashMap;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
+import java.util.*;
|
|
|
|
|
|
@Slf4j
|
|
|
@Service
|
|
|
@@ -223,7 +220,7 @@ public class KuaiShouAdSocialServiceImpl implements IKuaiShouAdSocialService {
|
|
|
data.put("task_id", taskId);
|
|
|
|
|
|
KuaiShouAdSocialOrderDailyData daily = JSONObject.toJavaObject(data, KuaiShouAdSocialOrderDailyData.class);
|
|
|
- if ((daily.getCost() != null && daily.getCost() > 0) || (daily.getUserPayAmt() != null && daily.getUserPayAmt() > 0)) {
|
|
|
+ if ((daily.getCost() != null && daily.getCost() > 0) || (daily.getUserPayAmt() != null && daily.getUserPayAmt() > 0) || Optional.ofNullable(daily.getExcitationConsumption()).orElse(0L) > 0) {
|
|
|
addList.add(daily);
|
|
|
}
|
|
|
}
|