Commit 695278da authored by 王淑君's avatar 王淑君

修改接口

parent 24f34c1e
...@@ -140,6 +140,7 @@ public class BChapterServiceImpl implements BChapterService { ...@@ -140,6 +140,7 @@ public class BChapterServiceImpl implements BChapterService {
BChapter bChapter = bChapterRepository.selectByPrimaryKey(queryChapterListResDTO.getPid()); BChapter bChapter = bChapterRepository.selectByPrimaryKey(queryChapterListResDTO.getPid());
if (null != bChapter) { if (null != bChapter) {
queryChapterListResDTO.setPSort(bChapter.getSort()); queryChapterListResDTO.setPSort(bChapter.getSort());
queryChapterListResDTO.setProgress(Integer.parseInt(queryChapterListResDTO.getProgress())*100+"%");
} }
map.put("currentChapter", queryChapterListResDTO); map.put("currentChapter", queryChapterListResDTO);
} else { } else {
......
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