|
@@ -211,9 +211,11 @@ public class RankStrategyBy688 extends RankStrategyBasic {
|
|
|
adRankItem.getExt().put("recallsources", dto.getRecallSources());
|
|
|
if (MapUtils.isNotEmpty(map)) {
|
|
|
GuaranteeView guaranteeView = map.get(dto.getAdVerId());
|
|
|
- double guaranteeWeight = getGuaranteeWeight(guaranteeView);
|
|
|
- adRankItem.getExt().put("guaranteeView", guaranteeView.toString());
|
|
|
- adRankItem.getExt().put("guaranteeWeight", guaranteeWeight);
|
|
|
+ if (guaranteeView != null) {
|
|
|
+ double guaranteeWeight = getGuaranteeWeight(guaranteeView);
|
|
|
+ adRankItem.getExt().put("guaranteeView", guaranteeView.toString());
|
|
|
+ adRankItem.getExt().put("guaranteeWeight", guaranteeWeight);
|
|
|
+ }
|
|
|
}
|
|
|
String cidStr = dto.getCreativeId().toString();
|
|
|
Map<String, String> cidFeatureMap = adRankItem.getFeatureMap();
|