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

检查业务对象是否存在

简述:

  • 检查业务对象是否存在

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/checkAttrCode?boDefId=654625174796107776

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": true
}

返回参数说明:

名称 类型 备注
data Boolean

检查是否重复标识

简述:

  • 检查是否重复标识

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
boCode String 业务对象编码
isMain String isMain
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/checkCode?boCode=zbsykj&boDefId=654625174796107776&isMain=Y

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": true
}

返回参数说明:

名称 类型 备注
data Boolean

复制业务对象

简述:

  • 检查业务对象是否存在

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
boCode String 业务对象编码
cascade boolean false 是否级联复制
defName String 业务对象名称
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/copy?boCode=zbsykjs&boDefId=654625174796107776&cascade=false&defName=主表所有控件s

返回示例:

{
    "state": 200,
    "request": null,
    "message": "复制业务对象成功",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

导出业务对象定义

简述:

  • 导出业务对象定义

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefIds String[] 业务对象定义Id数组
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/exportBo?boDefIds=654625174796107776

返回示例:

对应zip文件

返回参数说明:

名称 类型 备注
data void

查询上一级业务对象定义

简述:

  • 查询上一级业务对象定义

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/findBoDefByPid?boDefId=654646507403739136

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": [
        {
            "pk": "id",
            "name": "子2",
            "ip": null,
            "createBy": "654621442352087040",
            "createTime": "2019-12-12 11:31:30",
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "654646507856723968",
            "code": "z2",
            "desc": "",
            "dataFormat": "json",
            "version": 1,
            "isMain": "N",
            "boType": "object",
            "isCreateTable": "N",
            "status": "actived",
            "state": "exist",
            "dsAlias": "",
            "typeId": "",
            "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
            "saveType": "SAVE",
            "versionCount": 1,
            "isComb": "N",
            "tblName": null,
            "dsName": null,
            "parentId": null,
            "fk": null,
            "fromAttr": null,
            "relation": null,
            "path": null,
            "attrList": [],
            "commonAttrList": [],
            "fkRelAttribute": null,
            "subDefList": [],
            "boDefRelList": [],
            "data": null,
            "pkAttr": null,
            "fkAttr": null,
            "subMap": {}
        }
    ]
}

返回参数说明:

名称 类型 备注
data List< BoDefPo > 业务对象定义对象

查询下一级业务对象定义

简述:

  • 查询下一级业务对象定义

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/findBoDefBySid?boDefId=654625255721009152

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": [
        {
            "pk": "id",
            "name": "主附件",
            "ip": null,
            "createBy": "654621442352087040",
            "createTime": "2019-12-12 10:07:04",
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "654625255721009153",
            "code": "zfj",
            "desc": "",
            "dataFormat": "json",
            "version": 1,
            "isMain": "Y",
            "boType": "object",
            "isCreateTable": "Y",
            "status": "actived",
            "state": "exist",
            "dsAlias": "",
            "typeId": "",
            "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
            "saveType": "SAVE",
            "versionCount": 1,
            "isComb": "N",
            "tblName": null,
            "dsName": null,
            "parentId": null,
            "fk": null,
            "fromAttr": null,
            "relation": null,
            "path": null,
            "attrList": [],
            "commonAttrList": [],
            "fkRelAttribute": null,
            "subDefList": [],
            "boDefRelList": [],
            "data": null,
            "pkAttr": null,
            "fkAttr": null,
            "subMap": {}
        }
    ]
}

返回参数说明:

名称 类型 备注
data List< BoDefPo > 业务对象定义对象

获取已存在的表信息

简述:

  • 获取已存在的表信息

请求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": [
        {
            "alias": "dataSource_default",
            "name": "def",
            "dbType": "mysql",
            "driver": "com.mysql.jdbc.Driver",
            "driverUrl": "jdbc:mysql://192.168.3.210:3306/ibps_business_test_v3.2.0?useUnicode=true&characterEncoding=utf-8",
            "port": null,
            "poolType": null,
            "user": "root",
            "password": "root",
            "comment": null,
            "status": "actived",
            "isDefault": true,
            "variables": {
                "minIdle": "20",
                "validationQuery": "SELECT 'x'",
                "initialSize": "20",
                "maxWait": "3600000",
                "poolPreparedStatements": "true",
                "filters": "stat",
                "maxPoolPreparedStatementPerConnectionSize": "20",
                "logAbandoned": "true",
                "testOnBorrow": "false",
                "testWhileIdle": "true",
                "removeAbandoned": "true",
                "timeBetweenEvictionRunsMillis": "3600000",
                "minEvictableIdleTimeMillis": "300000",
                "testOnReturn": "false",
                "removeAbandonedTimeout": "1800",
                "maxActive": "200"
            },
            "param": null,
            "default": true,
            "leader": false,
            "follower": false
        }
    ]
}

返回参数说明:

名称 类型 备注
data List< DataSourceVo > 数据源对象信息

创建业务对象的物理表和相应信息记录

简述:

  • 创建业务对象的物理表和相应信息记录

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/genBoTable?boDefId=654646507403739136

返回示例:

{
    "state": 200,
    "request": null,
    "message": "生成表成功!",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

根据Id查询业务对象定义信息

简述:

  • 根据传入id查询,并返回业务对象定义信息

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/get?boDefId=654646507403739136

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "id",
        "name": "主1",
        "ip": null,
        "createBy": "654621442352087040",
        "createTime": "2019-12-12 11:31:30",
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "654646507403739136",
        "code": "z1",
        "desc": "",
        "dataFormat": "json",
        "version": 1,
        "isMain": "N",
        "boType": "object",
        "isCreateTable": "Y",
        "status": "actived",
        "state": "exist",
        "dsAlias": "",
        "typeId": "",
        "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
        "saveType": "SAVE",
        "versionCount": 1,
        "isComb": "N",
        "tblName": null,
        "dsName": null,
        "parentId": null,
        "fk": null,
        "fromAttr": null,
        "relation": null,
        "path": null,
        "attrList": [],
        "commonAttrList": [],
        "fkRelAttribute": null,
        "subDefList": [],
        "boDefRelList": [],
        "data": null,
        "pkAttr": null,
        "fkAttr": null,
        "subMap": {}
    }
}

返回参数说明:

名称 类型 备注
data BoDefPo 业务对象定义对象

获取bo树

简述:

  • 获取bo树

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
code String 业务对象定义编码
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/getBoTree?boDefId=654646507403739136&code=z1

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": [
        {
            "id": "654646507403739136",
            "name": "主1",
            "key": "z1",
            "parentId": "0",
            "type": "table",
            "attrType": "table",
            "tableName": "z1",
            "icon": "fa fa-table",
            "format": null
        },
        {
            "id": "654646507579899904",
            "name": "主键",
            "key": "id",
            "parentId": "654646507403739136",
            "type": "varchar",
            "attrType": "field",
            "tableName": "z1",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654646507609260032",
            "name": "租户ID",
            "key": "tenantId",
            "parentId": "654646507403739136",
            "type": "varchar",
            "attrType": "field",
            "tableName": "z1",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654646507634425856",
            "name": "IP地址",
            "key": "ip",
            "parentId": "654646507403739136",
            "type": "varchar",
            "attrType": "field",
            "tableName": "z1",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654646507659591680",
            "name": "创建人",
            "key": "createBy",
            "parentId": "654646507403739136",
            "type": "varchar",
            "attrType": "field",
            "tableName": "z1",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654646507680563200",
            "name": "创建时间",
            "key": "createTime",
            "parentId": "654646507403739136",
            "type": "date",
            "attrType": "field",
            "tableName": "z1",
            "icon": "fa fa-date",
            "format": "yyyy-MM-dd HH:mm:ss"
        },
        {
            "id": "654646507705729024",
            "name": "更新人",
            "key": "updateBy",
            "parentId": "654646507403739136",
            "type": "varchar",
            "attrType": "field",
            "tableName": "z1",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654646507730894848",
            "name": "更新时间",
            "key": "updateTime",
            "parentId": "654646507403739136",
            "type": "date",
            "attrType": "field",
            "tableName": "z1",
            "icon": "fa fa-date",
            "format": "yyyy-MM-dd HH:mm:ss"
        },
        {
            "id": "654646507756060672",
            "name": "1",
            "key": "1",
            "parentId": "654646507403739136",
            "type": "varchar",
            "attrType": "field",
            "tableName": "z1",
            "icon": "fa fa-varchar",
            "format": "yyyy-MM-dd"
        },
        {
            "id": "654646507856723968",
            "name": "子2",
            "key": "z2",
            "parentId": "654646507403739136",
            "type": "table",
            "attrType": "subTable",
            "tableName": "z2",
            "icon": "fa fa-table",
            "format": null
        },
        {
            "id": "654664417497055232",
            "name": "主键",
            "key": "id",
            "parentId": "654646507856723968",
            "type": "varchar",
            "attrType": "subField",
            "tableName": "z2",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654664417518026752",
            "name": "外键",
            "key": "parentId",
            "parentId": "654646507856723968",
            "type": "varchar",
            "attrType": "subField",
            "tableName": "z2",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654664417559969792",
            "name": "租户ID",
            "key": "tenantId",
            "parentId": "654646507856723968",
            "type": "varchar",
            "attrType": "subField",
            "tableName": "z2",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654664417593524224",
            "name": "IP地址",
            "key": "ip",
            "parentId": "654646507856723968",
            "type": "varchar",
            "attrType": "subField",
            "tableName": "z2",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654664417736130560",
            "name": "创建人",
            "key": "createBy",
            "parentId": "654646507856723968",
            "type": "varchar",
            "attrType": "subField",
            "tableName": "z2",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654664417769684992",
            "name": "创建时间",
            "key": "createTime",
            "parentId": "654646507856723968",
            "type": "date",
            "attrType": "subField",
            "tableName": "z2",
            "icon": "fa fa-date",
            "format": "yyyy-MM-dd HH:mm:ss"
        },
        {
            "id": "654664417803239424",
            "name": "更新人",
            "key": "updateBy",
            "parentId": "654646507856723968",
            "type": "varchar",
            "attrType": "subField",
            "tableName": "z2",
            "icon": "fa fa-varchar",
            "format": ""
        },
        {
            "id": "654664417836793856",
            "name": "更新时间",
            "key": "updateTime",
            "parentId": "654646507856723968",
            "type": "date",
            "attrType": "subField",
            "tableName": "z2",
            "icon": "fa fa-date",
            "format": "yyyy-MM-dd HH:mm:ss"
        },
        {
            "id": "654664417861959680",
            "name": "子2",
            "key": "zi2",
            "parentId": "654646507856723968",
            "type": "varchar",
            "attrType": "subField",
            "tableName": "z2",
            "icon": "fa fa-varchar",
            "format": "yyyy-MM-dd"
        }
    ]
}

返回参数说明:

名称 类型 备注
data List< TreeVo > 树对象

根据编码查询业务对象定义信息

简述:

  • 根据传入编码查询,并返回业务对象定义信息

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boCode String 业务对象定义编码
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/getByCode?boCode=cssc

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "id",
        "name": "测试删除",
        "ip": null,
        "createBy": "654621442352087040",
        "createTime": "2019-12-12 14:14:27",
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "654687516581953536",
        "code": "cssc",
        "desc": "",
        "dataFormat": "json",
        "version": 1,
        "isMain": "Y",
        "boType": "object",
        "isCreateTable": "Y",
        "status": "actived",
        "state": "exist",
        "dsAlias": "",
        "typeId": "",
        "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
        "saveType": "SAVE",
        "versionCount": 1,
        "isComb": "N",
        "tblName": "t_cssc",
        "dsName": null,
        "parentId": null,
        "fk": null,
        "fromAttr": null,
        "relation": null,
        "path": null,
        "attrList": [
            {
                "pk": "",
                "name": "主键",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687516942663680",
                "defId": "654687516581953536",
                "code": "id",
                "desc": "主键",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 1,
                "fieldName": "id_"
            },
            {
                "pk": "",
                "name": "租户ID",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687516967829504",
                "defId": "654687516581953536",
                "code": "tenantId",
                "desc": "租户ID",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 2,
                "fieldName": "tenant_id_"
            },
            {
                "pk": "",
                "name": "IP地址",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517001383936",
                "defId": "654687516581953536",
                "code": "ip",
                "desc": "IP地址",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 15,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 3,
                "fieldName": "ip_"
            },
            {
                "pk": "",
                "name": "创建人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517026549760",
                "defId": "654687516581953536",
                "code": "createBy",
                "desc": "创建人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 4,
                "fieldName": "create_by_"
            },
            {
                "pk": "",
                "name": "创建时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517060104192",
                "defId": "654687516581953536",
                "code": "createTime",
                "desc": "创建时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 5,
                "fieldName": "create_time_"
            },
            {
                "pk": "",
                "name": "更新人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517081075712",
                "defId": "654687516581953536",
                "code": "updateBy",
                "desc": "更新人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 6,
                "fieldName": "update_by_"
            },
            {
                "pk": "",
                "name": "更新时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517106241536",
                "defId": "654687516581953536",
                "code": "updateTime",
                "desc": "更新时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 7,
                "fieldName": "update_time_"
            },
            {
                "pk": "",
                "name": "测试1",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517127213056",
                "defId": "654687516581953536",
                "code": "ceShi1",
                "desc": "测试1",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 200,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd",
                "isNull": "Y",
                "sn": 8,
                "fieldName": "ce_shi_1_"
            }
        ],
        "commonAttrList": [
            {
                "pk": "",
                "name": "租户ID",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687516967829504",
                "defId": "654687516581953536",
                "code": "tenantId",
                "desc": "租户ID",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 2,
                "fieldName": "tenant_id_"
            },
            {
                "pk": "",
                "name": "IP地址",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517001383936",
                "defId": "654687516581953536",
                "code": "ip",
                "desc": "IP地址",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 15,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 3,
                "fieldName": "ip_"
            },
            {
                "pk": "",
                "name": "创建人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517026549760",
                "defId": "654687516581953536",
                "code": "createBy",
                "desc": "创建人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 4,
                "fieldName": "create_by_"
            },
            {
                "pk": "",
                "name": "创建时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517060104192",
                "defId": "654687516581953536",
                "code": "createTime",
                "desc": "创建时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 5,
                "fieldName": "create_time_"
            },
            {
                "pk": "",
                "name": "更新人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517081075712",
                "defId": "654687516581953536",
                "code": "updateBy",
                "desc": "更新人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 6,
                "fieldName": "update_by_"
            },
            {
                "pk": "",
                "name": "更新时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517106241536",
                "defId": "654687516581953536",
                "code": "updateTime",
                "desc": "更新时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 7,
                "fieldName": "update_time_"
            },
            {
                "pk": "",
                "name": "测试1",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517127213056",
                "defId": "654687516581953536",
                "code": "ceShi1",
                "desc": "测试1",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 200,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd",
                "isNull": "Y",
                "sn": 8,
                "fieldName": "ce_shi_1_"
            }
        ],
        "fkRelAttribute": null,
        "subDefList": [],
        "boDefRelList": [],
        "data": null,
        "pkAttr": {
            "pk": "",
            "name": "主键",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "654687516942663680",
            "defId": "654687516581953536",
            "code": "id",
            "desc": "主键",
            "type": "base",
            "dataType": "varchar",
            "attrLength": 64,
            "precision": null,
            "defValue": "",
            "format": "",
            "isNull": "Y",
            "sn": 1,
            "fieldName": "id_"
        },
        "fkAttr": null,
        "subMap": {}
    }
}

返回参数说明:

名称 类型 备注
data BoDefPo 业务对象定义对象

根据编码查询业务对象定义信息

简述:

  • 根据传入编码查询,并返回业务对象定义信息

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boCode String 业务对象定义编码
boVersion String 业务对象定义版本
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/getByCodeVersion?boCode=cssc&boVersion=1

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "id",
        "name": "测试删除",
        "ip": null,
        "createBy": "654621442352087040",
        "createTime": "2019-12-12 14:14:27",
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "654687516581953536",
        "code": "cssc",
        "desc": "",
        "dataFormat": "json",
        "version": 1,
        "isMain": "Y",
        "boType": "object",
        "isCreateTable": "Y",
        "status": "actived",
        "state": "exist",
        "dsAlias": "",
        "typeId": "",
        "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
        "saveType": "SAVE",
        "versionCount": 1,
        "isComb": "N",
        "tblName": "t_cssc",
        "dsName": null,
        "parentId": null,
        "fk": null,
        "fromAttr": null,
        "relation": null,
        "path": null,
        "attrList": [
            {
                "pk": "",
                "name": "主键",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687516942663680",
                "defId": "654687516581953536",
                "code": "id",
                "desc": "主键",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 1,
                "fieldName": "id_"
            },
            {
                "pk": "",
                "name": "租户ID",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687516967829504",
                "defId": "654687516581953536",
                "code": "tenantId",
                "desc": "租户ID",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 2,
                "fieldName": "tenant_id_"
            },
            {
                "pk": "",
                "name": "IP地址",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517001383936",
                "defId": "654687516581953536",
                "code": "ip",
                "desc": "IP地址",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 15,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 3,
                "fieldName": "ip_"
            },
            {
                "pk": "",
                "name": "创建人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517026549760",
                "defId": "654687516581953536",
                "code": "createBy",
                "desc": "创建人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 4,
                "fieldName": "create_by_"
            },
            {
                "pk": "",
                "name": "创建时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517060104192",
                "defId": "654687516581953536",
                "code": "createTime",
                "desc": "创建时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 5,
                "fieldName": "create_time_"
            },
            {
                "pk": "",
                "name": "更新人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517081075712",
                "defId": "654687516581953536",
                "code": "updateBy",
                "desc": "更新人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 6,
                "fieldName": "update_by_"
            },
            {
                "pk": "",
                "name": "更新时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517106241536",
                "defId": "654687516581953536",
                "code": "updateTime",
                "desc": "更新时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 7,
                "fieldName": "update_time_"
            },
            {
                "pk": "",
                "name": "测试1",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517127213056",
                "defId": "654687516581953536",
                "code": "ceShi1",
                "desc": "测试1",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 200,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd",
                "isNull": "Y",
                "sn": 8,
                "fieldName": "ce_shi_1_"
            }
        ],
        "commonAttrList": [
            {
                "pk": "",
                "name": "租户ID",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687516967829504",
                "defId": "654687516581953536",
                "code": "tenantId",
                "desc": "租户ID",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 2,
                "fieldName": "tenant_id_"
            },
            {
                "pk": "",
                "name": "IP地址",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517001383936",
                "defId": "654687516581953536",
                "code": "ip",
                "desc": "IP地址",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 15,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 3,
                "fieldName": "ip_"
            },
            {
                "pk": "",
                "name": "创建人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517026549760",
                "defId": "654687516581953536",
                "code": "createBy",
                "desc": "创建人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 4,
                "fieldName": "create_by_"
            },
            {
                "pk": "",
                "name": "创建时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517060104192",
                "defId": "654687516581953536",
                "code": "createTime",
                "desc": "创建时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 5,
                "fieldName": "create_time_"
            },
            {
                "pk": "",
                "name": "更新人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517081075712",
                "defId": "654687516581953536",
                "code": "updateBy",
                "desc": "更新人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 6,
                "fieldName": "update_by_"
            },
            {
                "pk": "",
                "name": "更新时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517106241536",
                "defId": "654687516581953536",
                "code": "updateTime",
                "desc": "更新时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 7,
                "fieldName": "update_time_"
            },
            {
                "pk": "",
                "name": "测试1",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517127213056",
                "defId": "654687516581953536",
                "code": "ceShi1",
                "desc": "测试1",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 200,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd",
                "isNull": "Y",
                "sn": 8,
                "fieldName": "ce_shi_1_"
            }
        ],
        "fkRelAttribute": null,
        "subDefList": [],
        "boDefRelList": [],
        "data": null,
        "pkAttr": {
            "pk": "",
            "name": "主键",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "654687516942663680",
            "defId": "654687516581953536",
            "code": "id",
            "desc": "主键",
            "type": "base",
            "dataType": "varchar",
            "attrLength": 64,
            "precision": null,
            "defValue": "",
            "format": "",
            "isNull": "Y",
            "sn": 1,
            "fieldName": "id_"
        },
        "fkAttr": null,
        "subMap": {}
    }
}

返回参数说明:

名称 类型 备注
data BoDefPo 业务对象定义对象

根据表单标识查询业务对象

简述:

  • 根据表单标识查询业务对象

请求URL:

请求方式:

  • GET

请求参数:

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

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/getByFormKey?formKey=zfj

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "id",
        "name": "主附件",
        "ip": null,
        "createBy": "654621442352087040",
        "createTime": "2019-12-12 10:07:04",
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "654625255721009153",
        "code": "zfj",
        "desc": "",
        "dataFormat": "json",
        "version": 1,
        "isMain": "Y",
        "boType": "object",
        "isCreateTable": "Y",
        "status": "actived",
        "state": "exist",
        "dsAlias": "",
        "typeId": "",
        "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
        "saveType": "SAVE",
        "versionCount": 1,
        "isComb": "N",
        "tblName": null,
        "dsName": null,
        "parentId": null,
        "fk": null,
        "fromAttr": null,
        "relation": null,
        "path": null,
        "attrList": [],
        "commonAttrList": [],
        "fkRelAttribute": null,
        "subDefList": [],
        "boDefRelList": [],
        "data": null,
        "pkAttr": null,
        "fkAttr": null,
        "subMap": {}
    }
}

返回参数说明:

名称 类型 备注
data BoDefPo 业务对象定义对象

业务对象定义明细信息

简述:

  • 业务对象定义明细信息

请求URL:

请求方式:

  • GET

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/getJson?boDefId=654687516581953536

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "id",
        "name": "测试删除",
        "ip": null,
        "createBy": "654621442352087040",
        "createTime": "2019-12-12 14:14:27",
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": "654687516581953536",
        "code": "cssc",
        "desc": "",
        "dataFormat": "json",
        "version": 1,
        "isMain": "Y",
        "boType": "object",
        "isCreateTable": "Y",
        "status": "actived",
        "state": "exist",
        "dsAlias": "",
        "typeId": "",
        "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
        "saveType": "SAVE",
        "versionCount": 1,
        "isComb": "N",
        "tblName": "t_cssc",
        "dsName": "def",
        "parentId": null,
        "fk": null,
        "fromAttr": null,
        "relation": null,
        "path": null,
        "attrList": [
            {
                "pk": "",
                "name": "主键",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687516942663680",
                "defId": "654687516581953536",
                "code": "id",
                "desc": "主键",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 1,
                "fieldName": "id_"
            },
            {
                "pk": "",
                "name": "租户ID",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687516967829504",
                "defId": "654687516581953536",
                "code": "tenantId",
                "desc": "租户ID",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 2,
                "fieldName": "tenant_id_"
            },
            {
                "pk": "",
                "name": "IP地址",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517001383936",
                "defId": "654687516581953536",
                "code": "ip",
                "desc": "IP地址",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 15,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 3,
                "fieldName": "ip_"
            },
            {
                "pk": "",
                "name": "创建人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517026549760",
                "defId": "654687516581953536",
                "code": "createBy",
                "desc": "创建人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 4,
                "fieldName": "create_by_"
            },
            {
                "pk": "",
                "name": "创建时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517060104192",
                "defId": "654687516581953536",
                "code": "createTime",
                "desc": "创建时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 5,
                "fieldName": "create_time_"
            },
            {
                "pk": "",
                "name": "更新人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517081075712",
                "defId": "654687516581953536",
                "code": "updateBy",
                "desc": "更新人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 6,
                "fieldName": "update_by_"
            },
            {
                "pk": "",
                "name": "更新时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517106241536",
                "defId": "654687516581953536",
                "code": "updateTime",
                "desc": "更新时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 7,
                "fieldName": "update_time_"
            },
            {
                "pk": "",
                "name": "测试1",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517127213056",
                "defId": "654687516581953536",
                "code": "ceShi1",
                "desc": "测试1",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 200,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd",
                "isNull": "Y",
                "sn": 8,
                "fieldName": "ce_shi_1_"
            }
        ],
        "commonAttrList": [
            {
                "pk": "",
                "name": "租户ID",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687516967829504",
                "defId": "654687516581953536",
                "code": "tenantId",
                "desc": "租户ID",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 2,
                "fieldName": "tenant_id_"
            },
            {
                "pk": "",
                "name": "IP地址",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517001383936",
                "defId": "654687516581953536",
                "code": "ip",
                "desc": "IP地址",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 15,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 3,
                "fieldName": "ip_"
            },
            {
                "pk": "",
                "name": "创建人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517026549760",
                "defId": "654687516581953536",
                "code": "createBy",
                "desc": "创建人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 4,
                "fieldName": "create_by_"
            },
            {
                "pk": "",
                "name": "创建时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517060104192",
                "defId": "654687516581953536",
                "code": "createTime",
                "desc": "创建时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 5,
                "fieldName": "create_time_"
            },
            {
                "pk": "",
                "name": "更新人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517081075712",
                "defId": "654687516581953536",
                "code": "updateBy",
                "desc": "更新人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": 6,
                "fieldName": "update_by_"
            },
            {
                "pk": "",
                "name": "更新时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517106241536",
                "defId": "654687516581953536",
                "code": "updateTime",
                "desc": "更新时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": 7,
                "fieldName": "update_time_"
            },
            {
                "pk": "",
                "name": "测试1",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654687517127213056",
                "defId": "654687516581953536",
                "code": "ceShi1",
                "desc": "测试1",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 200,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd",
                "isNull": "Y",
                "sn": 8,
                "fieldName": "ce_shi_1_"
            }
        ],
        "fkRelAttribute": null,
        "subDefList": [],
        "boDefRelList": [],
        "data": null,
        "pkAttr": {
            "pk": "",
            "name": "主键",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "654687516942663680",
            "defId": "654687516581953536",
            "code": "id",
            "desc": "主键",
            "type": "base",
            "dataType": "varchar",
            "attrLength": 64,
            "precision": null,
            "defValue": "",
            "format": "",
            "isNull": "Y",
            "sn": 1,
            "fieldName": "id_"
        },
        "fkAttr": null,
        "subMap": {}
    }
}

返回参数说明:

名称 类型 备注
data BoDefPo 业务对象定义对象

构建Po对象

简述:

  • 构建Po对象

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

  • Body:
名称 类型 是否必须 默认值 备注
saveType String 保存类型,可选值:save/deploy
boDefs String 业务对象数据

请求参数示例:

{
    "boDefs": "[{\"name\":\"tests\",\"code\":\"tests\",\"boType\":\"object\",\"dsName\":\"\",\"dsAlias\":\"\",\"tblName\":\"\",\"state\":\"new\",\"status\":\"\",\"dataFormat\":\"json\",\"pk\":\"id\",\"id\":\"58211e82-2a65-4c48-a0e8-f40476139741\",\"fk\":\"id\",\"fromAttr\":null,\"relation\":\"one2many\",\"desc\":\"\",\"options\":{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"},\"isMain\":\"Y\",\"isMaster\":\"Y\",\"attrs\":[{\"id\":\"3a8286ac-8d7e-45dd-9e39-6f84328f45c5\",\"name\":\"主键\",\"code\":\"id\",\"fieldName\":\"ID_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"4bfceeb4-0715-44c7-afb8-39a0b5eb19df\",\"name\":\"租户ID\",\"code\":\"tenantId\",\"fieldName\":\"TENANT_ID_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"9016c8eb-1a6c-4919-97f0-f7777c593426\",\"name\":\"IP地址\",\"code\":\"ip\",\"fieldName\":\"IP_\",\"dataType\":\"varchar\",\"attrLength\":15,\"precision\":0,\"format\":\"\"},{\"id\":\"76c2486d-8331-4dbc-972b-6cd725ad5421\",\"name\":\"创建人\",\"code\":\"createBy\",\"fieldName\":\"CREATE_BY_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"2f380048-cc22-443d-a7dc-20f7efbb6e89\",\"name\":\"创建时间\",\"code\":\"createTime\",\"fieldName\":\"CREATE_TIME_\",\"dataType\":\"date\",\"attrLength\":0,\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\"},{\"id\":\"536bcc9d-0548-45e3-ac43-687cf55da7d1\",\"name\":\"更新人\",\"code\":\"updateBy\",\"fieldName\":\"UPDATE_BY_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"0e51260e-159e-46d4-93dd-7d9692861300\",\"name\":\"更新时间\",\"code\":\"updateTime\",\"fieldName\":\"UPDATE_TIME_\",\"dataType\":\"date\",\"attrLength\":0,\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\"}],\"edit\":true,\"typeId\":\"\"}]",
    "saveType": "save"
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "pk": "id",
        "name": "",
        "ip": null,
        "createBy": null,
        "createTime": "2020-02-05 19:18:15",
        "updateBy": null,
        "updateTime": null,
        "tenantId": null,
        "dataStatus": null,
        "dbtype": null,
        "id": null,
        "code": "",
        "desc": "",
        "dataFormat": "json",
        "version": null,
        "isMain": null,
        "boType": "object",
        "isCreateTable": "N",
        "status": "actived",
        "state": "new",
        "dsAlias": "",
        "typeId": "",
        "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
        "saveType": "save",
        "versionCount": 1,
        "isComb": "N",
        "tblName": null,
        "dsName": "",
        "parentId": null,
        "fk": "id",
        "fromAttr": "",
        "relation": "one2many",
        "path": null,
        "attrList": [
            {
                "pk": "",
                "name": "主键",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947200",
                "defId": null,
                "code": "id",
                "desc": "主键",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": null,
                "fieldName": "id"
            },
            {
                "pk": "",
                "name": "租户ID",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947201",
                "defId": null,
                "code": "tenantid",
                "desc": "租户ID",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": null,
                "fieldName": "tenantId"
            },
            {
                "pk": "",
                "name": "IP地址",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947202",
                "defId": null,
                "code": "ip",
                "desc": "IP地址",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 15,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": null,
                "fieldName": "ip"
            },
            {
                "pk": "",
                "name": "创建人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947203",
                "defId": null,
                "code": "createby",
                "desc": "创建人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": null,
                "fieldName": "createBy"
            },
            {
                "pk": "",
                "name": "创建时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947204",
                "defId": null,
                "code": "createtime",
                "desc": "创建时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": null,
                "fieldName": "createTime"
            },
            {
                "pk": "",
                "name": "更新人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947205",
                "defId": null,
                "code": "updateby",
                "desc": "更新人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": null,
                "fieldName": "updateBy"
            },
            {
                "pk": "",
                "name": "更新时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947206",
                "defId": null,
                "code": "updatetime",
                "desc": "更新时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": null,
                "fieldName": "updateTime"
            }
        ],
        "commonAttrList": [
            {
                "pk": "",
                "name": "租户ID",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947201",
                "defId": null,
                "code": "tenantid",
                "desc": "租户ID",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": null,
                "fieldName": "tenantId"
            },
            {
                "pk": "",
                "name": "IP地址",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947202",
                "defId": null,
                "code": "ip",
                "desc": "IP地址",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 15,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": null,
                "fieldName": "ip"
            },
            {
                "pk": "",
                "name": "创建人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947203",
                "defId": null,
                "code": "createby",
                "desc": "创建人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": null,
                "fieldName": "createBy"
            },
            {
                "pk": "",
                "name": "创建时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947204",
                "defId": null,
                "code": "createtime",
                "desc": "创建时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": null,
                "fieldName": "createTime"
            },
            {
                "pk": "",
                "name": "更新人",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947205",
                "defId": null,
                "code": "updateby",
                "desc": "更新人",
                "type": "base",
                "dataType": "varchar",
                "attrLength": 64,
                "precision": null,
                "defValue": "",
                "format": "",
                "isNull": "Y",
                "sn": null,
                "fieldName": "updateBy"
            },
            {
                "pk": "",
                "name": "更新时间",
                "ip": null,
                "createBy": null,
                "createTime": null,
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674695303344947206",
                "defId": null,
                "code": "updatetime",
                "desc": "更新时间",
                "type": "base",
                "dataType": "date",
                "attrLength": null,
                "precision": null,
                "defValue": "",
                "format": "yyyy-MM-dd HH:mm:ss",
                "isNull": "Y",
                "sn": null,
                "fieldName": "updateTime"
            }
        ],
        "fkRelAttribute": null,
        "subDefList": [],
        "boDefRelList": [],
        "data": null,
        "pkAttr": {
            "pk": "",
            "name": "主键",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "674695303344947200",
            "defId": null,
            "code": "id",
            "desc": "主键",
            "type": "base",
            "dataType": "varchar",
            "attrLength": 64,
            "precision": null,
            "defValue": "",
            "format": "",
            "isNull": "Y",
            "sn": null,
            "fieldName": "id"
        },
        "fkAttr": {
            "pk": "",
            "name": "主键",
            "ip": null,
            "createBy": null,
            "createTime": null,
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "674695303344947200",
            "defId": null,
            "code": "id",
            "desc": "主键",
            "type": "base",
            "dataType": "varchar",
            "attrLength": 64,
            "precision": null,
            "defValue": "",
            "format": "",
            "isNull": "Y",
            "sn": null,
            "fieldName": "id"
        },
        "subMap": {}
    }
}

返回参数说明:

名称 类型 备注
data BoDefPo 业务对象定义对象

查询业务对象表前缀

简述:

  • 查询业务对象表前缀

请求URL:

请求方式:

  • GET

请求参数:

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

暂无

  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/getTableProfix

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "T_"
}

返回参数说明:

名称 类型 备注
data String

导入业务对象定义

简述:

  • 导入业务对象定义

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

  • Body:
名称 类型 是否必须 默认值 备注 其他信息
file file 业务对象定义文件

请求参数示例:

对应业务对象定义文件

返回示例:

{
    "state": 6060600,
    "request": null,
    "message": "文件导入成功!",
    "cause": null,
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

查询是否新对象

简述:

  • 查询是否新对象

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/isNew?boDefId=654665041257168896

返回示例:

{
    "state": 200,
    "request": null,
    "message": "查询是否新对象成功",
    "cause": "",
    "variables": {},
    "data": true
}

返回参数说明:

名称 类型 备注
data Boolean

管理业务对象定义信息

简述:

  • 管理业务对象定义信息

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/manage?boDefId=654665041257168896

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": "{\"id\":\"654665041257168896\",\"name\":\"主1\",\"code\":\"z1\",\"isMain\":\"Y\",\"tblName\":\"t_z1\",\"desc\":\"\",\"dataFormat\":\"json\",\"boType\":\"object\",\"state\":\"exist\",\"status\":\"actived\",\"isCreateTable\":\"N\",\"dsAlias\":\"\",\"dsName\":\"def\",\"pk\":\"id\",\"typeId\":\"\",\"options\":{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"},\"version\":9,\"attrs\":[{\"code\":\"id\",\"fieldName\":\"id_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":64,\"defId\":\"654665041257168896\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"主键\",\"tenantId\":\"\",\"id\":\"654665041697570816\",\"pk\":\"\",\"sn\":1,\"desc\":\"主键\"},{\"code\":\"tenantId\",\"fieldName\":\"tenant_id_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":64,\"defId\":\"654665041257168896\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"租户ID\",\"tenantId\":\"\",\"id\":\"654665041743708160\",\"pk\":\"\",\"sn\":2,\"desc\":\"租户ID\"},{\"code\":\"ip\",\"fieldName\":\"ip_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":15,\"defId\":\"654665041257168896\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"IP地址\",\"tenantId\":\"\",\"id\":\"654665041869537280\",\"pk\":\"\",\"sn\":3,\"desc\":\"IP地址\"},{\"code\":\"createBy\",\"fieldName\":\"create_by_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":64,\"defId\":\"654665041257168896\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"创建人\",\"tenantId\":\"\",\"id\":\"654665041907286016\",\"pk\":\"\",\"sn\":4,\"desc\":\"创建人\"},{\"code\":\"createTime\",\"fieldName\":\"create_time_\",\"dataType\":\"date\",\"ip\":\"\",\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":0,\"defId\":\"654665041257168896\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"创建时间\",\"tenantId\":\"\",\"id\":\"654665041949229056\",\"pk\":\"\",\"sn\":5,\"desc\":\"创建时间\"},{\"code\":\"updateBy\",\"fieldName\":\"update_by_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":64,\"defId\":\"654665041257168896\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"更新人\",\"tenantId\":\"\",\"id\":\"654665041986977792\",\"pk\":\"\",\"sn\":6,\"desc\":\"更新人\"},{\"code\":\"updateTime\",\"fieldName\":\"update_time_\",\"dataType\":\"date\",\"ip\":\"\",\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":0,\"defId\":\"654665041257168896\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"更新时间\",\"tenantId\":\"\",\"id\":\"654665042028920832\",\"pk\":\"\",\"sn\":7,\"desc\":\"更新时间\"},{\"code\":\"1\",\"fieldName\":\"1_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"yyyy-MM-dd\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":200,\"defId\":\"654665041257168896\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"1\",\"tenantId\":\"\",\"id\":\"654665042062475264\",\"pk\":\"\",\"sn\":8,\"desc\":\"1\"}],\"subBoDefs\":[{\"id\":\"654665042368659456\",\"name\":\"子2\",\"code\":\"z2\",\"isMain\":\"N\",\"tblName\":\"t_z2\",\"desc\":\"\",\"dataFormat\":\"json\",\"boType\":\"object\",\"state\":\"exist\",\"status\":\"actived\",\"isCreateTable\":\"N\",\"dsAlias\":\"\",\"dsName\":\"def\",\"pk\":\"id\",\"typeId\":\"\",\"options\":{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"},\"fk\":\"parentId\",\"fromAttr\":\"id\",\"relation\":\"one2many\",\"version\":2,\"attrs\":[{\"code\":\"id\",\"fieldName\":\"id_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":64,\"defId\":\"654665042368659456\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"主键\",\"tenantId\":\"\",\"id\":\"654665042725175296\",\"pk\":\"\",\"sn\":1,\"desc\":\"主键\"},{\"code\":\"parentId\",\"fieldName\":\"parent_id_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":64,\"defId\":\"654665042368659456\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"外键\",\"tenantId\":\"\",\"id\":\"654665042750341120\",\"pk\":\"\",\"sn\":2,\"desc\":\"外键\"},{\"code\":\"tenantId\",\"fieldName\":\"tenant_id_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":64,\"defId\":\"654665042368659456\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"租户ID\",\"tenantId\":\"\",\"id\":\"654665042783895552\",\"pk\":\"\",\"sn\":3,\"desc\":\"租户ID\"},{\"code\":\"ip\",\"fieldName\":\"ip_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":15,\"defId\":\"654665042368659456\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"IP地址\",\"tenantId\":\"\",\"id\":\"654665042813255680\",\"pk\":\"\",\"sn\":4,\"desc\":\"IP地址\"},{\"code\":\"createBy\",\"fieldName\":\"create_by_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":64,\"defId\":\"654665042368659456\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"创建人\",\"tenantId\":\"\",\"id\":\"654665042842615808\",\"pk\":\"\",\"sn\":5,\"desc\":\"创建人\"},{\"code\":\"createTime\",\"fieldName\":\"create_time_\",\"dataType\":\"date\",\"ip\":\"\",\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":0,\"defId\":\"654665042368659456\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"创建时间\",\"tenantId\":\"\",\"id\":\"654665042871975936\",\"pk\":\"\",\"sn\":6,\"desc\":\"创建时间\"},{\"code\":\"updateBy\",\"fieldName\":\"update_by_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":64,\"defId\":\"654665042368659456\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"更新人\",\"tenantId\":\"\",\"id\":\"654665042901336064\",\"pk\":\"\",\"sn\":7,\"desc\":\"更新人\"},{\"code\":\"updateTime\",\"fieldName\":\"update_time_\",\"dataType\":\"date\",\"ip\":\"\",\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":0,\"defId\":\"654665042368659456\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"更新时间\",\"tenantId\":\"\",\"id\":\"654665042934890496\",\"pk\":\"\",\"sn\":8,\"desc\":\"更新时间\"},{\"code\":\"zi2\",\"fieldName\":\"zi_2_\",\"dataType\":\"varchar\",\"ip\":\"\",\"precision\":0,\"format\":\"yyyy-MM-dd\",\"dataStatus\":\"\",\"updateTime\":null,\"type\":\"base\",\"defValue\":\"\",\"attrLength\":200,\"defId\":\"654665042368659456\",\"createBy\":\"\",\"createTime\":null,\"updateBy\":\"\",\"isNull\":\"Y\",\"dbtype\":\"\",\"name\":\"子2\",\"tenantId\":\"\",\"id\":\"654665042964250624\",\"pk\":\"\",\"sn\":9,\"desc\":\"子2\"}]}]}"
}

返回参数说明:

名称 类型 备注
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": "id",
                "name": "主表所有控件s",
                "ip": null,
                "createBy": "654384477392338944",
                "createTime": "2020-02-05 18:33:21",
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674684001163673600",
                "code": "zbsykjs",
                "desc": "",
                "dataFormat": "json",
                "version": 2,
                "isMain": "Y",
                "boType": "object",
                "isCreateTable": "N",
                "status": "actived",
                "state": "exist",
                "dsAlias": "",
                "typeId": "649619046261587968",
                "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
                "saveType": "SAVE",
                "versionCount": 2,
                "isComb": "N",
                "tblName": null,
                "dsName": null,
                "parentId": null,
                "fk": null,
                "fromAttr": null,
                "relation": null,
                "path": null,
                "attrList": [],
                "commonAttrList": [],
                "fkRelAttribute": null,
                "subDefList": [],
                "boDefRelList": [],
                "data": null,
                "pkAttr": null,
                "fkAttr": null,
                "subMap": {}
            },
            {
                "pk": "id",
                "name": "生成表前缀4",
                "ip": null,
                "createBy": "1",
                "createTime": "2020-02-04 11:41:47",
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674218040128176128",
                "code": "scbqz4",
                "desc": "",
                "dataFormat": "json",
                "version": 1,
                "isMain": "Y",
                "boType": "object",
                "isCreateTable": "N",
                "status": "actived",
                "state": "exist",
                "dsAlias": "",
                "typeId": "",
                "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
                "saveType": "SAVE",
                "versionCount": 1,
                "isComb": "N",
                "tblName": null,
                "dsName": null,
                "parentId": null,
                "fk": null,
                "fromAttr": null,
                "relation": null,
                "path": null,
                "attrList": [],
                "commonAttrList": [],
                "fkRelAttribute": null,
                "subDefList": [],
                "boDefRelList": [],
                "data": null,
                "pkAttr": null,
                "fkAttr": null,
                "subMap": {}
            },
            {
                "pk": "id",
                "name": "生成表前缀3",
                "ip": null,
                "createBy": "1",
                "createTime": "2020-02-04 11:38:30",
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "674217213099507712",
                "code": "scbqz3",
                "desc": "",
                "dataFormat": "json",
                "version": 1,
                "isMain": "Y",
                "boType": "object",
                "isCreateTable": "Y",
                "status": "actived",
                "state": "exist",
                "dsAlias": "",
                "typeId": "",
                "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
                "saveType": "SAVE",
                "versionCount": 1,
                "isComb": "N",
                "tblName": null,
                "dsName": null,
                "parentId": null,
                "fk": null,
                "fromAttr": null,
                "relation": null,
                "path": null,
                "attrList": [],
                "commonAttrList": [],
                "fkRelAttribute": null,
                "subDefList": [],
                "boDefRelList": [],
                "data": null,
                "pkAttr": null,
                "fkAttr": null,
                "subMap": {}
            }
        ],
        "pageResult": {
            "limit": 3,
            "page": 1,
            "totalCount": 222,
            "totalPages": 74
        }
    }
}

返回参数说明:

名称 类型 备注
data APIPageList< BoDefPo > 业务对象定义对象

获取表信息

简述:

  • 获取表信息,不分页

请求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": [
            {
                "name": "act_ge_bytearray",
                "comment": "act_ge_bytearray",
                "columnList": [
                    {
                        "attrCode": "",
                        "name": "ID_",
                        "comment": "ID_",
                        "isPk": "Y",
                        "isFk": "N",
                        "isNull": "N",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 64,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "act_ge_bytearray",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "REV_",
                        "comment": "REV_",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "number",
                        "charLen": 0,
                        "decimalLen": 0,
                        "intLen": 10,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "act_ge_bytearray",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "NAME_",
                        "comment": "NAME_",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 255,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "act_ge_bytearray",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "DEPLOYMENT_ID_",
                        "comment": "DEPLOYMENT_ID_",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 64,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "act_ge_bytearray",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "BYTES_",
                        "comment": "BYTES_",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "clob",
                        "charLen": 65535,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "act_ge_bytearray",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "GENERATED_",
                        "comment": "GENERATED_",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "number",
                        "charLen": 0,
                        "decimalLen": 0,
                        "intLen": 3,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "act_ge_bytearray",
                        "label": null,
                        "index": null,
                        "format": null
                    }
                ],
                "primayKey": [
                    {
                        "attrCode": "",
                        "name": "ID_",
                        "comment": "ID_",
                        "isPk": "Y",
                        "isFk": "N",
                        "isNull": "N",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 64,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "act_ge_bytearray",
                        "label": null,
                        "index": null,
                        "format": null
                    }
                ]
            }
        ],
        "pageResult": null
    }
}

返回参数说明:

名称 类型 备注
data APIPageList< Table > 表对象信息

业务对象定义列表

简述:

  • 业务对象定义列表

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefIds String[] 业务对象定义Id数组
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/queryBoDefByIds?boDefIds=654665041257168896

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": [
        {
            "pk": "id",
            "name": "主1",
            "ip": null,
            "createBy": "654621442352087040",
            "createTime": "2019-12-12 11:31:30",
            "updateBy": null,
            "updateTime": null,
            "tenantId": null,
            "dataStatus": null,
            "dbtype": null,
            "id": "654665041257168896",
            "code": "z1",
            "desc": "",
            "dataFormat": "json",
            "version": 9,
            "isMain": "Y",
            "boType": "object",
            "isCreateTable": "N",
            "status": "actived",
            "state": "exist",
            "dsAlias": "",
            "typeId": "",
            "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
            "saveType": "SAVE",
            "versionCount": 1,
            "isComb": "N",
            "tblName": null,
            "dsName": null,
            "parentId": null,
            "fk": null,
            "fromAttr": null,
            "relation": null,
            "path": null,
            "attrList": [],
            "commonAttrList": [],
            "fkRelAttribute": null,
            "subDefList": [],
            "boDefRelList": [],
            "data": null,
            "pkAttr": null,
            "fkAttr": null,
            "subMap": {}
        }
    ]
}

返回参数说明:

名称 类型 备注
data List< BoDefPo > 业务对象定义对象

根据对象编码查询业务对象定义列表数据

简述:

  • 根据对象编码查询业务对象定义列表数据

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

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

请求参数示例:

{
    "parameters": [
        {
            "key": "code",
            "value": "z1"
        }
    ],
    "requestPage": {
        "pageNo": 1,
        "limit": 3
    },
    "sorts": []
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "dataResult": [
            {
                "pk": "id",
                "name": "主1",
                "ip": null,
                "createBy": "654621442352087040",
                "createTime": "2019-12-12 11:31:30",
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654646507403739136",
                "code": "z1",
                "desc": "",
                "dataFormat": "json",
                "version": 1,
                "isMain": "N",
                "boType": "object",
                "isCreateTable": "Y",
                "status": "actived",
                "state": "exist",
                "dsAlias": "",
                "typeId": "",
                "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
                "saveType": "SAVE",
                "versionCount": 1,
                "isComb": "N",
                "tblName": null,
                "dsName": null,
                "parentId": null,
                "fk": null,
                "fromAttr": null,
                "relation": null,
                "path": null,
                "attrList": [],
                "commonAttrList": [],
                "fkRelAttribute": null,
                "subDefList": [],
                "boDefRelList": [],
                "data": null,
                "pkAttr": null,
                "fkAttr": null,
                "subMap": {}
            },
            {
                "pk": "id",
                "name": "主1",
                "ip": null,
                "createBy": "654621442352087040",
                "createTime": "2019-12-12 11:31:30",
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654646824295989248",
                "code": "z1",
                "desc": "",
                "dataFormat": "json",
                "version": 2,
                "isMain": "N",
                "boType": "object",
                "isCreateTable": "N",
                "status": "actived",
                "state": "exist",
                "dsAlias": "",
                "typeId": "",
                "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
                "saveType": "SAVE",
                "versionCount": 1,
                "isComb": "N",
                "tblName": null,
                "dsName": null,
                "parentId": null,
                "fk": null,
                "fromAttr": null,
                "relation": null,
                "path": null,
                "attrList": [],
                "commonAttrList": [],
                "fkRelAttribute": null,
                "subDefList": [],
                "boDefRelList": [],
                "data": null,
                "pkAttr": null,
                "fkAttr": null,
                "subMap": {}
            },
            {
                "pk": "id",
                "name": "主1",
                "ip": null,
                "createBy": "654621442352087040",
                "createTime": "2019-12-12 11:31:30",
                "updateBy": null,
                "updateTime": null,
                "tenantId": null,
                "dataStatus": null,
                "dbtype": null,
                "id": "654651009372520448",
                "code": "z1",
                "desc": "",
                "dataFormat": "json",
                "version": 3,
                "isMain": "N",
                "boType": "object",
                "isCreateTable": "N",
                "status": "actived",
                "state": "exist",
                "dsAlias": "",
                "typeId": "",
                "options": "{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"}",
                "saveType": "SAVE",
                "versionCount": 1,
                "isComb": "N",
                "tblName": null,
                "dsName": null,
                "parentId": null,
                "fk": null,
                "fromAttr": null,
                "relation": null,
                "path": null,
                "attrList": [],
                "commonAttrList": [],
                "fkRelAttribute": null,
                "subDefList": [],
                "boDefRelList": [],
                "data": null,
                "pkAttr": null,
                "fkAttr": null,
                "subMap": {}
            }
        ],
        "pageResult": {
            "limit": 3,
            "page": 1,
            "totalCount": 9,
            "totalPages": 3
        }
    }
}

返回参数说明:

名称 类型 备注
data APIPageList< BoDefPo > 业务对象定义对象

获取表信息

简述:

  • 获取表信息,不分页

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/queryTable?dsAlias=dataSource_default&tableName=t_zbsykj

返回示例:

{
    "state": 200,
    "request": null,
    "message": "",
    "cause": "",
    "variables": {},
    "data": {
        "dataResult": [
            {
                "name": "t_zbsykj",
                "comment": "主表所有控件",
                "columnList": [
                    {
                        "attrCode": "",
                        "name": "id_",
                        "comment": "主键",
                        "isPk": "Y",
                        "isFk": "N",
                        "isNull": "N",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 64,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "tenant_id_",
                        "comment": "租户ID",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 64,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "ip_",
                        "comment": "IP地址",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 15,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "create_by_",
                        "comment": "创建人",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 64,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "create_time_",
                        "comment": "创建时间",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "date",
                        "charLen": 0,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "update_by_",
                        "comment": "更新人",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 64,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "update_time_",
                        "comment": "更新时间",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "date",
                        "charLen": 0,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "dan_xing_wen_ben_",
                        "comment": "单行文本",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 200,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "duo_xing_wen_ben_",
                        "comment": "多行文本",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "clob",
                        "charLen": 65535,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "shu_zi_",
                        "comment": "数字",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "number",
                        "charLen": 0,
                        "decimalLen": 0,
                        "intLen": 20,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "dan_xuan_",
                        "comment": "单选",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 200,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "duo_xuan_",
                        "comment": "多选",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 200,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "xia_la_kuang_",
                        "comment": "下拉框",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 200,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "ri_qi_",
                        "comment": "日期",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "date",
                        "charLen": 0,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "zi_dong_bian_hao_",
                        "comment": "自动编号",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 200,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "xuan_ze_qi_",
                        "comment": "选择器",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 200,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "di_zhi_",
                        "comment": "地址",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 200,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "shu_ju_zi_dian_",
                        "comment": "数据字典",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 200,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "shang_chuan_fu_jian_",
                        "comment": "上传附件",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 2000,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "qian_ming_",
                        "comment": "签名",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "clob",
                        "charLen": 65535,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "fu_wen_ben_",
                        "comment": "富文本",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "clob",
                        "charLen": 65535,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "guan_lian_shu_ju_",
                        "comment": "关联数据",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 200,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    },
                    {
                        "attrCode": "",
                        "name": "zi_ding_yi_dui_hua_kuang_",
                        "comment": "自定义对话框",
                        "isPk": "N",
                        "isFk": "N",
                        "isNull": "Y",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 200,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    }
                ],
                "primayKey": [
                    {
                        "attrCode": "",
                        "name": "id_",
                        "comment": "主键",
                        "isPk": "Y",
                        "isFk": "N",
                        "isNull": "N",
                        "updateNull": false,
                        "skip": false,
                        "columnType": "varchar",
                        "charLen": 64,
                        "decimalLen": 0,
                        "intLen": 0,
                        "fkRefTable": "",
                        "fkRefColumn": "",
                        "defaultValue": null,
                        "tableName": "t_zbsykj",
                        "label": null,
                        "index": null,
                        "format": null
                    }
                ]
            }
        ],
        "pageResult": null
    }
}

返回参数说明:

名称 类型 备注
data APIPageList< Table > 表对象信息

批量删除业务对象定义

简述:

  • 批量删除业务对象定义

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefIds String[] 业务对象定义Id数组
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/remove?boDefIds=674684001163673600&rmType=all&是否清除=false

返回示例:

{
    "state": 200,
    "request": null,
    "message": "删除业务对象定义成功!",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

保存业务对象信息

简述:

  • 保存业务对象信息

请求URL:

请求方式:

  • POST

请求参数:

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

暂无

  • Body:

BoDefRequestVo 对象信息

名称 类型 是否必须 默认值 备注
saveType String 保存类型,可选值:save/deploy
boDefs String 业务对象数据

请求参数示例:

{
    "boDefs": "[{\"name\":\"tests\",\"code\":\"tests\",\"boType\":\"object\",\"dsName\":\"\",\"dsAlias\":\"\",\"tblName\":\"\",\"state\":\"new\",\"status\":\"\",\"dataFormat\":\"json\",\"pk\":\"id\",\"id\":\"58211e82-2a65-4c48-a0e8-f40476139741\",\"fk\":\"id\",\"fromAttr\":null,\"relation\":\"one2many\",\"desc\":\"\",\"options\":{\"struType\":\"list\",\"idKey\":\"id\",\"pIdKey\":\"id\",\"key\":\"id\"},\"isMain\":\"Y\",\"isMaster\":\"Y\",\"attrs\":[{\"id\":\"3a8286ac-8d7e-45dd-9e39-6f84328f45c5\",\"name\":\"主键\",\"code\":\"id\",\"fieldName\":\"ID_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"4bfceeb4-0715-44c7-afb8-39a0b5eb19df\",\"name\":\"租户ID\",\"code\":\"tenantId\",\"fieldName\":\"TENANT_ID_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"9016c8eb-1a6c-4919-97f0-f7777c593426\",\"name\":\"IP地址\",\"code\":\"ip\",\"fieldName\":\"IP_\",\"dataType\":\"varchar\",\"attrLength\":15,\"precision\":0,\"format\":\"\"},{\"id\":\"76c2486d-8331-4dbc-972b-6cd725ad5421\",\"name\":\"创建人\",\"code\":\"createBy\",\"fieldName\":\"CREATE_BY_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"2f380048-cc22-443d-a7dc-20f7efbb6e89\",\"name\":\"创建时间\",\"code\":\"createTime\",\"fieldName\":\"CREATE_TIME_\",\"dataType\":\"date\",\"attrLength\":0,\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\"},{\"id\":\"536bcc9d-0548-45e3-ac43-687cf55da7d1\",\"name\":\"更新人\",\"code\":\"updateBy\",\"fieldName\":\"UPDATE_BY_\",\"dataType\":\"varchar\",\"attrLength\":64,\"precision\":0,\"format\":\"\"},{\"id\":\"0e51260e-159e-46d4-93dd-7d9692861300\",\"name\":\"更新时间\",\"code\":\"updateTime\",\"fieldName\":\"UPDATE_TIME_\",\"dataType\":\"date\",\"attrLength\":0,\"precision\":0,\"format\":\"yyyy-MM-dd HH:mm:ss\"}],\"edit\":true,\"typeId\":\"\"}]",
    "saveType": "save"
}

返回示例:

{
    "state": 200,
    "request": null,
    "message": "保存业务对象定义成功",
    "cause": "",
    "variables": {
        "bodefId": "674693712973922304"
    },
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

设置分类

简述:

  • 设置分类

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefIds String[] 业务对象定义Id数组
typeId String 分类类型Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/setCategory?boDefIds=674218040128176128&typeId=object

返回示例:

{
    "state": 200,
    "request": null,
    "message": "设置分类成功!",
    "cause": "",
    "variables": {},
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

设置主版本

简述:

  • 设置主版本

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/setMainVersion?boDefId=668502416680812544

返回示例:

{
    "state": 200,
    "request": null,
    "message": "设置主版成功",
    "cause": "",
    "variables": {
        "boDefId": "668502416680812544"
    },
    "data": null
}

返回参数说明:

名称 类型 备注
data Void

同步外部数据表结构

简述:

  • 同步外部数据表结构

请求URL:

请求方式:

  • POST

请求参数:

  • Headers:
名称 类型 是否必须 默认值 备注 其他信息
X-Authorization-access_token String 系统令牌
  • Query:
名称 类型 是否必须 默认值 备注 其他信息
boDefId String 业务对象定义Id
  • Body:

暂无

请求参数示例:

http://192.168.3.230:15100/ibps/business/v3/bo/def/synBoTable?boDefId=664757718682173440

返回示例:

{
    "state": 200,
    "request": null,
    "message": "同步外部数据表结构成功!",
    "cause": "",
    "variables": {},
    "data": true
}

返回参数说明:

名称 类型 备注
data Boolean

备注