Commit 79d7114e authored by 宋新宇's avatar 宋新宇

修改

parent 0339ad5f
...@@ -49,7 +49,9 @@ public class CrossPlatformAttributionHandle extends BaseHelper implements Attrib ...@@ -49,7 +49,9 @@ public class CrossPlatformAttributionHandle extends BaseHelper implements Attrib
String dateStr = DATE_BOTTOM_FORMAT.format(new Date()); String dateStr = DATE_BOTTOM_FORMAT.format(new Date());
String isDeducOneByTodayKey = String.format("v_deduc_%d_%d_%d_%s",action.getDeviceId(),action.getPlatformId(),action.getMedia(),dateStr); String isDeducOneByTodayKey = String.format("v_deduc_%d_%d_%d_%s",action.getDeviceId(),action.getPlatformId(),action.getMedia(),dateStr);
if (exists(isDeducOneByTodayKey)) { String isActiveOneByTodayKey = String.format("v_dec_%d_%d_%d_%s",action.getDeviceId(),action.getPlatformId(),action.getMedia(),dateStr);
//当天激活一次,扣量一次不再走上报逻辑
if (exists(isActiveOneByTodayKey) || exists(isDeducOneByTodayKey)) {
return Flow.END; return Flow.END;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment