完成5G通信技术实训任务开发

main
whb 5 months ago
parent e7333d7b66
commit 13414dfe0e

@ -76,7 +76,6 @@ public class StuExpermentTrainingController {
@ApiOperation("得分排名详情")
public ResultEntity trainingTaskDetails(String userId, String module, Integer page, Integer size) {
return service.trainingTaskDetails(userId, module, page, size);
@ -90,6 +89,7 @@ public class StuExpermentTrainingController {
iFileUtil.download(response, File.separator+fileName);
}
@ApiOperation("实训文件上传接口")
@ -105,11 +105,14 @@ public class StuExpermentTrainingController {
//保存文件路径
String filePath = iFileUtil.upload(file);
return service.uploadFileByExperment(filePath,module,userId,name);
}
}

@ -152,13 +152,14 @@ public class StuExpermentTrainingServiceImpl implements StuExpermentTrainingServ
} else {
//不保存做题记录和平均分
return new ResultEntity<>(HttpStatus.OK, "提交成功!", "超出三次提交计分,不计入总");
return new ResultEntity<>(HttpStatus.OK, "提交成功!", "超出三次提交计分,不计入总成绩");
}
}
}
/**
*
*
@ -259,9 +260,9 @@ public class StuExpermentTrainingServiceImpl implements StuExpermentTrainingServ
/**
*
* @param filePath
* @param module
* @param userId
* @param name
* @param module
* @param userId
* @param name
* @return
*/
@ -344,4 +345,6 @@ public class StuExpermentTrainingServiceImpl implements StuExpermentTrainingServ
}
}
}

Loading…
Cancel
Save