경력현황, 교육현황 최종수정일 표출

master
DESKTOP-QGC5RJO\DBNT 2023-01-27 17:45:31 +09:00
parent a0bbe60abd
commit 6c06a8edad
5 changed files with 15 additions and 2 deletions

View File

@ -59,6 +59,10 @@ public class UserEdu extends BaseModel{
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
private LocalDateTime wrtDt; private LocalDateTime wrtDt;
@Transient
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
private LocalDateTime lastWrtDt;

View File

@ -126,6 +126,9 @@ public class UserInfo extends BaseModel implements UserDetails{
private Integer crc005Sum; private Integer crc005Sum;
@Transient @Transient
private Integer crc006Sum; private Integer crc006Sum;
@Transient
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
private LocalDateTime lastWrtDt;
@Transient @Transient
private List<AccessConfig> accessConfigList; private List<AccessConfig> accessConfigList;

View File

@ -133,7 +133,8 @@
b.crc003Sum, b.crc003Sum,
b.crc004Sum, b.crc004Sum,
b.crc005Sum, b.crc005Sum,
b.crc006Sum b.crc006Sum,
b.lastWrtDt
from user_info a from user_info a
left outer join ( left outer join (
select user_seq, select user_seq,
@ -142,7 +143,8 @@
sum(case when career_cd = 'CRC003' then work_month else 0 end) as crc003Sum, sum(case when career_cd = 'CRC003' then work_month else 0 end) as crc003Sum,
sum(case when career_cd = 'CRC004' then work_month else 0 end) as crc004Sum, sum(case when career_cd = 'CRC004' then work_month else 0 end) as crc004Sum,
sum(case when career_cd = 'CRC005' then work_month else 0 end) as crc005Sum, sum(case when career_cd = 'CRC005' then work_month else 0 end) as crc005Sum,
sum(case when career_cd = 'CRC006' then work_month else 0 end) as crc006Sum sum(case when career_cd = 'CRC006' then work_month else 0 end) as crc006Sum,
max(wrt_dt) as lastWrtDt
from user_career from user_career
group by user_seq group by user_seq
) b on a.user_seq = b.user_seq ) b on a.user_seq = b.user_seq

View File

@ -91,6 +91,7 @@
<th>정보경력</th> <th>정보경력</th>
<th>보안경력</th> <th>보안경력</th>
<th>국제경력</th> <th>국제경력</th>
<th>최종수정일</th>
</tr> </tr>
</thead> </thead>
<tbody class="table-group-divider"> <tbody class="table-group-divider">
@ -153,6 +154,7 @@
</th:block> </th:block>
</th:block> </th:block>
</td> </td>
<td th:text="${#temporals.format(police.lastWrtDt, 'yyyy-MM-dd')}"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>

View File

@ -93,6 +93,7 @@
<th>석사</th> <th>석사</th>
<th>박사</th> <th>박사</th>
<th>전공</th> <th>전공</th>
<th>최종수정일</th>
</tr> </tr>
</thead> </thead>
<tbody class="table-group-divider"> <tbody class="table-group-divider">
@ -113,6 +114,7 @@
<td></td> <td></td>
<td></td> <td></td>
<td></td> <td></td>
<td th:text="${#temporals.format(list.lastWrtDt, 'yyyy-MM-dd')}"></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>