From 90ec21220d6e331e2fa791fa14fec24c0ad67a5b Mon Sep 17 00:00:00 2001 From: liriming <1343021927@qq.com> Date: 星期四, 27 三月 2025 16:04:01 +0800 Subject: [PATCH] 动态数据源 --- iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/enums/DataQualityEnum.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/enums/DataQualityEnum.java b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/enums/DataQualityEnum.java index 463c651..e0b3911 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/enums/DataQualityEnum.java +++ b/iailab-module-data/iailab-module-data-biz/src/main/java/com/iailab/module/data/common/enums/DataQualityEnum.java @@ -32,7 +32,7 @@ return BAD; } } else if (value instanceof String) { - if (value.toString().equals(CommonConstant.BAD_VALUE.toString())) { + if (new BigDecimal(value.toString()).compareTo(CommonConstant.BAD_VALUE) == 0) { return BAD; } } -- Gitblit v1.9.3