【修改】ps蒙版考点,ps删除考点文件
This commit is contained in:
@@ -1026,7 +1026,7 @@ public class ExamGetPointsServiceImpl implements ExamGetPointsService{
|
||||
public PsViewDto get_ps_point(PointsVo pointsVo) throws RuntimeException {
|
||||
String timestamp = String.valueOf(System.currentTimeMillis());
|
||||
String baseDir = "ps\\" + timestamp;
|
||||
|
||||
File folder = new File(baseDir);
|
||||
// 下载学生文件和答案文件
|
||||
String sthPath = downloadStudentFile(pointsVo.getShucaiPath(), baseDir);
|
||||
String answerPath = downloadStudentFile(pointsVo.getAnswerPath(), baseDir);
|
||||
@@ -1081,7 +1081,7 @@ public class ExamGetPointsServiceImpl implements ExamGetPointsService{
|
||||
|
||||
psViewDto.setPointList(pointList);
|
||||
psViewDto.setAnswerList(answerlist);
|
||||
|
||||
deleteFolder(folder);
|
||||
return psViewDto;
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace(); // 打印异常堆栈
|
||||
|
Reference in New Issue
Block a user