Commit 882e8a60 authored by 王淑君's avatar 王淑君

修改接口

parent a27a0fce
...@@ -325,7 +325,7 @@ public class BChapterServiceImpl implements BChapterService { ...@@ -325,7 +325,7 @@ public class BChapterServiceImpl implements BChapterService {
if (learnProgress > 0 && newLearnProgress < 0.01){ if (learnProgress > 0 && newLearnProgress < 0.01){
newLearnProgress = 0.01; newLearnProgress = 0.01;
} }
if ("2".equals(lessonPerson.getIsFinish()) && newLearnProgress < 1){ if (newLearnProgress < 1){
lessonPerson.setIsFinish("1"); lessonPerson.setIsFinish("1");
lessonPerson.setFinishDate(null); lessonPerson.setFinishDate(null);
} }
......
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