|
@@ -50,8 +50,8 @@ public class DataTask implements ITask {
|
|
|
report.save();
|
|
|
PatientInfos patientInfos = PatientInfos.dao.use("zskk").findById(exams2.getPatientId());
|
|
|
patientInfos.setName(record.getStr("PATIENTNAME"));
|
|
|
- //patientInfos.setPhone(record.getStr("PHONE"));
|
|
|
- //patientInfos.setCardNum(record.getStr("IDCARD"));
|
|
|
+ patientInfos.setPhone(record.getStr("PHONE"));
|
|
|
+ patientInfos.setCardNum(record.getStr("IDCARD"));
|
|
|
patientInfos.update();
|
|
|
exams2.setExamStatus(9);
|
|
|
exams2.setApplicationDepartment(record.getStr("DEPARTMENT"));
|
|
@@ -61,7 +61,7 @@ public class DataTask implements ITask {
|
|
|
/*Map<String, String> data = new HashMap<String, String>();
|
|
|
// 获取data数据
|
|
|
// 医院id
|
|
|
- data.put("hospital_id", "05400001");
|
|
|
+ data.put("hospital_id", "12200001");
|
|
|
// 影像所见
|
|
|
data.put("description", record.getStr("DESCRIPTION"));
|
|
|
// 意见建议
|
|
@@ -115,8 +115,8 @@ public class DataTask implements ITask {
|
|
|
// TODO Auto-generated catch block
|
|
|
e.printStackTrace();
|
|
|
}
|
|
|
- });*/
|
|
|
-
|
|
|
+ });
|
|
|
+*/
|
|
|
} catch (Exception e) {
|
|
|
// TODO: handle exception
|
|
|
continue;
|
|
@@ -247,7 +247,7 @@ 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=12200001 and realname <>''", name);
|
|
|
if (doctors == null) {
|
|
|
Doctors newDoctors = new Doctors().use("zskk");
|
|
|
newDoctors.setId(creatId());
|