刘韬 6 years ago
parent
commit
1af5aed1e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      DataFusion/src/com/zskk/task/DataTask.java

+ 1 - 1
DataFusion/src/com/zskk/task/DataTask.java

@@ -81,7 +81,7 @@ public class DataTask implements ITask {
 		if (name == null) {
 		if (name == null) {
 			return null;
 			return null;
 		}
 		}
-		Doctors doctors = Doctors.dao.use("zskk").findFirst("SELECT * FROM doctors where instr(?,realname) and institution_id=13430001",name);
+		Doctors doctors = Doctors.dao.use("zskk").findFirst("SELECT * FROM doctors where instr(?,realname) and institution_id=13430001 and realname<>''",name);
 		if (doctors == null) {
 		if (doctors == null) {
 			return null;
 			return null;
 		}
 		}