Prechádzať zdrojové kódy

余杭三院:优化

licy 3 rokov pred
rodič
commit
a450a1cb73

+ 1 - 13
src/main/java/com/diagbot/facade/ViewFacade.java

@@ -67,19 +67,7 @@ public class ViewFacade {
         //根据入院登记表的信息来查所需文书
         if (behospitalInfoList.size() > 0) {
             behospitalInfoList.forEach(s -> {
-                //获取病人住院ID
-                String behospitalCode = s.getBehospitalCode();
-
-                //获取文书信息和文书详情信息
-                String recordSql = "select * from his_medical_record where behospital_code = '" + behospitalCode + "'";
-                this.getRecord(recordSql);
-
-                //获取病案首页(先注释视图补全再开)
-                this.getHomePageByView(behospitalCode);
-
-                //获取相关医嘱信息
-                String doctorAdviceSql = "select * from his_doctor_advice where behospital_code = '" + behospitalCode + "'";
-                this.getDoctorAdvice(doctorAdviceSql);
+                executeOldDataOne(s.getBehospitalCode());
             });
         }
         System.out.println("没有数据--------------------------开始时间--+" + startDate + "--结束时间--" + stopDate);