|
@@ -10,6 +10,7 @@ import com.diagbot.facade.data.AMedicalRecordFacade;
|
|
|
import com.diagbot.facade.data.StructuralOldDataFacade;
|
|
|
import com.diagbot.util.DateUtil;
|
|
|
import com.diagbot.util.TZDBConn;
|
|
|
+import com.diagbot.vo.AnalyzeRunVO;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
@@ -50,6 +51,16 @@ public class OldDataFacade {
|
|
|
list.forEach(behospitalInfo->{
|
|
|
try {
|
|
|
sendOnebehospitalCode.sendOnebehospitalCode(behospitalInfo.getBehospitalCode(),behospitalInfo.getFileCode());
|
|
|
+ try {
|
|
|
+ //拉取数据完后评分
|
|
|
+ AnalyzeRunVO analyzeRunVO = new AnalyzeRunVO();
|
|
|
+ analyzeRunVO.setHospitalId(Long.valueOf("7"));
|
|
|
+ analyzeRunVO.setBehospitalCode(behospitalInfo.getBehospitalCode());
|
|
|
+ behospitalInfoFacade.analyzeApi(analyzeRunVO);
|
|
|
+ } catch (Exception e) {
|
|
|
+ aMedAbnormalInfoFacade.saveAbnormalInfo("历史数据拉取完评分异常", "", "", JSON.toJSONString(behospitalInfo), e.getMessage());
|
|
|
+ }
|
|
|
+
|
|
|
// IfCoincide(behospitalInfo.getBehospitalCode(),behospitalInfo.getFileCode());
|
|
|
aMedAbnormalInfoFacade.saveAbnormalInfo("补传数据成功", behospitalInfo.getBehospitalCode(), JSON.toJSONString(behospitalInfo), "", "");
|
|
|
}catch (Exception e){
|