|
@@ -249,7 +249,7 @@ public class CacheFileManager {
|
|
|
}
|
|
|
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 " +
|
|
|
"and k1.lib_type = 18 and kcc.dept_id is not null";
|
|
|
st = conn.createStatement();
|
|
@@ -293,7 +293,7 @@ public class CacheFileManager {
|
|
|
try {
|
|
|
EncrypDES encrypDES = new EncrypDES();
|
|
|
//疾病科室
|
|
|
- String sql = "SELECT k1.lib_name diag_name, k2.lib_name dept_name FROM kl_disease kcc, kl_concept k1, kl_concept k2 " +
|
|
|
+ String 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 " +
|
|
|
"and k1.lib_type = 18 and kcc.dept_id is not null";
|
|
|
st = conn.createStatement();
|