Commit 86b1ae84 authored by 宋新宇's avatar 宋新宇

Merge branch '7-短剧app关键行为优化' into 'release_20240408_01'

Resolve "短剧app关键行为优化"

See merge request !40
parents c3ff21a9 93e0d5c8
......@@ -135,12 +135,12 @@ public class VideoAppBehaviorFlow extends NodeSwitchFlow<NovelAction> {
}
} else if (null != behavoirVal && behavoirVal instanceof Double) {
if (type.getValue().startsWith(BehavoirType.ARPUMODELCOUNT.getValue()) && null != arpuCount) {
if (arpuCount < behavoirVal.intValue()) {
if (arpuCount < behavoirVal.doubleValue()) {
VIDEOAPP_SYS_LOG.info("arpu ecpmAvgModelCount not up to the standard,arpuCount={},arpuModelCount={},ecpmAvgCount={},djChanel={},deviceId={},userId={},conditionNum={}",arpuCount,behavoirVal,deliveryDeviceInfo.getEcpmAvgCount(),channelId,deviceId,userId,conditionNum);
action.stop(true);
break;
}
deliveryDeviceInfo.setEcpmAvgCount(String.valueOf(ecpmAvgCount));
deliveryDeviceInfo.setArpuCount(String.valueOf(arpuCount));
}
}
}
......
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