|
@@ -5487,6 +5487,8 @@ public class FormulaServiceImpl extends BaseServiceImpl<FormulaMapper, Formula>
|
|
|
if (dataFd != null) {
|
|
|
List<Object> values = dataFd.getRawValue();
|
|
|
boolean nonNumeric = values.stream().filter(StringUtils::isNotEmpty).anyMatch(e -> !StringUtils.isNumber(e));
|
|
|
+ /*保留小数位,去除*/
|
|
|
+ values = values.stream().map(e -> StringUtils.number2StringZero(e,8)).collect(Collectors.toList());
|
|
|
if (nonNumeric) {
|
|
|
data = values.stream().filter(StringUtils::isNotEmpty).count();
|
|
|
} else if (designFd != null) {
|