|
@@ -539,7 +539,8 @@ public class TEExamServiceImpl extends ServiceImpl<TEExamMapper, TEExam> impleme
|
|
|
* 提交作答结果
|
|
|
*/
|
|
|
@Override
|
|
|
- public AnswerSubmitBean answerSubmit(Long studentId, Long recordId, Integer mainNumber, Integer subNumber, Integer subIndex,
|
|
|
+ public AnswerSubmitBean answerSubmit(Long studentId, Long recordId, Integer mainNumber, Integer
|
|
|
+ subNumber, Integer subIndex,
|
|
|
String answer, Long version, Integer durationSeconds) {
|
|
|
|
|
|
// 校验当前登录用户和参数一致性
|
|
@@ -626,7 +627,8 @@ public class TEExamServiceImpl extends ServiceImpl<TEExamMapper, TEExam> impleme
|
|
|
* 更新音频剩余播放次数
|
|
|
*/
|
|
|
@Override
|
|
|
- public AudioLeftPlayCountSubmitBean audioLeftPlayCountSubmit(Long studentId, Long recordId, String key, Integer count) {
|
|
|
+ public AudioLeftPlayCountSubmitBean audioLeftPlayCountSubmit(Long studentId, Long recordId, String key, Integer
|
|
|
+ count) {
|
|
|
|
|
|
// 校验当前登录用户和参数一致性
|
|
|
if (ExamRecordCacheUtil.getId(recordId) == null) {
|
|
@@ -656,7 +658,8 @@ public class TEExamServiceImpl extends ServiceImpl<TEExamMapper, TEExam> impleme
|
|
|
* 文件上传
|
|
|
*/
|
|
|
@Override
|
|
|
- public ExamFileUploadBean fileUpload(Long studentId, Long recordId, MultipartFile file, String suffix, String md5) {
|
|
|
+ public ExamFileUploadBean fileUpload(Long studentId, Long recordId, MultipartFile file, String suffix, String
|
|
|
+ md5) {
|
|
|
|
|
|
// 校验当前登录用户和参数一致性
|
|
|
if (ExamRecordCacheUtil.getId(recordId) == null) {
|
|
@@ -1060,7 +1063,8 @@ public class TEExamServiceImpl extends ServiceImpl<TEExamMapper, TEExam> impleme
|
|
|
* @param mqDto
|
|
|
*/
|
|
|
@Override
|
|
|
- public void sendOeLogMessage(SystemOperationEnum systemOperationEnum, Long examStudentId, Long recordId, MqDto mqDto) {
|
|
|
+ public void sendOeLogMessage(SystemOperationEnum systemOperationEnum, Long examStudentId, Long recordId, MqDto
|
|
|
+ mqDto) {
|
|
|
//mq发送消息start
|
|
|
Map<String, Object> properties = new HashMap<>();
|
|
|
properties.put("remark", systemOperationEnum.getCode());
|