Skip to content

Commit a2cc1ce

Browse files
committed
fix: 모집 일정 자동화하도록 수정
- #236 해결되지 않음
1 parent c61196f commit a2cc1ce

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

src/main/java/ceos/backend/infra/ses/AwsSESMailGenerator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ public Context generateRecruitMailContext(AwsSESRecruitMail awsSESRecruitMail) {
139139
Context context = new Context();
140140
context.setVariable("email", EmailInfo.from(awsSESRecruitMail));
141141
context.setVariable("generation", recruitment.getGeneration());
142+
context.setVariable("recruitment", recruitment);
142143

143144
return context;
144145
}

src/main/resources/templates/component/recruit.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@
3636
</span>
3737

3838
<span style="font-weight: 600;">[접수기간]</span>
39-
8월 20일 (수) ~ 8월 27일 (수) 24:00 <br>
39+
<span th:text="${#temporals.format(recruitment.startDateDoc, 'M월 d일 (E)')}">8월 20일 (수)</span> ~
40+
<span th:text="${#temporals.format(recruitment.endDateDoc, 'M월 d일 (E) HH:mm')}">8월 27일 (수) 24:00</span> <br>
4041
<span style="font-weight: 600;">[서류발표]</span>
41-
8월 29일 (금) <br>
42+
<span th:text="${#temporals.format(recruitment.resultDateDoc, 'M월 d일 (E)')}">8월 29일 (금)</span> <br>
4243
<span style="font-weight: 600;">[개별면접]</span>
43-
8월 30일 (토) ~ 8월 31일 (일) <br>
44+
<span th:text="${#temporals.format(recruitment.startDateInterview, 'M월 d일 (E)')}">8월 30일 (토)</span> ~
45+
<span th:text="${#temporals.format(recruitment.endDateInterview, 'M월 d일 (E)')}">8월 31일 (일)</span> <br>
4446
<span style="font-weight: 600;">[최종발표]</span>
45-
9월 1일 (월) <br>
47+
<span th:text="${#temporals.format(recruitment.resultDateFinal, 'M월 d일 (E)')}">9월 1일 (월)</span> <br>
4648
<br> <br>
4749

4850

0 commit comments

Comments
 (0)