From 3968027576eb3420f4989be7d200d595d340747d Mon Sep 17 00:00:00 2001 From: stylefeng Date: Sun, 25 Aug 2024 22:44:10 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=908.3.0=E3=80=91=E3=80=90scanner?= =?UTF-8?q?=E3=80=91=E6=9B=B4=E6=96=B0=E7=B1=BB=E5=9E=8B=E6=89=AB=E6=8F=8F?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../roses/kernel/scanner/api/util/AdvancedClassTypeUtil.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel-d-scanner/scanner-api/src/main/java/cn/stylefeng/roses/kernel/scanner/api/util/AdvancedClassTypeUtil.java b/kernel-d-scanner/scanner-api/src/main/java/cn/stylefeng/roses/kernel/scanner/api/util/AdvancedClassTypeUtil.java index 1cc41eea3..cc8118fea 100644 --- a/kernel-d-scanner/scanner-api/src/main/java/cn/stylefeng/roses/kernel/scanner/api/util/AdvancedClassTypeUtil.java +++ b/kernel-d-scanner/scanner-api/src/main/java/cn/stylefeng/roses/kernel/scanner/api/util/AdvancedClassTypeUtil.java @@ -88,7 +88,9 @@ public class AdvancedClassTypeUtil { // 判断数字类型 if (ClassTypeUtil.validateNumericTypeFlag(clazz)) { - return new ClassParseResult(FieldTypeEnum.NUMBER, null); + ClassParseResult classParseResult = new ClassParseResult(FieldTypeEnum.NUMBER, null); + classParseResult.setOriginType(type); + return classParseResult; } // 判断是否是其他基本类型,如果是其他类型,认为是字符串