Skip to content

Commit

Permalink
[2.2.7] 修复SQLType#transform存在错误的判断逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
huanmeng-qwq committed Jun 12, 2023
1 parent b70eb1a commit c01ac32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# SQLibrary

类似MyBatis的一个~~框架~~

但是是个 __简易版__

没有那么多什么事务之类的

## 示例代码

您可以 [点击这里](src/test/java/me/huanmeng/util/sql/SQLibraryTest.java) 查看部分代码演示 。
Expand All @@ -21,7 +15,7 @@
<dependency>
<groupId>com.huanmeng-qwq</groupId>
<artifactId>SQLibrary</artifactId>
<version>2.2.7</version>
<version>2.2.8</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<groupId>com.huanmeng-qwq</groupId>
<artifactId>SQLibrary</artifactId>
<name>SQLibrary</name>
<version>2.2.7</version>
<version>2.2.8</version>

<scm>
<connection>scm:git:[email protected]:huanmeng-qwq/SQLibrary.git</connection>
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/me/huanmeng/util/sql/type/SQLType.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ public <I> void transform(ResultSet rs, SQLEntityFieldMetaData<I, T> fieldMetaDa
}
return;
}
if (HutoolAdapter.supportHutool()) {
fieldMetaData.setValue(instance, HutoolAdapter.getResult(rs, fieldMetaData));
}
fieldMetaData.setValue(instance, HutoolAdapter.getResult(rs, fieldMetaData));
}

@Override
Expand Down

0 comments on commit c01ac32

Please sign in to comment.