新增了标签1

This commit is contained in:
wucongxing8150 2025-06-11 17:58:56 +08:00
parent 872e6dc49c
commit 73e7eb620a
3 changed files with 11 additions and 1 deletions

View File

@ -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);
}

View File

@ -16,4 +16,10 @@ public class GetCaseLabelDto {
*/
@JsonProperty("label_name")
private String labelName;
/**
* 是否存在子标签0 1:
*/
@JsonProperty("is_sub")
private Integer isSub = 0;
}

View File

@ -44,7 +44,7 @@ public class GetLabelsResponse
* 子标签数量
*/
@JsonProperty("children_size")
private String childrenSize;
private Integer childrenSize;
/**
* p_id