Browse Source

教师课时统计调整

dzx 9 hours ago
parent
commit
4f5d641a90

+ 1 - 0
src/main/java/com/xjrsoft/module/classtime/controller/ClassTimeStatisticsController.java

@@ -264,6 +264,7 @@ public class ClassTimeStatisticsController {
                 .eq(dto.getMonth() != null, ClassTimeStatistics::getMonth, dto.getMonth())
                 .eq(ClassTimeStatistics::getCategory, 1)
                 .eq(ClassTimeStatisticsRecord::getUserId, StpUtil.getLoginIdAsLong())
+                .eq(ClassTimeStatistics::getStatus, 1)
                 .orderByDesc(ClassTimeStatistics::getId)
         ;
         IPage<ClassTimeStatistics> page = classTimeStatisticsService.page(ConventPage.getPage(dto), queryWrapper);