|
@@ -87,7 +87,7 @@ public class DataTask implements ITask {
|
|
|
return null;
|
|
|
}
|
|
|
name = name.replace(" ", "");
|
|
|
- Doctors doctors = Doctors.dao.use("zskk").findFirst("SELECT * FROM doctors where instr(?,realname) and institution_id=81220001 and realname<>''",name);
|
|
|
+ Doctors doctors = Doctors.dao.use("zskk").findFirst("SELECT * FROM doctors where instr(?,realname) and institution_id=74100002 and realname<>''",name);
|
|
|
|
|
|
if (doctors == null) {
|
|
|
Doctors newDoctors = new Doctors().use("zskk");
|
|
@@ -95,7 +95,7 @@ public class DataTask implements ITask {
|
|
|
newDoctors.setUsername("none");
|
|
|
newDoctors.setRealname(name);
|
|
|
newDoctors.setPassword("123456");
|
|
|
- newDoctors.setInstitutionId("81220001");
|
|
|
+ newDoctors.setInstitutionId("74100002");
|
|
|
newDoctors.setCreatedAt(new Date());
|
|
|
newDoctors.setUpdatedAt(new Date());
|
|
|
newDoctors.save();
|