刘韬 5 years ago
parent
commit
651710278e
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

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