代码拉取完成,页面将自动刷新
{
"modules": [
{
"name": "purview",
"chnname": "权限",
"entities": [
{
"title": "postgirl",
"fields": [
{
"name": "user_name",
"type": "ShortString",
"remark": "用户名",
"chnname": "用户名"
},
{
"name": "user_id",
"type": "Integer",
"remark": "用户编号",
"chnname": "用户编号",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": "1001"
},
{
"name": "create_date",
"type": "DateTime",
"remark": "",
"chnname": "创建时间",
"uiHint": "DatePicker"
},
{
"name": "pass_word",
"type": "ShortString",
"remark": "",
"chnname": "密码"
},
{
"name": "update_date",
"type": "DateTime",
"remark": "",
"chnname": "更新时间",
"uiHint": "DatePicker"
},
{
"name": "enabled",
"type": "IdOrKey",
"remark": "0表示未启用,1表示启用",
"chnname": "账户是否启用"
},
{
"name": "account_expired",
"type": "IdOrKey",
"remark": "0表示过期,1表示未过期",
"chnname": "账户是否过期"
},
{
"name": "locked",
"type": "IdOrKey",
"remark": "0表示锁定,1表示未锁定",
"chnname": "账户是否锁定"
},
{
"name": "credentials_expired",
"type": "IdOrKey",
"remark": "0表示过期,1表示未过期",
"chnname": "密码是否过期"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户表",
"remark": "用户表,保存所有的用户信息"
},
{
"title": "role",
"fields": [
{
"name": "role_id",
"type": "Integer",
"remark": "",
"chnname": "角色id",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "role_name",
"type": "DefaultString",
"remark": "",
"chnname": "角色名"
},
{
"name": "role_name_zh",
"type": "DefaultString",
"remark": "",
"chnname": "角色中文名"
},
{
"name": "role_describe",
"type": "ShortString",
"remark": "",
"chnname": "角色描述"
},
{
"name": "role_parent_id",
"type": "Integer",
"remark": "",
"chnname": "父角色id"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "角色",
"remark": "用于记录用户对应的角色"
},
{
"title": "power",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "power_id",
"type": "Integer",
"remark": "",
"chnname": "权限id",
"pk": false,
"notNull": false
},
{
"name": "menu_id",
"type": "Integer",
"remark": "",
"chnname": "菜单id"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "权限表",
"remark": "用于记录权限"
},
{
"title": "role_power",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "编号",
"pk": true,
"notNull": true
},
{
"name": "power_id",
"type": "Integer",
"remark": "",
"chnname": "权限id"
},
{
"name": "role_id",
"type": "Integer",
"remark": "",
"chnname": "角色id"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "角色和权限映射表"
},
{
"title": "menu",
"fields": [
{
"name": "menu_id",
"type": "Integer",
"remark": "",
"chnname": "编号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "url",
"type": "ShortString",
"remark": "",
"chnname": "url"
},
{
"name": "path",
"type": "ShortString",
"remark": "",
"chnname": "路径"
},
{
"name": "name",
"type": "DefaultString",
"remark": "",
"chnname": "菜单名"
},
{
"name": "component",
"type": "Name",
"remark": "",
"chnname": "vue组件名"
},
{
"name": "parent_id",
"type": "Integer",
"remark": "",
"chnname": "父菜单id"
},
{
"name": "iconCls",
"type": "Name",
"remark": "",
"chnname": "图标class"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "扩展字段1"
},
{
"name": "ext2",
"type": "ShortString",
"remark": "",
"chnname": "扩展字段2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "扩展字段3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "菜单表"
},
{
"title": "postgirl_dtl",
"fields": [
{
"name": "user_id",
"type": "Integer",
"remark": "",
"chnname": "用户id",
"pk": true,
"notNull": true
},
{
"name": "real_name",
"type": "Name",
"remark": "",
"chnname": "真实姓名"
},
{
"name": "phone_id",
"type": "BigInt",
"remark": "",
"chnname": "手机号码"
},
{
"name": "email",
"type": "Name",
"remark": "",
"chnname": "邮箱"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "扩展字段1"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户信息明细表"
},
{
"title": "user_role",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "编号",
"pk": true,
"notNull": true
},
{
"name": "user_id",
"type": "Integer",
"remark": "",
"chnname": "用户编号"
},
{
"name": "role_id",
"type": "Integer",
"remark": "",
"chnname": "角色编号"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户角色映射表"
},
{
"title": "postgirl_log",
"fields": [
{
"name": "so_nbr",
"type": "BigInt",
"remark": "",
"chnname": "流水号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "login_time",
"type": "DateTime",
"remark": "",
"chnname": "登录时间"
},
{
"name": "user_name",
"type": "Name",
"remark": "",
"chnname": "登录用户名"
},
{
"name": "client_address",
"type": "IdOrKey",
"remark": "",
"chnname": "IP地址"
},
{
"name": "client_name",
"type": "Name",
"remark": "",
"chnname": "计算机名"
},
{
"name": "state",
"type": "IdOrKey",
"remark": "",
"chnname": "成功标识"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "用户登录记录表"
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "postgirl",
"moduleName": false,
"x": 150,
"y": 180,
"id": "a4bc4b87"
},
{
"shape": "table",
"title": "role",
"moduleName": false,
"x": 660,
"y": 710,
"id": "da3568ee"
},
{
"shape": "table",
"title": "role_power",
"moduleName": false,
"x": 970,
"y": 430,
"id": "b000f4bb"
},
{
"shape": "table",
"title": "power",
"moduleName": false,
"x": 670,
"y": 100,
"id": "4dc88db5"
},
{
"shape": "table",
"title": "postgirl_dtl",
"moduleName": false,
"x": 70,
"y": 520,
"id": "8444187c"
},
{
"shape": "table",
"title": "menu",
"moduleName": false,
"x": 976.4376383177025,
"y": 13.137818907558398,
"id": "8b5790af"
}
],
"edges": [
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "da3568ee",
"target": "b000f4bb",
"id": "045d6d8f",
"controlPoints": [
{
"x": 806.1201171875,
"y": 702.4166666666666
},
{
"x": 871.9697265625,
"y": 462.8611111111111
}
],
"sourceAnchor": 1,
"targetAnchor": 4
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "b000f4bb",
"target": "4dc88db5",
"id": "1b983b21",
"controlPoints": [
{
"x": 871.9697265625,
"y": 442.6388888888889
},
{
"x": 562.6357421875,
"y": 112.63888888888889
}
],
"sourceAnchor": 2,
"targetAnchor": 2
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "a4bc4b87",
"target": "8444187c",
"id": "5a195043",
"controlPoints": [
{
"x": -16.126953125,
"y": 132.27380952380952
},
{
"x": -54.44921875,
"y": 492.28846153846155
}
],
"sourceAnchor": 2,
"targetAnchor": 0
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "4dc88db5",
"target": "8b5790af",
"id": "8d2ab7d9",
"controlPoints": [
{
"x": 777.3642578125,
"y": 92.41666666666667
},
{
"x": 844.6436930052025,
"y": -44.66481267138897
}
],
"sourceAnchor": 1,
"targetAnchor": 0
}
]
},
"associations": [
{
"relation": "0,n:1",
"from": {
"entity": "role",
"field": "role_id"
},
"to": {
"entity": "role_power",
"field": "role_id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "role_power",
"field": "power_id"
},
"to": {
"entity": "power",
"field": "power_id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "postgirl",
"field": "user_id"
},
"to": {
"entity": "postgirl_dtl",
"field": "user_id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "power",
"field": "id"
},
"to": {
"entity": "menu",
"field": "menu_id"
}
}
]
},
{
"name": "business",
"chnname": "业务",
"entities": [
{
"title": "test_case",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "编号",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": "2001"
},
{
"name": "case_name",
"type": "ShortString",
"remark": "",
"chnname": "案例名称"
},
{
"name": "user_id",
"type": "Integer",
"remark": "",
"chnname": "用户编号"
},
{
"name": "request",
"type": "LongText",
"remark": "",
"chnname": "请求入参"
},
{
"name": "expected_response",
"type": "LongText",
"remark": "",
"chnname": "预期出参"
},
{
"name": "create_date",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "last_update_date",
"type": "DateTime",
"remark": "",
"chnname": "最后一次更新时间"
},
{
"name": "busi_code",
"type": "ShortString",
"remark": "",
"chnname": "接口编号"
},
{
"name": "result_response",
"type": "LongText",
"remark": "",
"chnname": "实际出参"
},
{
"name": "result",
"type": "LongText",
"remark": "",
"chnname": "比对结果"
},
{
"name": "result_type",
"type": "Integer",
"remark": "0:成功1:失败",
"chnname": "对比结果标识"
},
{
"name": "url",
"type": "MiddleString",
"remark": "",
"chnname": "接口请求地址"
},
{
"name": "test_result_file_name",
"type": "BigInt",
"remark": "",
"chnname": "测试报告文件名"
},
{
"name": "ignore_fields",
"type": "ShortString",
"remark": "",
"chnname": "忽略字段"
},
{
"name": "case_name_zh",
"type": "ShortString",
"remark": "",
"chnname": "案例中文名"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "测试案例表"
},
{
"title": "file_upload_busi",
"fields": [
{
"name": "file_name",
"type": "DefaultString",
"remark": "",
"chnname": "文件名"
},
{
"name": "user_name",
"type": "DefaultString",
"remark": "",
"chnname": "上传人"
},
{
"name": "create_date",
"type": "DateTime",
"remark": "",
"chnname": "创建时间",
"uiHint": "DatePicker"
},
{
"name": "so_nbr",
"type": "BigInt",
"remark": "",
"chnname": "流水编号",
"pk": true,
"notNull": true,
"autoIncrement": true,
"defaultValue": "10000"
},
{
"name": "type",
"type": "Integer",
"remark": "0:未处理,1,处理成功,2、处理失败",
"chnname": "文件状态"
},
{
"name": "ext1",
"type": "ShortString",
"remark": "",
"chnname": "扩展字段1"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "文件上传记录表"
},
{
"title": "task_job",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "user_id",
"type": "Integer",
"remark": "",
"chnname": "用户id"
},
{
"name": "job_name",
"type": "Name",
"remark": "",
"chnname": "任务名称"
},
{
"name": "job_class",
"type": "Name",
"remark": "",
"chnname": "类路径"
},
{
"name": "create_name",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "cron",
"type": "IdOrKey",
"remark": "true为打开,false为关闭",
"chnname": "表达式"
},
{
"name": "job_switch",
"type": "IdOrKey",
"remark": "",
"chnname": "job开关"
},
{
"name": "content",
"type": "IdOrKey",
"remark": "",
"chnname": "批量内容"
},
{
"name": "type",
"type": "Integer",
"remark": "",
"chnname": "处理标识"
},
{
"name": "schedule",
"type": "Integer",
"remark": "",
"chnname": "处理进度"
},
{
"name": "job_type",
"type": "IdOrKey",
"remark": "分为TestCaseJob,SingleJob",
"chnname": "任务类型"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "tesk_job"
},
{
"title": "database_dtl",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "connection_name",
"type": "ShortString",
"remark": "",
"chnname": "数据库连接名称"
},
{
"name": "ip",
"type": "IdOrKey",
"remark": "",
"chnname": "数据库ip"
},
{
"name": "port",
"type": "Integer",
"remark": "",
"chnname": "数据库端口号"
},
{
"name": "type",
"type": "IdOrKey",
"remark": "",
"chnname": "数据库类型"
},
{
"name": "connection_mode",
"type": "IdOrKey",
"remark": "",
"chnname": "连接方式"
},
{
"name": "database_name",
"type": "IdOrKey",
"remark": "",
"chnname": "数据库名称"
},
{
"name": "username",
"type": "IdOrKey",
"remark": "",
"chnname": "数据库用户名"
},
{
"name": "password",
"type": "Name",
"remark": "",
"chnname": "数据库密码"
},
{
"name": "create_date",
"type": "DateTime",
"remark": "",
"chnname": "创建日期",
"uiHint": "DatePicker"
},
{
"name": "update_date",
"type": "DateTime",
"remark": "",
"chnname": "最后修改时间",
"uiHint": "DatePicker"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "数据库连接信息表"
},
{
"title": "request_record",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "user_id",
"type": "Integer",
"remark": "",
"chnname": "用户id",
"pk": false,
"notNull": false
},
{
"name": "url",
"type": "LongKey",
"remark": "",
"chnname": "请求路径"
},
{
"name": "request",
"type": "MiddleString",
"remark": "",
"chnname": "请求参数"
},
{
"name": "type",
"type": "IdOrKey",
"remark": "",
"chnname": "请求类型"
},
{
"name": "request_date",
"type": "DateTime",
"remark": "",
"chnname": "请求时间",
"uiHint": "DatePicker"
},
{
"name": "method",
"type": "DefaultString",
"remark": "",
"chnname": "入参方式"
},
{
"name": "ext1",
"type": "Name",
"remark": "",
"chnname": "ext1"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "接口测试请求记录"
},
{
"title": "know_ledge_base_busi",
"fields": [
{
"name": "so_nbr",
"type": "Integer",
"remark": "",
"chnname": "so_nbr"
},
{
"name": "author",
"type": "Name",
"remark": "",
"chnname": "作者"
},
{
"name": "label",
"type": "MiddleString",
"remark": "",
"chnname": "内容标签"
},
{
"name": "keyword",
"type": "MiddleString",
"remark": "",
"chnname": "关键字"
},
{
"name": "abstract_sentence",
"type": "MiddleString",
"remark": "",
"chnname": "摘要"
},
{
"name": "updated_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "file_type",
"type": "IdOrKey",
"remark": "",
"chnname": "文件类型"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
},
{
"name": "ext4",
"type": "DefaultString",
"remark": "",
"chnname": "ext4"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "知识库记录表"
},
{
"title": "hosts_address",
"fields": [
{
"name": "id",
"type": "BigInt",
"remark": "",
"chnname": "编号"
},
{
"name": "envi_name",
"type": "MiddleString",
"remark": "",
"chnname": "环境名称"
},
{
"name": "host_address",
"type": "MiddleString",
"remark": "",
"chnname": "环境地址"
},
{
"name": "host_ip",
"type": "IdOrKey",
"remark": "",
"chnname": "主机ip"
},
{
"name": "updated_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间",
"uiHint": "DatePicker"
},
{
"name": "ext1",
"type": "ShortString",
"remark": "关联一个默认数据源",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "MiddleString",
"remark": "",
"chnname": "ext2"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "测试地址"
},
{
"title": "notify_message",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "user_id",
"type": "Integer",
"remark": "",
"chnname": "用户ID"
},
{
"name": "message_type",
"type": "DefaultString",
"remark": "",
"chnname": "消息类型"
},
{
"name": "theme",
"type": "LongString",
"remark": "",
"chnname": "主题"
},
{
"name": "type",
"type": "DefaultString",
"remark": "",
"chnname": "状态"
},
{
"name": "create_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间",
"uiHint": "DatePicker"
},
{
"name": "content",
"type": "LongString",
"remark": "",
"chnname": "内容"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "ShortString",
"remark": "",
"chnname": "ext2"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "消息通知表"
},
{
"title": "task_job_report",
"fields": [
{
"name": "id",
"type": "BigInt",
"remark": "",
"chnname": "流水号",
"pk": true,
"notNull": true
},
{
"name": "file_name",
"type": "LongKey",
"remark": "",
"chnname": "报告名称"
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "ext1",
"type": "LongKey",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "LongKey",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "ShortString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "定时任务测试报告"
},
{
"title": "auto_test_case_template",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水号",
"pk": true,
"notNull": true
},
{
"name": "template_name",
"type": "Name",
"remark": "",
"chnname": "模板名称"
},
{
"name": "template",
"type": "LongString",
"remark": "",
"chnname": "模板"
},
{
"name": "firsthand_request",
"type": "LongString",
"remark": "",
"chnname": "原始入参报文"
},
{
"name": "firsthand_response",
"type": "LongString",
"remark": "",
"chnname": "原始出参报文"
},
{
"name": "create_time",
"type": "DateTime",
"remark": "",
"chnname": "修改时间"
},
{
"name": "public_template_id",
"type": "Integer",
"remark": "",
"chnname": "公共模板id"
},
{
"name": "untitled",
"type": "DefaultString",
"remark": "关联接口编号,通过该接口编号关联接口语句",
"chnname": "ext1"
},
{
"name": "untitled1",
"type": "Name",
"remark": "",
"chnname": "ext2"
},
{
"name": "untitled2",
"type": "LongKey",
"remark": "",
"chnname": "ext3"
},
{
"name": "untitled3",
"type": "DefaultString",
"remark": "",
"chnname": "ext4"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "自动测试案例模板"
},
{
"title": "auto_public_template",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水编号",
"pk": true,
"notNull": true
},
{
"name": "template_name",
"type": "LongKey",
"remark": "",
"chnname": "模板名称"
},
{
"name": "template",
"type": "MiddleString",
"remark": "",
"chnname": "模板"
},
{
"name": "update_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "ext1",
"type": "IdOrKey",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "ShortString",
"remark": "",
"chnname": "ext2"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "测试案例公共模板"
},
{
"title": "auto_test_case_params",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水号",
"pk": true,
"notNull": true
},
{
"name": "test_case_id",
"type": "Integer",
"remark": "",
"chnname": "案例编号"
},
{
"name": "param_name",
"type": "IdOrKey",
"remark": "多个参数使用英文逗号分隔,",
"chnname": "参数名"
},
{
"name": "param",
"type": "MiddleString",
"remark": "",
"chnname": "参数"
},
{
"name": "updated_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "参数类型,code,sql、interface",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "ShortString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "自动测试案例参数表"
},
{
"title": "auto_test_case_check",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水号",
"pk": true,
"notNull": true
},
{
"name": "testcase_id",
"type": "IdOrKey",
"remark": "",
"chnname": "案例id"
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "check_point",
"type": "MiddleString",
"remark": "",
"chnname": "检查点"
},
{
"name": "check_point_name",
"type": "DefaultString",
"remark": "",
"chnname": "检查点名称"
},
{
"name": "result",
"type": "LongKey",
"remark": "",
"chnname": "结果"
},
{
"name": "assertion_type",
"type": "DefaultString",
"remark": "",
"chnname": "断言类型"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "ShortString",
"remark": "",
"chnname": "ext2"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "检查点类型"
},
{
"title": "auto_public_params",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"pk": true,
"notNull": true
},
{
"name": "test_case_id",
"type": "Integer",
"remark": "",
"chnname": "test_case_id"
},
{
"name": "param",
"type": "MiddleString",
"remark": "",
"chnname": "param"
},
{
"name": "param_name",
"type": "Name",
"remark": "",
"chnname": "param_name"
},
{
"name": "updated_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "ext1",
"type": "Name",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "IdOrKey",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "IdOrKey",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "公共入参参数表"
},
{
"title": "auto_test_case",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "编号",
"pk": true,
"notNull": true
},
{
"name": "user_id",
"type": "Integer",
"remark": "",
"chnname": "用户编号"
},
{
"name": "case_name",
"type": "IdOrKey",
"remark": "",
"chnname": "案例名称"
},
{
"name": "public_template_id",
"type": "Integer",
"remark": "",
"chnname": "公共入参模板id"
},
{
"name": "test_case_template_id",
"type": "Integer",
"remark": "",
"chnname": "测试案例模板id"
},
{
"name": "update_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "0成功,1失败",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "测试报告名称",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "ShortString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "自动化案例表"
},
{
"title": "auto_test_case_params_code",
"fields": [
{
"name": "param_id",
"type": "Integer",
"remark": "",
"chnname": "参数表id",
"pk": true,
"notNull": true,
"autoIncrement": false
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "code_type",
"type": "IdOrKey",
"remark": "",
"chnname": "数据库连接信息"
},
{
"name": "code",
"type": "LongText",
"remark": "java,cpp,shell",
"chnname": "代码"
},
{
"name": "class_name",
"type": "DefaultString",
"remark": "",
"chnname": "类全名"
},
{
"name": "method_name",
"type": "DefaultString",
"remark": "",
"chnname": "方法名"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "自动化参数代码"
},
{
"title": "auto_test_case_params_sql",
"fields": [
{
"name": "param_id",
"type": "Integer",
"remark": "",
"chnname": "参数id",
"pk": true,
"notNull": true
},
{
"name": "sql_code",
"type": "LongString",
"remark": "",
"chnname": "sql语句"
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "data_base_id",
"type": "Integer",
"remark": "",
"chnname": "数据库连接id"
},
{
"name": "ext1",
"type": "IdOrKey",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "自动化参数sql"
},
{
"title": "auto_hosts_del",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "host_name",
"type": "LongKey",
"remark": "",
"chnname": "主机名称"
},
{
"name": "ip",
"type": "LongKey",
"remark": "",
"chnname": "ip地址"
},
{
"name": "user_name",
"type": "LongKey",
"remark": "",
"chnname": "用户名"
},
{
"name": "password",
"type": "LongKey",
"remark": "",
"chnname": "密码"
},
{
"name": "remark",
"type": "LongKey",
"remark": "",
"chnname": "备注"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "测试主机详细信息"
},
{
"title": "business_know_ledge_tree",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "name",
"type": "Name",
"remark": "",
"chnname": "业务名称"
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "describe",
"type": "LongString",
"remark": "",
"chnname": "业务描述"
},
{
"name": "parent_id",
"type": "Integer",
"remark": "",
"chnname": "父节点"
},
{
"name": "end_node",
"type": "DefaultString",
"remark": "",
"chnname": "标记是否为终结点"
},
{
"name": "link_node_id",
"type": "ShortString",
"remark": "",
"chnname": "关联节点(可添加多个)"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "业务图谱树"
},
{
"title": "test_case_params",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "param_name",
"type": "LongKey",
"remark": "",
"chnname": "参数名称"
},
{
"name": "param_value",
"type": "ShortString",
"remark": "",
"chnname": "参数值"
},
{
"name": "generate",
"type": "IdOrKey",
"remark": "",
"chnname": "是否程序生成"
},
{
"name": "generate_rule",
"type": "LongKey",
"remark": "",
"chnname": "生成规则"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "回归测试案例自定义参数"
},
{
"title": "auto_collect_test_case",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "busi_code",
"type": "ShortString",
"remark": "",
"chnname": "接口编号"
},
{
"name": "request",
"type": "LongText",
"remark": "",
"chnname": "入参"
},
{
"name": "response",
"type": "LongText",
"remark": "",
"chnname": "出参"
},
{
"name": "sync_time",
"type": "DateTime",
"remark": "",
"chnname": "同步时间"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "MiddleString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "自动录制接口案例"
},
{
"title": "auto_collect_test_case_sql",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "busi_code",
"type": "IdOrKey",
"remark": "",
"chnname": "业务编号"
},
{
"name": "run_time",
"type": "IdOrKey",
"remark": "",
"chnname": "执行时间"
},
{
"name": "run_sql",
"type": "MiddleString",
"remark": "",
"chnname": "sql"
},
{
"name": "sync_time",
"type": "DateTime",
"remark": "",
"chnname": "同步时间"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "自动沉淀接口相关sql"
},
{
"title": "auto_collect_method_params",
"fields": [
{
"name": "id",
"type": "BigInt",
"remark": "",
"chnname": "流水编号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "class_name",
"type": "LongKey",
"remark": "",
"chnname": "类名"
},
{
"name": "method_name",
"type": "LongKey",
"remark": "",
"chnname": "方法名"
},
{
"name": "request",
"type": "MEDIUMTEXT",
"remark": "",
"chnname": "请求入参"
},
{
"name": "request_hash",
"type": "IdOrKey",
"remark": "",
"chnname": "请求入参哈希值"
},
{
"name": "response",
"type": "MEDIUMTEXT",
"remark": "",
"chnname": "响应出参"
},
{
"name": "response_hash",
"type": "DefaultString",
"remark": "",
"chnname": "响应出参哈希值"
},
{
"name": "resource",
"type": "IdOrKey",
"remark": "",
"chnname": "录制源"
},
{
"name": "sync_time",
"type": "DateTime",
"remark": "",
"chnname": "同步时间"
},
{
"name": "status",
"type": "DefaultString",
"remark": "",
"chnname": "状态"
},
{
"name": "ext1",
"type": "Intro",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "LongKey",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "LongKey",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "自动录制接口底层方法出入参"
},
{
"title": "database_design",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"notNull": true,
"pk": true,
"autoIncrement": true
},
{
"name": "parent_id",
"type": "Integer",
"remark": "",
"chnname": "父节点"
},
{
"name": "name",
"type": "Name",
"remark": "",
"chnname": "节点名称"
},
{
"name": "user_id",
"type": "Integer",
"remark": "",
"chnname": "用户ID"
},
{
"name": "type",
"type": "IdOrKey",
"remark": "1:数据节点0:普通文件夹",
"chnname": "节点表示",
"notNull": true
},
{
"name": "ext1",
"type": "Name",
"remark": "",
"chnname": "ext1"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "数据建模"
},
{
"title": "database_design_dtl",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "id",
"pk": true,
"notNull": true,
"autoIncrement": false
},
{
"name": "table_name",
"type": "IdOrKey",
"remark": "",
"chnname": "表名"
},
{
"name": "logic",
"type": "Name",
"remark": "",
"chnname": "逻辑名"
},
{
"name": "field_info",
"type": "LongText",
"remark": "",
"chnname": "字段信息"
},
{
"name": "remark",
"type": "Intro",
"remark": "",
"chnname": "说明"
},
{
"name": "code_info",
"type": "LongText",
"remark": "",
"chnname": "代码信息"
},
{
"name": "index_info",
"type": "LongText",
"remark": "",
"chnname": "索引信息"
},
{
"name": "ext1",
"type": "ShortString",
"remark": "",
"chnname": "扩展字段1"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "数据建模详细信息",
"nameTemplate": "{code}[{name}]"
},
{
"title": "database_design_config",
"fields": [
{
"name": "id",
"type": "BigInt",
"remark": "",
"chnname": "配置编号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "type_name",
"type": "Name",
"remark": "",
"chnname": "类型名称"
},
{
"name": "type",
"type": "Name",
"remark": "",
"chnname": "类型"
},
{
"name": "ext1",
"type": "IdOrKey",
"remark": "",
"chnname": ""
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "配置"
},
{
"title": "database_design_conf_mapping",
"fields": [
{
"name": "type",
"type": "Name",
"remark": "",
"chnname": "代码",
"pk": false,
"notNull": false,
"autoIncrement": false
},
{
"name": "database_type",
"type": "Name",
"remark": "",
"chnname": "数据库类型"
},
{
"name": "fields_type",
"type": "Name",
"remark": "",
"chnname": "字段类型"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "数据模型字段类型映射表"
},
{
"title": "auto_ui_testcase",
"fields": [
{
"name": "flow_id",
"type": "BigInt",
"remark": "",
"chnname": "流程编号",
"pk": true,
"notNull": true
},
{
"name": "flow_name",
"type": "DefaultString",
"remark": "",
"chnname": "流程名称"
},
{
"name": "create_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "update_time",
"type": "DateTime",
"remark": "",
"chnname": "修改时间"
},
{
"name": "flow_cfg",
"type": "LongText",
"remark": "",
"chnname": "流程配置"
},
{
"name": "user_id",
"type": "BigInt",
"remark": "",
"chnname": "用户编号"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "扩展1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "扩展2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "扩展3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "UI自动化测试案例"
},
{
"title": "auto_record_palyback",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水号",
"autoIncrement": true,
"notNull": true
},
{
"name": "case_id",
"type": "Integer",
"remark": "",
"chnname": "案例编号",
"pk": true,
"notNull": true
},
{
"name": "method_req",
"type": "Intro",
"remark": "",
"chnname": "方法请求",
"pk": true,
"notNull": true
},
{
"name": "method_resp",
"type": "BLOB",
"remark": "",
"chnname": "方法响应"
},
{
"name": "dump_type",
"type": "IdOrKey",
"remark": "",
"chnname": "是否dum"
},
{
"name": "create_date",
"type": "DateTime",
"remark": "",
"chnname": "录制时间"
},
{
"name": "type",
"type": "IdOrKey",
"remark": "",
"chnname": "状态"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "扩展字段1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "扩展字段2"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "录制回放案例",
"remark": "录制时用于保存案例数据,回放时用于返回案例数据"
},
{
"title": "auto_test_case_check_sql",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水编号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "test_case_id",
"type": "Integer",
"remark": "",
"chnname": "测试案例编号"
},
{
"name": "run_sql",
"type": "Intro",
"remark": "",
"chnname": "sql语句"
},
{
"name": "created_date",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "so_date",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "检查点sql结果检查"
},
{
"title": "auto_test_case_params_regular",
"fields": [
{
"name": "param_id",
"type": "Integer",
"remark": "",
"chnname": "参数表id",
"pk": true,
"notNull": true,
"autoIncrement": false
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "expr",
"type": "LongText",
"remark": "正则表达式",
"chnname": "表达式"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "自动化参数正则表达式"
}
],
"graphCanvas": {
"nodes": [
{
"shape": "table",
"title": "auto_public_template",
"moduleName": false,
"x": -120,
"y": 100,
"id": "f71e243b"
},
{
"shape": "table",
"title": "auto_test_case",
"moduleName": false,
"x": 370,
"y": 400,
"id": "2948a3a9"
},
{
"shape": "table",
"title": "auto_test_case_check",
"moduleName": false,
"x": 980,
"y": 400,
"id": "0b2326a3"
},
{
"shape": "table",
"title": "auto_test_case_params",
"moduleName": false,
"x": 920,
"y": 700,
"id": "72b219fa"
},
{
"shape": "table",
"title": "auto_public_params",
"moduleName": false,
"x": 960,
"y": 110,
"id": "311ede86"
},
{
"shape": "table",
"title": "auto_test_case_template",
"moduleName": false,
"x": -60,
"y": 580,
"id": "b71651d7",
"size": [
238.71915567571205,
147.75955607148438
]
}
],
"edges": [
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "2948a3a9",
"target": "f71e243b",
"id": "53a3da84",
"controlPoints": [
{
"x": 200.5302734375,
"y": 382.4078947368421
},
{
"x": 16.3681640625,
"y": 62.25
}
],
"sourceAnchor": 6,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "0b2326a3",
"target": "2948a3a9",
"id": "b407be46",
"controlPoints": [
{
"x": 828.873046875,
"y": 352.2738095238095
},
{
"x": 539.4697265625,
"y": 342.1973684210526
}
],
"sourceAnchor": 2,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "72b219fa",
"target": "2948a3a9",
"id": "0c51213f",
"controlPoints": [
{
"x": 790.8779296875,
"y": 662.3026315789474
},
{
"x": 539.4697265625,
"y": 342.1973684210526
}
],
"sourceAnchor": 2,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "311ede86",
"target": "2948a3a9",
"id": "34e74449",
"controlPoints": [
{
"x": 819.525390625,
"y": 72.30263157894737
},
{
"x": 539.4697265625,
"y": 342.1973684210526
}
],
"sourceAnchor": 2,
"targetAnchor": 1
},
{
"shape": "erdRelation",
"relation": "0,n:1",
"source": "2948a3a9",
"target": "b71651d7",
"id": "1bc90fc2",
"controlPoints": [
{
"x": 200.5302734375,
"y": 402.5131578947369
},
{
"x": 89.462890625,
"y": 532.3277298812634
}
],
"sourceAnchor": 8,
"targetAnchor": 1
}
]
},
"associations": [
{
"relation": "0,n:1",
"from": {
"entity": "auto_test_case",
"field": "public_template_id"
},
"to": {
"entity": "auto_public_template",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "auto_test_case_check",
"field": "testcase_id"
},
"to": {
"entity": "auto_test_case",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "auto_test_case_params",
"field": "test_case_id"
},
"to": {
"entity": "auto_test_case",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "auto_public_params",
"field": "test_case_id"
},
"to": {
"entity": "auto_test_case",
"field": "id"
}
},
{
"relation": "0,n:1",
"from": {
"entity": "auto_test_case",
"field": "test_case_template_id"
},
"to": {
"entity": "auto_test_case_template",
"field": "id"
}
}
]
},
{
"name": "config",
"chnname": "配置",
"entities": [
{
"title": "sequence",
"fields": [
{
"name": "sequence_name",
"type": "DefaultString",
"remark": "",
"chnname": "序列名",
"pk": true,
"notNull": true
},
{
"name": "sequence_value",
"type": "BigInt",
"remark": "",
"chnname": "序列值"
},
{
"name": "create_date",
"type": "DateTime",
"remark": "",
"chnname": "创建时间",
"uiHint": "DatePicker"
},
{
"name": "update_date",
"type": "DateTime",
"remark": "",
"chnname": "更新时间",
"uiHint": "DatePicker"
},
{
"name": "init_limit",
"type": "BigInt",
"remark": "",
"chnname": "间隔跨度"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "扩展字段"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "全局序列表"
},
{
"title": "system_job",
"fields": [
{
"name": "job_id",
"type": "Integer",
"remark": "",
"chnname": "任务编号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "trigger_name",
"type": "Name",
"remark": "",
"chnname": "触发器名称"
},
{
"name": "cron_expression",
"type": "Name",
"remark": "",
"chnname": "cron表达式",
"notNull": true
},
{
"name": "job_name",
"type": "Name",
"remark": "",
"chnname": "任务名称",
"notNull": true
},
{
"name": "job_impl_class",
"type": "Name",
"remark": "",
"chnname": "任务类路径"
},
{
"name": "module_name",
"type": "Name",
"remark": "",
"chnname": "模块名称"
},
{
"name": "state",
"type": "Integer",
"remark": "",
"chnname": "状态"
},
{
"name": "job_param",
"type": "MiddleString",
"remark": "",
"chnname": "任务参数"
},
{
"name": "single_flag",
"type": "Integer",
"remark": "",
"chnname": "是否循环执行"
},
{
"name": "server_ip",
"type": "Name",
"remark": "",
"chnname": "服务"
},
{
"name": "job_desc",
"type": "Name",
"remark": "",
"chnname": "任务描述"
},
{
"name": "create_date",
"type": "DateTime",
"remark": "",
"chnname": "创建日期"
},
{
"name": "remarks",
"type": "Name",
"remark": "",
"chnname": "备注"
},
{
"name": "ext1",
"type": "Name",
"remark": "",
"chnname": ""
},
{
"name": "ext2",
"type": "Name",
"remark": "",
"chnname": ""
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "系统定时任务表"
},
{
"title": "system_job_log",
"fields": [
{
"name": "id",
"type": "BigInt",
"remark": "",
"chnname": "流水号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "job_id",
"type": "Integer",
"remark": "",
"chnname": "任务id",
"pk": false,
"notNull": true,
"autoIncrement": false
},
{
"name": "job_name",
"type": "Name",
"remark": "",
"chnname": "任务名称"
},
{
"name": "module_name",
"type": "Name",
"remark": "",
"chnname": "模块名称"
},
{
"name": "start_time",
"type": "DateTime",
"remark": "",
"chnname": "开始执行时间"
},
{
"name": "end_time",
"type": "DateTime",
"remark": "",
"chnname": "结束时间"
},
{
"name": "server_ip",
"type": "Name",
"remark": "",
"chnname": "服务器ip"
},
{
"name": "server_name",
"type": "Name",
"remark": "",
"chnname": "服务器name"
},
{
"name": "notes",
"type": "MiddleString",
"remark": "",
"chnname": "信息"
},
{
"name": "state",
"type": "IdOrKey",
"remark": "",
"chnname": "状态"
},
{
"name": "ext1",
"type": "Name",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "Name",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "Name",
"remark": "",
"chnname": "ext3"
},
{
"name": "job_result",
"type": "Name",
"remark": "",
"chnname": "任务结果"
}
],
"indexs": [
{
"name": "idx_job_id",
"isUnique": false,
"fields": [
"job_id"
]
}
],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "系统定时任务日志"
},
{
"title": "system_params",
"fields": [
{
"name": "id",
"type": "BigInt",
"remark": "",
"chnname": "id",
"autoIncrement": true,
"pk": true,
"notNull": true
},
{
"name": "param_name",
"type": "Name",
"remark": "",
"chnname": "参数名",
"pk": true,
"notNull": true
},
{
"name": "param_value",
"type": "LongText",
"remark": "",
"chnname": "参数值"
},
{
"name": "updated_by",
"type": "IdOrKey",
"remark": "",
"chnname": "创建时间"
},
{
"name": "ext1",
"type": "MiddleString",
"remark": "",
"chnname": "备注字段1"
},
{
"name": "ied",
"type": "DefaultString",
"remark": "",
"chnname": "启用标识"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "备注字段2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "备注字段3"
},
{
"name": "ext4",
"type": "DefaultString",
"remark": "",
"chnname": "备注字段4"
},
{
"name": "ext5",
"type": "DefaultString",
"remark": "",
"chnname": "备注字段5"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "系统参数表"
},
{
"title": "system_notice",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "编号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "content",
"type": "LongText",
"remark": "",
"chnname": "内容"
},
{
"name": "create_time",
"type": "DateTime",
"remark": "",
"chnname": "发布时间"
},
{
"name": "push_sts",
"type": "IdOrKey",
"remark": "",
"chnname": "推送标识"
},
{
"name": "valid_date",
"type": "DateTime",
"remark": "",
"chnname": "生效日期"
},
{
"name": "expire_data",
"type": "DateTime",
"remark": "",
"chnname": "失效日期"
},
{
"name": "ext3",
"type": "LongKey",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "LongKey",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "LongKey",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "系统公告"
},
{
"title": "system_partition_rule",
"fields": [
{
"name": "table_name",
"type": "Name",
"remark": "",
"chnname": "表名",
"pk": true,
"notNull": true
},
{
"name": "scheme_id",
"type": "Integer",
"remark": "",
"chnname": "关联分表规则"
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "type",
"type": "Integer",
"remark": "",
"chnname": "状态"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "表规则总表",
"remark": "记录表名和对应的分表规则ID关系"
},
{
"title": "system_partition_const_param",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水编号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "base_name",
"type": "Name",
"remark": "",
"chnname": "表名"
},
{
"name": "param_name",
"type": "Name",
"remark": "",
"chnname": "参数名称"
},
{
"name": "param_value",
"type": "Name",
"remark": "",
"chnname": "参数值"
},
{
"name": "param_comment",
"type": "Intro",
"remark": "",
"chnname": "备注信息"
},
{
"name": "ext1",
"type": "Name",
"remark": "",
"chnname": "ext1"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "分表规则常量参数表",
"remark": "记录的脚本中的参数和对应的常量(one param mapping one const)"
},
{
"title": "system_partition_scheme",
"fields": [
{
"name": "scheme_id",
"type": "Integer",
"remark": "",
"chnname": "编号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "lua_context",
"type": "LongText",
"remark": "",
"chnname": "lua脚本"
},
{
"name": "scheme_comment",
"type": "Intro",
"remark": "",
"chnname": "备注"
},
{
"name": "ext1",
"type": "IdOrKey",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "Name",
"remark": "",
"chnname": "ext2"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "分库规则脚本",
"remark": "记录lua脚本"
},
{
"title": "system_partition_logic_param",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水号",
"notNull": true,
"pk": true,
"autoIncrement": true
},
{
"name": "table_naem",
"type": "Name",
"remark": "",
"chnname": "表名"
},
{
"name": "param_name",
"type": "Name",
"remark": "",
"chnname": "参数名"
},
{
"name": "param_value",
"type": "LongText",
"remark": "",
"chnname": "参数值"
},
{
"name": "param_comment",
"type": "Intro",
"remark": "",
"chnname": "备注"
},
{
"name": "ext1",
"type": "Name",
"remark": "",
"chnname": "ext1"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "分表规则逻辑参数表",
"remark": "存放的是逻辑,一个参数对应一段逻辑(one param mapping one logic)。"
},
{
"title": "system_partition_relation",
"fields": [
{
"name": "id",
"type": "Integer",
"remark": "",
"chnname": "流水",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "table_name",
"type": "Name",
"remark": "",
"chnname": "表名"
},
{
"name": "param_name",
"type": "Name",
"remark": "",
"chnname": "参数名称"
},
{
"name": "op_type",
"type": "IdOrKey",
"remark": "",
"chnname": "操作类型"
},
{
"name": "relation",
"type": "IdOrKey",
"remark": "",
"chnname": "关联关系"
},
{
"name": "column_name",
"type": "IdOrKey",
"remark": "",
"chnname": "字段名"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "分表字段关系表",
"remark": "具体分表字段,例如按照bill_month分表"
},
{
"title": "system_var_cfg",
"fields": [
{
"name": "var_code",
"type": "DefaultString",
"remark": "",
"chnname": "变量标识",
"notNull": true,
"pk": true
},
{
"name": "var_name",
"type": "DefaultString",
"remark": "",
"chnname": "变量名称"
},
{
"name": "var_value",
"type": "MiddleString",
"remark": "",
"chnname": "变量值"
},
{
"name": "var_type",
"type": "DefaultString",
"remark": "",
"chnname": "变量类别"
},
{
"name": "update_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
},
{
"name": "status",
"type": "IdOrKey",
"remark": "",
"chnname": "状态"
},
{
"name": "untitled",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "untitled1",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "untitled2",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "系统变量表"
},
{
"title": "test_partition",
"fields": [
{
"name": "SO_NBR",
"type": "Integer",
"remark": "",
"chnname": "乐观锁",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "created_by",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "updated_by",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "updated_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "测试分表"
}
],
"graphCanvas": {
"nodes": [],
"edges": []
},
"associations": []
},
{
"name": "asiainfo",
"chnname": "",
"entities": [
{
"title": "AD.CA_INVOICE_AUTO_CUSTOMIZE",
"fields": [
{
"name": "SO_NBR",
"type": "BigInt",
"remark": "",
"chnname": "流水号",
"pk": true,
"notNull": true,
"autoIncrement": true
},
{
"name": "ACCT_ID",
"type": "BigInt",
"remark": "",
"chnname": "账户编号",
"pk": false,
"notNull": false
},
{
"name": "BILL_ID",
"type": "BigInt",
"remark": "",
"chnname": "计费号"
},
{
"name": "VALID_DATE",
"type": "DateTime",
"remark": "",
"chnname": "生效时间"
},
{
"name": "EXPIRE_DATE",
"type": "DateTime",
"remark": "",
"chnname": "失效时间"
},
{
"name": "STS",
"type": "DefaultString",
"remark": "0:失效 1:生效 2:用户主动取消",
"chnname": "状态"
},
{
"name": "PUSH_WAY",
"type": "DefaultString",
"remark": "1 推送(短信+邮件) 2 仅短信推送 3 仅邮件推送",
"chnname": "推送方式"
},
{
"name": "REMARK",
"type": "LongKey",
"remark": "",
"chnname": "备注"
},
{
"name": "ext1",
"type": "DefaultString",
"remark": "",
"chnname": "ext1"
},
{
"name": "ext2",
"type": "DefaultString",
"remark": "",
"chnname": "ext2"
},
{
"name": "ext3",
"type": "DefaultString",
"remark": "",
"chnname": "ext3"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "定制自动发票开具用户"
},
{
"title": "ZZSFP.INV_DATA_HANDLE",
"fields": [
{
"name": "revision",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "created_by",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "updated_by",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "updated_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
}
]
},
{
"title": "AD.PRODUCT_FUSE_DISPLAY",
"fields": [
{
"name": "product_offering_id",
"type": "BigInt",
"remark": "",
"chnname": "产品编号",
"pk": false,
"notNull": false
},
{
"name": "parent_offering_id",
"type": "BigInt",
"remark": "",
"chnname": "父产品编号"
},
{
"name": "discount_type",
"type": "IdOrKey",
"remark": "",
"chnname": "优惠标识"
},
{
"name": "valid_date",
"type": "DateTime",
"remark": "",
"chnname": "生效时间"
},
{
"name": "expired_date",
"type": "DateTime",
"remark": "",
"chnname": "失效时间"
},
{
"name": "aid",
"type": "BigInt",
"remark": "",
"chnname": "流水号",
"pk": true,
"notNull": true,
"autoIncrement": true
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "融合产品配置"
},
{
"title": "test_table",
"fields": [
{
"name": "revision",
"type": "Integer",
"remark": "",
"chnname": "乐观锁",
"pk": true,
"notNull": true
},
{
"name": "created_by",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人",
"pk": true,
"notNull": true
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间",
"pk": true,
"notNull": true
},
{
"name": "updated_by",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "updated_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
}
],
"indexs": [],
"headers": [
{
"fieldName": "chnname",
"relationNoShow": false
},
{
"fieldName": "name",
"relationNoShow": false
},
{
"fieldName": "type",
"relationNoShow": false
},
{
"fieldName": "dataType",
"relationNoShow": true
},
{
"fieldName": "remark",
"relationNoShow": true
},
{
"fieldName": "pk",
"relationNoShow": false
},
{
"fieldName": "notNull",
"relationNoShow": true
},
{
"fieldName": "autoIncrement",
"relationNoShow": true
},
{
"fieldName": "defaultValue",
"relationNoShow": true
},
{
"fieldName": "relationNoShow",
"relationNoShow": true
},
{
"fieldName": "uiHint",
"relationNoShow": true
}
],
"chnname": "测试表"
}
],
"graphCanvas": {
"nodes": [],
"edges": []
},
"associations": []
}
],
"dataTypeDomains": {
"datatype": [
{
"name": "默认字串",
"code": "DefaultString",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(32)"
},
"ORACLE": {
"type": "NVARCHAR2(32)"
},
"SQLServer": {
"type": "NVARCHAR(32)"
},
"PostgreSQL": {
"type": "VARCHAR(32)"
}
}
},
{
"name": "标识号",
"code": "IdOrKey",
"apply": {
"JAVA": {
"type": "String"
},
"ORACLE": {
"type": "VARCHAR2(32)"
},
"MYSQL": {
"type": "VARCHAR(32)"
},
"SQLServer": {
"type": "VARCHAR(32)"
},
"PostgreSQL": {
"type": "VARCHAR(32)"
}
}
},
{
"name": "标识号-长",
"code": "LongKey",
"apply": {
"MYSQL": {
"type": "VARCHAR(64)"
},
"ORACLE": {
"type": "VARCHAR2(64)"
},
"JAVA": {
"type": "String"
},
"SQLServer": {
"type": "VARCHAR(64)"
},
"PostgreSQL": {
"type": "VARCHAR(64)"
}
}
},
{
"name": "名称",
"code": "Name",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(128)"
},
"ORACLE": {
"type": "NVARCHAR2(128)"
},
"SQLServer": {
"type": "NVARCHAR(128)"
},
"PostgreSQL": {
"type": "VARCHAR(128)"
}
}
},
{
"name": "备注说明",
"code": "Intro",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(512)"
},
"ORACLE": {
"type": "NVARCHAR2(512)"
},
"SQLServer": {
"type": "NVARCHAR(512)"
},
"PostgreSQL": {
"type": "VARCHAR(512)"
}
}
},
{
"name": "字串-短",
"code": "ShortString",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(128)"
},
"ORACLE": {
"type": "NVARCHAR2(128)"
},
"SQLServer": {
"type": "NVARCHAR(128)"
},
"PostgreSQL": {
"type": "VARCHAR(128)"
}
}
},
{
"name": "字串-中",
"code": "MiddleString",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(1024)"
},
"ORACLE": {
"type": "NVARCHAR2(1024)"
},
"SQLServer": {
"type": "NVARCHAR(1024)"
},
"PostgreSQL": {
"type": "VARCHAR(1024)"
}
}
},
{
"name": "字串-长",
"code": "LongString",
"apply": {
"JAVA": {
"type": "String"
},
"ORACLE": {
"type": "NVARCHAR2(3072)"
},
"MYSQL": {
"type": "VARCHAR(3072)"
},
"SQLServer": {
"type": "NVARCHAR(3072)"
},
"PostgreSQL": {
"type": "VARCHAR(3072)"
}
}
},
{
"name": "大文本",
"code": "LongText",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "TEXT"
},
"ORACLE": {
"type": "CLOB"
},
"SQLServer": {
"type": "NTEXT"
},
"PostgreSQL": {
"type": "TEXT"
}
}
},
{
"name": "小数",
"code": "Double",
"apply": {
"JAVA": {
"type": "Double"
},
"MYSQL": {
"type": "DECIMAL(32,10)"
},
"ORACLE": {
"type": "NUMBER(32,10)"
},
"SQLServer": {
"type": "DECIMAL(32,10)"
},
"PostgreSQL": {
"type": "DECIMAL(32,10)"
}
}
},
{
"name": "比例",
"code": "Ratio",
"apply": {
"MYSQL": {
"type": "DECIMAL(4,2)"
},
"JAVA": {
"type": "Double"
},
"ORACLE": {
"type": "NUMBER(4,2)"
},
"SQLServer": {
"type": "DECIMAL(4,2)"
},
"PostgreSQL": {
"type": "DECIMAL(4,2)"
}
}
},
{
"name": "整数",
"code": "Integer",
"apply": {
"JAVA": {
"type": "Integer"
},
"MYSQL": {
"type": "INT"
},
"ORACLE": {
"type": "INT"
},
"SQLServer": {
"type": "INT"
},
"PostgreSQL": {
"type": "INT"
}
}
},
{
"name": "大整数",
"code": "BigInt",
"apply": {
"MYSQL": {
"type": "BIGINT"
},
"JAVA": {
"type": "Long"
},
"ORACLE": {
"type": "NUMBER"
},
"SQLServer": {
"type": "BIGINT"
},
"PostgreSQL": {
"type": "BIGINT"
}
}
},
{
"name": "金额",
"code": "Money",
"apply": {
"JAVA": {
"type": "Double"
},
"MYSQL": {
"type": "DECIMAL(32,8)"
},
"ORACLE": {
"type": "NUMBER(32,8)"
},
"SQLServer": {
"type": "DECIMAL(32,8)"
},
"PostgreSQL": {
"type": "DECIMAL(32,8)"
}
}
},
{
"name": "是否",
"code": "YesNo",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(1)"
},
"ORACLE": {
"type": "VARCHAR2(1)"
},
"SQLServer": {
"type": "VARCHAR(1)"
},
"PostgreSQL": {
"type": "VARCHAR(1)"
}
}
},
{
"name": "数据字典",
"code": "Dict",
"apply": {
"JAVA": {
"type": "String"
},
"MYSQL": {
"type": "VARCHAR(32)"
},
"ORACLE": {
"type": "VARCHAR2(32)"
},
"SQLServer": {
"type": "VARCHAR(32)"
},
"PostgreSQL": {
"type": "VARCHAR(32)"
}
}
},
{
"name": "日期",
"code": "Date",
"apply": {
"JAVA": {
"type": "Date"
},
"MYSQL": {
"type": "DATE"
},
"ORACLE": {
"type": "DATE"
},
"SQLServer": {
"type": "DATE"
},
"PostgreSQL": {
"type": "DATE"
}
}
},
{
"name": "日期时间",
"code": "DateTime",
"apply": {
"JAVA": {
"type": "Date"
},
"MYSQL": {
"type": "DATETIME"
},
"ORACLE": {
"type": "DATE"
},
"SQLServer": {
"type": "DATE"
},
"PostgreSQL": {
"type": "DATE"
}
}
},
{
"name": "单字符",
"code": "Char",
"apply": {
"MYSQL": {
"type": "CHAR(1)"
},
"ORACLE": {
"type": "CHAR(1)"
},
"JAVA": {
"type": "String"
},
"SQLServer": {
"type": "CHAR(1)"
},
"PostgreSQL": {
"type": "CHAR(1)"
}
}
},
{
"name": "超大文本",
"code": "MEDIUMTEXT",
"apply": {
"MYSQL": {
"type": "MEDIUMTEXT"
}
}
},
{
"name": "二进制",
"code": "BLOB",
"apply": {
"MYSQL": {
"type": "BLOB"
},
"ORACLE": {
"type": "BLOB"
}
}
}
],
"database": [
{
"code": "MYSQL",
"template": "DROP TABLE {{=it.entity.title}};\n$blankline\nCREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.pk ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.entity.chnname,it.entity.remark,';') }}'",
"fileShow": true,
"defaultDatabase": true,
"createTableTemplate": "CREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'AUTO_INCREMENT' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,' ')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.entity.chnname,it.entity.remark,' ') }}'{{=it.separator}}\n$blankline\n",
"deleteTableTemplate": "DROP TABLE {{=it.entity.title}}{{=it.separator}}",
"rebuildTableTemplate": "create table PDMAN_UP_{{=it.oldEntity.title}}\nas select * from {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\ndrop table {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\nCREATE TABLE {{=it.newEntity.title}}(\n{{ pkList = [] ; }}\n{{~it.newEntity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,';')}}' {{= index < it.newEntity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.newEntity.chnname,it.newEntity.remark,';') }}'{{=it.separator}}\n$blankline\n\n{{ sameCols = it.func.intersect(it.newEntity.fields,it.oldEntity.fields) ;}}\ninsert into {{=it.newEntity.title}}(\n{{~sameCols:field:index}}\n {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}\n) \nselect \n{{~sameCols:field:index}}\n {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}\nfrom PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\ndrop table PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n{{~it.newEntity.indexs:index}}\nALTER TABLE {{=it.newEntity.title}} ADD {{? index.isUnique}}UNIQUE{{??}}INDEX{{?}} {{=index.name}}({{=it.func.join(...index.fields,',')}}){{=it.separator}}\n{{~}}",
"createFieldTemplate": "ALTER TABLE {{=it.entity.title}} ADD COLUMN {{=it.field.name}} {{=it.field.type}} {{? it.field.notNull}}NOT NULL{{?}} {{? it.field.defaultValue}}DEFAULT {{? null==it.field.defaultValue}}NULL{{??}}'{{=it.field.defaultValue}}'{{?}}{{?}} {{? it.field.autoIncrement}}AUTO_INCREMENT{{?}} {{? it.field.pk}}PRIMARY KEY{{?}} {{? it.field.chnname}}COMMENT '{{=it.field.chnname}}'{{?}} {{? it.field.addAfter}}AFTER {{=it.field.addAfter}}{{?}}{{=it.separator}}",
"updateFieldTemplate": "ALTER TABLE {{=it.entity.title}} MODIFY COLUMN {{=it.field.name}} {{=it.field.type}} {{? it.field.notNull}}NOT NULL{{?}} {{? it.field.defaultValue}}DEFAULT {{? null==it.field.defaultValue}}NULL{{??}}'{{=it.field.defaultValue}}'{{?}}{{?}} {{? it.field.autoIncrement}}AUTO_INCREMENT{{?}} {{? it.field.chnname}}COMMENT '{{=it.field.chnname}}'{{?}}{{=it.separator}}",
"deleteFieldTemplate": "ALTER TABLE {{=it.entity.title}} DROP {{=it.field.name}}{{=it.separator}}",
"deleteIndexTemplate": "ALTER TABLE {{=it.entity.title}} DROP INDEX {{=it.index.name}}{{=it.separator}}",
"createIndexTemplate": "ALTER TABLE {{=it.entity.title}} ADD {{? it.index.isUnique}}UNIQUE{{??}}INDEX{{?}} {{=it.index.name}}({{=it.func.join(...it.index.fields,',')}}){{=it.separator}}",
"updateTableComment": "ALTER TABLE {{=it.entity.title}} COMMENT '{{=it.entity.chnname}}'{{=it.separator}}"
},
{
"code": "ORACLE",
"template": "DROP TABLE {{=it.entity.title}}{{=it.separator}}\n$blankline\nCREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.pk ? 'NOT NULL' : '' }} {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n){{=it.separator}}\n$blankline\nCOMMENT ON TABLE {{=it.entity.title}} IS '{{=it.func.join(it.entity.chnname,it.entity.remark,';') }}'{{=it.separator}}\n{{~it.entity.fields:field:index}}\nCOMMENT ON COLUMN {{=it.entity.title}}.{{=field.name}} IS '{{=it.func.join(field.chnname,field.remark,';')}}'{{=it.separator}}\n{{~}}",
"createTableTemplate": "CREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}}{{? field.defaultValue}} DEFAULT {{=field.defaultValue}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n){{=it.separator}}\n$blankline\n{{? it.entity.chnname || it.entity.remark}}COMMENT ON TABLE {{=it.entity.title}} IS {{? it.entity.remark}}'{{=it.entity.remark}}'{{??}}'{{=it.entity.chnname}}'{{?}}{{=it.separator}}{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.chnname || field.remark}}COMMENT ON COLUMN {{=it.entity.title}}.{{=field.name}} IS {{? field.remark}}'{{=field.remark}}'{{??}}'{{=field.chnname}}'{{?}}{{=it.separator}}{{?}}\n{{~}}",
"deleteTableTemplate": "DROP TABLE {{=it.entity.title}}{{=it.separator}}\r\n$blankline",
"rebuildTableTemplate": "CREATE TABLE PDMAN_UP_{{=it.oldEntity.title}}\nAS SELECT * FROM {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\nDROP TABLE {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\nCREATE TABLE {{=it.newEntity.title}}(\n{{ pkList = [] ; }}{{~it.newEntity.fields:field:index}}{{? field.pk }}{{ pkList.push(field.name) }}{{?}} {{=field.name}} {{=field.type}}{{? field.defaultValue}} DEFAULT {{=field.defaultValue}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.newEntity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}{{? pkList.length >0 }} PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}}){{?}}\n){{=it.separator}}\n$blankline\n{{? it.newEntity.chnname || it.newEntity.remark}}COMMENT ON TABLE {{=it.newEntity.title}} IS {{? it.newEntity.remark}}'{{=it.entity.remark}}'{{??}}'{{=it.newEntity.chnname}}'{{?}};{{?}}{{=it.separator}}\n{{~it.newEntity.fields:field:index}}\n{{? field.chnname || field.remark}}COMMENT ON COLUMN {{=it.newEntity.title}}.{{=field.name}} IS {{? field.remark}}'{{=field.remark}}'{{??}}'{{=field.chnname}}'{{?}};{{?}}{{=it.separator}}\n{{~}}\n{{ sameCols = it.func.intersect(it.newEntity.fields,it.oldEntity.fields) ;}}\n$blankline\nINSERT INTO {{=it.newEntity.title}}(\n{{~sameCols:field:index}} {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}) \nSELECT\n{{~sameCols:field:index}} {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}FROM PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}\n\nDROP TABLE PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}\n{{~it.newEntity.indexs:index}}\nCREATE{{? index.isUnique}} UNIQUE{{?}} INDEX {{=index.name}} ON {{=it.newEntity.title}}({{=it.func.join(index.fields,',')}}){{=it.separator}}\n{{~}}",
"createFieldTemplate": "ALTER TABLE {{=it.entity.title}} ADD({{=it.field.name}} {{=it.field.type}}{{? it.field.defaultValue}} DEFAULT {{=it.field.defaultValue}}{{?}}{{? it.field.notNull}} NOT NULL{{?}}){{=it.separator}}\r\n{{? it.field.chnname || it.field.remark}}COMMENT ON COLUMN {{=it.entity.title}}.{{=it.field.name}} IS {{? it.field.remark}}'{{=it.field.remark}}'{{??}}'{{=it.field.chnname}}'{{?}}{{=it.separator}}{{?}}\r\n$blankline",
"updateFieldTemplate": "ALTER TABLE {{=it.entity.title}} MODIFY({{=it.field.name}} {{=it.field.type}}{{? it.field.defaultValue}} DEFAULT {{=it.field.defaultValue}}{{?}}{{? it.field.notNull}} NOT NULL{{?}}){{=it.separator}}\r\n{{? it.field.chnname || it.field.remark}}COMMENT ON COLUMN {{=it.entity.title}}.{{=it.field.name}} IS {{? it.field.remark}}'{{=it.field.remark}}'{{??}}'{{=it.field.chnname}}'{{?}}{{=it.separator}}{{=it.separator}}{{?}}\r\n$blankline",
"deleteFieldTemplate": "ALTER TABLE {{=it.entity.title}} DROP({{=it.field.name}}){{=it.separator}}\r\n$blankline",
"deleteIndexTemplate": "DROP INDEX {{=it.entity.title}}.{{=it.index.name}}{{=it.separator}}\r\n$blankline",
"createIndexTemplate": "CREATE{{? it.index.isUnique}} UNIQUE{{?}} INDEX {{=it.index.name}} ON {{=it.entity.title}}({{=it.func.join(it.index.fields,',')}}){{=it.separator}}\r\n$blankline",
"updateTableComment": "{{? it.entity.chnname || it.entity.remark}}COMMENT ON TABLE {{=it.entity.title}} IS {{? it.entity.remark}}'{{=it.entity.remark}}'{{??}}'{{=it.entity.chnname}}'{{?}}{{=it.separator}}{{?}}\r\n$blankline"
},
{
"code": "SQLServer",
"createTableTemplate": "CREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} {{= field.autoIncrement ? 'IDENTITY(1,1)' : '' }} {{= field.defaultValue ? it.func.join('DEFAULT',field.defaultValue,' ') : '' }} {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n CONSTRAINT PK_{{=it.entity.title}} PRIMARY KEY CLUSTERED ({{~pkList:pkName:i}}{{= pkName }} ASC {{= i<pkList.length-1 ? ',' : '' }}{{~}}) ON [PRIMARY] \n{{?}}\n){{=it.separator}}\n\n$blankline\nEXECUTE sp_addextendedproperty N'MS_Description', '{{= it.entity.chnname || it.entity.remark}}', N'user', N'dbo', N'table', N'{{=it.entity.title}}', NULL, NULL{{=it.separator}}\n{{~it.entity.fields:field:index}}\n{{? field.chnname || field.remark}}EXECUTE sp_addextendedproperty N'MS_Description', {{? field.remark}}'{{=field.remark}}'{{??}}'{{=field.chnname}}'{{?}}, N'user', N'dbo', N'table', N'{{=it.entity.title}}', N'column', N'{{=field.name}}'{{=it.separator}}{{?}}\n{{~}}\n",
"deleteTableTemplate": "",
"rebuildTableTemplate": "",
"createFieldTemplate": "",
"updateFieldTemplate": "",
"deleteFieldTemplate": "",
"deleteIndexTemplate": "",
"createIndexTemplate": "",
"updateTableComment": ""
},
{
"code": "PostgreSQL",
"template": "DROP TABLE {{=it.entity.title}};\n$blankline\nCREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.pk ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,';')}}' {{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.entity.chnname,it.entity.remark,';') }}'",
"createTableTemplate": "CREATE TABLE {{=it.entity.title}}(\n{{ pkList = [] ; }}\n{{~it.entity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}}{{? field.defaultValue}} DEFAULT {{=field.defaultValue}}{{?}}{{= field.notNull ? ' NOT NULL' : '' }}{{= index < it.entity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n){{=it.separator}}\n$blankline\n{{? it.entity.chnname || it.entity.remark}}COMMENT ON TABLE {{=it.entity.title}} IS {{? it.entity.remark}}'{{=it.entity.remark}}'{{??}}'{{=it.entity.chnname}}'{{?}}{{=it.separator}}{{?}}\n{{~it.entity.fields:field:index}}\n{{? field.chnname || field.remark}}COMMENT ON COLUMN {{=it.entity.title}}.{{=field.name}} IS {{? field.remark}}'{{=field.remark}}'{{??}}'{{=field.chnname}}'{{?}}{{=it.separator}}{{?}}\n{{~}}",
"deleteTableTemplate": "DROP TABLE {{=it.entity.title}}{{=it.separator}}",
"rebuildTableTemplate": "create table PDMAN_UP_{{=it.oldEntity.title}}\nas select * from {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\ndrop table {{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\nCREATE TABLE {{=it.newEntity.title}}(\n{{ pkList = [] ; }}\n{{~it.newEntity.fields:field:index}}\n {{? field.pk }}{{ pkList.push(field.name) }}{{?}}\n {{=field.name}} {{=field.type}} {{= field.notNull ? 'NOT NULL' : '' }} COMMENT '{{=it.func.join(field.chnname,field.remark,';')}}' {{= index < it.newEntity.fields.length-1 ? ',' : ( pkList.length>0 ? ',' :'' ) }}\n{{~}}\n{{? pkList.length >0 }}\n PRIMARY KEY ({{~pkList:pkName:i}}{{= pkName }}{{= i<pkList.length-1 ? ',' : '' }}{{~}})\n{{?}}\n) COMMENT = '{{=it.func.join(it.newEntity.chnname,it.newEntity.remark,';') }}'{{=it.separator}}\n$blankline\n\n{{ sameCols = it.func.intersect(it.newEntity.fields,it.oldEntity.fields) ;}}\ninsert into {{=it.newEntity.title}}(\n{{~sameCols:field:index}}\n {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}\n) \nselect \n{{~sameCols:field:index}}\n {{=field.name}}{{? index<sameCols.length-1}},{{?}}\n{{~}}\nfrom PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}\n$blankline\n\ndrop table PDMAN_UP_{{=it.oldEntity.title}}{{=it.separator}}",
"createFieldTemplate": "ALTER TABLE {{=it.entity.title}} ADD COLUMN {{=it.field.name}} {{=it.field.type}} {{? it.field.notNull}}NOT NULL{{?}} {{? it.field.defaultValue}}DEFAULT {{? null==it.field.defaultValue}}NULL{{??}}'{{=it.field.defaultValue}}'{{?}}{{?}} {{? it.field.autoIncrement}}AUTO_INCREMENT{{?}} {{? it.field.pk}}PRIMARY KEY{{?}} {{? it.field.chnname}}COMMENT '{{=it.field.chnname}}'{{?}} {{? it.field.addAfter}}AFTER {{=it.field.addAfter}}{{?}}{{=it.separator}}",
"updateFieldTemplate": "ALTER TABLE {{=it.entity.title}} MODIFY COLUMN {{=it.field.name}} {{=it.field.type}} {{? it.field.notNull}}NOT NULL{{?}} {{? it.field.defaultValue}}DEFAULT {{? null==it.field.defaultValue}}NULL{{??}}'{{=it.field.defaultValue}}'{{?}}{{?}} {{? it.field.autoIncrement}}AUTO_INCREMENT{{?}} {{? it.field.chnname}}COMMENT '{{=it.field.chnname}}'{{?}}{{=it.separator}}",
"deleteFieldTemplate": "ALTER TABLE {{=it.entity.title}} DROP {{=it.field.name}}{{=it.separator}}",
"deleteIndexTemplate": "ALTER TABLE {{=it.entity.title}} DROP INDEX {{=it.index.name}}{{=it.separator}}",
"createIndexTemplate": "ALTER TABLE {{=it.entity.title}} ADD {{? it.index.isUnique}}UNIQUE{{??}}INDEX{{?}} {{=it.index.name}}({{=it.func.join(...it.index.fields,',')}}){{=it.separator}}",
"updateTableComment": "ALTER TABLE {{=it.entity.title}} COMMENT '{{=it.entity.chnname}}'{{=it.separator}}"
},
{
"code": "JAVA",
"template": "package group.rober.pdman.{{=it.module.name}}.entity;\n$blankline\nimport javax.persistence.*;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n$blankline\n\n/** {{=it.entity.chnname}} */\n@Table(name=\"{{=it.entity.title}}\")\npublic class {{=it.func.camel(it.entity.title,true) }} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n {{? field.pk }}\n @Id\n @GeneratedValue\n {{?}}\n private {{=field.type}} {{=it.func.camel(field.name,false)}} ;\n{{~}}\n$blankline\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.name,true)}}(){\n return this.{{=it.func.camel(field.name,false)}};\n }\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n public void set{{=it.func.camel(field.name,true)}}({{=field.type}} {{= it.func.camel(field.name,false) }}){\n this.{{=it.func.camel(field.name,false)}} = {{= it.func.camel(field.name,false) }};\n }\n{{~}}\n}",
"createTableTemplate": "package group.rober.pdman.{{=it.module.name}}.entity;\n$blankline\nimport javax.persistence.*;\nimport java.io.Serializable;\nimport java.util.Date;\n$blankline\n$blankline\n@Table(name=\"{{=it.entity.title}}\")\npublic class {{=it.func.camel(it.entity.title,true) }} implements Serializable,Cloneable{\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n {{? field.pk }}\n @Id\n @GeneratedValue\n {{?}}\n private {{=field.type}} {{=it.func.camel(field.name,false)}} ;\n{{~}}\n$blankline\n{{~it.entity.fields:field:index}}\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n public {{=field.type}} get{{=it.func.camel(field.name,true)}}(){\n return this.{{=it.func.camel(field.name,false)}};\n }\n /** {{=it.func.join(field.chnname,field.remark,';')}} */\n public void set{{=it.func.camel(field.name,true)}}({{=field.type}} {{= it.func.camel(field.name,false) }}){\n this.{{=it.func.camel(field.name,false)}} = {{= it.func.camel(field.name,false) }};\n }\n{{~}}\n}",
"deleteTableTemplate": "",
"rebuildTableTemplate": "",
"createFieldTemplate": "",
"updateFieldTemplate": "",
"deleteFieldTemplate": "",
"deleteIndexTemplate": "",
"createIndexTemplate": "",
"updateTableComment": ""
}
]
},
"profile": {
"defaultFields": [
{
"name": "revision",
"type": "Integer",
"remark": "",
"chnname": "乐观锁"
},
{
"name": "created_by",
"type": "IdOrKey",
"remark": "",
"chnname": "创建人"
},
{
"name": "created_time",
"type": "DateTime",
"remark": "",
"chnname": "创建时间"
},
{
"name": "updated_by",
"type": "IdOrKey",
"remark": "",
"chnname": "更新人"
},
{
"name": "updated_time",
"type": "DateTime",
"remark": "",
"chnname": "更新时间"
}
],
"defaultFieldsType": "2",
"javaConfig": {},
"sqlConfig": ";",
"dbs": [],
"wordTemplateConfig": ""
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。