Commit a71a6c93 authored by liuyuanjun's avatar liuyuanjun

修改命名格式

parent 8da94715
......@@ -873,7 +873,7 @@ public class BChapterServiceImpl implements BChapterService {
List<BFile> fileList = bFileRepository.getFileByLessonId(id);
//batch是zip打包文件夹 bFile.getLessonId()替换形成name
BLesson bLesson = bLessonRepository.selectByPrimaryKey(id);
String filePath = global.getBASE_UPLOAD_SERVER_LOCATION() + global.getCOURSE_LOCATION() + File.separator + batchUDID + File.separator + bLesson.getLessonName() + simpleDateFormat.format(bLesson.getCreateDate());
String filePath = global.getBASE_UPLOAD_SERVER_LOCATION() + global.getCOURSE_LOCATION() + File.separator + batchUDID + File.separator + bLesson.getLessonName() + "-" + simpleDateFormat.format(bLesson.getCreateDate());
File file = new File(filePath);
if (fileList == null || fileList.size() < 1)
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment