Commit 037c29bd authored by liuyuanjun's avatar liuyuanjun

Merge branch 'meiteng-2.0' into master-1.0.2

parents 5648d0e1 a71a6c93
......@@ -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