mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-09-30 02:28:49 +08:00
hotfix: ALWAYS_PARSE_INTEGRAL_NUMBER_INTO_DECIMAL
This commit is contained in:
parent
2ab6fd9b73
commit
c3512bf42e
1 changed files with 1 additions and 2 deletions
|
@ -478,9 +478,8 @@ public class FieldWriteback extends FieldAggregation {
|
||||||
value = value.toString();
|
value = value.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
// v3.6.3 强制使用 BigDecimal 高精度
|
// v3.6.3 整数/小数强制使用 BigDecimal 高精度
|
||||||
if (value instanceof Long) value = BigDecimal.valueOf((Long) value);
|
if (value instanceof Long) value = BigDecimal.valueOf((Long) value);
|
||||||
else if (value instanceof Integer) value = BigDecimal.valueOf((Integer) value);
|
|
||||||
|
|
||||||
envMap.put(fieldName, value);
|
envMap.put(fieldName, value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue