AUDIT 로그 - 파라미터 검색조건 추가
eapim-admin CI / build (push) Has been cancelled

This commit is contained in:
eastargh
2026-07-29 10:18:44 +09:00
parent a4614ca7fd
commit da90a3a002
3 changed files with 6 additions and 1 deletions
@@ -184,8 +184,9 @@ function getEndTime(){
</td>
<th style="width:180px;"><%= localeMessage.getString("auditLogMan.remoteAddress") %></th>
<td><input type="text" name="searchRemoteAddress" value="${param.searchRemoteAddress}" style="width:100%"></td>
<th style="width:180px;"></th>
<th style="width:180px;"><%= localeMessage.getString("auditLogMan.parameters") %></th>
<td>
<input type="text" name="searchParameters" value="${param.searchParameters}" style="width:100%">
</td>
</tr>
</tbody>
@@ -51,6 +51,9 @@ public class AuditLogPageRepositoryImpl implements AuditLogPageRepository {
if (StringUtils.isNotBlank(command.getSearchRemoteAddress())) {
jpaQuery.where(qAuditLogEntity.remoteAddress.containsIgnoreCase(command.getSearchRemoteAddress()));
}
if (StringUtils.isNotBlank(command.getSearchParameters())) {
jpaQuery.where(qAuditLogEntity.parameters.containsIgnoreCase(command.getSearchParameters()));
}
long totalCount = jpaQuery.fetchOne();
List<AuditLogEntity> auditLogs = jpaQuery
@@ -18,6 +18,7 @@ public class SelectListAuditLogCommand {
private String searchUserId;
private String searchRemoteAddress;
private String searchParameters;
@JsonFormat(pattern = "yyyyMMddHHmmss")
@DateTimeFormat(pattern = "yyyyMMddHHmmss")