Could not find method on interface org.apache.ibatis.executor.statement.StatementHandler named prepa

3.4.0之前分页

/*@Intercepts(value = {@Signature(type = StatementHandler.class, method = "prepare",
    args = {Connection.class})})*/ //3.40之前的写法

3.4.0之后分页

@Intercepts(value = {@Signature(type = StatementHandler.class, method = "prepare",
    args = {Connection.class,Integer.class})})//3.40之后的写法

 

posted @ 2022-01-22 20:42  浅笑19  阅读(292)  评论(0编辑  收藏  举报