|
@@ -199,7 +199,7 @@ public class CacheFileManager {
|
|
try {
|
|
try {
|
|
//疾病I、II类
|
|
//疾病I、II类
|
|
EncrypDES encrypDES = new EncrypDES();//加密对象
|
|
EncrypDES encrypDES = new EncrypDES();//加密对象
|
|
- String sql = "SELECT con.lib_name, dis.classify from kl_concept_common dis, kl_concept con where dis.concept_id = con.id";
|
|
|
|
|
|
+ String sql = "SELECT con.lib_name, dis.classify from kl_disease dis, kl_concept con where dis.concept_id = con.id";
|
|
st = conn.createStatement();
|
|
st = conn.createStatement();
|
|
rs = st.executeQuery(sql);
|
|
rs = st.executeQuery(sql);
|
|
FileWriter fw = new FileWriter(path + "graph_diag_classify.dict");
|
|
FileWriter fw = new FileWriter(path + "graph_diag_classify.dict");
|
|
@@ -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_disease kcc, kl_concept k1, kl_concept k2 " +
|
|
|
|
|
|
+ sql = "SELECT k1.lib_name diag_name, k2.lib_name dept_name FROM kl_concept_common 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();
|