refactor(llm): 将 FineTuningTask 中的 gpuType 字段类型从 Integer 改为 Long
- 修改了 FineTuningTaskDO、FineTuningTaskPageReqVO、FineTuningTaskRespVO 和 FineTuningTaskSaveReqVO 中的 gpuType 字段类型- 此修改可能与字典类型相关,需要确保字典类型与新字段类型兼容
This commit is contained in:
parent
31046aa934
commit
b4c53ad546
@ -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;
|
||||
|
@ -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数量")
|
||||
|
@ -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;
|
||||
|
@ -61,7 +61,7 @@ public class FineTuningTaskDO extends BaseDO {
|
||||
*
|
||||
* 枚举 {@link TODO llm_gpu_type 对应的类}
|
||||
*/
|
||||
private Integer gpuType;
|
||||
private Long gpuType;
|
||||
/**
|
||||
* GPU数量
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user