|
@ -316,7 +316,7 @@ public class MonitorService { |
|
|
if (!CollectionUtils.isEmpty(attDamBaseJsonMoldeList)) { |
|
|
if (!CollectionUtils.isEmpty(attDamBaseJsonMoldeList)) { |
|
|
attDamBaseJsonMoldeList.stream() |
|
|
attDamBaseJsonMoldeList.stream() |
|
|
.map(SkAttDamBase::getDamTopElev) |
|
|
.map(SkAttDamBase::getDamTopElev) |
|
|
.filter(e-> !StringUtils.isNotEmpty(e)) |
|
|
.filter(StringUtils::isNotEmpty) |
|
|
.mapToDouble(Double::parseDouble) |
|
|
.mapToDouble(Double::parseDouble) |
|
|
.max() |
|
|
.max() |
|
|
.ifPresent(aDouble -> attResTaskViewDto.setCrestElevation(String.format("%.2f", aDouble))); |
|
|
.ifPresent(aDouble -> attResTaskViewDto.setCrestElevation(String.format("%.2f", aDouble))); |
|
|