he2802 1 년 전
부모
커밋
a1ec56a49b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeUserMapper.xml

+ 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>