字典feign
This commit is contained in:
@ -37,7 +37,7 @@ public interface DictClient {
|
|||||||
BaseResponse<List<DictProject>> selectDictList(DictProject dictProject);
|
BaseResponse<List<DictProject>> selectDictList(DictProject dictProject);
|
||||||
|
|
||||||
@ApiOperation("查询数据集合(支持详情查询)")
|
@ApiOperation("查询数据集合(支持详情查询)")
|
||||||
@GetMapping("/getDictList")
|
@GetMapping("/v1/dictProject/getDictList")
|
||||||
BaseResponse<List<DictProject>> getDictList(DictProject dictProject);
|
BaseResponse<List<DictProject>> getDictList(DictProject dictProject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@ import io.swagger.annotations.ApiModelProperty;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 实体类 DictProject
|
* 实体类 DictProject
|
||||||
@ -65,4 +67,14 @@ public class DictProject implements Serializable {
|
|||||||
private String description;
|
private String description;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 英文名称
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "英文名称")
|
||||||
|
private String enName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 字典子项
|
||||||
|
*/
|
||||||
|
List<DictProject> children = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
@ -50,4 +50,16 @@ public class DictRegion implements Serializable {
|
|||||||
@ApiModelProperty(value = "缩写")
|
@ApiModelProperty(value = "缩写")
|
||||||
private String ab;
|
private String ab;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ID路径,逗号分隔
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "ID路径,逗号分隔")
|
||||||
|
private String path;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 名称路径,逗号分隔
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "名称路径,逗号分隔")
|
||||||
|
private String pathName;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user