新增了标签1
This commit is contained in:
parent
872e6dc49c
commit
73e7eb620a
@ -38,6 +38,10 @@ public class CaseLabelController {
|
||||
GetCaseLabelDto dto = new GetCaseLabelDto();
|
||||
dto.setAppIden(d.getId());
|
||||
dto.setLabelName(d.getName());
|
||||
if (d.getChildrenSize() > 0){
|
||||
dto.setIsSub(1);
|
||||
}
|
||||
|
||||
labelDtoList.add(dto);
|
||||
}
|
||||
|
||||
|
||||
@ -16,4 +16,10 @@ public class GetCaseLabelDto {
|
||||
*/
|
||||
@JsonProperty("label_name")
|
||||
private String labelName;
|
||||
|
||||
/**
|
||||
* 是否存在子标签,0:否 1:是
|
||||
*/
|
||||
@JsonProperty("is_sub")
|
||||
private Integer isSub = 0;
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@ public class GetLabelsResponse
|
||||
* 子标签数量
|
||||
*/
|
||||
@JsonProperty("children_size")
|
||||
private String childrenSize;
|
||||
private Integer childrenSize;
|
||||
|
||||
/**
|
||||
* p_id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user