|
@@ -20,7 +20,7 @@ import com.keao.edu.im.api.client.ImFeignService;
|
|
import com.keao.edu.im.api.entity.MemberChangedMessage;
|
|
import com.keao.edu.im.api.entity.MemberChangedMessage;
|
|
import com.keao.edu.im.api.entity.PublishMessageDto;
|
|
import com.keao.edu.im.api.entity.PublishMessageDto;
|
|
import com.keao.edu.thirdparty.message.provider.JiguangPushPlugin;
|
|
import com.keao.edu.thirdparty.message.provider.JiguangPushPlugin;
|
|
-import com.keao.edu.thirdparty.message.provider.YimeiSmsPlugin;
|
|
|
|
|
|
+import com.keao.edu.thirdparty.message.provider.AwSmsPlugin;
|
|
import com.keao.edu.thirdparty.yqpay.DateUtils;
|
|
import com.keao.edu.thirdparty.yqpay.DateUtils;
|
|
import com.keao.edu.user.api.entity.ExamRoom;
|
|
import com.keao.edu.user.api.entity.ExamRoom;
|
|
import com.keao.edu.user.api.entity.ExamRoomStudentRelation;
|
|
import com.keao.edu.user.api.entity.ExamRoomStudentRelation;
|
|
@@ -550,7 +550,7 @@ public class ExamRoomServiceImpl extends BaseServiceImpl<Long, ExamRoom> impleme
|
|
receiverMap, null, 0, url, JiguangPushPlugin.PLUGIN_NAME,
|
|
receiverMap, null, 0, url, JiguangPushPlugin.PLUGIN_NAME,
|
|
examName, examDayStr, examTimeStr, locationName);
|
|
examName, examDayStr, examTimeStr, locationName);
|
|
sysMessageService.batchSendMessage(smsMessageType,
|
|
sysMessageService.batchSendMessage(smsMessageType,
|
|
- phoneMap, null, 0, null, YimeiSmsPlugin.PLUGIN_NAME,
|
|
|
|
|
|
+ phoneMap, null, 0, null, AwSmsPlugin.PLUGIN_NAME,
|
|
examName, examDayStr, examTimeStr, locationName, downloadUrl + student.getExamRegistrationId());
|
|
examName, examDayStr, examTimeStr, locationName, downloadUrl + student.getExamRegistrationId());
|
|
}
|
|
}
|
|
|
|
|
|
@@ -582,7 +582,7 @@ public class ExamRoomServiceImpl extends BaseServiceImpl<Long, ExamRoom> impleme
|
|
Map<Integer, String> phoneMap = new HashMap<>();
|
|
Map<Integer, String> phoneMap = new HashMap<>();
|
|
phoneMap.put(teacherRoomEntry.getKey(), teacherPhone);
|
|
phoneMap.put(teacherRoomEntry.getKey(), teacherPhone);
|
|
sysMessageService.batchSendMessage(MessageTypeEnum.EXAM_ROOM_CONFIRM_TEACHER_SMS,
|
|
sysMessageService.batchSendMessage(MessageTypeEnum.EXAM_ROOM_CONFIRM_TEACHER_SMS,
|
|
- phoneMap, null, 0, null, YimeiSmsPlugin.PLUGIN_NAME,
|
|
|
|
|
|
+ phoneMap, null, 0, null, AwSmsPlugin.PLUGIN_NAME,
|
|
exam.getName(), examStartTimeStr, examRoomNum);
|
|
exam.getName(), examStartTimeStr, examRoomNum);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -655,7 +655,7 @@ public class ExamRoomServiceImpl extends BaseServiceImpl<Long, ExamRoom> impleme
|
|
receiverMap, null, 0, null, JiguangPushPlugin.PLUGIN_NAME,
|
|
receiverMap, null, 0, null, JiguangPushPlugin.PLUGIN_NAME,
|
|
examDayStr, examTimeStr.toString());
|
|
examDayStr, examTimeStr.toString());
|
|
sysMessageService.batchSendMessage(MessageTypeEnum.BEFORE_EXAM_STUDENT_REMIND_SMS,
|
|
sysMessageService.batchSendMessage(MessageTypeEnum.BEFORE_EXAM_STUDENT_REMIND_SMS,
|
|
- phoneMap, null, 0, null, YimeiSmsPlugin.PLUGIN_NAME,
|
|
|
|
|
|
+ phoneMap, null, 0, null, AwSmsPlugin.PLUGIN_NAME,
|
|
examDayStr, examTimeStr.toString());
|
|
examDayStr, examTimeStr.toString());
|
|
}
|
|
}
|
|
|
|
|
|
@@ -671,7 +671,7 @@ public class ExamRoomServiceImpl extends BaseServiceImpl<Long, ExamRoom> impleme
|
|
Map<Integer, String> phoneMap = new HashMap<>();
|
|
Map<Integer, String> phoneMap = new HashMap<>();
|
|
phoneMap.put(teacherRoomEntry.getKey(), teacherPhone);
|
|
phoneMap.put(teacherRoomEntry.getKey(), teacherPhone);
|
|
sysMessageService.batchSendMessage(MessageTypeEnum.BEFORE_EXAM_TEACHER_REMIND_SMS,
|
|
sysMessageService.batchSendMessage(MessageTypeEnum.BEFORE_EXAM_TEACHER_REMIND_SMS,
|
|
- phoneMap, null, 0, null, YimeiSmsPlugin.PLUGIN_NAME,
|
|
|
|
|
|
+ phoneMap, null, 0, null, AwSmsPlugin.PLUGIN_NAME,
|
|
tomorrowDayStr, examStartTimeStr, examEndTimeStr, examRoomNum);
|
|
tomorrowDayStr, examStartTimeStr, examEndTimeStr, examRoomNum);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -851,7 +851,7 @@ public class ExamRoomServiceImpl extends BaseServiceImpl<Long, ExamRoom> impleme
|
|
Map<Integer, String> map = getMap("sys_user", "id_", "phone_", strings, Integer.class, String.class);
|
|
Map<Integer, String> map = getMap("sys_user", "id_", "phone_", strings, Integer.class, String.class);
|
|
//给助教老师发送短信提醒
|
|
//给助教老师发送短信提醒
|
|
sysMessageService.batchSendMessage(MessageTypeEnum.EXAM_ROOM_OPEN_SMS,
|
|
sysMessageService.batchSendMessage(MessageTypeEnum.EXAM_ROOM_OPEN_SMS,
|
|
- map,null,null,null,YimeiSmsPlugin.PLUGIN_NAME,examinationBasic.getName());
|
|
|
|
|
|
+ map,null,null,null,AwSmsPlugin.PLUGIN_NAME,examinationBasic.getName());
|
|
}
|
|
}
|
|
}else {
|
|
}else {
|
|
//没有未考试的学员
|
|
//没有未考试的学员
|