作者:管理员  历史版本:1  最后编辑:龚清  更新时间:2024-11-20 15:41

获取流水号所有数据

简述:

  • 获取流水号所有数据

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/identity/findAll

返回示例:

{
    "state": 200,
    "request": null,
    "message": "流水号数据查询成功!",
    "cause": "",
    "variables": {},
    "data": [
        {
            "pk": "",
            "name": "部门年度流水号",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "666667272932163584",
            "alias": "bmndlsh",
            "regulation": "{yyyy}{MM}{dd}{NO}",
            "genType": 3,
            "noLength": 5,
            "curData": 1578987464000,
            "initValue": 1,
            "curValue": null,
            "step": 1
        },
        {
            "pk": "",
            "name": "流水号13",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "666655136352829440",
            "alias": "lsh13",
            "regulation": "{yyyy}{MM}{dd}{NO}gnl",
            "genType": 0,
            "noLength": 4,
            "curData": 1578984570000,
            "initValue": 1,
            "curValue": null,
            "step": 13
        },
        {
            "pk": "",
            "name": "流水号12",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656558169606062080",
            "alias": "lsh12",
            "regulation": "{yyyy}{MM}{dd}{NO}",
            "genType": 0,
            "noLength": 5,
            "curData": 1576577266000,
            "initValue": 1,
            "curValue": null,
            "step": 1
        },
        {
            "pk": "",
            "name": "验证流水号初始值",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656507083377606656",
            "alias": "yzlshcsz",
            "regulation": "{yyyy}{MM}{dd}{NO}",
            "genType": 0,
            "noLength": 5,
            "curData": 1576565086000,
            "initValue": 1,
            "curValue": null,
            "step": 10
        },
        {
            "pk": "",
            "name": "流水号11",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656501212677406720",
            "alias": "lsh11",
            "regulation": "{yyyy}la{MM}{dd}{NO}",
            "genType": 0,
            "noLength": 5,
            "curData": 1576563686000,
            "initValue": 1,
            "curValue": null,
            "step": 2
        },
        {
            "pk": "",
            "name": "流水号10",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656455586673590272",
            "alias": "lsh10",
            "regulation": "{yy}{d}{NO}",
            "genType": 3,
            "noLength": 6,
            "curData": 1576552808000,
            "initValue": 1,
            "curValue": null,
            "step": 3
        },
        {
            "pk": "",
            "name": "流水号9",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656455347996721152",
            "alias": "lsh9",
            "regulation": "{M}{d}{NO}",
            "genType": 3,
            "noLength": 5,
            "curData": 1576552751000,
            "initValue": 1,
            "curValue": null,
            "step": 8
        },
        {
            "pk": "",
            "name": "流水号8",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656454870655565824",
            "alias": "lsh8",
            "regulation": "{yyyy}{d}{NO}",
            "genType": 0,
            "noLength": 6,
            "curData": null,
            "initValue": 13,
            "curValue": null,
            "step": 7
        },
        {
            "pk": "",
            "name": "流水号7",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656454339556016128",
            "alias": "lsh7",
            "regulation": "{yy}{MM}{dd}{NO}",
            "genType": 3,
            "noLength": 8,
            "curData": null,
            "initValue": 1,
            "curValue": null,
            "step": 6
        },
        {
            "pk": "",
            "name": "流水号6",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656454100396802048",
            "alias": "lsh6",
            "regulation": "{yyyy}{dd}{no}",
            "genType": 3,
            "noLength": 8,
            "curData": null,
            "initValue": 1,
            "curValue": null,
            "step": 1
        },
        {
            "pk": "",
            "name": "流水号5",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656453948122595328",
            "alias": "lsh5",
            "regulation": "{MM}{dd}{NO}",
            "genType": 0,
            "noLength": 5,
            "curData": 1576552418000,
            "initValue": 1,
            "curValue": null,
            "step": 5
        },
        {
            "pk": "",
            "name": "流水号4",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656453682514100224",
            "alias": "lsh4",
            "regulation": "{yyyy}{MM}{d}_{no}",
            "genType": 2,
            "noLength": 5,
            "curData": null,
            "initValue": 10,
            "curValue": null,
            "step": 4
        },
        {
            "pk": "",
            "name": "流水号3",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656453455962963968",
            "alias": "lsh3",
            "regulation": "{yy}{M}{dd}{NO}",
            "genType": 1,
            "noLength": 7,
            "curData": 1576552300000,
            "initValue": 20,
            "curValue": null,
            "step": 3
        },
        {
            "pk": "",
            "name": "流水号2",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "656452494305525760",
            "alias": "lsh2",
            "regulation": "{yyyy}{MM}{d}{no}",
            "genType": 0,
            "noLength": 4,
            "curData": null,
            "initValue": 2,
            "curValue": null,
            "step": 2
        },
        {
            "pk": "",
            "name": "订单编号",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "654686297406832640",
            "alias": "rgfd",
            "regulation": "{yyyy}{MM}{dd}{NO}g",
            "genType": 1,
            "noLength": 5,
            "curData": null,
            "initValue": 1,
            "curValue": null,
            "step": 1
        },
        {
            "pk": "",
            "name": "流程编号",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "654662247469023232",
            "alias": "lcbh",
            "regulation": "{yyyy}就{MM}{NO}",
            "genType": 3,
            "noLength": 10,
            "curData": null,
            "initValue": 1,
            "curValue": null,
            "step": 1
        }
    ]
}

返回参数说明:

名称 类型 备注
data List< IdentityPo > 流水号实体对象

获取流水号数据

简述:

  • 根据id获取流水号数据

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
id String 流水号ID
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/identity/get?id=666667272932163584

返回示例:

{
    "state": 200,
    "request": null,
    "message": "流水号查询成功",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "",
        "name": "部门年度流水号",
        "ip": null,
        "createBy": null,
        "createTime": null,
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "666667272932163584",
        "alias": "bmndlsh",
        "regulation": "{yyyy}{MM}{dd}{NO}",
        "genType": 3,
        "noLength": 5,
        "curData": 1578987464000,
        "initValue": 1,
        "curValue": null,
        "step": 1
    }
}

返回参数说明:

名称 类型 备注
data IdentityPo 流水号实体对象

获取流水号数据

简述:

  • 根据别名(alias)获取流水号数据

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
alias String 流水号别名
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/identity/getByAlias?alias=bmndlsh

返回示例:

{
    "state": 200,
    "request": null,
    "message": "流水号查询成功",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "",
        "name": "部门年度流水号",
        "ip": null,
        "createBy": null,
        "createTime": null,
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "666667272932163584",
        "alias": "bmndlsh",
        "regulation": "{yyyy}{MM}{dd}{NO}",
        "genType": 3,
        "noLength": 5,
        "curData": 1578987464000,
        "initValue": 1,
        "curValue": null,
        "step": 1
    }
}

返回参数说明:

名称 类型 备注
data IdentityPo 流水号实体对象

获取下一个流水号编号

简述:

  • 获取下一个流水号编号

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
alias String 别名
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/identity/getNextIdByAlias?alias=bmndlsh

返回示例:

{
    "state": 200,
    "request": null,
    "message": "流水号生成成功!",
    "cause": "",
    "variables": {},
    "data": "2020020400002"
}

返回参数说明:

名称 类型 备注
data String

流水号列表

简述:

  • 根据传入参数查询,并返回流水号列表

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
request APIRequest[1] 动态查询请求对象

请求参数示例:

{
    "parameters": [],
    "requestPage": {
        "pageNo": 1,
        "limit": 20
    },
    "sorts": []
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "流水号数据查询成功!",
    "cause": "",
    "variables": {},
    "data": {
        "dataResult": [
            {
                "pk": "",
                "name": "部门年度流水号",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "666667272932163584",
                "alias": "bmndlsh",
                "regulation": "{yyyy}{MM}{dd}{NO}",
                "genType": 3,
                "noLength": 5,
                "curData": 1578987464000,
                "initValue": 1,
                "curValue": null,
                "step": 1
            },
            {
                "pk": "",
                "name": "流水号13",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "666655136352829440",
                "alias": "lsh13",
                "regulation": "{yyyy}{MM}{dd}{NO}gnl",
                "genType": 0,
                "noLength": 4,
                "curData": 1578984570000,
                "initValue": 1,
                "curValue": null,
                "step": 13
            },
            {
                "pk": "",
                "name": "流水号12",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "656558169606062080",
                "alias": "lsh12",
                "regulation": "{yyyy}{MM}{dd}{NO}",
                "genType": 0,
                "noLength": 5,
                "curData": 1576577266000,
                "initValue": 1,
                "curValue": null,
                "step": 1
            }
        ],
        "pageResult": {
            "limit": 3,
            "page": 1,
            "totalCount": 16,
            "totalPages": 6
        }
    }
}

返回参数说明:

名称 类型 备注
data APIPageList< IdentityPo > 流水号实体对象

获取流水号选择器数据

简述:

  • 获取流水号选择器数据

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
request APIRequest[1] 动态查询请求对象

请求参数示例:

{
    "parameters": [],
    "requestPage": {
        "pageNo": 1,
        "limit": 20
    },
    "sorts": []
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "流水号数据查询成功!",
    "cause": "",
    "variables": {},
    "data": {
        "dataResult": [
            {
                "pk": "",
                "name": "部门年度流水号",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "666667272932163584",
                "alias": "bmndlsh",
                "regulation": "{yyyy}{MM}{dd}{NO}",
                "genType": 3,
                "noLength": 5,
                "curData": 1578987464000,
                "initValue": 1,
                "curValue": null,
                "step": 1
            },
            {
                "pk": "",
                "name": "流水号13",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "666655136352829440",
                "alias": "lsh13",
                "regulation": "{yyyy}{MM}{dd}{NO}gnl",
                "genType": 0,
                "noLength": 4,
                "curData": 1578984570000,
                "initValue": 1,
                "curValue": null,
                "step": 13
            },
            {
                "pk": "",
                "name": "流水号12",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "656558169606062080",
                "alias": "lsh12",
                "regulation": "{yyyy}{MM}{dd}{NO}",
                "genType": 0,
                "noLength": 5,
                "curData": 1576577266000,
                "initValue": 1,
                "curValue": null,
                "step": 1
            }
        ],
        "pageResult": {
            "limit": 3,
            "page": 1,
            "totalCount": 16,
            "totalPages": 6
        }
    }
}

返回参数说明:

名称 类型 备注
data APIPageList< IdentityPo > 流水号实体对象

回滚流水号编号

简述:

  • 回滚流水号编号

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
alias String 别名

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/identity/recoverByAlias?alias=bmndlsh

返回示例:

{
    "state": 200,
    "request": null,
    "message": "流水号回滚成功!",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

删除

简述:

  • 删除流水号

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
ids String[] 流水号id数组
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/identity/remove?ids=674387987848495104

返回示例:

{
    "state": 200,
    "request": null,
    "message": "删除流水号成功",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

流水号保存

简述:

  • 根据传入数据,保存流水号

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:

IdentityPo 对象信息

名称 类型 是否必须 默认值 备注
id String 主键
name String 名称
alias String 别名
regulation String 规则
genType Integer 生成类型
noLength Integer 流水号长度
curData Date 当前日期
initValue Integer 初始值
curValue Integer 当前值
step Integer 步长

请求参数示例:

{
    "pk": "",
    "name": "test",
    "alias": "test",
    "regulation": "{yyyy}{MM}{dd}{NO}",
    "genType": 0,
    "noLength": 5,
    "curData": 1576577266000,
    "initValue": 1,
    "curValue": null,
    "step": 1
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "流水号保存成功",
    "cause": "",
    "variables": {
        "id": "674387987848495104"
    },
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

流水号测试

简述:

  • 根据传入数据,测试流水号

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:

暂无

  • Body:

IdentityPo 对象信息

名称 类型 是否必须 默认值 备注
id String 主键
name String 名称
alias String 别名
regulation String 规则
genType Integer 生成类型
noLength Integer 流水号长度
curData Date 当前日期
initValue Integer 初始值
curValue Integer 当前值
step Integer 步长

请求参数示例:

{
    "pk": "",
    "name": "test",
    "alias": "test",
    "regulation": "{yyyy}{MM}{dd}{NO}",
    "genType": 0,
    "noLength": 5,
    "curData": 1576577266000,
    "initValue": 1,
    "curValue": null,
    "step": 1
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "2020020400001<br/>2020020400002<br/>2020020400003<br/>2020020400004<br/>2020020400005<br/>"
}

返回参数说明:

名称 类型 备注
data String

测试获取下一个流水号编号

简述:

  • 测试获取下一个流水号编号,表单预览时使用该请求

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
alias String 别名
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/platform/v3/identity/testGetNextIdByAlias?alias=bmndlsh

返回示例:

{
    "state": 200,
    "request": null,
    "message": "流水号生成成功!",
    "cause": "",
    "variables": {},
    "data": "2020020400001"
}

返回参数说明:

名称 类型 备注
data String

备注