mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
fix npe
This commit is contained in:
parent
9413685625
commit
631766ecdd
@ -16,10 +16,8 @@ public class MPJTableMapperHelper {
|
||||
|
||||
|
||||
public static void init(Class<?> clazz, Class<?> mapper) {
|
||||
if (clazz != null) {
|
||||
if (clazz != null && mapper != null) {
|
||||
CACHE.put(clazz, mapper);
|
||||
}
|
||||
if (mapper != null) {
|
||||
CACHE_REVERSE.put(mapper, clazz);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user