소스 검색

增加定时任务,清除6个月之前的计算目录

dengsixing 3 년 전
부모
커밋
3e1d35c6f0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/resources/mapper/scene/SceneCleanMapper.xml

+ 1 - 1
src/main/resources/mapper/scene/SceneCleanMapper.xml

@@ -21,7 +21,7 @@
           SELECT c.num FROM t_scene_clean c WHERE p.num = c.num AND c.rec_status = 'A' AND c.state = 1
       )
     ) t
-    LIMIT #{index},1000
+    LIMIT #{index},#{size}
   </select>
 
 </mapper>