mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-11 03:46:50 +08:00
完成情况检查
This commit is contained in:
@@ -34,7 +34,7 @@ public class StudyCourseDao extends BaseDao<StudyCourse> {
|
||||
LocalDateTime now=LocalDateTime.now();
|
||||
//已完成的内容
|
||||
int n=scItemDao.count(FieldFilters.eq("studyId",studyId),FieldFilters.eq("status",StudyCourseItem.STATUS_FINISH));
|
||||
if(total==null) {
|
||||
if(total==null || total == 0) {
|
||||
// total=courseContentDao.count(FieldFilters.eq("courseId", courseId),FieldFilters.eq("deleted",false));
|
||||
total = courseContentDao.getCount(courseId);
|
||||
log.info("------2.完成情况检查---------------studyId = " + studyId + " , courseId = " + courseId + " , total = " + total );
|
||||
|
||||
Reference in New Issue
Block a user