@@ -62,7 +62,7 @@ public class ViewController extends Controller {
if (name == null) {
return "1";
}
- Doctors doctors = Doctors.dao.use("zskk").findFirst("SELECT * FROM doctors where realname like ? and institution_id=73090001",name);
+ Doctors doctors = Doctors.dao.use("zskk").findFirst("SELECT * FROM doctors where instr(?,realname) and institution_id=73090001",name);
if (doctors == null) {
@@ -69,7 +69,7 @@ public class DataTask implements ITask {