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