浏览代码

疾病对应科室修改为从kl_disease获取

louhr 5 年之前
父节点
当前提交
64f6870f78
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      common-push/src/main/java/org/diagbot/common/push/cache/CacheFileManager.java

+ 2 - 2
common-push/src/main/java/org/diagbot/common/push/cache/CacheFileManager.java

@@ -249,7 +249,7 @@ public class CacheFileManager {
             }
             }
             fw.close();
             fw.close();
             //疾病科室信息
             //疾病科室信息
-            sql = "SELECT k1.lib_name diag_name, k2.lib_name dept_name FROM kl_concept_common kcc, kl_concept k1, kl_concept k2 " +
+            sql = "SELECT k1.lib_name diag_name, k2.lib_name dept_name FROM kl_disease kcc, kl_concept k1, kl_concept k2 " +
                     "where kcc.concept_id = k1.id and kcc.dept_id = k2.id " +
                     "where kcc.concept_id = k1.id and kcc.dept_id = k2.id " +
                     "and k1.lib_type = 18 and kcc.dept_id  is not null";
                     "and k1.lib_type = 18 and kcc.dept_id  is not null";
             st = conn.createStatement();
             st = conn.createStatement();
@@ -293,7 +293,7 @@ public class CacheFileManager {
         try {
         try {
             EncrypDES encrypDES = new EncrypDES();
             EncrypDES encrypDES = new EncrypDES();
             //疾病科室
             //疾病科室
-            String sql = "SELECT k1.lib_name diag_name, k2.lib_name dept_name FROM kl_concept_common kcc, kl_concept k1, kl_concept k2 " +
+            String sql = "SELECT k1.lib_name diag_name, k2.lib_name dept_name FROM kl_disease kcc, kl_concept k1, kl_concept k2 " +
                     "where kcc.concept_id = k1.id and kcc.dept_id = k2.id " +
                     "where kcc.concept_id = k1.id and kcc.dept_id = k2.id " +
                     "and k1.lib_type = 18 and kcc.dept_id  is not null";
                     "and k1.lib_type = 18 and kcc.dept_id  is not null";
             st = conn.createStatement();
             st = conn.createStatement();