fix:输入输出数据归档根据用户选择文件类型重新打tag
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
package com.sdm.common.entity.req.data;
|
||||
|
||||
import com.alibaba.fastjson2.annotation.JSONField;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@Data
|
||||
public class CopyFileToTaskReq {
|
||||
|
||||
@@ -14,4 +18,25 @@ public class CopyFileToTaskReq {
|
||||
|
||||
@Schema(description = "要复制到的文件夹id")
|
||||
private Long parentDirId;
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
// 很重要,用于设置标签,通过autoFillDictTags切面 ,设置dictTagIdsCache
|
||||
/**
|
||||
* 字典标签查询结果缓存
|
||||
* key: dictClass(字典类)
|
||||
* value: Map<dictValue, dictId>(字典值 -> 字典ID)
|
||||
* 此字段由服务层填充,前端不需传入
|
||||
*/
|
||||
@Schema(description = "字典标签查询结果缓存", hidden = true)
|
||||
@JSONField(serialize = false)
|
||||
private Map<String, Map<String, Integer>> dictTagIdsCache;
|
||||
|
||||
@Schema(description = "字典标签查询列表,格式:['fileTypeDictClass','fileTypeDictValue','disciplineTypeDictClass','disciplineDictValue']")
|
||||
private List<String> dictTags;
|
||||
|
||||
@Schema(description = "文件类型字典类")
|
||||
private String fileTypeDictClass;
|
||||
@Schema(description = "文件类型字典值")
|
||||
private String fileTypeDictValue;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user