|
@@ -56,8 +56,7 @@ public class ViewController extends Controller {
|
|
|
Record recordTemp = Db.use("connected").findFirst("select * from v_all_img_idx@PACSINTERFACE where F_STU_UID=?",studies.getStudyuid());
|
|
|
if (recordTemp == null) {
|
|
|
continue;
|
|
|
- }
|
|
|
-
|
|
|
+ }
|
|
|
|
|
|
Record record = Db.use("connected").findFirst("select * from yxjK where STUDYUID=?",recordTemp.getStr("F_STU_NO"));
|
|
|
|
|
@@ -81,6 +80,8 @@ public class ViewController extends Controller {
|
|
|
report.setConfirmDoctorId(getDoctorIdByName(record.getStr("REVIEWDOCTOR")));
|
|
|
report.setConfirmDatetime(parseStringToDate(record.getStr("REPORTDATE")));
|
|
|
report.save();
|
|
|
+ WeixinService wService = ServiceFactory.getService(WeixinService.class);
|
|
|
+ wService.requestWeixinQrcode(report.getId());
|
|
|
PatientInfos patientInfos = PatientInfos.dao.use("zskk").findById(exams2.getPatientId());
|
|
|
patientInfos.setName(record.getStr("PATIENTNAME"));
|
|
|
patientInfos.setPhone(record.getStr("PHONE")==null?"":record.getStr("PHONE"));
|
|
@@ -91,8 +92,6 @@ public class ViewController extends Controller {
|
|
|
exams2.setExamStatus(9);
|
|
|
exams2.update();
|
|
|
examsd.add(record);
|
|
|
- WeixinService wService = ServiceFactory.getService(WeixinService.class);
|
|
|
- wService.requestWeixinQrcode(report.getId());
|
|
|
} catch (Exception e) {
|
|
|
// TODO: handle exception
|
|
|
this.renderText(e.toString());
|