Merge pull request '[2133][1508]' (#484) from dev into prd-deploy

Reviewed-on: #484
This commit is contained in:
ysCha 2026-05-04 11:04:14 +09:00
commit 6ac361af6a
4 changed files with 8 additions and 5 deletions

View File

@ -1369,7 +1369,8 @@ public class EstimateService {
// file Name 명이 없는경우
if (estimateRequest.getFileName() == null || "".equals(estimateRequest.getFileName())) {
estimateRequest.setFileName(estimateResponse.getObjectNo() + "_"
estimateRequest.setFileName(StringUtils.defaultString(estimateResponse.getObjectNo()) + "_"
+ StringUtils.defaultString(estimateResponse.getPlanNo()) + "_"
+ new SimpleDateFormat("yyyyMMdd").format(new Date()));
}
@ -2446,7 +2447,7 @@ public class EstimateService {
"<td style='width:60px;'>" + StringUtils.defaultString(itemResponse.getNo()) + "</td>");
sb.append("<td style='width:120px;text-align:left;'>"
+ StringUtils.defaultString(itemResponse.getItemName()) + "</td>");
sb.append("<td style='width:120px;'>" + StringUtils.defaultString(itemResponse.getItemNo())
sb.append("<td style='width:120px;text-align:left;'>" + StringUtils.defaultString(itemResponse.getItemNo())
+ "</td>");
sb.append(
"<td class='hide-column' style='width:80px;text-align:right;'>"
@ -2464,7 +2465,7 @@ public class EstimateService {
sb.append("<tr>");
sb.append("<td style='width:60px;'>" + StringUtils.defaultString(data.getPkgNo()) + "</td>");
sb.append("<td style='width:120px;text-align:left;'>住宅 PKG</td>");
sb.append("<td style='width:120px;'>-</td>");
sb.append("<td style='width:120px;text-align:left;'>-</td>");
sb.append("<td style='width:80px;text-align:right;'>"
+ StringUtils.defaultString(data.getPkgAsp()) + "</td>");
sb.append("<td style='width:60px;text-align:right;'>"
@ -2745,7 +2746,7 @@ public class EstimateService {
sb.append("<td style='width:120px;text-align:left;'>")
.append(StringUtils.defaultString(itemResponse.getItemName()))
.append("</td>");
sb.append("<td style='width:120px;'>")
sb.append("<td style='width:120px;text-align:left;'>")
.append(StringUtils.defaultString(itemResponse.getItemNo()))
.append("</td>");
sb.append("<td style='width:60px;text-align:right;'>").append(amountStr).append("</td>");

View File

@ -2503,7 +2503,9 @@ public class PwrGnrSimService {
// file Name 명이 없는경우
if (estimateRequest.getFileName() == null || "".equals(estimateRequest.getFileName())) {
estimateRequest.setFileName(
estimateResponse.getObjectNo()
StringUtils.defaultString(estimateResponse.getObjectNo())
+ "_"
+ StringUtils.defaultString(estimateResponse.getPlanNo())
+ "_"
+ new SimpleDateFormat("yyyyMMdd").format(new Date()));
}