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>