|
@@ -162,6 +162,8 @@ public class TEExamActivityController {
|
|
}
|
|
}
|
|
teAudio.updateInfo(tbUser.getId());
|
|
teAudio.updateInfo(tbUser.getId());
|
|
}
|
|
}
|
|
|
|
+ //TODO测试默认为false
|
|
|
|
+ teAudio.setEnable(false);
|
|
teAudioService.saveOrUpdate(teAudio);
|
|
teAudioService.saveOrUpdate(teAudio);
|
|
// teAudioService.sendAudioMessage(teAudio);
|
|
// teAudioService.sendAudioMessage(teAudio);
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
@@ -211,7 +213,9 @@ public class TEExamActivityController {
|
|
throw new BusinessException("已有考试记录不能禁用");
|
|
throw new BusinessException("已有考试记录不能禁用");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- teAudio.setEnable(!enable ? null : enable);
|
|
|
|
|
|
+ //TODO测试默认为false
|
|
|
|
+ teAudio.setEnable(false);
|
|
|
|
+// teAudio.setEnable(!enable ? null : enable);
|
|
teAudio.updateInfo(tbUser.getId());
|
|
teAudio.updateInfo(tbUser.getId());
|
|
teAudioService.updateById(teAudio);
|
|
teAudioService.updateById(teAudio);
|
|
// cacheService.updateExamAudioCache(teAudio.getId());
|
|
// cacheService.updateExamAudioCache(teAudio.getId());
|