|
|
@@ -114,7 +114,7 @@ public class PredictStrategyByRor extends BasicPredict {
|
|
|
log.info("[PredictStrategyByRor] mid:{}, feature:{}, featureStr: {}", ctx.getMid(),feature,JSON.toJSONString(feature));
|
|
|
}
|
|
|
// 安全地提取特征值(多层 null 检查)
|
|
|
- if (feature != null && feature.getUserFeature() != null && feature.getUserFeature().get("") != null) {
|
|
|
+ if (feature != null && feature.getUserFeature() != null && feature.getUserFeature().get(TABLE_NAME) != null) {
|
|
|
Map<String, String> algMidHistoryBehavior1month = feature.getUserFeature().get(TABLE_NAME);
|
|
|
launchs = algMidHistoryBehavior1month.get("launchs");
|
|
|
ror = algMidHistoryBehavior1month.get("ror");
|