[code="java"]
@Intercepts( {@Signature(method = "handleResultSets", type = ResultSetHandler.class, args = {Statement.class}) })
public class ResultSetHandlerInterceptor implements Interceptor {
private Logger logger = Logger.getLogger(ResultSetHandlerInterceptor.class);
@Override
public Object intercept(Invocation invocation) throws Throwable {
[color=red]//想在这里获得resultType,如果resultType="map"时进行相关处理[/color]
}
//.....
}
[/code]