This commit is contained in:
+3
@@ -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
|
||||
|
||||
+1
@@ -18,6 +18,7 @@ public class SelectListAuditLogCommand {
|
||||
|
||||
private String searchUserId;
|
||||
private String searchRemoteAddress;
|
||||
private String searchParameters;
|
||||
|
||||
@JsonFormat(pattern = "yyyyMMddHHmmss")
|
||||
@DateTimeFormat(pattern = "yyyyMMddHHmmss")
|
||||
|
||||
Reference in New Issue
Block a user