|
@@ -71,7 +71,12 @@ public class ParamsDataProxy {
|
|
searchData.setSymptom(searchData.getSymptom().trim());
|
|
searchData.setSymptom(searchData.getSymptom().trim());
|
|
//一次推送多个类别信息
|
|
//一次推送多个类别信息
|
|
String[] featureTypes = searchData.getFeatureType().split(",");
|
|
String[] featureTypes = searchData.getFeatureType().split(",");
|
|
- searchData.setFeatureTypes(featureTypes);
|
|
|
|
|
|
+ //featureType统一转换
|
|
|
|
+ String[] convertFeatureTypes = new String[featureTypes.length];
|
|
|
|
+ for (int i = 0;i<featureTypes.length; i++) {
|
|
|
|
+ convertFeatureTypes[i] = convertFeatureType(searchData.getSysCode(), featureTypes[i]);
|
|
|
|
+ }
|
|
|
|
+ searchData.setFeatureTypes(convertFeatureTypes);
|
|
|
|
|
|
//获取入参中的特征信息
|
|
//获取入参中的特征信息
|
|
FeatureAnalyze fa = new FeatureAnalyze();
|
|
FeatureAnalyze fa = new FeatureAnalyze();
|
|
@@ -106,7 +111,7 @@ public class ParamsDataProxy {
|
|
//下了诊断且其他信息全为空 反推标识
|
|
//下了诊断且其他信息全为空 反推标识
|
|
boolean reverse = !StringUtils.isEmpty(searchData.getDiag()) && StringUtils.isEmpty(searchData.getSymptom());
|
|
boolean reverse = !StringUtils.isEmpty(searchData.getDiag()) && StringUtils.isEmpty(searchData.getSymptom());
|
|
for (int i = 0; i < featureTypes.length; i++) {
|
|
for (int i = 0; i < featureTypes.length; i++) {
|
|
- featureTypes[i] = convertFeatureType(sysCode, featureTypes[i]);
|
|
|
|
|
|
+// featureTypes[i] = convertFeatureType(sysCode, featureTypes[i]);
|
|
if (featureTypes[i] != null) {
|
|
if (featureTypes[i] != null) {
|
|
//模型
|
|
//模型
|
|
switch (FeatureType.parse(featureTypes[i])) {
|
|
switch (FeatureType.parse(featureTypes[i])) {
|
|
@@ -195,6 +200,12 @@ public class ParamsDataProxy {
|
|
if ("8".equals(featureType)) {
|
|
if ("8".equals(featureType)) {
|
|
return BigDataConstants.feature_type_treat;
|
|
return BigDataConstants.feature_type_treat;
|
|
}
|
|
}
|
|
|
|
+ if ("22".equals(featureType)) {
|
|
|
|
+ return BigDataConstants.feature_type_labelpush;
|
|
|
|
+ }
|
|
|
|
+ if ("11".equals(featureType)) {
|
|
|
|
+ return BigDataConstants.feature_type_manju;
|
|
|
|
+ }
|
|
return null;
|
|
return null;
|
|
}
|
|
}
|
|
return featureType;
|
|
return featureType;
|