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