diff --git a/backend/src/main/java/ai/basic/x1/adapter/api/controller/BaseExportController.java b/backend/src/main/java/ai/basic/x1/adapter/api/controller/BaseExportController.java index 07097c5c..846d8c56 100644 --- a/backend/src/main/java/ai/basic/x1/adapter/api/controller/BaseExportController.java +++ b/backend/src/main/java/ai/basic/x1/adapter/api/controller/BaseExportController.java @@ -17,7 +17,7 @@ import java.net.URLEncoder; import java.util.function.Function; -abstract public class BaseExportController { +public abstract class BaseExportController { private Logger logger = LoggerFactory.getLogger(getClass()); diff --git a/backend/src/main/java/ai/basic/x1/adapter/api/controller/ModelRunRecordController.java b/backend/src/main/java/ai/basic/x1/adapter/api/controller/ModelRunRecordController.java index 1827ddff..a1c2aa81 100644 --- a/backend/src/main/java/ai/basic/x1/adapter/api/controller/ModelRunRecordController.java +++ b/backend/src/main/java/ai/basic/x1/adapter/api/controller/ModelRunRecordController.java @@ -5,7 +5,7 @@ import ai.basic.x1.adapter.dto.request.RunRecordQueryDTO; import ai.basic.x1.adapter.port.rpc.dto.DatasetModelResultDTO; import ai.basic.x1.entity.ModelRunRecordBO; -import ai.basic.x1.entity.enums.RunRecordQueryBO; +import ai.basic.x1.entity.RunRecordQueryBO; import ai.basic.x1.usecase.ModelRunRecordUseCase; import ai.basic.x1.util.DefaultConverter; import ai.basic.x1.util.Page; diff --git a/backend/src/main/java/ai/basic/x1/entity/enums/RunRecordQueryBO.java b/backend/src/main/java/ai/basic/x1/entity/RunRecordQueryBO.java similarity index 74% rename from backend/src/main/java/ai/basic/x1/entity/enums/RunRecordQueryBO.java rename to backend/src/main/java/ai/basic/x1/entity/RunRecordQueryBO.java index 8a1a76ac..23648b50 100644 --- a/backend/src/main/java/ai/basic/x1/entity/enums/RunRecordQueryBO.java +++ b/backend/src/main/java/ai/basic/x1/entity/RunRecordQueryBO.java @@ -1,6 +1,9 @@ -package ai.basic.x1.entity.enums; +package ai.basic.x1.entity; import ai.basic.x1.adapter.api.annotation.valid.ValidStringEnum; +import ai.basic.x1.entity.enums.RunRecordTypeEnum; +import ai.basic.x1.entity.enums.RunStatusEnum; +import ai.basic.x1.entity.enums.SortEnum; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; diff --git a/backend/src/main/java/ai/basic/x1/usecase/ModelRunRecordUseCase.java b/backend/src/main/java/ai/basic/x1/usecase/ModelRunRecordUseCase.java index 2bd19ac5..ae7a150e 100644 --- a/backend/src/main/java/ai/basic/x1/usecase/ModelRunRecordUseCase.java +++ b/backend/src/main/java/ai/basic/x1/usecase/ModelRunRecordUseCase.java @@ -8,7 +8,7 @@ import ai.basic.x1.adapter.port.dao.redis.ModelSerialNoCountDAO; import ai.basic.x1.adapter.port.dao.redis.ModelSerialNoIncrDAO; import ai.basic.x1.entity.*; -import ai.basic.x1.entity.enums.RunRecordQueryBO; +import ai.basic.x1.entity.RunRecordQueryBO; import ai.basic.x1.entity.enums.RunStatusEnum; import ai.basic.x1.entity.enums.SortEnum; import ai.basic.x1.usecase.exception.UsecaseCode;