1 工单分类API

http://172.16.3.144:18089/v1/iot/main/getToken/21771

API列表

编号 API名称
1.1 工单分类新增/更新 /v1/workorder/admin/category/update
1.2 根据平台标识返回分类树 /v1/workorder/admin/category/trees
1.3 删除工单分类 /v1/workorder/admin/category/remove/{id}
1.4 品质工单分页查询 /v1/workorder/admin/category/page
1.5 加载工单详情 /v1/workorder/admin/category/get/{id}
1.6 查询工单分类顶级节点和末级节点名称【业主app端】 /v1/workorder/user/category/findCategoryList
1.7 查询报单分类树(查询工单模板id不为空的工单分类树) /v1/workorder/admin/category/treeTemplateIsNotNull
1.8 查询报单分类树(查询工单模板id为空的工单分类树并回显已被引用的工单分类) /v1/workorder/admin/category/treeTemplateIsNull

1.1 工单分类的新增和修改

描述

返回API列表

请求信息

HTTP协议:HTTP,HTTPS

uri: /v1/workorder/admin/category/update

方法:PUT

请求参数:

名称 类型 必填 描述
id Long 品质分类表的主键id, 此值为空代表新增,此值非空代表修改
name String 同一层级,名称不可重复,长度 1-64
tenantId Long 平台租户标识,默认为0, 云邻平台 睿住平台:1
parentId Long 父分类的主键id, 为空代表分类是一个顶级分类
systemDefault String 是否平台级业务分类 1:平台级,各租户共用 2: 租户自定义

响应状态:

状态码 说明 schema
200 OK Mono
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

返回信息

名称 类型 是否必填 描述
id long 主键id
orgId string 所属业务组织ID
orgCode string 所属业务组织code
tenantId string 租户标识
updateBy string 更新人
updateTime date 更新时间
createBy string 创建人
createTime date 创建时间
parentId long 父类别ID
parentCode string 父级编码
fullCategoryName string 分类全路径名称
name string 类别名称
code string 分类编码
isDeleted string 逻辑删除
children 泛型 子节点工单分类

新增请求示例:

{  
    "name":"文案一级",
    "systemDefault":"1"

  }

新增返回结果示例:

{
    "code": "200",
    "data": {
        "code": "1000000000",
        "parentId": null,
        "children": null,
        "id": 81,
        "name": "文案一级",
        "orgId": "88291",
        "orgCode": "88291",
        "systemDefault": "1",
        "level": "1",
        "tenantId": "1",
        "isDeleted": null,
        "createBy": "pz0001",
        "createById": "88293",
        "updateById": null,
        "createTime": "2022-01-06T07:28:41.934+00:00",
        "updateBy": null,
        "updateTime": null,
        "workorderTemplateId": null,
        "parentCode": null,
        "parentName": null,
        "fullCategoryName": "文案一级"
    },
    "message": "成功"
}

修改请求示例:

{   "id":"81",
    "name":"文案",
    "systemDefault":"1"
  }

修改返回信息示例:

{
    "code": "200",
    "data": {
        "code": "1000000000",
        "parentId": null,
        "children": null,
        "id": 81,
        "name": "文案",
        "orgId": "88291",
        "orgCode": "88291",
        "systemDefault": "1",
        "level": "1",
        "tenantId": "1",
        "isDeleted": null,
        "createBy": null,
        "createById": null,
        "updateById": "88293",
        "createTime": null,
        "updateBy": "pz0001",
        "updateTime": "2022-01-06T07:35:03.607+00:00",
        "workorderTemplateId": null,
        "parentCode": null,
        "parentName": null,
        "fullCategoryName": "文案"
    },
    "message": "成功"
}

1.2 返回品质分类树

描述. 本接口返回多棵树。

返回API列表

请求信息

HTTP协议:HTTP,HTTPS

uri: /v1/workorder/admin/category/trees

eg: http://localhost:20070/v1/workorder/admin/category/trees

方法:GET

请求参数: 无

响应状态:

状态码 说明 schema
200 OK Mono
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

请求Body描述(非Form表单数据)

返回信息:

名称 类型 是否必填 描述
id long 主键id
orgId string 所属业务组织ID
orgCode string 所属业务组织code
tenantId string 租户标识
updateBy string 更新人
updateTime date 更新时间
createBy string 创建人
createTime date 创建时间
parentId long 父类别ID
parentCode string 父级编码
fullCategoryName string 分类全路径名称
name string 类别名称
code string 分类编码
isDeleted string 逻辑删除
children 实体数组 子节点工单分类

返回结果示例

{
    "code": "200",
    "data": {
        "result": [
            {
                "tree": [
                    {
                        "code": "1000000000",
                        "parentId": null,
                        "children": null,
                        "id": 72,
                        "name": "维修",
                        "orgId": "116695",
                        "orgCode": "100000349",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "工单测试人员1",
                        "createById": "117208",
                        "updateById": null,
                        "createTime": "2022-01-05T03:03:34.000+00:00",
                        "updateBy": null,
                        "updateTime": null,
                        "workorderTemplateId": 53,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "维修"
                    }
                ]
            },
            {
                "tree": [
                    {
                        "code": "1000000000",
                        "parentId": null,
                        "children": [
                            {
                                "code": "10000000001000000001",
                                "parentId": 50,
                                "children": null,
                                "id": 51,
                                "name": "室内报修2356799",
                                "orgId": "15264",
                                "orgCode": "100000001",
                                "systemDefault": "2",
                                "level": "2",
                                "tenantId": "1",
                                "isDeleted": null,
                                "createBy": "杨观超",
                                "createById": "10005",
                                "updateById": "10005",
                                "createTime": "2022-01-04T01:24:44.000+00:00",
                                "updateBy": "杨观超",
                                "updateTime": "2022-01-06T01:42:55.000+00:00",
                                "workorderTemplateId": 53,
                                "parentCode": "1000000000",
                                "parentName": "报修",
                                "fullCategoryName": "报修/室内报修2356799"
                            }
                        ],
                        "id": 50,
                        "name": "报修",
                        "orgId": "15264",
                        "orgCode": "100000001",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "杨观超",
                        "createById": "10005",
                        "updateById": null,
                        "createTime": "2022-01-04T01:24:33.000+00:00",
                        "updateBy": null,
                        "updateTime": null,
                        "workorderTemplateId": null,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "报修"
                    }
                ]
            },
            {
                "tree": [
                    {
                        "code": "1000000001",
                        "parentId": null,
                        "children": [
                            {
                                "code": "10000000011000000002",
                                "parentId": 77,
                                "children": [
                                    {
                                        "code": "100000000110000000021000000003",
                                        "parentId": 78,
                                        "children": null,
                                        "id": 79,
                                        "name": "车辆",
                                        "orgId": "116695",
                                        "orgCode": "100000349",
                                        "systemDefault": "2",
                                        "level": "3",
                                        "tenantId": "1",
                                        "isDeleted": null,
                                        "createBy": "工单测试人员1",
                                        "createById": "117208",
                                        "updateById": null,
                                        "createTime": "2022-01-06T03:18:29.000+00:00",
                                        "updateBy": null,
                                        "updateTime": null,
                                        "workorderTemplateId": null,
                                        "parentCode": "10000000011000000002",
                                        "parentName": "秩序维护",
                                        "fullCategoryName": "投诉/秩序维护/车辆"
                                    }
                                ],
                                "id": 78,
                                "name": "秩序维护",
                                "orgId": "116695",
                                "orgCode": "100000349",
                                "systemDefault": "2",
                                "level": "2",
                                "tenantId": "1",
                                "isDeleted": null,
                                "createBy": "工单测试人员1",
                                "createById": "117208",
                                "updateById": null,
                                "createTime": "2022-01-06T03:18:22.000+00:00",
                                "updateBy": null,
                                "updateTime": null,
                                "workorderTemplateId": null,
                                "parentCode": "1000000001",
                                "parentName": "投诉",
                                "fullCategoryName": "投诉/秩序维护"
                            }
                        ],
                        "id": 77,
                        "name": "投诉",
                        "orgId": "116695",
                        "orgCode": "100000349",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "工单测试人员1",
                        "createById": "117208",
                        "updateById": null,
                        "createTime": "2022-01-06T03:18:04.000+00:00",
                        "updateBy": null,
                        "updateTime": null,
                        "workorderTemplateId": null,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "投诉"
                    }
                ]
            },
            {
                "tree": [
                    {
                        "code": "1000000002",
                        "parentId": null,
                        "children": null,
                        "id": 70,
                        "name": "666",
                        "orgId": "15264",
                        "orgCode": "100000001",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "杨观超",
                        "createById": "10005",
                        "updateById": null,
                        "createTime": "2022-01-05T02:25:12.000+00:00",
                        "updateBy": null,
                        "updateTime": null,
                        "workorderTemplateId": 53,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "666"
                    }
                ]
            },
            {
                "tree": [
                    {
                        "code": "1000000003",
                        "parentId": null,
                        "children": null,
                        "id": 75,
                        "name": "8888",
                        "orgId": "15264",
                        "orgCode": "100000001",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "杨观超",
                        "createById": "10005",
                        "updateById": null,
                        "createTime": "2022-01-06T01:42:59.000+00:00",
                        "updateBy": null,
                        "updateTime": null,
                        "workorderTemplateId": null,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "8888"
                    }
                ]
            }
        ]
    },
    "message": "success"
}

返回字段说明 :

tree: 代表一棵完整的品质分类树,可以包含多个子树节点children,支持无限级递归嵌套。由云平台采用统一的算法提供支持 ,生成的树型JSON与开源tree组件兼容。

1.3 分类删除

描述

返回API列表

请求信息

HTTP协议:HTTP,HTTPS

uri: /v1/workorder/admin/category/remove/{id}

方法:DELETE

请求参数:

名称 类型 是否必填 描述
id long 主键id

响应状态:

状态码 说明 schema
200 OK Mono
201 Created
401 Unauthorized
403 Forbidden
404 Not Found

返回信息:

{
    "message": "Ok",
    "code": 200,
    "data": null
}

1.4 分类分页查询

描述

返回API列表

请求信息

HTTP协议:HTTP,HTTPS

uri: /quality/categoryInfo/page

方法:POST

路径参数:

id : 品质分类的主键id

请求参数:

名称 类型 必填 描述
z
pageNo Int 默认为1
pageSize Int 分页查询,每页所加载的记录条数

返回示例:

{
  "code": 200,
  "data": {
    "total": 8,
    "pages": 4,
    "records": [
      {
        "code": "100000000",
        "updateTime": "2021-11-02T08:58:41.000+00:00",
        "isRefered": false,
        "type": 1,
        "orgId": null,
        "parentId": null,
        "createBy": null,
        "isDeleted": 0,
        "children": null,
        "createTime": null,
        "parentCode": null,
        "updateBy": null,
        "fullCategoryName": "OK1",
        "orgCode": null,
        "name": "OK1",
        "tenantId": "0",
        "id": 67
      },
      {
        "code": "100000000100000000",
        "updateTime": "2021-11-02T08:58:53.000+00:00",
        "isRefered": false,
        "type": 2,
        "orgId": null,
        "parentId": 67,
        "createBy": null,
        "isDeleted": 0,
        "children": null,
        "createTime": null,
        "parentCode": "100000000",
        "updateBy": null,
        "fullCategoryName": "OK1/OK1-1",
        "orgCode": null,
        "name": "OK1-1",
        "tenantId": "0",
        "id": 68
      }
    ],
    "pageNo": 1,
    "pageSize": 2
  },
  "message": "success"
}

返回字段:

total: 相关表总的记录条数

pages: 本次查询所返回的总页数

1.5 分类详情加载

描述

返回API列表

请求信息

HTTP协议:HTTP,HTTPS

uri: /v1/workorder/admin/category/get/{id}

方法:GET

路径参数:

id : 品质分类的主键id

1.6 查询工单分类顶级节点和末级节点名称

描述

返回API列表

请求信息

HTTP协议:HTTP,HTTPS

uri: /v1/workorder/user/category/findCategoryList

方法:POST

路径参数:无

请求参数:无

返回信息:

名称 类型 是否必填 描述
id long 主键id
orgId string 所属业务组织ID
orgCode string 所属业务组织code
tenantId string 租户标识
updateBy string 更新人
updateTime date 更新时间
createBy string 创建人
createTime date 创建时间
parentId long 父类别ID
parentCode string 父级编码
fullCategoryName string 分类全路径名称
name string 类别名称
code string 分类编码
isDeleted string 逻辑删除
children 泛型 子节点工单分类

返回示例

{
    "message": "Ok",
    "code": 200,
    "data": [
        {
            "code": "1000000001",
            "parentId": null,
            "children": [],
            "id": 5,
            "name": "报事报修",
            "orgId": "88291",
            "orgCode": "88291",
            "systemDefault": "1",
            "level": "1",
            "tenantId": "1",
            "isDeleted": null,
            "createBy": "路人甲2",
            "createById": "21771",
            "updateById": "88293",
            "createTime": "2021-12-27T06:38:43.000+00:00",
            "updateBy": "pz0001",
            "updateTime": "2021-12-28T16:14:30.000+00:00",
            "workorderTemplateId": null,
            "parentCode": null,
            "parentName": null,
            "fullCategoryName": "报事报修"
        },
        {
            "code": "1000000000",
            "parentId": null,
            "children": [
                {
                    "code": "1000000000100000000110000000021000000003",
                    "parentId": 19,
                    "children": null,
                    "id": 20,
                    "name": "车行管理",
                    "orgId": "88291",
                    "orgCode": "88291",
                    "systemDefault": "1",
                    "level": "4",
                    "tenantId": "1",
                    "isDeleted": null,
                    "createBy": "pz0001",
                    "createById": "88293",
                    "updateById": null,
                    "createTime": "2021-12-28T16:05:20.000+00:00",
                    "updateBy": null,
                    "updateTime": null,
                    "workorderTemplateId": 20,
                    "parentCode": "100000000010000000011000000002",
                    "parentName": "秩序管理",
                    "fullCategoryName": "报事报修/安全管理秩序管理11/秩序管理"
                },
                {
                    "code": "1000000000100000000110000000021000000003",
                    "parentId": 19,
                    "children": null,
                    "id": 21,
                    "name": "人行管理",
                    "orgId": "88291",
                    "orgCode": "88291",
                    "systemDefault": "1",
                    "level": "4",
                    "tenantId": "1",
                    "isDeleted": null,
                    "createBy": "pz0001",
                    "createById": "88293",
                    "updateById": null,
                    "createTime": "2021-12-28T16:05:33.000+00:00",
                    "updateBy": null,
                    "updateTime": null,
                    "workorderTemplateId": null,
                    "parentCode": "100000000010000000011000000002",
                    "parentName": "秩序管理",
                    "fullCategoryName": "报事报修/安全管理秩序管理11/秩序管理"
                }
            ],
            "id": 10,
            "name": "报事",
            "orgId": "88291",
            "orgCode": "88291",
            "systemDefault": "1",
            "level": "1",
            "tenantId": "1",
            "isDeleted": null,
            "createBy": "pz0001",
            "createById": "88293",
            "updateById": null,
            "createTime": "2021-12-28T09:11:37.000+00:00",
            "updateBy": null,
            "updateTime": null,
            "workorderTemplateId": null,
            "parentCode": null,
            "parentName": null,
            "fullCategoryName": "报事报修"
        }
    ]
}

1.7 查询工单分类模板id不为空的分类树

描述

返回API列表

请求信息

HTTP协议:HTTP,HTTPS

uri: /v1/workorder/admin/category/treeTemplateIsNotNull

方法:POST

请求参数:

名称 类型 必填 描述
scopeType stirng 受理类型:1客户报单,2员工报单

请求示例:

{
    "scopeType":"2"
}

返回示例

{
    "code": "200",
    "data": {
        "result": [
            {
                "tree": [
                    {
                        "code": "1000000000",
                        "parentId": null,
                        "children": [
                            {
                                "code": "10000000001000000000",
                                "parentId": 277,
                                "children": [
                                    {
                                        "code": "100000000010000000001000000000",
                                        "parentId": 278,
                                        "children": null,
                                        "id": 279,
                                        "name": "三级",
                                        "orgId": "116695",
                                        "orgCode": "100000349",
                                        "systemDefault": "2",
                                        "level": "3",
                                        "tenantId": "1",
                                        "isDeleted": null,
                                        "createBy": "工单测试人员1",
                                        "createById": "117208",
                                        "updateById": "117208",
                                        "createTime": "2022-01-10 10:10:17",
                                        "updateBy": "工单测试人员1",
                                        "updateTime": "2022-01-12 09:35:01",
                                        "staffTemplateId": 45,
                                        "workorderTemplateId": 78,
                                        "parentCode": "10000000001000000000",
                                        "parentName": "二级",
                                        "fullCategoryName": "一级/二级/三级"
                                    }
                                ],
                                "id": 278,
                                "name": "二级",
                                "orgId": "116695",
                                "orgCode": "100000349",
                                "systemDefault": "2",
                                "level": "2",
                                "tenantId": "1",
                                "isDeleted": null,
                                "createBy": "工单测试人员1",
                                "createById": "117208",
                                "updateById": "117208",
                                "createTime": "2022-01-10 10:10:10",
                                "updateBy": "工单测试人员1",
                                "updateTime": "2022-01-12 09:35:05",
                                "staffTemplateId": null,
                                "workorderTemplateId": 80,
                                "parentCode": "1000000000",
                                "parentName": "一级",
                                "fullCategoryName": "一级/二级"
                            }
                        ],
                        "id": 277,
                        "name": "一级",
                        "orgId": "116695",
                        "orgCode": "100000349",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "工单测试人员1",
                        "createById": "117208",
                        "updateById": "117208",
                        "createTime": "2022-01-10 10:10:03",
                        "updateBy": "工单测试人员1",
                        "updateTime": "2022-01-12 09:35:10",
                        "staffTemplateId": null,
                        "workorderTemplateId": 81,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "一级"
                    }
                ]
            },
            {
                "tree": [
                    {
                        "code": "1000000011",
                        "parentId": null,
                        "children": [
                            {
                                "code": "10000000111000000000",
                                "parentId": 316,
                                "children": null,
                                "id": 317,
                                "name": "测试222",
                                "orgId": "116695",
                                "orgCode": "100000349",
                                "systemDefault": "2",
                                "level": "2",
                                "tenantId": "1",
                                "isDeleted": null,
                                "createBy": "工单测试人员1",
                                "createById": "117208",
                                "updateById": null,
                                "createTime": "2022-01-10 14:06:00",
                                "updateBy": null,
                                "updateTime": null,
                                "staffTemplateId": 28,
                                "workorderTemplateId": null,
                                "parentCode": "1000000011",
                                "parentName": "测试111",
                                "fullCategoryName": "测试111/测试222"
                            }
                        ],
                        "id": 316,
                        "name": "测试111",
                        "orgId": "116695",
                        "orgCode": "100000349",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "工单测试人员1",
                        "createById": "117208",
                        "updateById": null,
                        "createTime": "2022-01-10 14:05:50",
                        "updateBy": null,
                        "updateTime": null,
                        "staffTemplateId": null,
                        "workorderTemplateId": null,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "测试111"
                    }
                ]
            }
        ]
    },
    "message": "成功"
}

1.8 查询工单分类模板id为空的分类树

描述

返回API列表

请求信息

HTTP协议:HTTP,HTTPS

uri: /v1/workorder/admin/category/treeTemplateIsNull

方法:POST

路径参数:

请求参数:

名称 类型 必填 描述
id stirng 回显被引用的id,用逗号隔开;没有则传null
scopeType stirng 受理类型:1客户报单,2员工报单

请求示例:

{
    "id":"278,279",
    "scopeType":"1"
}

返回示例:

{
    "code": "200",
    "data": {
        "result": [
            {
                "tree": [
                    {
                        "code": "1000000006",
                        "parentId": null,
                        "children": [
                            {
                                "code": "10000000061000000001",
                                "parentId": 304,
                                "children": [
                                    {
                                        "code": "100000000610000000011000000000",
                                        "parentId": 323,
                                        "children": null,
                                        "id": 324,
                                        "name": "一一种",
                                        "orgId": "116695",
                                        "orgCode": "100000349",
                                        "systemDefault": "2",
                                        "level": "3",
                                        "tenantId": "1",
                                        "isDeleted": null,
                                        "createBy": "工单测试人员1",
                                        "createById": "117208",
                                        "updateById": null,
                                        "createTime": "2022-01-10 15:31:16",
                                        "updateBy": null,
                                        "updateTime": null,
                                        "staffTemplateId": null,
                                        "workorderTemplateId": null,
                                        "parentCode": "10000000061000000001",
                                        "parentName": "一种",
                                        "fullCategoryName": "一/一种/一一种"
                                    },
                                    {
                                        "code": "100000000610000000011000000001",
                                        "parentId": 323,
                                        "children": null,
                                        "id": 325,
                                        "name": "二种",
                                        "orgId": "116695",
                                        "orgCode": "100000349",
                                        "systemDefault": "2",
                                        "level": "3",
                                        "tenantId": "1",
                                        "isDeleted": null,
                                        "createBy": "工单测试人员1",
                                        "createById": "117208",
                                        "updateById": null,
                                        "createTime": "2022-01-10 15:32:15",
                                        "updateBy": null,
                                        "updateTime": null,
                                        "staffTemplateId": null,
                                        "workorderTemplateId": null,
                                        "parentCode": "10000000061000000001",
                                        "parentName": "一种",
                                        "fullCategoryName": "一/一种/二种"
                                    },
                                    {
                                        "code": "100000000610000000011000000002",
                                        "parentId": 323,
                                        "children": null,
                                        "id": 327,
                                        "name": "二",
                                        "orgId": "116695",
                                        "orgCode": "100000349",
                                        "systemDefault": "2",
                                        "level": "3",
                                        "tenantId": "1",
                                        "isDeleted": null,
                                        "createBy": "工单测试人员1",
                                        "createById": "117208",
                                        "updateById": null,
                                        "createTime": "2022-01-10 15:37:50",
                                        "updateBy": null,
                                        "updateTime": null,
                                        "staffTemplateId": null,
                                        "workorderTemplateId": null,
                                        "parentCode": "10000000061000000001",
                                        "parentName": "一种",
                                        "fullCategoryName": "一/一种/二"
                                    }
                                ],
                                "id": 323,
                                "name": "一种",
                                "orgId": "116695",
                                "orgCode": "100000349",
                                "systemDefault": "2",
                                "level": "2",
                                "tenantId": "1",
                                "isDeleted": null,
                                "createBy": "工单测试人员1",
                                "createById": "117208",
                                "updateById": null,
                                "createTime": "2022-01-10 15:29:36",
                                "updateBy": null,
                                "updateTime": null,
                                "staffTemplateId": null,
                                "workorderTemplateId": null,
                                "parentCode": "1000000006",
                                "parentName": "一",
                                "fullCategoryName": "一/一种"
                            },
                            {
                                "code": "10000000061000000002",
                                "parentId": 304,
                                "children": [
                                    {
                                        "code": "100000000610000000021000000000",
                                        "parentId": 328,
                                        "children": null,
                                        "id": 329,
                                        "name": "二种",
                                        "orgId": "116695",
                                        "orgCode": "100000349",
                                        "systemDefault": "2",
                                        "level": "3",
                                        "tenantId": "1",
                                        "isDeleted": null,
                                        "createBy": "工单测试人员1",
                                        "createById": "117208",
                                        "updateById": null,
                                        "createTime": "2022-01-10 15:38:07",
                                        "updateBy": null,
                                        "updateTime": null,
                                        "staffTemplateId": null,
                                        "workorderTemplateId": null,
                                        "parentCode": "10000000061000000002",
                                        "parentName": "三",
                                        "fullCategoryName": "一/三/二种"
                                    }
                                ],
                                "id": 328,
                                "name": "三",
                                "orgId": "116695",
                                "orgCode": "100000349",
                                "systemDefault": "2",
                                "level": "2",
                                "tenantId": "1",
                                "isDeleted": null,
                                "createBy": "工单测试人员1",
                                "createById": "117208",
                                "updateById": null,
                                "createTime": "2022-01-10 15:37:59",
                                "updateBy": null,
                                "updateTime": null,
                                "staffTemplateId": null,
                                "workorderTemplateId": null,
                                "parentCode": "1000000006",
                                "parentName": "一",
                                "fullCategoryName": "一/三"
                            }
                        ],
                        "id": 304,
                        "name": "一",
                        "orgId": "116695",
                        "orgCode": "100000349",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "工单测试人员1",
                        "createById": "117208",
                        "updateById": null,
                        "createTime": "2022-01-10 13:36:19",
                        "updateBy": null,
                        "updateTime": null,
                        "staffTemplateId": null,
                        "workorderTemplateId": null,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "一"
                    }
                ]
            },
            {
                "tree": [
                    {
                        "code": "1000000007",
                        "parentId": null,
                        "children": [
                            {
                                "code": "10000000071000000000",
                                "parentId": 306,
                                "children": null,
                                "id": 308,
                                "name": "二二",
                                "orgId": "116695",
                                "orgCode": "100000349",
                                "systemDefault": "2",
                                "level": "2",
                                "tenantId": "1",
                                "isDeleted": null,
                                "createBy": "工单测试人员1",
                                "createById": "117208",
                                "updateById": null,
                                "createTime": "2022-01-10 13:37:16",
                                "updateBy": null,
                                "updateTime": null,
                                "staffTemplateId": null,
                                "workorderTemplateId": null,
                                "parentCode": "1000000007",
                                "parentName": "single",
                                "fullCategoryName": "single/二二"
                            }
                        ],
                        "id": 306,
                        "name": "single",
                        "orgId": "116695",
                        "orgCode": "100000349",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "工单测试人员1",
                        "createById": "117208",
                        "updateById": "117208",
                        "createTime": "2022-01-10 13:36:39",
                        "updateBy": "工单测试人员1",
                        "updateTime": "2022-01-10 15:45:14",
                        "staffTemplateId": null,
                        "workorderTemplateId": null,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "single"
                    }
                ]
            },
            {
                "tree": [
                    {
                        "code": "1000000008",
                        "parentId": null,
                        "children": [
                            {
                                "code": "10000000081000000000",
                                "parentId": 309,
                                "children": [
                                    {
                                        "code": "100000000810000000001000000000",
                                        "parentId": 310,
                                        "children": null,
                                        "id": 311,
                                        "name": "B",
                                        "orgId": "116695",
                                        "orgCode": "100000349",
                                        "systemDefault": "2",
                                        "level": "3",
                                        "tenantId": "1",
                                        "isDeleted": null,
                                        "createBy": "工单测试人员1",
                                        "createById": "117208",
                                        "updateById": null,
                                        "createTime": "2022-01-10 13:38:34",
                                        "updateBy": null,
                                        "updateTime": null,
                                        "staffTemplateId": null,
                                        "workorderTemplateId": null,
                                        "parentCode": "10000000081000000000",
                                        "parentName": "A",
                                        "fullCategoryName": "alright/A/B"
                                    }
                                ],
                                "id": 310,
                                "name": "A",
                                "orgId": "116695",
                                "orgCode": "100000349",
                                "systemDefault": "2",
                                "level": "2",
                                "tenantId": "1",
                                "isDeleted": null,
                                "createBy": "工单测试人员1",
                                "createById": "117208",
                                "updateById": null,
                                "createTime": "2022-01-10 13:38:15",
                                "updateBy": null,
                                "updateTime": null,
                                "staffTemplateId": null,
                                "workorderTemplateId": null,
                                "parentCode": "1000000008",
                                "parentName": "alright",
                                "fullCategoryName": "alright/A"
                            }
                        ],
                        "id": 309,
                        "name": "alright",
                        "orgId": "116695",
                        "orgCode": "100000349",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "工单测试人员1",
                        "createById": "117208",
                        "updateById": "117208",
                        "createTime": "2022-01-10 13:38:04",
                        "updateBy": "工单测试人员1",
                        "updateTime": "2022-01-10 15:44:54",
                        "staffTemplateId": null,
                        "workorderTemplateId": null,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "alright"
                    }
                ]
            },
            {
                "tree": [
                    {
                        "code": "1000000009",
                        "parentId": null,
                        "children": [
                            {
                                "code": "10000000091000000000",
                                "parentId": 312,
                                "children": null,
                                "id": 313,
                                "name": "no",
                                "orgId": "116695",
                                "orgCode": "100000349",
                                "systemDefault": "2",
                                "level": "2",
                                "tenantId": "1",
                                "isDeleted": null,
                                "createBy": "工单测试人员1",
                                "createById": "117208",
                                "updateById": null,
                                "createTime": "2022-01-10 13:39:43",
                                "updateBy": null,
                                "updateTime": null,
                                "staffTemplateId": null,
                                "workorderTemplateId": null,
                                "parentCode": "1000000009",
                                "parentName": "null",
                                "fullCategoryName": "null/no"
                            }
                        ],
                        "id": 312,
                        "name": "null",
                        "orgId": "116695",
                        "orgCode": "100000349",
                        "systemDefault": "2",
                        "level": "1",
                        "tenantId": "1",
                        "isDeleted": null,
                        "createBy": "工单测试人员1",
                        "createById": "117208",
                        "updateById": null,
                        "createTime": "2022-01-10 13:39:18",
                        "updateBy": null,
                        "updateTime": null,
                        "staffTemplateId": null,
                        "workorderTemplateId": null,
                        "parentCode": null,
                        "parentName": null,
                        "fullCategoryName": "null"
                    }
                ]
            }

        ]
    },
    "message": "成功"
}

results matching ""

    No results matching ""