개인실적통계 양식 수정.

master
최강석 2023-09-19 14:52:15 +09:00
parent fde978b684
commit 7029f44d94
3 changed files with 11 additions and 1 deletions

View File

@ -3,8 +3,11 @@ package com.dbnt.faisp.main.fpiMgt.statistics.model;
import lombok.Getter; import lombok.Getter;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.Setter; import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
import javax.persistence.Column;
import javax.persistence.Transient; import javax.persistence.Transient;
import java.time.LocalDate;
@Getter @Getter
@ -27,6 +30,8 @@ public class PersonalAffairStatistics extends TypeStatistics {
private String affairType4; private String affairType4;
@Transient @Transient
private String docNo; private String docNo;
@DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate reportDt;
@Transient @Transient
private String affairRate; private String affairRate;

View File

@ -597,6 +597,7 @@
b.title, b.title,
b.affair_type4, b.affair_type4,
b.doc_no, b.doc_no,
b.report_dt,
b.affair_rate b.affair_rate
from user_info a from user_info a
inner join inner join
@ -605,6 +606,7 @@
aa.title, aa.title,
aa.affair_type4, aa.affair_type4,
aa.doc_no, aa.doc_no,
aa.report_dt,
ab.affair_rate ab.affair_rate
from affair_board aa from affair_board aa
inner join affair_rating ab inner join affair_rating ab

View File

@ -35,6 +35,7 @@
</th:block> </th:block>
<col style="width: 7%"> <col style="width: 7%">
<col style="width: 7%"> <col style="width: 7%">
<col style="width: 7%">
<col style="width: 5%"> <col style="width: 5%">
</colgroup> </colgroup>
<thead> <thead>
@ -53,6 +54,7 @@
</th:block> </th:block>
<th>분야</th> <th>분야</th>
<th>관련근거</th> <th>관련근거</th>
<th>보고일자</th>
<th>기본제출건수</th> <th>기본제출건수</th>
</tr> </tr>
</thead> </thead>
@ -70,7 +72,7 @@
</th:block> </th:block>
</td> </td>
<td> <td>
<th:block th:each="code:${session.commonCode.get('OFC')}"> <th:block th:each="code:${session.commonCode.get(statistics.ogCd)}">
<th:block th:if="${code.itemCd eq statistics.ofcCd}" th:text="${code.itemValue}"></th:block> <th:block th:if="${code.itemCd eq statistics.ofcCd}" th:text="${code.itemValue}"></th:block>
</th:block> </th:block>
</td> </td>
@ -93,6 +95,7 @@
</th:block> </th:block>
</td> </td>
<td th:text="${statistics.docNo}"></td> <td th:text="${statistics.docNo}"></td>
<td th:text="${#temporals.format(statistics.reportDt, 'yyyy-MM-dd')}"></td>
<td th:text="${statistics.userStatus eq 'USC003'?2:1}"></td> <td th:text="${statistics.userStatus eq 'USC003'?2:1}"></td>
</tr> </tr>
</tbody> </tbody>