浏览代码

修改提示

Caratacus 8 年之前
父节点
当前提交
0dbc6af07a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      mybatis-plus/src/main/java/com/baomidou/mybatisplus/MybatisPulsMapperRegistry.java

+ 2 - 2
mybatis-plus/src/main/java/com/baomidou/mybatisplus/MybatisPulsMapperRegistry.java

@@ -51,7 +51,7 @@ public class MybatisPulsMapperRegistry extends MapperRegistry {
 	public <T> T getMapper(Class<T> type, SqlSession sqlSession) {
 		final MapperProxyFactory<T> mapperProxyFactory = (MapperProxyFactory<T>) knownMappers.get(type);
 		if (mapperProxyFactory == null) {
-			throw new BindingException("Type " + type + " is not known to the MapperRegistry.");
+			throw new BindingException("Type " + type + " is not known to the MybatisPlusMapperRegistry.");
 		}
 		try {
 			return mapperProxyFactory.newInstance(sqlSession);
@@ -67,7 +67,7 @@ public class MybatisPulsMapperRegistry extends MapperRegistry {
 	public <T> void addMapper(Class<T> type) {
 		if (type.isInterface()) {
 			if (hasMapper(type)) {
-				throw new BindingException("Type " + type + " is already known to the MapperRegistry.");
+				throw new BindingException("Type " + type + " is already known to the MybatisPlusMapperRegistry.");
 			}
 			boolean loadCompleted = false;
 			try {