he2802 hace 1 año
padre
commit
a1ec56a49b

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeUserMapper.xml

@@ -1693,7 +1693,7 @@
           and cg.status = 1
           and cgu.status = 1
           and cgu.user_id = #{userId}
-          AND unix_timestamp(now()) BETWEEN cg.class_end_time-950400 and cg.class_end_time-864000
+          AND unix_timestamp(now()) BETWEEN cg.class_end_time-#{startTime} and cg.class_end_time-#{endTime}
     </select>