[1480]사의 각도 설정을 "각도"로 했을 때 발생하는 문제 - 출력물 #459
@ -1424,6 +1424,15 @@ 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 = roof.getSlope() + "寸";
|
||||||
|
} else {
|
||||||
|
roofClassTypeName = roof.getAngle() + "º";
|
||||||
|
}
|
||||||
|
roof.setClassTypeName(roofClassTypeName);
|
||||||
|
}
|
||||||
roofInfoResponse.setRoofList(roofList);
|
roofInfoResponse.setRoofList(roofList);
|
||||||
roofInfoResponse.setCircuitItemList(circuitItemList);
|
roofInfoResponse.setCircuitItemList(circuitItemList);
|
||||||
roofInfoResponse.setRoofVolList(roofVolList);
|
roofInfoResponse.setRoofVolList(roofVolList);
|
||||||
@ -2597,7 +2606,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.getSlope()) + "寸</td>");
|
sb.append("<td>" + StringUtils.defaultString(roofResponse.getClassTypeName()) + "</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;'>"
|
||||||
@ -2677,7 +2686,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.getSlope()) + "寸</td>");
|
sb.append("<td>" + StringUtils.defaultString(roofResponse.getClassTypeName()) + "</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