刘韬 3 years ago
parent
commit
1be987349d

+ 4 - 4
PacsOnline_Wechat_Patient/src/main/java/com/zskk/controller/WeixinMsgController.java

@@ -201,11 +201,11 @@ public class WeixinMsgController extends MsgControllerAdapter {
 			}
 			String toUrlString = "";
 			Exams exams = null;
-			if (arr[1].equals("ReportQR") || arr[1].equals("ExamQR")) {
+			if (arr[1].equals("ReportQR")) {
 				Report reports = Report.dao.findById(arr[2]);
 				exams = Exams.dao.findById(reports.getExamId());
 				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());
 			}else {
 				exams = Exams.dao.findById(arr[2]);
@@ -292,11 +292,11 @@ public class WeixinMsgController extends MsgControllerAdapter {
 			
 			String toUrlString = "";
 			Exams exams = null;
-			if (arr[0].equals("ReportQR") || arr[0].equals("ExamQR")) {
+			if (arr[0].equals("ReportQR")) {
 				Report reports = Report.dao.findById(arr[1]);
 				exams = Exams.dao.findById(reports.getExamId());
 				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());
 			}else {
 				exams = Exams.dao.findById(arr[1]);