|
@@ -1,6 +1,8 @@
|
|
|
package com.lantone.qc.kernel.analysis;
|
|
|
|
|
|
import com.google.common.collect.Maps;
|
|
|
+import com.lantone.qc.dbanaly.lt.entity.Lis;
|
|
|
+import com.lantone.qc.dbanaly.lt.service.impl.LisServiceImpl;
|
|
|
import com.lantone.qc.dbanaly.util.SpecialStorageUtil;
|
|
|
import com.lantone.qc.kernel.client.CRFServiceClient;
|
|
|
import com.lantone.qc.kernel.client.SimilarityServiceClient;
|
|
@@ -40,6 +42,7 @@ public class QCAnalysis {
|
|
|
OutputInfo outputInfo = new OutputInfo();
|
|
|
long t1 = System.currentTimeMillis();
|
|
|
InputInfo inputInfo = TransDispatch.trans(queryVo);
|
|
|
+ sym(queryVo,inputInfo);
|
|
|
long t2 = System.currentTimeMillis();
|
|
|
inputInfo.setUseCrfCache(queryVo.isUseCrfCache());
|
|
|
inputInfo.setInputCatalogueMap(queryVo.getInputCatalogueMap());
|
|
@@ -88,4 +91,18 @@ public class QCAnalysis {
|
|
|
return outputInfo;
|
|
|
}
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private LisServiceImpl lisService;
|
|
|
+ private void sym(QueryVo queryVo,InputInfo inputInfo){
|
|
|
+ try{
|
|
|
+ Lis lis = new Lis();
|
|
|
+ lis.setPackageId(queryVo.getHospitalId());
|
|
|
+ lis.setPackageName(queryVo.getBehospitalInfo().getBehospitalCode());
|
|
|
+ lis.setRemark(inputInfo.getBeHospitalizedDoc().getPresentLabel().getText());
|
|
|
+ lisService.save(lis);
|
|
|
+ }catch (Exception e){
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|