대체공휴일(~~~~)->대체공휴일
All checks were successful
LOCALNET-DEV/pipeline/head This commit looks good

This commit is contained in:
dyhj625 2025-03-28 13:41:42 +09:00
parent c4e523843e
commit 3b0d3b5f44

View File

@ -228,7 +228,12 @@ public class localvacaService {
dto.put("date", locdateStr); // 변환 불가능한 경우 원본 저장
}
dto.put("name", item.get("dateName"));
String dateName = String.valueOf(item.get("dateName"));
if (dateName.contains("대체공휴일")) {
dto.put("name", "대체공휴일");
} else {
dto.put("name", dateName);
}
return dto;
}