@@ -28,7 +28,7 @@ public class MinioCleanScheduler {
/**
- * 每天清理一次,清理30天之前被删除的数据
+ * 每小时一次,清理被删除的数据
*/
@Scheduled(fixedDelay = 24 * 60 * 60 * 1000)
@SneakyThrows
@@ -6,7 +6,7 @@
<select id="selectIds" resultType="java.lang.String">
select *
from simulation.simulation_manual_project
- where is_deleted = '0' or (is_deleted = '1' and modify_time >= DATE_SUB(CURDATE(), INTERVAL 30 DAY));
+ where is_deleted = '0';
</select>
</mapper>