|
@@ -201,11 +201,11 @@ public class WeixinMsgController extends MsgControllerAdapter {
|
|
}
|
|
}
|
|
String toUrlString = "";
|
|
String toUrlString = "";
|
|
Exams exams = null;
|
|
Exams exams = null;
|
|
- if (arr[1].equals("ReportQR") || arr[1].equals("ExamQR")) {
|
|
|
|
|
|
+ if (arr[1].equals("ReportQR")) {
|
|
Report reports = Report.dao.findById(arr[2]);
|
|
Report reports = Report.dao.findById(arr[2]);
|
|
exams = Exams.dao.findById(reports.getExamId());
|
|
exams = Exams.dao.findById(reports.getExamId());
|
|
toUrlString = String.format(
|
|
toUrlString = String.format(
|
|
- "https://wc4.pacsonline.cn/#/reportInfo/report?report_id=%s&exam_id=%s",
|
|
|
|
|
|
+ "https://wechat.pacsonline.cn/wx_patient/web/localReport?report_id=%s&exam_id=%s",
|
|
arr[2], reports.getExamId());
|
|
arr[2], reports.getExamId());
|
|
}else {
|
|
}else {
|
|
exams = Exams.dao.findById(arr[2]);
|
|
exams = Exams.dao.findById(arr[2]);
|
|
@@ -292,11 +292,11 @@ public class WeixinMsgController extends MsgControllerAdapter {
|
|
|
|
|
|
String toUrlString = "";
|
|
String toUrlString = "";
|
|
Exams exams = null;
|
|
Exams exams = null;
|
|
- if (arr[0].equals("ReportQR") || arr[0].equals("ExamQR")) {
|
|
|
|
|
|
+ if (arr[0].equals("ReportQR")) {
|
|
Report reports = Report.dao.findById(arr[1]);
|
|
Report reports = Report.dao.findById(arr[1]);
|
|
exams = Exams.dao.findById(reports.getExamId());
|
|
exams = Exams.dao.findById(reports.getExamId());
|
|
toUrlString = String.format(
|
|
toUrlString = String.format(
|
|
- "https://wc4.pacsonline.cn/#/reportInfo/report?report_id=%s&exam_id=%s",
|
|
|
|
|
|
+ "https://wechat.pacsonline.cn/wx_patient/web/localReport?report_id=%s&exam_id=%s",
|
|
arr[1], reports.getExamId());
|
|
arr[1], reports.getExamId());
|
|
}else {
|
|
}else {
|
|
exams = Exams.dao.findById(arr[1]);
|
|
exams = Exams.dao.findById(arr[1]);
|