mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
Merge branch 'master' into 1.3
# Conflicts: # pom.xml
This commit is contained in:
commit
beffa8880a
@ -14,7 +14,9 @@ public class MPJTableMapperHelper {
|
|||||||
private static final Map<Class<?>, Class<?>> CACHE = new ConcurrentHashMap<>();
|
private static final Map<Class<?>, Class<?>> CACHE = new ConcurrentHashMap<>();
|
||||||
|
|
||||||
public static void init(Class<?> clazz, Class<?> mapper) {
|
public static void init(Class<?> clazz, Class<?> mapper) {
|
||||||
CACHE.put(clazz, mapper);
|
if (clazz != null) {
|
||||||
|
CACHE.put(clazz, mapper);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Class<?> get(Class<?> clazz) {
|
public static Class<?> get(Class<?> clazz) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user