刘韬 il y a 5 ans
Parent
commit
651710278e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
 		}