[2133] 다운로드 파일명 포맷에 planNo 추가 (objectNo_planNo_날짜)(견적서/발전시뮬레이션 통일)

This commit is contained in:
ysCha 2026-05-04 10:39:07 +09:00
parent 11d2acb2a2
commit fc6655f9dc
2 changed files with 5 additions and 2 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()));
}

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()));
}