Parcourir la source

长兴、台州数据导入完成

louhr il y a 5 ans
Parent
commit
743693725d

+ 3 - 3
kernel/src/test/java/com/lantone/qc/kernel/TaizDataImportApiTest.java

@@ -38,7 +38,7 @@ public class TaizDataImportApiTest {
         test.loadModelHospital();
         //长兴患者信息
         if (cid.equals("changx")) {
-            test.insertPatient(test.loadOraclePatients("BR_INPATIENTINFO_CX20200327"));
+            test.insertPatient(test.loadOraclePatients("BR_INPATIENTINFO_CX"));
         }
         //台州患者信息
         if (cid.equals("taizhou")) {
@@ -174,8 +174,8 @@ System.out.println("******" + patientText.getBljlmc() + "**" + caseMap.get(patie
         List<PatientText> patientTexts = new ArrayList<>();
         try {
             st = conn.createStatement();
-            String sql = "select brzyid,bljlmc,bljlnr from MR_MEDICALRECORDS_CX20200327 a " +
-                    "left join MR_MRCONTENT_CX20200327 b on a.bljlid=b.bljlid " +
+            String sql = "select brzyid,bllbid,bljlnr from MR_MEDICALRECORDS_CX a " +
+                    "left join MR_MRCONTENT_CX b on a.bljlid=b.bljlid " +
                     "where bljlnr is not null and brzyid = '" + brzyid + "' " +
                     "order by brzyid";
             rs = st.executeQuery(sql);