|
@@ -82,19 +82,19 @@ public class ViewController extends Controller {
|
|
|
report.setReviewDatetime(parseStringToDate(record.getStr("REPORTDATE")));
|
|
|
report.setConfirmDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
|
|
|
report.setConfirmDatetime(parseStringToDate(record.getStr("REPORTDATE")));
|
|
|
-// report.save();
|
|
|
+ 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.update();
|
|
|
+ patientInfos.update();
|
|
|
exams2.setApplicationDepartment(record.getStr("DEPATMENT"));
|
|
|
exams2.setApplicationDoctor(record.getStr("CLINICALDOCTOR"));
|
|
|
exams2.setExamStatus(9);
|
|
|
-// exams2.update();
|
|
|
+ exams2.update();
|
|
|
examsd.add(record);
|
|
|
WeixinService wService = ServiceFactory.getService(WeixinService.class);
|
|
|
-// wService.requestWeixinQrcode(report.getId());
|
|
|
+ wService.requestWeixinQrcode(report.getId());
|
|
|
}
|
|
|
this.renderJson(examsd);
|
|
|
} catch (Exception e) {
|