Compare commits

..

No commits in common. "ec27c93ee0634e7a91dd2c695d42fc8780c4cc1c" and "b572cf4b4eb1c3db51250382443a4fdf6c376d5a" have entirely different histories.

View File

@ -1412,9 +1412,9 @@ public class EstimateService {
String classTypeName = "";
if ("0".equals(roofVol.getClassType())) {
classTypeName = String.format("%.2f", Double.parseDouble(StringUtils.defaultString(roofVol.getSlope(), "0"))) + "";
classTypeName = roofVol.getSlope() + "";
} else {
classTypeName = String.format("%.2f", Double.parseDouble(StringUtils.defaultString(roofVol.getAngle(), "0"))) + "º";
classTypeName = roofVol.getAngle() + "º";
}
roofVol.setClassTypeName(classTypeName);
@ -1427,9 +1427,9 @@ public class EstimateService {
for (RoofResponse roof : roofList) {
String roofClassTypeName = "";
if ("0".equals(roof.getClassType())) {
roofClassTypeName = String.format("%.2f", Double.parseDouble(StringUtils.defaultString(roof.getSlope(), "0"))) + "";
roofClassTypeName = roof.getSlope() + "";
} else {
roofClassTypeName = String.format("%.2f", Double.parseDouble(StringUtils.defaultString(roof.getAngle(), "0"))) + "º";
roofClassTypeName = roof.getAngle() + "º";
}
roof.setClassTypeName(roofClassTypeName);
}