From c01ac32067164ee82cdb78dfcae1038ac21de194 Mon Sep 17 00:00:00 2001 From: huanmeng_qwq <1871735932@qq.com> Date: Mon, 12 Jun 2023 16:06:14 +0800 Subject: [PATCH] =?UTF-8?q?[2.2.7]=20=E4=BF=AE=E5=A4=8DSQLType#transform?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E9=94=99=E8=AF=AF=E7=9A=84=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 +------- pom.xml | 2 +- src/main/java/me/huanmeng/util/sql/type/SQLType.java | 4 +--- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 192e0ea..b6d590a 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,5 @@ # SQLibrary -类似MyBatis的一个~~框架~~ - -但是是个 __简易版__ - -没有那么多什么事务之类的 - ## 示例代码 您可以 [点击这里](src/test/java/me/huanmeng/util/sql/SQLibraryTest.java) 查看部分代码演示 。 @@ -21,7 +15,7 @@ com.huanmeng-qwq SQLibrary - 2.2.7 + 2.2.8 ``` diff --git a/pom.xml b/pom.xml index a9aa31a..8ea838d 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ com.huanmeng-qwq SQLibrary SQLibrary - 2.2.7 + 2.2.8 scm:git:git@github.com:huanmeng-qwq/SQLibrary.git diff --git a/src/main/java/me/huanmeng/util/sql/type/SQLType.java b/src/main/java/me/huanmeng/util/sql/type/SQLType.java index 26e7572..240abee 100644 --- a/src/main/java/me/huanmeng/util/sql/type/SQLType.java +++ b/src/main/java/me/huanmeng/util/sql/type/SQLType.java @@ -41,9 +41,7 @@ public void transform(ResultSet rs, SQLEntityFieldMetaData fieldMetaDa } return; } - if (HutoolAdapter.supportHutool()) { - fieldMetaData.setValue(instance, HutoolAdapter.getResult(rs, fieldMetaData)); - } + fieldMetaData.setValue(instance, HutoolAdapter.getResult(rs, fieldMetaData)); } @Override