refactor(llm): 将 FineTuningTask 中的 gpuType 字段类型从 Integer 改为 Long

- 修改了 FineTuningTaskDO、FineTuningTaskPageReqVO、FineTuningTaskRespVO 和 FineTuningTaskSaveReqVO 中的 gpuType 字段类型- 此修改可能与字典类型相关,需要确保字典类型与新字段类型兼容
This commit is contained in:
limin 2025-02-18 10:27:24 +08:00
parent 31046aa934
commit b4c53ad546
4 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ public class FineTuningTaskPageReqVO extends PageParam {
private String taskIntro;
@Schema(description = "GPU类型使用字典llm_gpu_type", example = "1")
private Integer gpuType;
private Long gpuType;
@Schema(description = "GPU数量", example = "7626")
private Integer gpuCount;

View File

@ -48,7 +48,7 @@ public class FineTuningTaskRespVO {
@Schema(description = "GPU类型使用字典llm_gpu_type", example = "1")
@ExcelProperty(value = "GPU类型使用字典llm_gpu_type", converter = DictConvert.class)
@DictFormat("llm_gpu_type") // TODO 代码优化建议设置到对应的 DictTypeConstants 枚举类中
private Integer gpuType;
private Long gpuType;
@Schema(description = "GPU数量", example = "7626")
@ExcelProperty("GPU数量")

View File

@ -34,7 +34,7 @@ public class FineTuningTaskSaveReqVO {
private String trainDuration;
@Schema(description = "GPU类型使用字典llm_gpu_type", example = "1")
private Integer gpuType;
private Long gpuType;
@Schema(description = "GPU数量", example = "7626")
private Integer gpuCount;

View File

@ -61,7 +61,7 @@ public class FineTuningTaskDO extends BaseDO {
*
* 枚举 {@link TODO llm_gpu_type 对应的类}
*/
private Integer gpuType;
private Long gpuType;
/**
* GPU数量
*/