|
@@ -1,5 +1,6 @@
|
|
package com.lantone.qc.kernel.analysis;
|
|
package com.lantone.qc.kernel.analysis;
|
|
|
|
|
|
|
|
+import com.google.common.collect.Maps;
|
|
import com.lantone.qc.kernel.client.CRFServiceClient;
|
|
import com.lantone.qc.kernel.client.CRFServiceClient;
|
|
import com.lantone.qc.kernel.client.SimilarityServiceClient;
|
|
import com.lantone.qc.kernel.client.SimilarityServiceClient;
|
|
import com.lantone.qc.kernel.structure.ai.AIAnalyze;
|
|
import com.lantone.qc.kernel.structure.ai.AIAnalyze;
|
|
@@ -48,6 +49,14 @@ public class QCAnalysis {
|
|
CatalogueUtil.qcCatalogueMap.get(entry.getKey()).execute(inputInfo, outputInfo);
|
|
CatalogueUtil.qcCatalogueMap.get(entry.getKey()).execute(inputInfo, outputInfo);
|
|
}
|
|
}
|
|
outputInfo.setPageData(inputInfo.getPageData());
|
|
outputInfo.setPageData(inputInfo.getPageData());
|
|
|
|
+ Map<String, Map<String, String>> result = outputInfo.getResult();
|
|
|
|
+ Map<String, Map<String, String>> resultNew = Maps.newHashMap();
|
|
|
|
+ result.keySet().forEach(key->{
|
|
|
|
+ if (result.get(key).get("status").equals("-1")) {
|
|
|
|
+ resultNew.put(key,result.get(key));
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ outputInfo.setResult(resultNew);
|
|
return outputInfo;
|
|
return outputInfo;
|
|
}
|
|
}
|
|
}
|
|
}
|