Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a8028af735
@ -30,5 +30,7 @@ public class DatasetFilesPageReqVO extends PageParam {
|
||||
@Schema(description = "创建时间")
|
||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||
private LocalDateTime[] createTime;
|
||||
@Schema(description = "文件名称", example = "https://www.iocoder.cn")
|
||||
private String datasetFileName;
|
||||
|
||||
}
|
@ -35,5 +35,7 @@ public class DatasetFilesRespVO {
|
||||
@Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
|
||||
@ExcelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
@Schema(description = "文件名称", example = "https://www.iocoder.cn")
|
||||
private String datasetFileName;
|
||||
|
||||
}
|
@ -24,5 +24,7 @@ public class DatasetFilesSaveReqVO {
|
||||
|
||||
@Schema(description = "文件URL地址", example = "https://www.iocoder.cn")
|
||||
private String datasetFileUrl;
|
||||
@Schema(description = "文件名称", example = "https://www.iocoder.cn")
|
||||
private String datasetFileName;
|
||||
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
package cn.iocoder.yudao.module.llm.dal.dataobject.dataset;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.*;
|
||||
import java.util.*;
|
||||
import java.time.LocalDateTime;
|
||||
@ -44,4 +45,6 @@ public class DatasetFilesDO extends BaseDO {
|
||||
*/
|
||||
private String datasetFileUrl;
|
||||
|
||||
private String datasetFileName;
|
||||
|
||||
}
|
@ -152,6 +152,7 @@ public class DatasetServiceImpl implements DatasetService {
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional
|
||||
public void updateDataset (DatasetSaveReqVO updateReqVO) {
|
||||
// 校验存在
|
||||
validateDatasetExists(updateReqVO.getId());
|
||||
|
Loading…
x
Reference in New Issue
Block a user