추론결과 파일 다운로드 이력 조회 수정
This commit is contained in:
@@ -167,12 +167,14 @@ public class AuditLogRepositoryImpl extends QuerydslRepositorySupport
|
||||
BooleanBuilder whereBuilder = new BooleanBuilder();
|
||||
|
||||
whereBuilder.and(auditLogEntity.eventStatus.ne(EventStatus.valueOf("FAILED")));
|
||||
whereBuilder.and(auditLogEntity.eventType.eq(EventType.valueOf("DOWNLOAD")));
|
||||
|
||||
if (req.getMenuId() != null && !req.getMenuId().isEmpty()) {
|
||||
whereBuilder.and(auditLogEntity.menuUid.eq(req.getMenuId()));
|
||||
}
|
||||
|
||||
if (req.getUuid() != null) {
|
||||
whereBuilder.and(auditLogEntity.requestUri.contains("/api/inference/download/"));
|
||||
whereBuilder.and(auditLogEntity.requestUri.endsWith(String.valueOf(req.getUuid())));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user