微调
This commit is contained in:
@@ -495,9 +495,9 @@ public class ReportServiceImpl implements ReportService {
|
|||||||
|
|
||||||
Field finalField = field;
|
Field finalField = field;
|
||||||
return value.stream().filter(x -> x.getValueType().equals(name)).map(temp -> {
|
return value.stream().filter(x -> x.getValueType().equals(name)).map(temp -> {
|
||||||
BigDecimal o = null;
|
Double o = null;
|
||||||
try {
|
try {
|
||||||
o = (BigDecimal) finalField.get(temp);
|
o = (Double) finalField.get(temp);
|
||||||
} catch (IllegalAccessException e) {
|
} catch (IllegalAccessException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user