mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
优化异常提示
This commit is contained in:
parent
7c6173d3d2
commit
6fa3db2df4
@ -377,11 +377,18 @@ public class MPJInterceptor implements Interceptor {
|
||||
|
||||
@Override
|
||||
public Object plugin(Object target) {
|
||||
try {
|
||||
return Interceptor.super.plugin(target);
|
||||
} catch (Exception e) {
|
||||
return Plugin.wrap(target, this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setProperties(Properties properties) {
|
||||
// NOP
|
||||
try {
|
||||
Interceptor.super.setProperties(properties);
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user