使用MyBatis 3.4.1或者其以上版本
@Intercepts({
@Signature(type = StatementHandler.class,
method = "prepare",
args = {Connection.class, Integer.class})})
使用MyBatis 3.4.1(不包含)以下
@Intercepts({
@Signature(type = StatementHandler.class,
method = "prepare",
args = {Connection.class})})