升级jdk17

pull/1/head
liu 11 months ago
parent 6d43b074f2
commit d3b05a091b

@ -8,16 +8,16 @@ import lombok.Data;
* @ClassName: ImportDto
*/
@Data
@Schema(name = "数据导入入参")
@Schema(description = "数据导入入参")
public class ImportDto {
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "attribute可选值: tag标签/edge边类型", example = "tag", required = true)
@Schema(description = "attribute可选值: tag标签/edge边类型", example = "tag", required = true)
private String attribute;
@Schema(name = "属性名称", example = "t1", required = true)
@Schema(description = "属性名称", example = "t1", required = true)
private String attributeName;
}

@ -17,15 +17,15 @@ import java.util.Set;
* @author fulin by 2022/3/29
*/
@Data
@Schema(name = "返回类")
@Schema(description = "返回类")
public class NebulaVertexJsonResult {
@Schema(name = "空间名称")
@Schema(description = "空间名称")
private String spaceName;
@Schema(name = "潜伏期")
@Schema(description = "潜伏期")
private int latencyInUs;
@Schema(name = "数据集合")
@Schema(description = "数据集合")
private List<OneData> data;
@Schema(name = "字段")
@Schema(description = "字段")
private List<String> columns;
public Set<FailureTroubleshootingVo> toFailureTroubleshootingVos() {
@ -56,17 +56,17 @@ public class NebulaVertexJsonResult {
@Data
public static class OneData {
@Schema(name = "元数据")
@Schema(description = "元数据")
private List<OneMeta> meta;
@Schema(name = "属性名称: 属性值")
@Schema(description = "属性名称: 属性值")
private List<LinkedHashMap<String, String>> row;
}
@Data
public static class OneMeta {
@Schema(name = "id")
@Schema(description = "id")
private String id;
@Schema(name = "类型")
@Schema(description = "类型")
private String type;
}
}

@ -8,13 +8,13 @@ import lombok.Data;
* @Descriptin:
* @ClassName: PageBeanDto
*/
@Schema(name = "分页参数入参")
@Schema(description = "分页参数入参")
@Data
public class PageBeanDto {
@Schema(name = "页码:从1开始", example = "1", required = false)
@Schema(description = "页码:从1开始", example = "1", required = false)
private Integer pageNum = 1;
@Schema(name = "分页条数", example = "10", required = false)
@Schema(description = "分页条数", example = "10", required = false)
private Integer pageSize = 10;
}

@ -8,19 +8,19 @@ import lombok.Data;
* @Descriptin:
* @ClassName: AttributeBean
*/
@Schema(name = "属性入参")
@Schema(description = "属性入参")
@Data
public class AttributeBean {
/**
*
**/
@Schema(name = "tag/edge的属性名称", example = "p3", required = true)
@Schema(description = "tag/edge的属性名称", example = "p3", required = true)
private String propertyName;
/**
* (int bool string double .........)
**/
@Schema(name = "索引长度:属性为string 必须有长度,其他类型不可传入 ", example = "30", required = true)
@Schema(description = "索引长度:属性为string 必须有长度,其他类型不可传入 ", example = "30", required = true)
private String indexLength;
public String getPropertyName() {

@ -12,32 +12,32 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "修改属性实体")
@Schema(description = "修改属性实体")
public class GraphAddAttribute {
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "attribute可选值: tag标签/edge边类型", example = "tag", required = true)
@Schema(description = "attribute可选值: tag标签/edge边类型", example = "tag", required = true)
private String attribute;
@Schema(name = "属性名称", example = "t1", required = true)
@Schema(description = "属性名称", example = "t1", required = true)
private String attributeName;
@Schema(name = "tag/edge的属性名称", example = "p5")
@Schema(description = "tag/edge的属性名称", example = "p5")
private String propertyName;
@Schema(name = "属性类型,add 必传该类型 可选值: int bool string double .........", example = "string", required = false)
@Schema(description = "属性类型,add 必传该类型 可选值: int bool string double .........", example = "string", required = false)
private String propertyType;
@Schema(name = "是否可为空: NOT NULL 或者 NULL", example = "NULL")
@Schema(description = "是否可为空: NOT NULL 或者 NULL", example = "NULL")
private String isNull;
@Schema(name = "默认值")
@Schema(description = "默认值")
private Object defaultValue;
@Schema(name = "描述")
@Schema(description = "描述")
private String common;
public Object getDefaultValue() {

@ -13,27 +13,27 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "创建tag edge入参")
@Schema(description = "创建tag edge入参")
public class GraphCreateEdge {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi")
@Schema(description = "空间名称", example = "flceshi")
private String space;
@Schema(name = "创建类型: tag/edge", example = "tag")
@Schema(description = "创建类型: tag/edge", example = "tag")
private String type;
@Schema(name = "tag/edge名称", example = "demo")
@Schema(description = "tag/edge名称", example = "demo")
private String tagEdgeName;
@Schema(name = "tag/edge描述", example = "备注")
@Schema(description = "tag/edge描述", example = "备注")
private String tagEdgeComment;
@Schema(name = "属性集合")
@Schema(description = "属性集合")
private List<PropertyBean> propertyList;
@Schema(name = "颜色")
@Schema(description = "颜色")
private String color;
}

@ -13,27 +13,27 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "创建索引入参")
@Schema(description = "创建索引入参")
public class GraphCreateIndex {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi")
@Schema(description = "空间名称", example = "flceshi")
private String space;
@Schema(name = "创建类型: tag/edge", example = "tag")
@Schema(description = "创建类型: tag/edge", example = "tag")
private String type;
@Schema(name = "索引名称", example = "name_index")
@Schema(description = "索引名称", example = "name_index")
private String indexName;
@Schema(name = "tag/edge名称", example = "t1")
@Schema(description = "tag/edge名称", example = "t1")
private String tagEdgeName;
@Schema(name = "索引描述描述", example = "备注")
@Schema(description = "索引描述描述", example = "备注")
private String comment;
@Schema(name = "属性集合")
@Schema(description = "属性集合")
private List<AttributeBean> attributeBeanList;
}

@ -11,45 +11,45 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "创建空间实体")
@Schema(description = "创建空间实体")
public class GraphCreateSpace {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
/**
*
**/
@Schema(name = "空间中文名称", example = "付琳测试", required = true)
@Schema(description = "空间中文名称", example = "付琳测试", required = true)
private String spaceChineseName;
/**
*
**/
@Schema(name = "分片数量", example = "1")
@Schema(description = "分片数量", example = "1")
private Integer partitionNum;
/**
*
**/
@Schema(name = "副本数量", example = "1")
@Schema(description = "副本数量", example = "1")
private Integer replicaFactor;
/**
*
**/
@Schema(name = "点类型:INT64,FIXED_STRING", example = "INT64")
@Schema(description = "点类型:INT64,FIXED_STRING", example = "INT64")
private String fixedType = "INT64";
/**
*
**/
@Schema(name = "类型长度,FIXED_STRING 此字段必填 如32,64")
@Schema(description = "类型长度,FIXED_STRING 此字段必填 如32,64")
private String size = "";
/**
*
**/
@Schema(name = "描述")
@Schema(description = "描述")
private String comment;
public String getSize() {

@ -13,24 +13,24 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "创建tag edge入参")
@Schema(description = "创建tag edge入参")
public class GraphCreateTag {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi")
@Schema(description = "空间名称", example = "flceshi")
private String space;
@Schema(name = "tag/edge名称", example = "demo")
@Schema(description = "tag/edge名称", example = "demo")
private String tagEdgeName;
@Schema(name = "tag/edge描述", example = "备注")
@Schema(description = "tag/edge描述", example = "备注")
private String tagEdgeComment;
@Schema(name = "属性集合")
@Schema(description = "属性集合")
private List<PropertyBean> propertyList;
@Schema(name = "颜色")
@Schema(description = "颜色")
private String color;
}

@ -13,19 +13,19 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "删除属性实体")
@Schema(description = "删除属性实体")
public class GraphDelAttribute {
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "attribute可选值: tag标签/edge边类型", example = "tag", required = true)
@Schema(description = "attribute可选值: tag标签/edge边类型", example = "tag", required = true)
private String attribute;
@Schema(name = "属性名称", example = "t1", required = true)
@Schema(description = "属性名称", example = "t1", required = true)
private String attributeName;
@Schema(name = "tag/edge的属性名称 支持批量")
@Schema(description = "tag/edge的属性名称 支持批量")
private List<String> propertyNameList;
}

@ -11,22 +11,22 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "删除边入参")
@Schema(description = "删除边入参")
public class GraphDeleteEdge {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "边类型edge名称", example = "e1", required = true)
@Schema(description = "边类型edge名称", example = "e1", required = true)
private String edgeName;
@Schema(name = "点的起始VID", example = "11", required = true)
@Schema(description = "点的起始VID", example = "11", required = true)
private Object srcVid;
@Schema(name = "点的目的VID", example = "12", required = true)
@Schema(description = "点的目的VID", example = "12", required = true)
private Object dstVid;
}

@ -11,13 +11,13 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "删除空间实体")
@Schema(description = "删除空间实体")
public class GraphDeleteSpace {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;

@ -11,16 +11,16 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "删除点入参")
@Schema(description = "删除点入参")
public class GraphDeleteVertex {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "vertex 点id", required = true)
@Schema(description = "vertex 点id", required = true)
private Object vid;
}

@ -11,16 +11,16 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "删除属性实体")
@Schema(description = "删除属性实体")
public class GraphDropAttribute {
@Schema(name = "空间名称", example = "flceshi1", required = true)
@Schema(description = "空间名称", example = "flceshi1", required = true)
private String space;
@Schema(name = "属性名称", example = "flceshi1", required = true)
@Schema(description = "属性名称", example = "flceshi1", required = true)
private String attributeName;
@Schema(name = "attribute可选值:space空间/tag标签/edge边类型", example = "space", required = true)
@Schema(description = "attribute可选值:space空间/tag标签/edge边类型", example = "space", required = true)
private String attribute;
}

@ -15,35 +15,35 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "扩展查询入参实体")
@Schema(description = "扩展查询入参实体")
public class GraphExpand {
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "边类型集合", required = true)
@Schema(description = "边类型集合", required = true)
private List<String> edgeList;
@Schema(name = "方向: OUTFLOW(流出);INFLOW(流入);TWO-WAY(双向);", example = "TWO-WAY", required = true)
@Schema(description = "方向: OUTFLOW(流出);INFLOW(流入);TWO-WAY(双向);", example = "TWO-WAY", required = true)
private String direction;
@Schema(name = "步数开始(单步/范围的开始)", example = "1", required = true)
@Schema(description = "步数开始(单步/范围的开始)", example = "1", required = true)
private Integer stepStart;
@Schema(name = "步数结束(范围的结束;可无)", example = "2")
@Schema(description = "步数结束(范围的结束;可无)", example = "2")
@Min(1)
private Integer stepEnd;
@Schema(name = "结果条数", example = "100", required = true)
@Schema(description = "结果条数", example = "100", required = true)
@Max(Integer.MAX_VALUE)
@Min(1)
private Integer resultSize = Integer.MAX_VALUE;
@Schema(name = "扩展点id集合", required = true)
@Schema(description = "扩展点id集合", required = true)
private List<Object> vidList;
@Schema(name = "条件(可为空)", example = " l.name CONTAINS '1' ", required = false)
@Schema(description = "条件(可为空)", example = " l.name CONTAINS '1' ", required = false)
private String condition;
public String getStepEndResult() {

@ -13,27 +13,27 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "插入边入参")
@Schema(description = "插入边入参")
public class GraphInsertEdge {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "边类型edge名称", example = "e1", required = true)
@Schema(description = "边类型edge名称", example = "e1", required = true)
private String edgeName;
@Schema(name = "边类型edge属性集合", required = false)
@Schema(description = "边类型edge属性集合", required = false)
private List<String> edgeList;
@Schema(name = "点的起始VID", example = "11", required = true)
@Schema(description = "点的起始VID", example = "11", required = true)
private String srcVid;
@Schema(name = "点的目的VID", example = "12", required = true)
@Schema(description = "点的目的VID", example = "12", required = true)
private String dstVid;
@Schema(name = "边edge的属性值集合", required = false)
@Schema(description = "边edge的属性值集合", required = false)
private List<Object> edgeValueList;
}

@ -13,24 +13,24 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "创建点入参")
@Schema(description = "创建点入参")
public class GraphInsertVertex {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "标签tag名称", example = "t1", required = true)
@Schema(description = "标签tag名称", example = "t1", required = true)
private String tagName;
@Schema(name = "标签tag属性集合", required = false)
@Schema(description = "标签tag属性集合", required = false)
private List<String> tagList;
@Schema(name = "点的VID", required = true)
@Schema(description = "点的VID", required = true)
private Object tagVid;
@Schema(name = "标签tag的属性值集合", required = false)
@Schema(description = "标签tag的属性值集合", required = false)
private List<Object> tagValueList;
}

@ -11,13 +11,13 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "查询属性分页查询入参")
@Schema(description = "查询属性分页查询入参")
public class GraphPageAttribute extends PageBeanDto {
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "attribute可选值:tags标签/edges边类型", example = "tags", required = true)
@Schema(description = "attribute可选值:tags标签/edges边类型", example = "tags", required = true)
private String attribute;
}

@ -11,20 +11,20 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "查询边分页入参")
@Schema(description = "查询边分页入参")
public class GraphPageEdge extends PageBeanDto {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi")
@Schema(description = "空间名称", example = "flceshi")
private String space;
@Schema(name = "边类型edge")
@Schema(description = "边类型edge")
private String edge;
@Schema(name = "起点或者终点ID")
@Schema(description = "起点或者终点ID")
private String vid;
}

@ -12,15 +12,15 @@ import lombok.Data;
@Data
public class GraphRelationInsert {
@Schema(name = "空间名称", example = "movies", required = true)
@Schema(description = "空间名称", example = "movies", required = true)
private String space;
@Schema(name = "开始标签", required = true)
@Schema(description = "开始标签", required = true)
private String tagStart;
@Schema(name = "边类型", required = true)
@Schema(description = "边类型", required = true)
private String edge;
@Schema(name = "结束标签", required = true)
@Schema(description = "结束标签", required = true)
private String tagEnd;
}

@ -11,18 +11,18 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "查询相关属性入参")
@Schema(description = "查询相关属性入参")
public class GraphShowAttribute {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi", required = false)
@Schema(description = "空间名称", example = "flceshi", required = false)
private String space;
/**
* attributes: spaces/tags/edges
**/
@Schema(name = "attribute可选值:spaces空间/tags标签/edges边类型", example = "spaces", required = true)
@Schema(description = "attribute可选值:spaces空间/tags标签/edges边类型", example = "spaces", required = true)
private String attribute;
}

@ -9,18 +9,18 @@ import lombok.*;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "查询索引入参")
@Schema(description = "查询索引入参")
public class GraphShowIndex extends PageBeanDto {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
/**
* attribute: tag/edge
**/
@Schema(name = "属性可选: tag/edge/fulltext", example = "tag", required = true)
@Schema(description = "属性可选: tag/edge/fulltext", example = "tag", required = true)
private String attribute;
}

@ -11,25 +11,25 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "属性详情查询入参")
@Schema(description = "属性详情查询入参")
public class GraphShowInfo {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi")
@Schema(description = "空间名称", example = "flceshi")
private String space;
/**
* attribute: tag /edge
**/
@Schema(name = "属性类型:tag/edge", example = "tag")
@Schema(description = "属性类型:tag/edge", example = "tag")
private String attribute;
/**
* attributeName: tag /edge
**/
@Schema(name = "属性名称")
@Schema(description = "属性名称")
private String attributeName;
}

@ -12,9 +12,9 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "通用入参实体")
@Schema(description = "通用入参实体")
public class GraphSpace extends PageBeanDto {
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
}

@ -13,28 +13,28 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "修改边入参")
@Schema(description = "修改边入参")
public class GraphUpdateEdge {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "边类型edge名称", example = "e1", required = true)
@Schema(description = "边类型edge名称", example = "e1", required = true)
private String edgeName;
@Schema(name = "边类型edge属性集合", required = false)
@Schema(description = "边类型edge属性集合", required = false)
private List<String> edgeList;
@Schema(name = "点的起始VID", required = true)
@Schema(description = "点的起始VID", required = true)
private Object srcVid;
@Schema(name = "点的目的VID", required = true)
@Schema(description = "点的目的VID", required = true)
private Object dstVid;
@Schema(name = "边edge的属性值集合", required = false)
@Schema(description = "边edge的属性值集合", required = false)
private List<Object> edgeValueList;
}

@ -11,15 +11,15 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "修改空间备注入参实体")
@Schema(description = "修改空间备注入参实体")
public class GraphUpdateSpace {
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "空间中文名称", example = "空间中文名称", required = true)
@Schema(description = "空间中文名称", example = "空间中文名称", required = true)
private String spaceChineseName;
@Schema(name = "空间备注", example = "备注信息", required = true)
@Schema(description = "空间备注", example = "备注信息", required = true)
private String spaceComment;
}

@ -11,21 +11,21 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "修改tag颜色入参")
@Schema(description = "修改tag颜色入参")
public class GraphUpdateTagColor {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi")
@Schema(description = "空间名称", example = "flceshi")
private String space;
@Schema(name = "类型: tag/edge", example = "tag")
@Schema(description = "类型: tag/edge", example = "tag")
private String type;
@Schema(name = "tag/edge名称", example = "demo")
@Schema(description = "tag/edge名称", example = "demo")
private String tagEdgeName;
@Schema(name = "颜色")
@Schema(description = "颜色")
private String color;
}

@ -13,26 +13,26 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "修改点入参")
@Schema(description = "修改点入参")
public class GraphUpdateVertex {
/**
*
**/
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "标签tag名称", example = "t1", required = true)
@Schema(description = "标签tag名称", example = "t1", required = true)
private String tagName;
@Schema(name = "标签tag属性集合", required = true)
@Schema(description = "标签tag属性集合", required = true)
private List<String> tagList;
/**
* pointkey
**/
@Schema(name = "点的VID", example = "11", required = true)
@Schema(description = "点的VID", example = "11", required = true)
private Object pointKey;
@Schema(name = "标签tag的属性值集合", required = true)
@Schema(description = "标签tag的属性值集合", required = true)
private List<Object> tagValueList;
}

@ -13,12 +13,12 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "归因分析查询入参")
@Schema(description = "归因分析查询入参")
public class GraphVertexAnalysisResult {
@Schema(name = "空间名称", example = "flceshi")
@Schema(description = "空间名称", example = "flceshi")
private String space;
@Schema(name = "查询关键字集合")
@Schema(description = "查询关键字集合")
private List<String> wordList;
}

@ -11,12 +11,12 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "解析文字入参")
@Schema(description = "解析文字入参")
public class GraphVertexAnalysisWord {
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "查询关键字", required = true)
@Schema(description = "查询关键字", required = true)
private String word;
}

@ -13,18 +13,18 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "全文检索")
@Schema(description = "全文检索")
public class GraphVertexFullQuery {
@Schema(name = "空间名称", example = "movies", required = true)
@Schema(description = "空间名称", example = "movies", required = true)
private String space;
@Schema(name = "查询关键字", required = true)
@Schema(description = "查询关键字", required = true)
private String word;
@Schema(name = "标签集合", required = false)
@Schema(description = "标签集合", required = false)
private List<String> tagList;
@Schema(name = "查询最大条数", required = true)
@Schema(description = "查询最大条数", required = true)
private Integer resultSize;
}

@ -13,34 +13,34 @@ import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "路径检索")
@Schema(description = "路径检索")
public class GraphVertexPathQuery {
@Schema(name = "空间名称", example = "movies", required = true)
@Schema(description = "空间名称", example = "movies", required = true)
private String space;
@Schema(name = "路径查找类型: SHORTEST最短 | ALL所有 | NOLOOP非循环", example = "ALL", required = true)
@Schema(description = "路径查找类型: SHORTEST最短 | ALL所有 | NOLOOP非循环", example = "ALL", required = true)
private String pathType;
@Schema(name = "变类型集合", required = true)
@Schema(description = "变类型集合", required = true)
private List<String> edgeList;
@Schema(name = "点的起始VID", required = true)
@Schema(description = "点的起始VID", required = true)
private List<Object> srcVid;
@Schema(name = "点的目的VID", required = true)
@Schema(description = "点的目的VID", required = true)
private List<Object> dstVid;
@Schema(name = "查询方向: REVERSELY反向 | BIDIRECT双向 | 空 正向", example = "BIDIRECT", required = true)
@Schema(description = "查询方向: REVERSELY反向 | BIDIRECT双向 | 空 正向", example = "BIDIRECT", required = true)
private String direct;
@Schema(name = "最大步数", example = "3", required = true)
@Schema(description = "最大步数", example = "3", required = true)
private Integer step;
@Schema(name = "查询最大条数", required = true)
@Schema(description = "查询最大条数", required = true)
private Integer resultSize;
@Schema(name = "筛选条件", required = true)
@Schema(description = "筛选条件", required = true)
private String condition;
public String getEdgeList() {

@ -14,19 +14,19 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "根据tag标签查询点入参实体")
@Schema(description = "根据tag标签查询点入参实体")
public class GraphVertexTatAttributeQuery {
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "标签", example = "t1", required = true)
@Schema(description = "标签", example = "t1", required = true)
private String tag;
@Schema(name = "执行条件", required = true)
@Schema(description = "执行条件", required = true)
private String condition;
@Schema(name = "结果条数", example = "100", required = true)
@Schema(description = "结果条数", example = "100", required = true)
@Max(Integer.MAX_VALUE)
@Min(1)
private Integer resultSize = Integer.MAX_VALUE;

@ -12,15 +12,15 @@ import lombok.NoArgsConstructor;
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Schema(name = "根据tag标签查询点入参实体")
@Schema(description = "根据tag标签查询点入参实体")
public class GraphVertexTatsQuery extends PageBeanDto {
@Schema(name = "空间名称", example = "flceshi", required = true)
@Schema(description = "空间名称", example = "flceshi", required = true)
private String space;
@Schema(name = "标签", required = false)
@Schema(description = "标签", required = false)
private String tag;
@Schema(name = "点id", required = false)
@Schema(description = "点id", required = false)
private Object pointKey;
}

@ -8,36 +8,36 @@ import lombok.Data;
* @Descriptin:
* @ClassName: PropertyBean
*/
@Schema(name = "属性实体")
@Schema(description = "属性实体")
@Data
public class PropertyBean {
/**
*
**/
@Schema(name = "tag/edge属性名称", example = "name", required = true)
@Schema(description = "tag/edge属性名称", example = "name", required = true)
private String propertyName;
/**
* (int bool string double .........)
**/
@Schema(name = "tag/edge属性类型可选:int bool string double", example = "string", required = true)
@Schema(description = "tag/edge属性类型可选:int bool string double", example = "string", required = true)
private String propertyType;
/**
*
**/
@Schema(name = "属性描述", example = "名称")
@Schema(description = "属性描述", example = "名称")
private String propertyComment;
/**
* (NOT NULL NULL)
**/
@Schema(name = "是否可为空: NOT NULL 或者 NULL", example = "NULL")
@Schema(description = "是否可为空: NOT NULL 或者 NULL", example = "NULL")
private String isNull;
/**
*
**/
@Schema(name = "默认值", example = "NULL")
@Schema(description = "默认值", example = "NULL")
private Object defaultValue;
public Object getDefaultValue() {

@ -10,7 +10,7 @@ import java.util.Map;
* @Descriptin: 11
* @ClassName: aaa
*/
@Schema(name = "属性查询返回类")
@Schema(description = "属性查询返回类")
public class AttributeVo {
/**
@ -21,13 +21,13 @@ public class AttributeVo {
* errors : {"code":0}
*/
@Schema(name = "空间名称")
@Schema(description = "空间名称")
private String spaceName;
private int latencyInUs;
private ErrorsBean errors;
@Schema(name = "查询返回属性集合")
@Schema(description = "查询返回属性集合")
private List<DataBean> data;
@Schema(name = "返回字段名集合")
@Schema(description = "返回字段名集合")
private List<String> columns;
private Map<String, List<String>> fieldMap;
@ -83,7 +83,7 @@ public class AttributeVo {
/**
* code : 0
*/
@Schema(name = "错误码0正常")
@Schema(description = "错误码0正常")
private int code;
public int getCode() {
@ -96,9 +96,9 @@ public class AttributeVo {
}
public static class DataBean {
@Schema(name = "元数据")
@Schema(description = "元数据")
private List<String> meta;
@Schema(name = "字段值集合")
@Schema(description = "字段值集合")
private List<String> row;
public List<String> getMeta() {

@ -7,7 +7,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
* @Descriptin:
* @ClassName: CommonVo
*/
@Schema(name = "操作通用返回类")
@Schema(description = "操作通用返回类")
public class CommonVo {
/**
@ -16,7 +16,7 @@ public class CommonVo {
* errors : {"code":0}
*/
@Schema(name = "空间名称")
@Schema(description = "空间名称")
private String spaceName;
private int latencyInUs;
private ErrorsBean errors;
@ -49,7 +49,7 @@ public class CommonVo {
/**
* code : 0
*/
@Schema(name = "错误码0正常")
@Schema(description = "错误码0正常")
private int code;
public int getCode() {

@ -8,17 +8,17 @@ import lombok.Data;
* @Descriptin:
* @ClassName: DetailSpace
*/
@Schema(name = "图空间详情实体")
@Schema(description = "图空间详情实体")
@Data
public class DetailSpace {
@Schema(name = "空间名称")
@Schema(description = "空间名称")
private String space;
@Schema(name = "标签个数")
@Schema(description = "标签个数")
private Integer tagsNum;
@Schema(name = "边类型个数")
@Schema(description = "边类型个数")
private Integer edgesNum;
}

@ -9,17 +9,17 @@ import java.util.Map;
@Data
public class EdgeVO {
@Schema(name = "来源节点ID")
@Schema(description = "来源节点ID")
private String source;
@Schema(name = "目标节点ID")
@Schema(description = "目标节点ID")
private String target;
@Schema(name = "连线展示的名称,可能为空")
@Schema(description = "连线展示的名称,可能为空")
private String name;
@Schema(name = "连线展示的名称,=name,前端需要")
@Schema(description = "连线展示的名称,=name,前端需要")
private String label;
@Schema(name = "连线所拥有的属性")
@Schema(description = "连线所拥有的属性")
private Map<String, Object> params;
}

@ -14,13 +14,13 @@ import java.util.List;
@Schema
public class GraphVO {
@Schema(name = "节点")
@Schema(description = "节点")
private List<NodeVO> nodes;
@Schema(name = "关系")
@Schema(description = "关系")
private List<EdgeVO> edges;
@Schema(name = "图例的List")
@Schema(description = "图例的List")
private List<GraphLegendVO> legendList;
private String graphTree;

@ -11,19 +11,19 @@ import java.util.Map;
@Schema
public class NodeVO {
@Schema(name = "节点ID")
@Schema(description = "节点ID")
private String id;
@Schema(name = "节点值(页面展示)")
@Schema(description = "节点值(页面展示)")
private String nodeValue;
@Schema(name = "节点颜色")
@Schema(description = "节点颜色")
private String nodeColour;
@Schema(name = "节点级别 1 2 3 4级")
@Schema(description = "节点级别 1 2 3 4级")
private Integer nodeLevel;
@Schema(name = "节点类型")
@Schema(description = "节点类型")
private String nodeType;
@Schema(name = "节点描述")
@Schema(description = "节点描述")
private String nodeDesc;
@Schema(name = "节点拥有的属性列表")
@Schema(description = "节点拥有的属性列表")
private Map<String, Object> params = new LinkedHashMap<>();
}

@ -12,30 +12,30 @@ import java.util.Map;
@Schema
public class TreeNodeVO {
@Schema(name = "图谱ID")
@Schema(description = "图谱ID")
private String id;
@Schema(name = "节点值")
@Schema(description = "节点值")
private String nodeValue;
@Schema(name = "节点颜色")
@Schema(description = "节点颜色")
private String nodeColour;
@Schema(name = "节点级别")
@Schema(description = "节点级别")
private Integer nodeLevel;
@Schema(name = "节点类型")
@Schema(description = "节点类型")
private String nodeType;
@Schema(name = "节点描述")
@Schema(description = "节点描述")
private String nodeDesc;
@Schema(name = "节点的属性列表")
@Schema(description = "节点的属性列表")
private Map<String, Object> params = new LinkedHashMap<>();
/**
*
*/
@Schema(name = "子节点")
@Schema(description = "子节点")
private List<TreeNodeVO> children;
}

@ -64,7 +64,7 @@ public class AskQuestionLibraryManageController {
@Operation(summary = "删除问题库信息")
@DeleteMapping("/deleteQuestionLibrary")
public boolean deleteQuestionLibrary(@RequestParam("id") String id) {
public boolean deleteQuestionLibrary(@Parameter(name = "id") String id) {
return askQuestionLibraryManageService.deleteQuestionLibrary(id);
@ -80,7 +80,7 @@ public class AskQuestionLibraryManageController {
@Operation(summary = "导入问题库信息")
@PostMapping("/uploadQuestionLibrary")
public UploadQuestionLibraryResVo uploadQuestionLibrary(@Parameter(name = "文件") @RequestParam("file") MultipartFile multipartFile) throws Exception {
public UploadQuestionLibraryResVo uploadQuestionLibrary(@Parameter(name = "file", description = "文件") MultipartFile multipartFile) throws Exception {
return askQuestionLibraryManageService.uploadQuestionLibrary(multipartFile);
}

@ -27,7 +27,7 @@ public class DrugManageController {
@Operation(summary = "删除药物信息")
@DeleteMapping("/delete")
public boolean deleteDrug(@Parameter(name = "药品id") @RequestParam("id") String id) {
public boolean deleteDrug(@Parameter(name = "id", description = "药品id") String id) {
return drugManageService.deleteDrugById(id);
}
@ -41,11 +41,11 @@ public class DrugManageController {
@Operation(summary = "分页查询药物信息")
@GetMapping("/queryPageList")
public IPage<? extends ConfigDrug> queryPageList(@RequestParam(defaultValue = "1") Integer pageNum,
@RequestParam(defaultValue = "10") Integer pageSize,
@Parameter(name = "药品名称") @RequestParam(required = false) String drugName,
@Parameter(name = "一级措施id") @RequestParam(required = false) String firstMeasuresId,
@Parameter(name = "剂型") @RequestParam(required = false) String dosageForm) {
public IPage<? extends ConfigDrug> queryPageList(@Parameter(name = "pageNum") Integer pageNum,
@Parameter(name = "pageSize") Integer pageSize,
@Parameter(name = "drugName", description = "药品名称") String drugName,
@Parameter(name = "firstMeasuresId", description = "一级措施id") String firstMeasuresId,
@Parameter(name = "dosageForm", description = "剂型") String dosageForm) {
return drugManageService.queryPageList(pageNum, pageSize, drugName, firstMeasuresId, dosageForm);
}

@ -29,7 +29,7 @@ public class PhysicalLocationManageController {
}
@Schema(name = "查询体格检查身体部位配置树(支持已配置部位)")
@Schema(description = "查询体格检查身体部位配置树(支持已配置部位)")
@GetMapping("queryLocationTreeForPhysicalConfig")
public List<PhysicalLocationNode> queryLocationTreeForPhysicalConfig(String physicalId) {
return physicalLocationManageService.queryLocationTreeForPhysicalConfig(physicalId);

@ -23,7 +23,7 @@ public class TreatmentPlanManageController {
@Operation(summary = "查询处置计划树")
@GetMapping("/queryTree")
public List<TreatmentPlanTreeNode> queryTree(@Parameter(name = "处置方式") @RequestParam(required = false) Integer disposalMethod) {
public List<TreatmentPlanTreeNode> queryTree(@Parameter(name = "disposalMethod", description = "处置方式") Integer disposalMethod) {
return configTreatmentPlanManageService.queryTree(disposalMethod);
@ -32,7 +32,7 @@ public class TreatmentPlanManageController {
@Operation(summary = "根据id查询处置计划详情")
@GetMapping("/findById")
public ConfigTreatmentPlan findById(@Parameter(name = "主键") @RequestParam String id) {
public ConfigTreatmentPlan findById(@Parameter(name = "id", description = "主键") @RequestParam String id) {
return configTreatmentPlanManageService.findById(id);
@ -40,10 +40,9 @@ public class TreatmentPlanManageController {
@Operation(summary = "分页查询处置计划列表")
@GetMapping("/queryPageList")
public IPage<? extends ConfigTreatmentPlan> queryPageList(@RequestParam(defaultValue = "1")Integer pageNum,
@RequestParam(defaultValue = "10")Integer pageSize,
@Parameter(name = "处置方式(0门诊 1住院)")
@RequestParam(required = false) Integer disposalMethod) {
public IPage<? extends ConfigTreatmentPlan> queryPageList(@RequestParam(defaultValue = "1") Integer pageNum,
@RequestParam(defaultValue = "10") Integer pageSize,
@Parameter(name = "disposalMethod", description = "处置方式(0门诊 1住院)") Integer disposalMethod) {
return configTreatmentPlanManageService.queryPageList(pageNum, pageSize, disposalMethod);

@ -31,7 +31,7 @@ public class DiseaseManageController {
@Operation(summary = "删除疾病")
@DeleteMapping("/delete")
public boolean deleteDisease(@Parameter(name = "疾病id") @RequestParam String id) {
public boolean deleteDisease(@Parameter(name = "id", description = "疾病id") @RequestParam String id) {
return diseaseManageService.deleteDisease(id);

@ -78,8 +78,8 @@ public class DiseaseTreatmentPlanManageController {
@Operation(summary = "查询处置计划树")
@GetMapping("/queryTree")
public List<DiseaseTreatmentPlanTreeNode> queryTree(@Parameter(name = "处置方式") @RequestParam(required = false) Integer disposalMethod,
@Parameter(name = "疾病id") String diseaseId) {
public List<DiseaseTreatmentPlanTreeNode> queryTree(@Parameter(name = "disposalMethod", description = "处置方式") Integer disposalMethod,
@Parameter(name = "diseaseId", description = "疾病id") String diseaseId) {
return diseaseTreatmentPlanManageService.queryDiseaseTreatmentPlanTree(disposalMethod, diseaseId);

@ -31,7 +31,7 @@ public class DirectoryInfoManageController {
@Operation(summary = "删除文件目录")
@DeleteMapping("/deleteDirectory")
public boolean deleteDirectory(@Parameter(name = "目录ID") @RequestParam("directoryId") String directoryId) {
public boolean deleteDirectory(@Parameter(name = "directoryId", description = "目录ID") String directoryId) {
return directoryInfoManageService.deleteDirectory(directoryId);
@ -48,8 +48,8 @@ public class DirectoryInfoManageController {
@Operation(summary = "查询文件目录")
@GetMapping("/getFileDirectory")
public List<DirectoryInfoVO> getFileDirectory(@Parameter(name = "父级目录ID") @RequestParam(value = "parentDirId", required = false) String parentDirId,
@Parameter(name = "文件名称") @RequestParam(value = "fileName", required = false) String fileName) {
public List<DirectoryInfoVO> getFileDirectory(@Parameter(name = "parentDirId", description = "父级目录ID") String parentDirId,
@Parameter(name = "fileName", description = "文件名称") String fileName) {
return directoryInfoManageService.getFileDirectory(parentDirId, fileName);

@ -31,8 +31,8 @@ public class MaterialLibraryManageController {
@Operation(summary = "素材管理分页查询")
@GetMapping("queryMedicalRecPage")
public IPage<MaterialLibraryResVo> queryMaterialPage(MaterialLibrary materialLibrary,
@Parameter(name = "页码") @RequestParam(name = "pageNum", defaultValue = "1") Integer pageNum,
@Parameter(name = "每页大小") @RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) {
@Parameter(name = "pageNum", description = "页码") @RequestParam(defaultValue = "1") Integer pageNum,
@Parameter(name = "pageSize", description = "每页大小") @RequestParam(defaultValue = "10") Integer pageSize) {
return materialLibraryManageService.queryMaterialPage(materialLibrary, pageNum, pageSize);
}
@ -40,7 +40,7 @@ public class MaterialLibraryManageController {
@Operation(summary = "删除素材")
@DeleteMapping("/deleteMaterial")
public boolean deleteMaterial(@Parameter(name = "素材id") @RequestParam("id") String id) throws Exception {
public boolean deleteMaterial(@Parameter(name = "id", description = "素材id") @RequestParam("id") String id) throws Exception {
return materialLibraryManageService.deleteMaterial(id);

@ -44,9 +44,9 @@ public class MedicalRecManageController {
@Operation(summary = "病历管理分页查询")
@GetMapping("queryMedicalRecPage")
public IPage<MedicalRecPageResVO> queryMedicalRecManagePage(@Parameter(name = "主诉") String selfDescKeyword,
@Parameter(name = "性别") String gender,
@Parameter(name = "疾病ID") String diseaseId,
public IPage<MedicalRecPageResVO> queryMedicalRecManagePage(@Parameter(name = "selfDescKeyword", description = "主诉") String selfDescKeyword,
@Parameter(name = "gender", description = "性别") String gender,
@Parameter(name = "diseaseId", description = "疾病ID") String diseaseId,
Integer pageNum, Integer pageSize) {
return medicalRecManageService.queryMedicalRecManagePage(selfDescKeyword, gender, diseaseId, pageNum, pageSize);
}
@ -109,8 +109,8 @@ public class MedicalRecManageController {
@Operation(summary = "预导入疾病问题回答")
@PostMapping("/preUploadMedicalAnswer")
public MedicalAnswerVideoResVo uploadMedicalAnswer(@Parameter(name = "文件") @RequestParam("file") MultipartFile multipartFile,
@Parameter(name = "病例id") @RequestParam(value = "medicalRecId", required = false) String medicalRecId) throws Exception {
public MedicalAnswerVideoResVo uploadMedicalAnswer(@Parameter(name = "file", description = "文件") MultipartFile multipartFile,
@Parameter(name = "medicalRecId", description = "病例id") String medicalRecId) throws Exception {
return medicalRecManageService.preUploadMedicalAnswer(multipartFile, medicalRecId);
}
@ -125,8 +125,7 @@ public class MedicalRecManageController {
@Operation(summary = "查询病例默认问题")
@GetMapping("/queryMedicalDefaultAnswer")
public List<MedicalRecQaVO> queryMedicalDefaultAnswer(@Parameter(name = "病例id")
@RequestParam(value = "medicalRecId", required = false) String medicalRecId) {
public List<MedicalRecQaVO> queryMedicalDefaultAnswer(@Parameter(name = "medicalRecId", description = "病例id") String medicalRecId) {
return medicalRecManageService.queryMedicalDefaultAnswer(medicalRecId);
}

@ -9,15 +9,15 @@ import java.util.List;
@Data
public class MedicalAnswerVideoResVo {
@Schema(name = "成功个数")
@Schema(description = "成功个数")
private int totalCount;
@Schema(name = "失败个数")
@Schema(description = "失败个数")
private int failCount;
@Schema(name = "文件id")
@Schema(description = "文件id")
private String fileId;
@Schema(name = "应答策略")
@Schema(description = "应答策略")
private List<MedicalRecQaVO> qaList;
}

@ -11,19 +11,19 @@ import java.util.List;
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "病历管理详细信息", implementation = MedicalRecManageVO.class)
@Schema(description = "病历管理详细信息", implementation = MedicalRecManageVO.class)
public class MedicalRecInfoVO extends MedicalRecManageVO {
@Schema(name = "疾病名称")
@Schema(description = "疾病名称")
private String diseaseName;
@Schema(name = "辅助检查")
@Schema(description = "辅助检查")
private List<DiseaseAncillaryResVo> ancillaryList;
@Schema(name = "体格检查")
@Schema(description = "体格检查")
private List<DiseasePhysicalResVo> physicalList;
@Schema(name = "处置计划列表")
@Schema(description = "处置计划列表")
private List<DiseaseTreatmentPlanResVo> treatmentPlanList;
}

@ -10,17 +10,17 @@ import java.util.List;
@EqualsAndHashCode(callSuper = true)
@Data
@Schema(name = "病历管理创建及新建", implementation = MedicalRec.class)
@Schema(description = "病历管理创建及新建", implementation = MedicalRec.class)
public class MedicalRecManageVO extends MedicalRec {
@NotBlank(message = "疾病不能为空")
@Schema(name = "step:1 疾病ID")
@Schema(description = "step:1 疾病ID")
private String diseaseId;
@Schema(name = "step:4 应答策略")
@Schema(description = "step:4 应答策略")
private List<MedicalRecQaVO> qaList;
@Schema(name = "step:4 应答策略(默认回答)")
@Schema(description = "step:4 应答策略(默认回答)")
private List<MedicalRecQaVO> defaultQaList;
}

@ -9,37 +9,37 @@ import java.util.List;
@Data
public class MedicalRecQaVO {
@Schema(name = "本条问答ID,对应vp_ask_patient_answer表ID,更新必填")
@Schema(description = "本条问答ID,对应vp_ask_patient_answer表ID,更新必填")
private String id;
/**
* ID
*/
@Schema(name = " 问题库问题ID,新增更新时必填")
@Schema(description = " 问题库问题ID,新增更新时必填")
private String libraryQuestionId;
@Schema(name = "问题,新增更新时不需要")
@Schema(description = "问题,新增更新时不需要")
private List<String> questionList;
@Schema(name = "字典ID,新增更新时不需要")
@Schema(description = "字典ID,新增更新时不需要")
private Long dictId;
@Schema(name = "问题类目,新增更新时不需要")
@Schema(description = "问题类目,新增更新时不需要")
private String dictNamePath;
@Schema(name = "默认回答,新增更新时不需要")
@Schema(description = "默认回答,新增更新时不需要")
private String defaultAnswer;
@Schema(name = "回答的资源id,新增更新时需要")
@Schema(description = "回答的资源id,新增更新时需要")
private String answerResourceId;
@Schema(name = "回答的资源视频名,新增更新时需要")
@Schema(description = "回答的资源视频名,新增更新时需要")
private String answerResourceName;
@Schema(name = "针对病例的特定回答,新增更新时必填")
@Schema(description = "针对病例的特定回答,新增更新时必填")
private String medicalRecAnswer;
@Schema(name = "回答类型", hidden = true)
@Schema(description = "回答类型", hidden = true)
private Integer answerType;

@ -13,10 +13,10 @@ import java.util.List;
@Schema(implementation = ConfigPhysicalTool.class)
public class PhysicalToolVO extends ConfigPhysicalTool {
@Schema(name = "需要部位正常值列表")
@Schema(description = "需要部位正常值列表")
private List<DefaultPhysicalIndicator> defaultPhysicalIndicatorList;
@Schema(name = "无需部位的正常值")
@Schema(description = "无需部位的正常值")
private DefaultPhysicalIndicator noLocationDefaultPhysicalIndicator;

@ -7,13 +7,13 @@ import lombok.Data;
@Data
public class UploadQuestionLibraryResVo {
@Schema(name = "总数据条数")
@Schema(description = "总数据条数")
private int totalCount;
@Schema(name = "失败数据条数")
@Schema(description = "失败数据条数")
private int failCount;
@Schema(name = "文件id")
@Schema(description = "文件id")
private String fileId;
}

@ -10,6 +10,6 @@ import lombok.EqualsAndHashCode;
public class DiseaseAncillaryDto extends DiseaseAncillary {
@Schema(name = "项目中文名")
@Schema(description = "项目中文名")
private String itemName;
}

@ -25,30 +25,30 @@ public class AskPatientAnswer extends Model<AskPatientAnswer> implements Seriali
private String id;
@Schema(name = "病例id")
@Schema(description = "病例id")
private String medicalId;
/**
* ID
*/
@Schema(name = " 问题库问题ID")
@Schema(description = " 问题库问题ID")
private String libraryQuestionId;
private String code;
@Schema(name = "问题")
@Schema(description = "问题")
private String question;
/**
*
*/
@Schema(name = " 回答")
@Schema(description = " 回答")
private String answer;
@Schema(name = "回答资源id")
@Schema(description = "回答资源id")
private String answerResourceId;
@Schema(name = "回答类型 0:默认回答 1:自定义回答")
@Schema(description = "回答类型 0:默认回答 1:自定义回答")
private Integer answerType;
/**

@ -31,57 +31,57 @@ public class ConfigAncillaryItem implements Serializable {
/**
*
*/
@Schema(name = "类型")
@Schema(description = "类型")
private String type;
/**
*
*/
@Schema(name = "编码")
@Schema(description = "编码")
private String code;
/**
*
*/
@Schema(name = "类别")
@Schema(description = "类别")
private String itemClass;
/**
*
*/
@Schema(name = "检查名称")
@Schema(description = "检查名称")
private String itemName;
@Schema(name = "检查部位名称")
@Schema(description = "检查部位名称")
private String locationName;
@Schema(name = "英文名")
@Schema(description = "英文名")
private String itemNameEn;
@Schema(name = "检查价格")
@Schema(description = "检查价格")
private BigDecimal price;
@Schema(name = "关键词")
@Schema(description = "关键词")
private String keyword;
@Schema(name = "说明")
@Schema(description = "说明")
private String description;
/**
*
*/
@Schema(name = "该项检查描述信息")
@Schema(description = "该项检查描述信息")
private String info;
@Schema(name = "呼出问题")
@Schema(description = "呼出问题")
@TableField(typeHandler = StringListTypeHandler.class)
private List<String> callOutQuestion;
@Schema(name = "检查类型排序")
@Schema(description = "检查类型排序")
private Integer typePriority;
@Schema(name = "item排序")
@Schema(description = "item排序")
private Integer itemPriority;

@ -33,7 +33,7 @@ public class ConfigDrug implements Serializable {
*/
private String drugNameEn;
@Schema(name = "一级措施id")
@Schema(description = "一级措施id")
private String firstMeasuresId;
/**

@ -27,26 +27,26 @@ public class ConfigPhysicalLocation implements Serializable {
/**
*
*/
@Schema(name = "编码")
@Schema(description = "编码")
private String code;
/**
*
*/
@Schema(name = "位置分类")
@Schema(description = "位置分类")
private String locationClass;
/**
*
*/
@Schema(name = "位置名称")
@Schema(description = "位置名称")
private String locationName;
@Schema(name = "部位层级")
@Schema(description = "部位层级")
private String level;
@Schema(name = "父级Id")
@Schema(description = "父级Id")
private String parentId;
/**

@ -30,45 +30,45 @@ public class ConfigPhysicalTool implements Serializable {
/**
*
*/
@Schema(name = "体格检查类别")
@Schema(description = "体格检查类别")
private String type;
/**
*
*/
@Schema(name = "体格检查工具编码")
@Schema(description = "体格检查工具编码")
private String code;
/**
*
*/
@Schema(name = "体格检查工具名称")
@Schema(description = "体格检查工具名称")
private String toolName;
@Schema(name = "体格检查工具图表的base64")
@Schema(description = "体格检查工具图表的base64")
private String iconBase64;
/**
* (01)
*/
@Schema(name = "是否需要具体部位(0否1是)")
@Schema(description = "是否需要具体部位(0否1是)")
private Integer requireLocation;
@Schema(name = "呼出问题")
@Schema(description = "呼出问题")
@TableField(typeHandler = StringListTypeHandler.class)
private List<String> callOutQuestion;
@Schema(name = "检查类型排序")
@Schema(description = "检查类型排序")
private Integer typePriority;
@Schema(name = "code排序")
@Schema(description = "code排序")
private Integer codePriority;
@Schema(name = "关键词")
@Schema(description = "关键词")
private String keyword;
@Schema(name = "说明")
@Schema(description = "说明")
private String description;
/**

@ -25,29 +25,29 @@ public class ConfigTreatmentPlan implements Serializable {
@TableId
private String id;
@Schema(name = "处置计划id")
@Schema(description = "处置计划id")
private String disposalPlanId;
/**
* @see com.supervision.manage.constant.DisposalPlanEnum
*/
@Schema(name = "处置计划")
@Schema(description = "处置计划")
private String disposalPlan;
@Schema(name = "处置方式(0门诊 1住院)")
@Schema(description = "处置方式(0门诊 1住院)")
private Integer disposalMethod;
@Schema(name = "一级措施id")
@Schema(description = "一级措施id")
private String firstMeasuresId;
@Schema(name = "一级措施")
@Schema(description = "一级措施")
private String firstMeasures;
/**
*
*/
@Schema(name = "二级措施")
@Schema(description = "二级措施")
private String secondMeasures;
/**
@ -56,7 +56,7 @@ public class ConfigTreatmentPlan implements Serializable {
* @since dev_2.1.0
*/
@Deprecated
@Schema(name = "推荐用药")
@Schema(description = "推荐用药")
@TableField(typeHandler = StringListTypeHandler.class)
private List<String> recommendedMedication;

@ -25,31 +25,31 @@ public class DefaultPhysicalIndicator implements Serializable {
/**
* idid
*/
@Schema(name = "工具id或项目id")
@Schema(description = "工具id或项目id")
private String itemId;
/**
* id
*/
@Schema(name = "位置id")
@Schema(description = "位置id")
private String locationId;
/**
*
*/
@Schema(name = "性别 码值参考字典表 暂不填")
@Schema(description = "性别 码值参考字典表 暂不填")
private String gender;
/**
* AGE_RANGE
*/
@Schema(name = "年龄范围 码值参考 字典表 AGE_RANGE 暂不填")
@Schema(description = "年龄范围 码值参考 字典表 AGE_RANGE 暂不填")
private String ageRange;
/**
*
*/
@Schema(name = "指标值")
@Schema(description = "指标值")
private String indicatorValue;
/**

@ -28,34 +28,34 @@ public class DiagnosisAncillaryRecord extends Model<DiagnosisAncillaryRecord> im
/**
* ID
*/
@Schema(name = "流程ID")
@Schema(description = "流程ID")
private String processId;
/**
* ID
*/
@Schema(name = "辅助检查项ID")
@Schema(description = "辅助检查项ID")
private String ancillaryId;
/**
* ID
*/
@Schema(name = "项目ID")
@Schema(description = "项目ID")
private String itemId;
/**
*
*/
@Schema(name = "检查结果")
@Schema(description = "检查结果")
private String result;
@Schema(name = "诊断判读结果")
@Schema(description = "诊断判读结果")
private String assessmentResult;
@Schema(name = "是否是证实诊断依据(0否1是)")
@Schema(description = "是否是证实诊断依据(0否1是)")
private Integer basisConfirmFlag;
@Schema(name = "是否是鉴别依据(0否1是)")
@Schema(description = "是否是鉴别依据(0否1是)")
private Integer basisIdentificationFlag;

@ -28,37 +28,37 @@ public class DiagnosisPhysicalRecord extends Model<DiagnosisPhysicalRecord> impl
/**
* ID
*/
@Schema(name = "诊断进程ID")
@Schema(description = "诊断进程ID")
private String processId;
/**
* ID
*/
@Schema(name = "体格检查项ID")
@Schema(description = "体格检查项ID")
private String physicalId;
/**
* ID
*/
@Schema(name = "体格检查工具ID")
@Schema(description = "体格检查工具ID")
private String toolId;
/**
* ID
*/
@Schema(name = "体格检查部位ID")
@Schema(description = "体格检查部位ID")
private String locationId;
/**
*
*/
@Schema(name = "体格检查结果")
@Schema(description = "体格检查结果")
private String result;
@Schema(name = "是否是证实诊断依据(0否1是)")
@Schema(description = "是否是证实诊断依据(0否1是)")
private Integer basisConfirmFlag;
@Schema(name = "是否是鉴别依据(0否1是)")
@Schema(description = "是否是鉴别依据(0否1是)")
private Integer basisIdentificationFlag;
/**

@ -27,23 +27,23 @@ public class DiagnosisPrimary implements Serializable {
/**
* ID
*/
@Schema(name = "诊断流程ID")
@Schema(description = "诊断流程ID")
private String processId;
/**
* ,diseaseID
*/
@Schema(name = "初步诊断疾病ID,关联disease表ID")
@Schema(description = "初步诊断疾病ID,关联disease表ID")
private String primaryDiagnosisId;
@Schema(name = "初步诊断疾病名称,对应disease_name_alias,注意,这里不存在于数据库中")
@Schema(description = "初步诊断疾病名称,对应disease_name_alias,注意,这里不存在于数据库中")
@TableField(exist = false)
private String primaryDiagnosisName;
@Schema(name = "是否排除(0否1是)")
@Schema(description = "是否排除(0否1是)")
private Integer excludeFlag;
@Schema(name = "患者病情(初步诊断填写)")
@Schema(description = "患者病情(初步诊断填写)")
private String patientDiseaseInfo;
/**

@ -27,25 +27,25 @@ public class DiagnosisPrimaryRelation extends Model<DiagnosisPrimaryRelation> im
/**
* ID
*/
@Schema(name = "问诊流程ID,新增时不填")
@Schema(description = "问诊流程ID,新增时不填")
private String processId;
/**
* ID
*/
@Schema(name = "初步诊断ID,新增时不填")
@Schema(description = "初步诊断ID,新增时不填")
private String primaryId;
/**
* 1 (vp_diagnosis_qa_record) 2 (vp_diagnosis_physical_record) 3 (vp_diagnosis_ancillary_record)
*/
@Schema(name = "1 问诊 2 体格检查 3 辅助检查")
@Schema(description = "1 问诊 2 体格检查 3 辅助检查")
private Integer type;
/**
* ID
*/
@Schema(name = "关联关系ID")
@Schema(description = "关联关系ID")
private String relationId;
/**

@ -30,52 +30,52 @@ public class DiagnosisQaRecord extends Model<DiagnosisQaRecord> implements Seria
/**
* ID
*/
@Schema(name = "诊断进程ID")
@Schema(description = "诊断进程ID")
private String processId;
@Schema(name = "问答类型:default,patient,如果patient,说明是病历配置的回答,打勾")
@Schema(description = "问答类型:default,patient,如果patient,说明是病历配置的回答,打勾")
private String answerType;
/**
* ID
*/
@Schema(name = "问题答案表ID,default:vp_ask_template_question_library的主键,patient:vp_ask_patient_answer主键")
@Schema(description = "问题答案表ID,default:vp_ask_template_question_library的主键,patient:vp_ask_patient_answer主键")
private String answerId;
/**
*
*/
@Schema(name = "问题")
@Schema(description = "问题")
private String question;
/**
* ID
*/
@Schema(name = "问题ID")
@Schema(description = "问题ID")
private String questionLibraryId;
/**
* ID
*/
@Schema(name = "问题语音文件ID")
@Schema(description = "问题语音文件ID")
private String questionWavId;
/**
*
*/
@Schema(name = "回答")
@Schema(description = "回答")
private String answer;
/**
* ID
*/
@Schema(name = "回答语音文件ID")
@Schema(description = "回答语音文件ID")
private String answerWavId;
@Schema(name = "是否是证实诊断依据(0否1是)")
@Schema(description = "是否是证实诊断依据(0否1是)")
private Integer basisConfirmFlag;
@Schema(name = "是否是鉴别依据(0否1是)")
@Schema(description = "是否是鉴别依据(0否1是)")
private Integer basisIdentificationFlag;
/**

@ -27,34 +27,34 @@ public class Disease implements Serializable {
private String id;
@Schema(name = "疾病名称")
@Schema(description = "疾病名称")
private String diseaseName;
@Schema(name = "疾病分类别名")
@Schema(description = "疾病分类别名")
private String diseaseNameAlias;
/**
*
*/
@Schema(name = "疾病编码")
@Schema(description = "疾病编码")
private String code;
@Schema(name = "包含的疾病id")
@Schema(description = "包含的疾病id")
@TableField(typeHandler = StringListTypeHandler.class)
private List<String> containDiseaseIds;
/**
* 0 1
*/
@Schema(name = "状态 0未训练 1已训练")
@Schema(description = "状态 0未训练 1已训练")
private Integer status;
@Schema(name = "疾病类型 0单一疾病 1 复合疾病")
@Schema(description = "疾病类型 0单一疾病 1 复合疾病")
private Integer diseaseType;
@Schema(name = "症状")
@Schema(description = "症状")
private String symptom;
/**

@ -27,35 +27,35 @@ public class DiseaseAncillary implements Serializable {
/**
* ID
*/
@Schema(name = "疾病id")
@Schema(description = "疾病id")
private String diseaseId;
/**
* ID
*/
@Schema(name = "工具ID")
@Schema(description = "工具ID")
private String itemId;
@Schema(name = "初步诊断依据(0否1是)")
@Schema(description = "初步诊断依据(0否1是)")
private Integer primarilyDiagnosisCriteriaFlag;
@Schema(name = "是否是证实诊断依据(0否1是)")
@Schema(description = "是否是证实诊断依据(0否1是)")
private Integer basisConfirmFlag;
@Schema(name = "是否是鉴别依据(0否1是)")
@Schema(description = "是否是鉴别依据(0否1是)")
private Integer basisIdentificationFlag;
@Schema(name = "全面检查 0否1是")
@Schema(description = "全面检查 0否1是")
private Integer fullCheckFlag;
@Schema(name = "是否诊断判读 0否1是")
@Schema(description = "是否诊断判读 0否1是")
private Integer diagnosisAssessmentFlag;
@Schema(name = "预期诊断结果 0正常 1 不正常")
@Schema(description = "预期诊断结果 0正常 1 不正常")
private Integer expectedDiagnosisResult;
@Schema(name = "是否必查(0否1是)")
@Schema(description = "是否必查(0否1是)")
private Integer requireCheckFlag;
/**
@ -63,7 +63,7 @@ public class DiseaseAncillary implements Serializable {
*
*
*/
@Schema(name = "结果")
@Schema(description = "结果")
private String result;
/**
@ -71,13 +71,13 @@ public class DiseaseAncillary implements Serializable {
*
*/
@Schema(name = "正常结果")
@Schema(description = "正常结果")
private String normalResult;
/**
*
*/
@Schema(name = "说明")
@Schema(description = "说明")
private String description;
/**

@ -27,37 +27,37 @@ public class DiseasePhysical implements Serializable {
/**
* ID
*/
@Schema(name = "疾病id")
@Schema(description = "疾病id")
private String diseaseId;
/**
* ID
*/
@Schema(name = "工具ID")
@Schema(description = "工具ID")
private String toolId;
/**
* ID
*/
@Schema(name = "检查部位ID")
@Schema(description = "检查部位ID")
private String locationId;
@Schema(name = "初步诊断依据(0否1是)")
@Schema(description = "初步诊断依据(0否1是)")
private Integer primarilyDiagnosisCriteriaFlag;
@Schema(name = "是否是证实诊断依据(0否1是)")
@Schema(description = "是否是证实诊断依据(0否1是)")
private Integer basisConfirmFlag;
@Schema(name = "是否是鉴别依据(0否1是)")
@Schema(description = "是否是鉴别依据(0否1是)")
private Integer basisIdentificationFlag;
@Schema(name = "全面检查 0正常 1 不正常")
@Schema(description = "全面检查 0正常 1 不正常")
private Integer fullCheckFlag;
@Schema(name = "是否必查 (0否1是)")
@Schema(description = "是否必查 (0否1是)")
private Integer requireCheckFlag;
@Schema(name = "是否诊断判读 0否1是")
@Schema(description = "是否诊断判读 0否1是")
private Integer diagnosisAssessmentFlag;
/**
@ -65,25 +65,25 @@ public class DiseasePhysical implements Serializable {
* resultnormalResult
*/
@Deprecated
@Schema(name = "是否预期诊断结果 0正常 1 不正常")
@Schema(description = "是否预期诊断结果 0正常 1 不正常")
private Integer expectedDiagnosisResult;
@Schema(name = "部位诊断结果 0正常 1 不正常")
@Schema(description = "部位诊断结果 0正常 1 不正常")
private Integer locationDiagnosisFlag;
/**
* ()
*/
@Schema(name = "结果")
@Schema(description = "结果")
private String result;
@Schema(name = "正常结果")
@Schema(description = "正常结果")
private String normalResult;
/**
*
*/
@Schema(name = "表征 默认诊断结果")
@Schema(description = "表征 默认诊断结果")
private String trait;
/**

@ -24,22 +24,22 @@ public class MaterialLibrary implements Serializable {
/**
* id vp_file_resource
*/
@Schema(name = "文件资源id")
@Schema(description = "文件资源id")
private String fileResourceId;
/**
* ;vp_file_resourcefile_name
*/
@Schema(name = "素材名称 必填")
@Schema(description = "素材名称 必填")
private String materialName;
@Schema(name = "素材类型 0:图片 1:视频 2:音频 必填")
@Schema(description = "素材类型 0:图片 1:视频 2:音频 必填")
private Integer materialType;
@Schema(name = "目录id")
@Schema(description = "目录id")
private String directoryId;
@Schema(name = "素材描述")
@Schema(description = "素材描述")
private String materialDesc;
/**

@ -116,16 +116,16 @@ public class MedicalRec extends Model<MedicalRec> implements Serializable {
*/
private String symptoms;
@Schema(name = "初步诊断依据")
@Schema(description = "初步诊断依据")
private String primarilyDiagnosisCriteria;
@Schema(name = "证实诊断依据")
@Schema(description = "证实诊断依据")
private String confirmDiagnosisCriteria;
@Schema(name = "鉴别诊断依据")
@Schema(description = "鉴别诊断依据")
private String differentialDiagnosisCriteria;
@Schema(name = "全面检查")
@Schema(description = "全面检查")
private String fullCheck;
/**

@ -34,49 +34,49 @@ public class Patient extends Model<Patient> implements Serializable {
/**
*
*/
@Schema(name = "病人名称")
@Schema(description = "病人名称")
private String name;
/**
*
*/
@Schema(name = "性别")
@Schema(description = "性别")
private String gender;
/**
*
*/
@Schema(name = "病人年龄")
@Schema(description = "病人年龄")
private Integer age;
/**
*
*/
@Schema(name = "症状")
@Schema(description = "症状")
private String symptoms;
/**
*
*/
@Schema(name = "身高")
@Schema(description = "身高")
private BigDecimal height;
/**
*
*/
@Schema(name = "体重")
@Schema(description = "体重")
private BigDecimal weight;
@Schema(name = "婚姻")
@Schema(description = "婚姻")
private String marriage;
@Schema(name = "职业")
@Schema(description = "职业")
private String profession;
@Schema(name = "地址")
@Schema(description = "地址")
private String address;
@Schema(name = "资源id")
@Schema(description = "资源id")
private String resourceId;
/**

@ -27,25 +27,25 @@ public class Process implements Serializable {
/**
* ID
*/
@Schema(name = "病人ID")
@Schema(description = "病人ID")
private String patientId;
@Schema(name = "病历ID")
@Schema(description = "病历ID")
private String medicalRecId;
@Schema(name = "疾病ID")
@Schema(description = "疾病ID")
private String diseaseId;
@Schema(name = "问诊编号")
@Schema(description = "问诊编号")
private String processNo;
/**
* ID
*/
@Schema(name = "用户ID")
@Schema(description = "用户ID")
private String userId;
@Schema(name = "图谱关联的ID")
@Schema(description = "图谱关联的ID")
private String graphId;
/**
@ -54,16 +54,16 @@ public class Process implements Serializable {
*
* :
*/
@Schema(name = "任务状态 0:待问诊 1:待处置 2:问诊结束(系统已评估) 3 已评估(教师已评估)")
@Schema(description = "任务状态 0:待问诊 1:待处置 2:问诊结束(系统已评估) 3 已评估(教师已评估)")
private Integer status;
@Schema(name = "实例类型 0学习实例 1:考核实例")
@Schema(description = "实例类型 0学习实例 1:考核实例")
private Integer processType;
@Schema(name = "结束问诊时间")
@Schema(description = "结束问诊时间")
private LocalDateTime finishAskTime;
@Schema(name = "删除标识 0:未删除 1:删除")
@Schema(description = "删除标识 0:未删除 1:删除")
private Integer deleteFlag;
/**

@ -27,49 +27,49 @@ public class ProcessEvaluation implements Serializable {
/**
* id
*/
@Schema(name = "流程id")
@Schema(description = "流程id")
private String processId;
/**
*
*/
@Schema(name = "评分概述")
@Schema(description = "评分概述")
private String overview;
/**
*
*/
@Schema(name = "预期诊断评估")
@Schema(description = "预期诊断评估")
private String expectDiagnosis;
/**
*
*/
@Schema(name = "初步诊断评估")
@Schema(description = "初步诊断评估")
private String primarilyDiagnosis;
/**
*
*/
@Schema(name = "证实诊断评估")
@Schema(description = "证实诊断评估")
private String confirmDiagnosis;
/**
*
*/
@Schema(name = "鉴别依据评估")
@Schema(description = "鉴别依据评估")
private String differentialDiagnosis;
/**
*
*/
@Schema(name = "全面检查评估")
@Schema(description = "全面检查评估")
private String fullCheck;
/**
*
*/
@Schema(name = "处置方案评估")
@Schema(description = "处置方案评估")
private String treatmentPlan;
/**

@ -30,49 +30,49 @@ public class RasaModelInfo implements Serializable {
/**
* ID vp_disease
*/
@Schema(name = "模型ID")
@Schema(description = "模型ID")
private String modelId;
/**
*
*/
@Schema(name = "中文注释")
@Schema(description = "中文注释")
private String description;
/**
*
*/
@Schema(name = "模型对应的端口号")
@Schema(description = "模型对应的端口号")
private Integer port;
/**
* 0: 1:
*/
@Schema(name = "训练状态")
@Schema(description = "训练状态")
private Integer tranStatus;
/**
* -1: 0: 1:
*/
@Schema(name = "启动状态")
@Schema(description = "启动状态")
private Integer serverStatus;
@Schema(name = "执行train shell命令")
@Schema(description = "执行train shell命令")
@TableField(typeHandler = StringListTypeHandler.class)
private List<String> trainCmd;
@Schema(name = "执行run shell命令")
@Schema(description = "执行run shell命令")
@TableField(typeHandler = StringListTypeHandler.class)
private List<String> runCmd;
@Schema(name = "训练日志")
@Schema(description = "训练日志")
private String trainLog;
@Schema(name = "运行日志")
@Schema(description = "运行日志")
private String runLog;

@ -27,31 +27,31 @@ public class User implements Serializable {
/**
*
*/
@Schema(name = "用户账户")
@Schema(description = "用户账户")
private String account;
/**
*
*/
@Schema(name = "用户名称")
@Schema(description = "用户名称")
private String name;
/**
*
*/
@Schema(name = "用户密码")
@Schema(description = "用户密码")
private String password;
/**
* 0 1
*/
@Schema(name = "用户角色编码0管理员 1普通用户 2运营人员")
@Schema(description = "用户角色编码0管理员 1普通用户 2运营人员")
private String roleCode;
@Schema(name = "账号状态 0正常 1停用")
@Schema(description = "账号状态 0正常 1停用")
private Integer status;
@Schema(name = "最近登录时间")
@Schema(description = "最近登录时间")
private LocalDateTime recentLoginTime;
/**

@ -7,13 +7,13 @@ import lombok.Data;
@Data
public class AncillaryItemReqVo {
@Schema(name = "流程id")
@Schema(description = "流程id")
private String processId;
@Schema(name = "疾病id")
@Schema(description = "疾病id")
private String diseaseId;
@Schema(name = "搜索关键字")
@Schema(description = "搜索关键字")
private String keyWord;
}

@ -10,36 +10,36 @@ import java.util.List;
@Schema
public class AskAncillaryHistoryResVO {
@Schema(name = "辅助检查记录ID")
@Schema(description = "辅助检查记录ID")
private String id;
@Schema(name = "类目")
@Schema(description = "类目")
private String type;
@Schema(name = "辅助检查项名称")
@Schema(description = "辅助检查项名称")
private String itemName;
@Schema(name = "辅助检查项ID")
@Schema(description = "辅助检查项ID")
private String itemId;
@Schema(name = "辅助检查项结果")
@Schema(description = "辅助检查项结果")
private String result;
@Schema(name = "位置名称")
@Schema(description = "位置名称")
private String locationName;
@Schema(name = "关联的初步诊断ID")
@Schema(description = "关联的初步诊断ID")
private String primaryId;
@Schema(name = "是否诊断判读 0不需要 1需要")
@Schema(description = "是否诊断判读 0不需要 1需要")
private Integer diagnosisAssessmentFlag;
@Schema(name = "诊断判读结果")
@Schema(description = "诊断判读结果")
private String assessmentResult;
@Schema(name = "关联的初步诊断")
@Schema(description = "关联的初步诊断")
private List<DiagnosisPrimaryVO> primaryList;
@Schema(name = "检查时间")
@Schema(description = "检查时间")
private LocalDateTime createTime;
}

@ -10,30 +10,30 @@ import java.time.LocalDateTime;
@Schema
public class AskPhysicalHistoryResVO {
@Schema(name = "体格检查记录ID")
@Schema(description = "体格检查记录ID")
private String id;
@Schema(name = "体格检查工具名称")
@Schema(description = "体格检查工具名称")
private String toolName;
@Schema(name = "类目")
@Schema(description = "类目")
private String type;
@Schema(name = "体格检查工具ID")
@Schema(description = "体格检查工具ID")
private String toolId;
@Schema(name = "体格检查位置ID")
@Schema(description = "体格检查位置ID")
private String locationId;
@Schema(name = "体格检查位置名称")
@Schema(description = "体格检查位置名称")
private String locationName;
@Schema(name = "体格检查结果")
@Schema(description = "体格检查结果")
private String result;
@Schema(name = "关联的初步诊断的疾病名称")
@Schema(description = "关联的初步诊断的疾病名称")
private String diseaseName;
@Schema(name = "检查时间")
@Schema(description = "检查时间")
private LocalDateTime createTime;
}

@ -17,13 +17,13 @@ public class ConfigAncillaryItemResVO {
private String itemName;
@Schema(name = "标识 true:已选择 false:未选择")
@Schema(description = "标识 true:已选择 false:未选择")
private boolean flag;
private int priority;
private List<ConfigAncillaryItemVo> itemList;
@Schema(name = "检查项id路径")
@Schema(description = "检查项id路径")
private List<String> itemIdPath;
}

@ -10,6 +10,6 @@ import lombok.EqualsAndHashCode;
public class DiagnosisAncillaryRecordVo extends DiagnosisAncillaryRecord {
@Schema(name = "辅助检查项中文名")
@Schema(description = "辅助检查项中文名")
private String ancillaryName;
}

@ -10,11 +10,11 @@ import lombok.EqualsAndHashCode;
public class DiagnosisPhysicalRecordVo extends DiagnosisPhysicalRecord {
@Schema(name = "体格检查工具名")
@Schema(description = "体格检查工具名")
private String toolName;
@Schema(name = "体格检查部位名")
@Schema(description = "体格检查部位名")
private String locationName;
}

@ -13,13 +13,13 @@ public class DiagnosisPrimaryVO extends DiagnosisPrimary {
private String primaryDiseaseName;
@Schema(name = "问诊选中的ID列表")
@Schema(description = "问诊选中的ID列表")
private List<String> askIdList;
@Schema(name = "辅助检查选中的ID列表")
@Schema(description = "辅助检查选中的ID列表")
private List<String> ancillaryIdList;
@Schema(name = "体格检查选中的ID列表")
@Schema(description = "体格检查选中的ID列表")
private List<String> physicalIdList;

@ -9,31 +9,31 @@ import java.util.List;
@Data
public class DiagnosticBasisForPrimaryResVO {
@Schema(name = "本项ID")
@Schema(description = "本项ID")
private String id;
@Schema(name = "阶段,1问诊 2体格检查 3辅助检查")
@Schema(description = "阶段,1问诊 2体格检查 3辅助检查")
private Integer type;
@Schema(name = "身体部位")
@Schema(description = "身体部位")
private String locationName;
@Schema(name = "检查类目")
@Schema(description = "检查类目")
private String category;
@Schema(name = "问诊项目")
@Schema(description = "问诊项目")
private String item;
@Schema(name = "初步诊断名称")
@Schema(description = "初步诊断名称")
private String primaryName;
@Schema(name = "初步诊断ID列表")
@Schema(description = "初步诊断ID列表")
private List<String> primaryIdList;
@Schema(name = "是否是证实诊断依据(0否1是)")
@Schema(description = "是否是证实诊断依据(0否1是)")
private Integer basisConfirmFlag;
@Schema(name = "是否是鉴别依据(0否1是)")
@Schema(description = "是否是鉴别依据(0否1是)")
private Integer basisIdentificationFlag;

@ -15,12 +15,12 @@ public class ModifyPrimaryDiseaseInfoReqVO {
private String patientDiseaseInfo;
@Schema(name = "问诊ID列表")
@Schema(description = "问诊ID列表")
private List<String> askIdList;
@Schema(name = "辅助检查ID列表")
@Schema(description = "辅助检查ID列表")
private List<String> ancillaryIdList;
@Schema(name = "体格检查ID列表")
@Schema(description = "体格检查ID列表")
private List<String> physicalIdList;
}

@ -12,19 +12,19 @@ import java.util.List;
@EqualsAndHashCode(callSuper = true)
public class ProcessMedicalViewDetailResVo extends ProcessMedicalResVo {
@Schema(name = "初步诊断疾病名")
@Schema(description = "初步诊断疾病名")
private List<String> primaryDiseaseNameList;
@Schema(name = "体格检查名列表")
@Schema(description = "体格检查名列表")
private List<String> physicalDiagnosisNameList;
@Schema(name = "辅助检查名列表")
@Schema(description = "辅助检查名列表")
private List<String> ancillaryDiagnosisNameList;
@Schema(name = "用户名")
@Schema(description = "用户名")
private String userName;
@Schema(name = "结束问诊日期")
@Schema(description = "结束问诊日期")
private LocalDateTime finishDiagnosisTime;
}

@ -8,9 +8,9 @@ import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper = true)
public class TreatmentPlanRecordVo extends TreatmentPlanRecord {
@Schema(name = "结果标识 0:错误 1:正确")
@Schema(description = "结果标识 0:错误 1:正确")
private Integer flag;
@Schema(name = "处置计划名")
@Schema(description = "处置计划名")
private String disposalPlanName;
}

@ -7,10 +7,10 @@ import lombok.Data;
@Data
public class AskQuestionLibraryReqVo {
@Schema(name = "编码")
@Schema(description = "编码")
private String code;
@Schema(name = "疾病id")
@Schema(description = "疾病id")
private String diseaseId;
/**
@ -18,16 +18,16 @@ public class AskQuestionLibraryReqVo {
* rasa使
*/
@Deprecated
@Schema(name = "问题", hidden = true)
@Schema(description = "问题", hidden = true)
private String question;
@Schema(name = "问题")
@Schema(description = "问题")
private String description;
@Schema(name = "问题类目字典id")
@Schema(description = "问题类目字典id")
private String dictId;
@Schema(name = "默认回答资源id")
@Schema(description = "默认回答资源id")
private String defaultAnswerResourceId;
}

@ -10,34 +10,34 @@ import java.util.List;
@Data
public class AskQuestionLibraryResVo {
@Schema(name = "主键")
@Schema(description = "主键")
private String id;
@Schema(name = "问题库ID")
@Schema(description = "问题库ID")
private String libraryQuestionId;
@Schema(name = "编码")
@Schema(description = "编码")
private String code;
@Schema(name = "问题类目id")
@Schema(description = "问题类目id")
private String dictId;
@Schema(name = "问题类目父级id")
@Schema(description = "问题类目父级id")
private String parentDictId;
@Schema(name = "由用户传入的问题生成的问题列表")
@Schema(description = "由用户传入的问题生成的问题列表")
private List<String> question;
@Schema(name = "用户设置的问题")
@Schema(description = "用户设置的问题")
private String description;
@Schema(name = "默认回答")
@Schema(description = "默认回答")
private String defaultAnswer;
@Schema(name = "问题类目名")
@Schema(description = "问题类目名")
private String nameZhPath;
@Schema(name = "类目名")
@Schema(description = "类目名")
private String nameZh;

@ -9,6 +9,6 @@ import lombok.EqualsAndHashCode;
@Data
public class ConfigDrugResVo extends ConfigDrug {
@Schema(name = "剂型中文名")
@Schema(description = "剂型中文名")
private String dosageFormDesc;
}

@ -13,7 +13,7 @@ import java.util.List;
public class DiseaseAncillaryReqVo extends DiseaseAncillary {
@Schema(name = "诊断依据 0初步诊断依据 1证实诊断依据 2鉴别诊断依据 3全面诊断依据")
@Schema(description = "诊断依据 0初步诊断依据 1证实诊断依据 2鉴别诊断依据 3全面诊断依据")
private List<Integer> diagnosticCriteria;
/**

@ -13,16 +13,16 @@ import java.util.List;
@EqualsAndHashCode(callSuper = true)
public class DiseaseAncillaryResVo extends DiseaseAncillary {
@Schema(name = "项目名称")
@Schema(description = "项目名称")
private String itemName;
@Schema(name = "项目类型")
@Schema(description = "项目类型")
private String itemType;
@Schema(name = "项目id路径")
@Schema(description = "项目id路径")
private List<String> itemIdPath;
@Schema(name = "诊断依据 0初步诊断依据 1证实诊断依据 2鉴别诊断依据 3全面诊断依据")
@Schema(description = "诊断依据 0初步诊断依据 1证实诊断依据 2鉴别诊断依据 3全面诊断依据")
private List<Integer> diagnosticCriteria;
/**

@ -16,32 +16,32 @@ public class DiseasePhysicalLocationNodeVo {
/**
*
*/
@Schema(name = "编码")
@Schema(description = "编码")
private String code;
/**
*
*/
@Schema(name = "位置分类")
@Schema(description = "位置分类")
private String locationClass;
/**
*
*/
@Schema(name = "位置名称")
@Schema(description = "位置名称")
private String locationName;
@Schema(name = "部位层级")
@Schema(description = "部位层级")
private String level;
@Schema(name = "父级Id")
@Schema(description = "父级Id")
private String parentId;
@Schema(name = "标识 true:已选择 false:未选择")
@Schema(description = "标识 true:已选择 false:未选择")
private boolean flag;
@Schema(name = "检查结果默认值")
@Schema(description = "检查结果默认值")
private String indicatorValue;

@ -13,7 +13,7 @@ import java.util.List;
public class DiseasePhysicalReqVo extends DiseasePhysical {
@Schema(name = "诊断依据 0初步诊断依据 1证实诊断依据 2鉴别诊断依据 3全面诊断依据")
@Schema(description = "诊断依据 0初步诊断依据 1证实诊断依据 2鉴别诊断依据 3全面诊断依据")
private List<Integer> diagnosticCriteria;

@ -14,25 +14,25 @@ import java.util.List;
@EqualsAndHashCode(callSuper = true)
public class DiseasePhysicalResVo extends DiseasePhysical {
@Schema(name = "工具名称")
@Schema(description = "工具名称")
private String toolName;
@Schema(name = "工具类型")
@Schema(description = "工具类型")
private String toolType;
@Schema(name = "工具父级id")
@Schema(description = "工具父级id")
private String toolParentId;
@Schema(name = "身体部位名称")
@Schema(description = "身体部位名称")
private String locationName;
@Schema(name = "工具id路径")
@Schema(description = "工具id路径")
private List<String> toolIdPath;
@Schema(name = "身体部位id路径")
@Schema(description = "身体部位id路径")
private List<String> locationIdPath;
@Schema(name = "诊断依据 0初步诊断依据 1证实诊断依据 2鉴别诊断依据 3全面诊断依据")
@Schema(description = "诊断依据 0初步诊断依据 1证实诊断依据 2鉴别诊断依据 3全面诊断依据")
private List<Integer> diagnosticCriteria;
/**

@ -12,16 +12,16 @@ import java.util.List;
@EqualsAndHashCode(callSuper = true)
public class DiseaseQuestionResVo extends DiseaseQuestion {
@Schema(name = "类目编码")
@Schema(description = "类目编码")
private String itemCode;
@Schema(name = "类目名称")
@Schema(description = "类目名称")
private String itemName;
@Schema(name = "问题列表")
@Schema(description = "问题列表")
private List<String> questionList;
@Schema(name = "回答内容")
@Schema(description = "回答内容")
private String answer;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save