|
|
@@ -175,7 +175,7 @@ public class TExamServiceImpl extends ServiceImpl<TExamMapper, TExam> implements
|
|
|
this.addJob(tExam, "start");
|
|
|
this.addJob(tExam, "end");
|
|
|
|
|
|
- List<String> userIds=courseOpenMapper.selectUserId(tExamAddParam.getSemesterId(),tExamAddParam.getCourseId());
|
|
|
+ List<String> userIds=courseOpenMapper.selectUserIds(studentAccounts);
|
|
|
//给课程下关联的学生发送站内信消息
|
|
|
if(CollectionUtil.isNotEmpty(userIds)&&tExamAddParam.getExamStatus()==1){
|
|
|
DevMessageSendParam devMessageSendParam=new DevMessageSendParam();
|
|
|
@@ -273,8 +273,8 @@ public class TExamServiceImpl extends ServiceImpl<TExamMapper, TExam> implements
|
|
|
BeanUtil.copyProperties(tExamEditParam, tExam);
|
|
|
this.updateById(tExam);
|
|
|
|
|
|
+ List<String> userIds=courseOpenMapper.selectUserIds(studentAccounts);
|
|
|
|
|
|
- List<String> userIds=courseOpenMapper.selectUserId(tExamEditParam.getSemesterId(),tExamEditParam.getCourseId());
|
|
|
|
|
|
//给课程下关联的学生发送站内信消息
|
|
|
if(CollectionUtil.isNotEmpty(userIds)&&tExamEditParam.getExamStatus()==1){
|