Junjie
3 天以前 9e7a6d4a099f039319c9a3647957fe6d4aa4ca21
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.zy.system.mapper;
 
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
@Mapper
@Repository
public interface LogCleanupMapper {
 
    int deleteExpiredBatch(@Param("table") String table,
                           @Param("timeColumn") String timeColumn,
                           @Param("expireDays") int expireDays,
                           @Param("limit") int limit);
}