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