|
@@ -26,7 +26,7 @@ public class DataTask implements ITask {
|
|
|
// TODO Auto-generated method stub
|
|
|
try {
|
|
|
List<Exams> exams = Exams.dao.use("zskk").find(
|
|
|
- "SELECT * FROM pacsonline.exams where exam_status=3 and institution_id=15700002 order by createdAt desc limit 30");
|
|
|
+ "SELECT * FROM pacsonline.exams where exam_status=3 and institution_id=25200005 order by createdAt desc limit 30");
|
|
|
for (Exams exams2 : exams) {
|
|
|
try {
|
|
|
// Studies studies = Studies.dao.use("zskk").findById(exams2.getStudyId());
|
|
@@ -67,7 +67,7 @@ public class DataTask implements ITask {
|
|
|
/*Map<String, String> data = new HashMap<String, String>();
|
|
|
// 获取data数据
|
|
|
// 医院id
|
|
|
- data.put("hospital_id", "15700002");
|
|
|
+ data.put("hospital_id", "25200005");
|
|
|
// 影像所见
|
|
|
data.put("description", record.getStr("DESCRIPTION"));
|
|
|
// 意见建议
|
|
@@ -253,14 +253,14 @@ public class DataTask implements ITask {
|
|
|
}
|
|
|
name = name.replace(" ", "");
|
|
|
Doctors doctors = Doctors.dao.use("zskk").findFirst(
|
|
|
- "SELECT * FROM doctors where instr(?,realname) and institution_id=15700002 and realname <>''", name);
|
|
|
+ "SELECT * FROM doctors where instr(?,realname) and institution_id=25200005 and realname <>''", name);
|
|
|
if (doctors == null) {
|
|
|
Doctors newDoctors = new Doctors().use("zskk");
|
|
|
newDoctors.setId(creatId());
|
|
|
newDoctors.setUsername("none");
|
|
|
newDoctors.setRealname(name);
|
|
|
newDoctors.setPassword("123456");
|
|
|
- newDoctors.setInstitutionId("15700002");
|
|
|
+ newDoctors.setInstitutionId("25200005");
|
|
|
newDoctors.setCreatedAt(new Date());
|
|
|
newDoctors.setUpdatedAt(new Date());
|
|
|
newDoctors.save();
|