Compare commits
No commits in common. "cd39f8e81de455e931fa57f0d8dcf9a9cebf9b8b" and "50adf5335fa7ff8482b21e45ae07d72de3b3f9b9" have entirely different histories.
cd39f8e81d
...
50adf5335f
@ -1412,9 +1412,9 @@ public class EstimateService {
|
||||
|
||||
String classTypeName = "";
|
||||
if ("0".equals(roofVol.getClassType())) {
|
||||
classTypeName = new BigDecimal(StringUtils.defaultString(roofVol.getSlope(), "0")).stripTrailingZeros().toPlainString() + "寸";
|
||||
classTypeName = roofVol.getSlope() + "寸";
|
||||
} else {
|
||||
classTypeName = new BigDecimal(StringUtils.defaultString(roofVol.getAngle(), "0")).stripTrailingZeros().toPlainString() + "º";
|
||||
classTypeName = roofVol.getAngle() + "º";
|
||||
}
|
||||
roofVol.setClassTypeName(classTypeName);
|
||||
|
||||
@ -1424,15 +1424,6 @@ public class EstimateService {
|
||||
roofInfoResponse.setModuleTotAmount(String.valueOf(moduleTotAmount));
|
||||
roofInfoResponse.setModuleTotVolKw(String.valueOf(moduleTotVolKw));
|
||||
|
||||
for (RoofResponse roof : roofList) {
|
||||
String roofClassTypeName = "";
|
||||
if ("0".equals(roof.getClassType())) {
|
||||
roofClassTypeName = new BigDecimal(StringUtils.defaultString(roof.getSlope(), "0")).stripTrailingZeros().toPlainString() + "寸";
|
||||
} else {
|
||||
roofClassTypeName = new BigDecimal(StringUtils.defaultString(roof.getAngle(), "0")).stripTrailingZeros().toPlainString() + "º";
|
||||
}
|
||||
roof.setClassTypeName(roofClassTypeName);
|
||||
}
|
||||
roofInfoResponse.setRoofList(roofList);
|
||||
roofInfoResponse.setCircuitItemList(circuitItemList);
|
||||
roofInfoResponse.setRoofVolList(roofVolList);
|
||||
@ -2606,7 +2597,7 @@ public class EstimateService {
|
||||
sb.append("<td>" + StringUtils.defaultString(roofResponse.getRoofSurface()) + "</td>");
|
||||
sb.append("<td style='text-align:left;'>"
|
||||
+ StringUtils.defaultString(roofResponse.getRoofMaterialName()) + "</td>");
|
||||
sb.append("<td>" + StringUtils.defaultString(roofResponse.getClassTypeName()) + "</td>");
|
||||
sb.append("<td>" + StringUtils.defaultString(roofResponse.getSlope()) + "寸</td>");
|
||||
sb.append("<td>" + StringUtils.defaultString(roofResponse.getConstructSpecificationName())
|
||||
+ "</td>");
|
||||
sb.append("<td style='text-align:left;'>"
|
||||
@ -2686,7 +2677,7 @@ public class EstimateService {
|
||||
sb.append("<td>" + StringUtils.defaultString(roofResponse.getRoofSurface()) + "</td>");
|
||||
sb.append("<td style='text-align:left;'>"
|
||||
+ StringUtils.defaultString(roofResponse.getRoofMaterialName()) + "</td>");
|
||||
sb.append("<td>" + StringUtils.defaultString(roofResponse.getClassTypeName()) + "</td>");
|
||||
sb.append("<td>" + StringUtils.defaultString(roofResponse.getSlope()) + "寸</td>");
|
||||
sb.append("<td>" + StringUtils.defaultString(roofResponse.getConstructSpecificationName())
|
||||
+ "</td>");
|
||||
sb.append("<td style='text-align:left;'>"
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user