master
wangshuai 5 years ago
parent 1505a80dbf
commit e93e11868c

@ -1229,7 +1229,7 @@ var doc = `{
},
"/v1/openapi/dataaccess/CreateDataaccess": {
"post": {
"description": "json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\njson:\"` + "`" + `source_systemid` + "`" + `\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"` + "`" + `consume_systemid` + "`" + `\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\njson:\"` + "`" + `consume_orgid` + "`" + `\" xorm:\"not null comment('使用数据机构编码【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"description": "` + "`" + `*` + "`" + `json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\n` + "`" + `*` + "`" + `json:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\n` + "`" + `*` + "`" + `json:\"` + "`" + `source_systemid` + "`" + `\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\n` + "`" + `*` + "`" + `json:\"` + "`" + `consume_systemid` + "`" + `\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\n` + "`" + `*` + "`" + `json:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\n` + "`" + `*` + "`" + `json:\"consume_orgid\" xorm:\"not null comment('使用数据机构ID【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1270,7 +1270,7 @@ var doc = `{
},
"/v1/openapi/dataaccess/DeleteDataaccess/{id}": {
"post": {
"description": "json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"description": "` + "`" + `*` + "`" + `json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -1309,7 +1309,7 @@ var doc = `{
},
"/v1/openapi/dataaccess/ReadDataaccess": {
"post": {
"description": "json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\njson:\"` + "`" + `source_systemid` + "`" + `\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"` + "`" + `consume_systemid` + "`" + `\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\njson:\"` + "`" + `consume_orgid` + "`" + `\" xorm:\"not null comment('使用数据机构编码【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"\njson:\"page\" example:\"1\"` + "`" + `",
"description": "json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\njson:\"` + "`" + `source_systemid` + "`" + `\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"` + "`" + `consume_systemid` + "`" + `\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\n` + "`" + `*` + "`" + `json:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\n` + "`" + `*` + "`" + `json:\"consume_orgid\" xorm:\"not null comment('使用数据机构ID【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"\njson:\"page\" example:\"1\"` + "`" + `",
"consumes": [
"application/json"
],
@ -1350,7 +1350,7 @@ var doc = `{
},
"/v1/openapi/dataaccess/UpdateDataaccess/{id}": {
"post": {
"description": "json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\njson:\"` + "`" + `source_systemid` + "`" + `\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"` + "`" + `consume_systemid` + "`" + `\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\njson:\"` + "`" + `consume_orgid` + "`" + `\" xorm:\"not null comment('使用数据机构编码【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"description": "json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\njson:\"` + "`" + `source_systemid` + "`" + `\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"` + "`" + `consume_systemid` + "`" + `\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\njson:\"consume_orgid\" xorm:\"not null comment('使用数据机构ID【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1398,7 +1398,7 @@ var doc = `{
},
"/v1/openapi/dataerror/DeleteDataerror/{id}": {
"post": {
"description": "json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"description": "` + "`" + `*` + "`" + `json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -1478,7 +1478,7 @@ var doc = `{
},
"/v1/openapi/datasource/CreateDatasource": {
"post": {
"description": "json:\"` + "`" + `system_id` + "`" + `\" xorm:\"not null comment('数据提供系统编码') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"\njson:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"\njson:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"\njson:\"set_flag\" xorm:\"not null default 1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1-1否】') INT(11)\" example:\"1\"\njson:\"provide_type\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"2\"\njson:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"datastore_type\" xorm:\"not null comment('数据存储类型【1DB2ES3Kafka】') INT(11)\" example:\"2\"\njson:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"description": "` + "`" + `*` + "`" + `json:\"` + "`" + `system_id` + "`" + `\" xorm:\"not null comment('数据提供系统编码') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"\n` + "`" + `*` + "`" + `json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"\n` + "`" + `*` + "`" + `json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"\njson:\"set_flag\" xorm:\"not null default 1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1-1否】') INT(11)\" example:\"1\"\n` + "`" + `*` + "`" + `json:\"provide_type\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"2\"\n` + "`" + `*` + "`" + `json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1不限制】') index VARCHAR(36)\" example:\"-1\"\n` + "`" + `*` + "`" + `json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1DB2ES3Kafka】') INT(11)\" example:\"2\"\njson:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1519,7 +1519,7 @@ var doc = `{
},
"/v1/openapi/datasource/DeleteDatasource/{id}": {
"post": {
"description": "json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"description": "` + "`" + `*` + "`" + `json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -1558,7 +1558,7 @@ var doc = `{
},
"/v1/openapi/datasource/GetESDoc": {
"post": {
"description": "json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"` + "`" + `orgids` + "`" + `\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') VARCHAR(36)\" example:\"[F38BD0DB-0142-4356-8F2B-623813FC2578,F38BD0DB-0142-4356-8F2B-623813FC2578]\"\njson:\"begin_time\" example:\"2020-06-22 17:26:53\"` + "`" + `\njson:\"conditions\" example:\"\"\njson:\"sort\" example:\"\"\njson:\"data_id\" example:\"CfBQnRJPyXMEI5nqLT0\"",
"description": "` + "`" + `*` + "`" + `json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"` + "`" + `orgids` + "`" + `\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') VARCHAR(36)\" example:\"[F38BD0DB-0142-4356-8F2B-623813FC2578,F38BD0DB-0142-4356-8F2B-623813FC2578]\"\njson:\"begin_time\" example:\"2020-06-22 17:26:53\"` + "`" + `\njson:\"conditions\" example:\"\"\njson:\"sort\" example:\"\"\n` + "`" + `*` + "`" + `json:\"data_id\" example:\"CfBQnRJPyXMEI5nqLT0\"",
"consumes": [
"application/json"
],
@ -1640,7 +1640,7 @@ var doc = `{
},
"/v1/openapi/datasource/ReadESDoc": {
"post": {
"description": "json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"` + "`" + `orgids` + "`" + `\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') VARCHAR(36)\" example:\"[F38BD0DB-0142-4356-8F2B-623813FC2578,F38BD0DB-0142-4356-8F2B-623813FC2578]\"\njson:\"begin_time\" example:\"2020-06-22 17:26:53\"` + "`" + `\njson:\"conditions\" example:\"\"\njson:\"sort\" example:\"\"\njson:\"data_id\" example:\"CfBQnRJPyXMEI5nqLT0\"\njson:\"page\" example:\"1\"",
"description": "` + "`" + `*` + "`" + `json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"` + "`" + `orgids` + "`" + `\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') VARCHAR(36)\" example:\"[F38BD0DB-0142-4356-8F2B-623813FC2578,F38BD0DB-0142-4356-8F2B-623813FC2578]\"\njson:\"begin_time\" example:\"2020-06-22 17:26:53\"` + "`" + `\njson:\"conditions\" example:\"\"\njson:\"sort\" example:\"\"\njson:\"data_id\" example:\"CfBQnRJPyXMEI5nqLT0\"\njson:\"page\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1759,7 +1759,7 @@ var doc = `{
},
"/v1/openapi/jyt2012/CreateJyt2012": {
"post": {
"description": "json:\"dic_name\" xorm:\"not null comment('字典/字典项名称') VARCHAR(100)\" example:\"sex\"\njson:\"dic_value\" xorm:\"not null comment('字典/字典项值') VARCHAR(100)\" example:\"10\"\njson:\"dic_type\" xorm:\"not null default 1 comment('字典类型【1国标数据、关联数据源2国标字典、关联元数据】') INT(11)\" example:\"1\"\njson:\"dic_info\" xorm:\"default ''NULL'' comment('字典项说明') VARCHAR(500)\" example:\"我是字典项说明\"\njson:\"root_flag\" xorm:\"not null default -1 comment('是否是字典【1-1否】') INT(11)\" example:\"1\"\njson:\"jyt_flag\" xorm:\"not null default 1 comment('是否国标【1-1自定义】') INT(11)\" example:\"1\"\njson:\"parent_id\" xorm:\"default ''NULL'' comment('字典ID【字典项父节点】') VARCHAR(36)\" example:\"38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"description": "` + "`" + `*` + "`" + `json:\"dic_name\" xorm:\"not null comment('字典/字典项名称') VARCHAR(100)\" example:\"sex\"\n` + "`" + `*` + "`" + `json:\"dic_value\" xorm:\"not null comment('字典/字典项值') VARCHAR(100)\" example:\"10\"\n` + "`" + `*` + "`" + `json:\"dic_type\" xorm:\"not null default 1 comment('字典类型【1国标数据、关联数据源2国标字典、关联元数据】') INT(11)\" example:\"1\"\n` + "`" + `*` + "`" + `json:\"dic_info\" xorm:\"default ''NULL'' comment('字典项说明') VARCHAR(500)\" example:\"我是字典项说明\"\njson:\"root_flag\" xorm:\"not null default -1 comment('是否是字典【1-1否】') INT(11)\" example:\"1\"\njson:\"jyt_flag\" xorm:\"not null default 1 comment('是否国标【1-1自定义】') INT(11)\" example:\"1\"\n` + "`" + `*` + "`" + `json:\"parent_id\" xorm:\"default ''NULL'' comment('字典ID【字典项父节点】') VARCHAR(36)\" example:\"38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1800,7 +1800,7 @@ var doc = `{
},
"/v1/openapi/jyt2012/DeleteJyt2012/{id}": {
"post": {
"description": "json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"description": "` + "`" + `*` + "`" + `json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -1928,7 +1928,7 @@ var doc = `{
},
"/v1/openapi/metadata/CreateMetadata": {
"post": {
"description": "json:\"` + "`" + `datasource_id` + "`" + `\" xorm:\"default ''NULL'' comment('数据源编码') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"\njson:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"\njson:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】') VARCHAR(50)\" example:\"string\"\njson:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"\njson:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"\njson:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"\njson:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1-1否】') INT(11)\" example:\"1\"\njson:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"\njson:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"\njson:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"\njson:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"description": "` + "`" + `*` + "`" + `json:\"` + "`" + `datasource_id` + "`" + `\" xorm:\"default ''NULL'' comment('数据源编码') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"\n` + "`" + `*` + "`" + `json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"\njson:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\n` + "`" + `*` + "`" + `json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】') VARCHAR(50)\" example:\"string\"\n` + "`" + `*` + "`" + `json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"\n` + "`" + `*` + "`" + `json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"\n` + "`" + `*` + "`" + `json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"\n` + "`" + `*` + "`" + `json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1-1否】') INT(11)\" example:\"1\"\n` + "`" + `*` + "`" + `json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"\n` + "`" + `*` + "`" + `json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"\n` + "`" + `*` + "`" + `json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"\n` + "`" + `*` + "`" + `json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1969,7 +1969,7 @@ var doc = `{
},
"/v1/openapi/metadata/CreateMetadataES": {
"post": {
"description": "json:\"index_name\" xorm:\"not null comment('ES Index Name') VARCHAR(50)\" example:\"org_tree\"",
"description": "` + "`" + `*` + "`" + `json:\"index_name\" xorm:\"not null comment('ES Index Name') VARCHAR(50)\" example:\"org_tree\"",
"consumes": [
"application/json"
],
@ -2010,7 +2010,7 @@ var doc = `{
},
"/v1/openapi/metadata/DeleteMetadata/{id}": {
"post": {
"description": "json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"description": "` + "`" + `*` + "`" + `json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -2138,7 +2138,7 @@ var doc = `{
},
"/v1/openapi/orgtree/CreateOrgtree": {
"post": {
"description": "创建机构",
"description": "创建机构\n` + "`" + `json:\"id\" xorm:\"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `*` + "`" + `json:\"org_name\" xorm:\"not null comment('机构名称') VARCHAR(100)\" example:\"开平区教育局\"` + "`" + `\n` + "`" + `*` + "`" + `json:\"org_type\" xorm:\"not null comment('机构类型【1教育局、2学校、3教辅单位、4大学区、5部门、6、主校7、学段、8年级、9班级】') INT(11)\" example:\"1\"` + "`" + `\n` + "`" + `*` + "`" + `json:\"parent_id\" xorm:\"default ''NULL'' comment('父节点ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"cat_id\" xorm:\"not null comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `*` + "`" + `json:\"province_id\" xorm:\"default 'NULL' comment('省编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `*` + "`" + `json:\"city_id\" xorm:\"default 'NULL' comment('地市编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `*` + "`" + `json:\"area_id\" xorm:\"default 'NULL' comment('县区编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `*` + "`" + `json:\"` + "`" + `linksystem_id` + "`" + `\" xorm:\"default 'NULL' comment('源业务系统编码') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"link_id\" xorm:\"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-11 09:19:26\"` + "`" + `\n` + "`" + `json:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-11 09:19:26\"` + "`" + `\n` + "`" + `json:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-11 09:19:26\"` + "`" + `\n` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\n` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"` + "`" + `\n` + "`" + `json:\"page\" example:\"1\"` + "`" + `",
"consumes": [
"application/json"
],
@ -2179,7 +2179,7 @@ var doc = `{
},
"/v1/openapi/orgtree/DeleteOrgtree/{id}": {
"post": {
"description": "删除机构",
"description": "删除机构\n` + "`" + `*` + "`" + `json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -2218,7 +2218,7 @@ var doc = `{
},
"/v1/openapi/orgtree/ReadOrgtree": {
"post": {
"description": "获取机构列表",
"description": "获取机构列表\n` + "`" + `json:\"id\" xorm:\"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"org_name\" xorm:\"not null comment('机构名称') VARCHAR(100)\" example:\"开平区教育局\"` + "`" + `\n` + "`" + `json:\"org_type\" xorm:\"not null comment('机构类型【1教育局、2学校、3教辅单位、4大学区、5部门、6、主校7、学段、8年级、9班级】') INT(11)\" example:\"1\"` + "`" + `\n` + "`" + `json:\"parent_id\" xorm:\"default ''NULL'' comment('父节点ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"cat_id\" xorm:\"not null comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"province_id\" xorm:\"default 'NULL' comment('省编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"city_id\" xorm:\"default 'NULL' comment('地市编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"area_id\" xorm:\"default 'NULL' comment('县区编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"` + "`" + `linksystem_id` + "`" + `\" xorm:\"default 'NULL' comment('源业务系统编码') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"link_id\" xorm:\"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-11 09:19:26\"` + "`" + `\n` + "`" + `json:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-11 09:19:26\"` + "`" + `\n` + "`" + `json:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-11 09:19:26\"` + "`" + `\n` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\n` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"` + "`" + `\n` + "`" + `json:\"page\" example:\"1\"` + "`" + `",
"consumes": [
"application/json"
],
@ -2259,7 +2259,7 @@ var doc = `{
},
"/v1/openapi/orgtree/UpdateOrgtree/{id}": {
"post": {
"description": "修改机构",
"description": "修改机构\n` + "`" + `json:\"id\" xorm:\"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"org_name\" xorm:\"not null comment('机构名称') VARCHAR(100)\" example:\"开平区教育局\"` + "`" + `\n` + "`" + `json:\"org_type\" xorm:\"not null comment('机构类型【1教育局、2学校、3教辅单位、4大学区、5部门、6、主校7、学段、8年级、9班级】') INT(11)\" example:\"1\"` + "`" + `\n` + "`" + `json:\"parent_id\" xorm:\"default ''NULL'' comment('父节点ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"cat_id\" xorm:\"not null comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"province_id\" xorm:\"default 'NULL' comment('省编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"city_id\" xorm:\"default 'NULL' comment('地市编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"area_id\" xorm:\"default 'NULL' comment('县区编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"` + "`" + `linksystem_id` + "`" + `\" xorm:\"default 'NULL' comment('源业务系统编码') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"link_id\" xorm:\"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"` + "`" + `\n` + "`" + `json:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-11 09:19:26\"` + "`" + `\n` + "`" + `json:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-11 09:19:26\"` + "`" + `\n` + "`" + `json:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-11 09:19:26\"` + "`" + `\n` + "`" + `json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"` + "`" + `\n` + "`" + `json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"` + "`" + `\n` + "`" + `json:\"page\" example:\"1\"` + "`" + `",
"consumes": [
"application/json"
],

@ -1213,7 +1213,7 @@
},
"/v1/openapi/dataaccess/CreateDataaccess": {
"post": {
"description": "json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\njson:\"`source_systemid`\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"`consume_systemid`\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\njson:\"`consume_orgid`\" xorm:\"not null comment('使用数据机构编码【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"description": "`*`json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\n`*`json:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\n`*`json:\"`source_systemid`\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\n`*`json:\"`consume_systemid`\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\n`*`json:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\n`*`json:\"consume_orgid\" xorm:\"not null comment('使用数据机构ID【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1254,7 +1254,7 @@
},
"/v1/openapi/dataaccess/DeleteDataaccess/{id}": {
"post": {
"description": "json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"description": "`*`json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -1293,7 +1293,7 @@
},
"/v1/openapi/dataaccess/ReadDataaccess": {
"post": {
"description": "json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\njson:\"`source_systemid`\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"`consume_systemid`\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\njson:\"`consume_orgid`\" xorm:\"not null comment('使用数据机构编码【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"\njson:\"page\" example:\"1\"`",
"description": "json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\njson:\"`source_systemid`\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"`consume_systemid`\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\n`*`json:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\n`*`json:\"consume_orgid\" xorm:\"not null comment('使用数据机构ID【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"\njson:\"page\" example:\"1\"`",
"consumes": [
"application/json"
],
@ -1334,7 +1334,7 @@
},
"/v1/openapi/dataaccess/UpdateDataaccess/{id}": {
"post": {
"description": "json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\njson:\"`source_systemid`\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"`consume_systemid`\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\njson:\"`consume_orgid`\" xorm:\"not null comment('使用数据机构编码【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"description": "json:\"datasource_id\" xorm:\"not null comment('数据源ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"datasource_code\" xorm:\"comment('数据源编码') default 'NULL' VARCHAR(255)\"\njson:\"`source_systemid`\" xorm:\"not null comment('源系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"`consume_systemid`\" xorm:\"not null comment('数据使用系统编码') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"query_flag\" xorm:\"not null default 1 comment('可查【1-1否】') INT(11)\" example:\"1\"\njson:\"set_flag\" xorm:\"not null default -1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"consume_type\" xorm:\"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"-1\"\njson:\"consume_orgid\" xorm:\"not null comment('使用数据机构ID【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1382,7 +1382,7 @@
},
"/v1/openapi/dataerror/DeleteDataerror/{id}": {
"post": {
"description": "json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"description": "`*`json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -1462,7 +1462,7 @@
},
"/v1/openapi/datasource/CreateDatasource": {
"post": {
"description": "json:\"`system_id`\" xorm:\"not null comment('数据提供系统编码') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"\njson:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"\njson:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"\njson:\"set_flag\" xorm:\"not null default 1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1-1否】') INT(11)\" example:\"1\"\njson:\"provide_type\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"2\"\njson:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1不限制】') index VARCHAR(36)\" example:\"-1\"\njson:\"datastore_type\" xorm:\"not null comment('数据存储类型【1DB2ES3Kafka】') INT(11)\" example:\"2\"\njson:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"description": "`*`json:\"`system_id`\" xorm:\"not null comment('数据提供系统编码') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"\n`*`json:\"datasource_name\" xorm:\"not null comment('数据源名称') VARCHAR(100)\" example:\"组织机构信息\"\n`*`json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"datasource_detail\" xorm:\"default 'NULL' comment('数据源说明') VARCHAR(500)\" example:\"教育主管单位、教辅单位、各级各类学校机构信息\"\njson:\"set_flag\" xorm:\"not null default 1 comment('可修改【1-1否】') INT(11)\" example:\"1\"\njson:\"collect_flag\" xorm:\"not null default 1 comment('可汇集【1-1否】') INT(11)\" example:\"1\"\n`*`json:\"provide_type\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)\" example:\"2\"\n`*`json:\"provide_orgid\" xorm:\"not null comment('提供数据机构ID【-1不限制】') index VARCHAR(36)\" example:\"-1\"\n`*`json:\"datastore_type\" xorm:\"not null comment('数据存储类型【1DB2ES3Kafka】') INT(11)\" example:\"2\"\njson:\"dic_id, omitempty\" xorm:\"default 'NULL' comment('数据字典ID') index VARCHAR(36)\" example:\"1C0F6832-65C6-4888-BDDE-A3373B11499D\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1503,7 +1503,7 @@
},
"/v1/openapi/datasource/DeleteDatasource/{id}": {
"post": {
"description": "json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"description": "`*`json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -1542,7 +1542,7 @@
},
"/v1/openapi/datasource/GetESDoc": {
"post": {
"description": "json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"`orgids`\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') VARCHAR(36)\" example:\"[F38BD0DB-0142-4356-8F2B-623813FC2578,F38BD0DB-0142-4356-8F2B-623813FC2578]\"\njson:\"begin_time\" example:\"2020-06-22 17:26:53\"`\njson:\"conditions\" example:\"\"\njson:\"sort\" example:\"\"\njson:\"data_id\" example:\"CfBQnRJPyXMEI5nqLT0\"",
"description": "`*`json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"`orgids`\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') VARCHAR(36)\" example:\"[F38BD0DB-0142-4356-8F2B-623813FC2578,F38BD0DB-0142-4356-8F2B-623813FC2578]\"\njson:\"begin_time\" example:\"2020-06-22 17:26:53\"`\njson:\"conditions\" example:\"\"\njson:\"sort\" example:\"\"\n`*`json:\"data_id\" example:\"CfBQnRJPyXMEI5nqLT0\"",
"consumes": [
"application/json"
],
@ -1624,7 +1624,7 @@
},
"/v1/openapi/datasource/ReadESDoc": {
"post": {
"description": "json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"`orgids`\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') VARCHAR(36)\" example:\"[F38BD0DB-0142-4356-8F2B-623813FC2578,F38BD0DB-0142-4356-8F2B-623813FC2578]\"\njson:\"begin_time\" example:\"2020-06-22 17:26:53\"`\njson:\"conditions\" example:\"\"\njson:\"sort\" example:\"\"\njson:\"data_id\" example:\"CfBQnRJPyXMEI5nqLT0\"\njson:\"page\" example:\"1\"",
"description": "`*`json:\"datasource_code\" xorm:\"not null comment('数据源编码') VARCHAR(8)\" example:\"org_tree\"\njson:\"`orgids`\" xorm:\"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') VARCHAR(36)\" example:\"[F38BD0DB-0142-4356-8F2B-623813FC2578,F38BD0DB-0142-4356-8F2B-623813FC2578]\"\njson:\"begin_time\" example:\"2020-06-22 17:26:53\"`\njson:\"conditions\" example:\"\"\njson:\"sort\" example:\"\"\njson:\"data_id\" example:\"CfBQnRJPyXMEI5nqLT0\"\njson:\"page\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1743,7 +1743,7 @@
},
"/v1/openapi/jyt2012/CreateJyt2012": {
"post": {
"description": "json:\"dic_name\" xorm:\"not null comment('字典/字典项名称') VARCHAR(100)\" example:\"sex\"\njson:\"dic_value\" xorm:\"not null comment('字典/字典项值') VARCHAR(100)\" example:\"10\"\njson:\"dic_type\" xorm:\"not null default 1 comment('字典类型【1国标数据、关联数据源2国标字典、关联元数据】') INT(11)\" example:\"1\"\njson:\"dic_info\" xorm:\"default ''NULL'' comment('字典项说明') VARCHAR(500)\" example:\"我是字典项说明\"\njson:\"root_flag\" xorm:\"not null default -1 comment('是否是字典【1-1否】') INT(11)\" example:\"1\"\njson:\"jyt_flag\" xorm:\"not null default 1 comment('是否国标【1-1自定义】') INT(11)\" example:\"1\"\njson:\"parent_id\" xorm:\"default ''NULL'' comment('字典ID【字典项父节点】') VARCHAR(36)\" example:\"38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"description": "`*`json:\"dic_name\" xorm:\"not null comment('字典/字典项名称') VARCHAR(100)\" example:\"sex\"\n`*`json:\"dic_value\" xorm:\"not null comment('字典/字典项值') VARCHAR(100)\" example:\"10\"\n`*`json:\"dic_type\" xorm:\"not null default 1 comment('字典类型【1国标数据、关联数据源2国标字典、关联元数据】') INT(11)\" example:\"1\"\n`*`json:\"dic_info\" xorm:\"default ''NULL'' comment('字典项说明') VARCHAR(500)\" example:\"我是字典项说明\"\njson:\"root_flag\" xorm:\"not null default -1 comment('是否是字典【1-1否】') INT(11)\" example:\"1\"\njson:\"jyt_flag\" xorm:\"not null default 1 comment('是否国标【1-1自定义】') INT(11)\" example:\"1\"\n`*`json:\"parent_id\" xorm:\"default ''NULL'' comment('字典ID【字典项父节点】') VARCHAR(36)\" example:\"38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-22 17:26:53\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1784,7 +1784,7 @@
},
"/v1/openapi/jyt2012/DeleteJyt2012/{id}": {
"post": {
"description": "json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"description": "`*`json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -1912,7 +1912,7 @@
},
"/v1/openapi/metadata/CreateMetadata": {
"post": {
"description": "json:\"`datasource_id`\" xorm:\"default ''NULL'' comment('数据源编码') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"\njson:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"\njson:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\njson:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】') VARCHAR(50)\" example:\"string\"\njson:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"\njson:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"\njson:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"\njson:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1-1否】') INT(11)\" example:\"1\"\njson:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"\njson:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"\njson:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"\njson:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"description": "`*`json:\"`datasource_id`\" xorm:\"default ''NULL'' comment('数据源编码') index VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"\n`*`json:\"item_name\" xorm:\"not null comment('数据项名称【英文】') VARCHAR(50)\" example:\"org_name\"\njson:\"dic_id\" xorm:\"default ''NULL'' comment('数据字典ID') index VARCHAR(36)\" example:\"F38BD0DB-0142-4356-8F2B-623813FC2578\"\n`*`json:\"item_type\" xorm:\"default ''NULL'' comment('数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】') VARCHAR(50)\" example:\"string\"\n`*`json:\"item_length\" xorm:\"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)\" example:\"36\"\n`*`json:\"item_pattern\" xorm:\"default 'NULL' comment('数据项模式') VARCHAR(255)\" example:\"\"\n`*`json:\"item_info\" xorm:\"not null comment('数据项说明') VARCHAR(50)\" example:\"我是数据项说明\"\n`*`json:\"check_name\" xorm:\"not null default -1 comment('是否检测名称【1-1否】') INT(11)\" example:\"1\"\n`*`json:\"check_dic\" xorm:\"not null default -1 comment('是否检测字典') INT(11)\" example:\"1\"\n`*`json:\"check_type\" xorm:\"not null default -1 comment('是否检测类型') INT(11)\" example:\"1\"\n`*`json:\"check_pattern\" xorm:\"not null default -1 comment('是否检测模式') INT(11)\" example:\"1\"\n`*`json:\"check_exist\" xorm:\"not null default -1 comment('是否检测必填') INT(11)\" example:\"1\"\njson:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"\njson:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"",
"consumes": [
"application/json"
],
@ -1953,7 +1953,7 @@
},
"/v1/openapi/metadata/CreateMetadataES": {
"post": {
"description": "json:\"index_name\" xorm:\"not null comment('ES Index Name') VARCHAR(50)\" example:\"org_tree\"",
"description": "`*`json:\"index_name\" xorm:\"not null comment('ES Index Name') VARCHAR(50)\" example:\"org_tree\"",
"consumes": [
"application/json"
],
@ -1994,7 +1994,7 @@
},
"/v1/openapi/metadata/DeleteMetadata/{id}": {
"post": {
"description": "json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"description": "`*`json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -2122,7 +2122,7 @@
},
"/v1/openapi/orgtree/CreateOrgtree": {
"post": {
"description": "创建机构",
"description": "创建机构\n`json:\"id\" xorm:\"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`*`json:\"org_name\" xorm:\"not null comment('机构名称') VARCHAR(100)\" example:\"开平区教育局\"`\n`*`json:\"org_type\" xorm:\"not null comment('机构类型【1教育局、2学校、3教辅单位、4大学区、5部门、6、主校7、学段、8年级、9班级】') INT(11)\" example:\"1\"`\n`*`json:\"parent_id\" xorm:\"default ''NULL'' comment('父节点ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"cat_id\" xorm:\"not null comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`*`json:\"province_id\" xorm:\"default 'NULL' comment('省编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`*`json:\"city_id\" xorm:\"default 'NULL' comment('地市编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`*`json:\"area_id\" xorm:\"default 'NULL' comment('县区编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`*`json:\"`linksystem_id`\" xorm:\"default 'NULL' comment('源业务系统编码') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"link_id\" xorm:\"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-11 09:19:26\"`\n`json:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-11 09:19:26\"`\n`json:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-11 09:19:26\"`\n`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\n`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"`\n`json:\"page\" example:\"1\"`",
"consumes": [
"application/json"
],
@ -2163,7 +2163,7 @@
},
"/v1/openapi/orgtree/DeleteOrgtree/{id}": {
"post": {
"description": "删除机构",
"description": "删除机构\n`*`json:\"id\" xorm:\"not null pk comment('ID') VARCHAR(36)\"",
"consumes": [
"application/json"
],
@ -2202,7 +2202,7 @@
},
"/v1/openapi/orgtree/ReadOrgtree": {
"post": {
"description": "获取机构列表",
"description": "获取机构列表\n`json:\"id\" xorm:\"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"org_name\" xorm:\"not null comment('机构名称') VARCHAR(100)\" example:\"开平区教育局\"`\n`json:\"org_type\" xorm:\"not null comment('机构类型【1教育局、2学校、3教辅单位、4大学区、5部门、6、主校7、学段、8年级、9班级】') INT(11)\" example:\"1\"`\n`json:\"parent_id\" xorm:\"default ''NULL'' comment('父节点ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"cat_id\" xorm:\"not null comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"province_id\" xorm:\"default 'NULL' comment('省编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"city_id\" xorm:\"default 'NULL' comment('地市编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"area_id\" xorm:\"default 'NULL' comment('县区编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"`linksystem_id`\" xorm:\"default 'NULL' comment('源业务系统编码') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"link_id\" xorm:\"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-11 09:19:26\"`\n`json:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-11 09:19:26\"`\n`json:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-11 09:19:26\"`\n`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\n`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"`\n`json:\"page\" example:\"1\"`",
"consumes": [
"application/json"
],
@ -2243,7 +2243,7 @@
},
"/v1/openapi/orgtree/UpdateOrgtree/{id}": {
"post": {
"description": "修改机构",
"description": "修改机构\n`json:\"id\" xorm:\"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"org_name\" xorm:\"not null comment('机构名称') VARCHAR(100)\" example:\"开平区教育局\"`\n`json:\"org_type\" xorm:\"not null comment('机构类型【1教育局、2学校、3教辅单位、4大学区、5部门、6、主校7、学段、8年级、9班级】') INT(11)\" example:\"1\"`\n`json:\"parent_id\" xorm:\"default ''NULL'' comment('父节点ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"cat_id\" xorm:\"not null comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"province_id\" xorm:\"default 'NULL' comment('省编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"city_id\" xorm:\"default 'NULL' comment('地市编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"area_id\" xorm:\"default 'NULL' comment('县区编码') VARCHAR(6)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"`linksystem_id`\" xorm:\"default 'NULL' comment('源业务系统编码') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"link_id\" xorm:\"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)\" example:\"0383FF67-CCBA-4256-891E-BAFD487547FA\"`\n`json:\"create_time\" xorm:\"default 'NULL' created comment('建立时间') DATETIME\" example:\"2020-06-11 09:19:26\"`\n`json:\"change_time\" xorm:\"default 'NULL' updated comment('最近修改时间') DATETIME\" example:\"2020-06-11 09:19:26\"`\n`json:\"delete_time\" xorm:\"default 'NULL' deleted comment('删除时间') DATETIME\" example:\"2020-06-11 09:19:26\"`\n`json:\"delete_flag\" xorm:\"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)\" example:\"1\"`\n`json:\"enable_flag\" xorm:\"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)\" example:\"1\"`\n`json:\"page\" example:\"1\"`",
"consumes": [
"application/json"
],

@ -1121,14 +1121,14 @@ paths:
consumes:
- application/json
description: |-
json:"datasource_id" xorm:"not null comment('数据源ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
json:"datasource_code" xorm:"comment('数据源编码') default 'NULL' VARCHAR(255)"
json:"`source_systemid`" xorm:"not null comment('源系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
json:"`consume_systemid`" xorm:"not null comment('数据使用系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
`*`json:"datasource_id" xorm:"not null comment('数据源ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
`*`json:"datasource_code" xorm:"comment('数据源编码') default 'NULL' VARCHAR(255)"
`*`json:"`source_systemid`" xorm:"not null comment('源系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
`*`json:"`consume_systemid`" xorm:"not null comment('数据使用系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
json:"query_flag" xorm:"not null default 1 comment('可查【1-1否】') INT(11)" example:"1"
json:"set_flag" xorm:"not null default -1 comment('可修改【1-1否】') INT(11)" example:"1"
json:"consume_type" xorm:"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)" example:"-1"
json:"`consume_orgid`" xorm:"not null comment('使用数据机构编码【-1不限制】') index VARCHAR(36)" example:"-1"
`*`json:"consume_type" xorm:"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)" example:"-1"
`*`json:"consume_orgid" xorm:"not null comment('使用数据机构ID【-1不限制】') index VARCHAR(36)" example:"-1"
json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"
json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"
json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"
@ -1160,7 +1160,7 @@ paths:
post:
consumes:
- application/json
description: json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"
description: '`*`json:"id" xorm:"not null pk comment(''ID'') VARCHAR(36)"'
operationId: deleteDataaccess
parameters:
- description: 数据订阅ID
@ -1193,8 +1193,8 @@ paths:
json:"`consume_systemid`" xorm:"not null comment('数据使用系统编码') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
json:"query_flag" xorm:"not null default 1 comment('可查【1-1否】') INT(11)" example:"1"
json:"set_flag" xorm:"not null default -1 comment('可修改【1-1否】') INT(11)" example:"1"
json:"consume_type" xorm:"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)" example:"-1"
json:"`consume_orgid`" xorm:"not null comment('使用数据机构编码【-1不限制】') index VARCHAR(36)" example:"-1"
`*`json:"consume_type" xorm:"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)" example:"-1"
`*`json:"consume_orgid" xorm:"not null comment('使用数据机构ID【-1不限制】') index VARCHAR(36)" example:"-1"
json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"
json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"
json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"
@ -1235,7 +1235,7 @@ paths:
json:"query_flag" xorm:"not null default 1 comment('可查【1-1否】') INT(11)" example:"1"
json:"set_flag" xorm:"not null default -1 comment('可修改【1-1否】') INT(11)" example:"1"
json:"consume_type" xorm:"not null comment('使用数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)" example:"-1"
json:"`consume_orgid`" xorm:"not null comment('使用数据机构编码【-1不限制】') index VARCHAR(36)" example:"-1"
json:"consume_orgid" xorm:"not null comment('使用数据机构ID【-1不限制】') index VARCHAR(36)" example:"-1"
json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"
json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"
json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"
@ -1272,7 +1272,7 @@ paths:
post:
consumes:
- application/json
description: json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"
description: '`*`json:"id" xorm:"not null pk comment(''ID'') VARCHAR(36)"'
operationId: deleteDataerror
parameters:
- description: 数据异常ID
@ -1340,15 +1340,15 @@ paths:
consumes:
- application/json
description: |-
json:"`system_id`" xorm:"not null comment('数据提供系统编码') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"
json:"datasource_name" xorm:"not null comment('数据源名称') VARCHAR(100)" example:"组织机构信息"
json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"
`*`json:"`system_id`" xorm:"not null comment('数据提供系统编码') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"
`*`json:"datasource_name" xorm:"not null comment('数据源名称') VARCHAR(100)" example:"组织机构信息"
`*`json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"
json:"datasource_detail" xorm:"default 'NULL' comment('数据源说明') VARCHAR(500)" example:"教育主管单位、教辅单位、各级各类学校机构信息"
json:"set_flag" xorm:"not null default 1 comment('可修改【1-1否】') INT(11)" example:"1"
json:"collect_flag" xorm:"not null default 1 comment('可汇集【1-1否】') INT(11)" example:"1"
json:"provide_type" xorm:"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)" example:"2"
json:"provide_orgid" xorm:"not null comment('提供数据机构ID【-1不限制】') index VARCHAR(36)" example:"-1"
json:"datastore_type" xorm:"not null comment('数据存储类型【1DB2ES3Kafka】') INT(11)" example:"2"
`*`json:"provide_type" xorm:"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') INT(11)" example:"2"
`*`json:"provide_orgid" xorm:"not null comment('提供数据机构ID【-1不限制】') index VARCHAR(36)" example:"-1"
`*`json:"datastore_type" xorm:"not null comment('数据存储类型【1DB2ES3Kafka】') INT(11)" example:"2"
json:"dic_id, omitempty" xorm:"default 'NULL' comment('数据字典ID') index VARCHAR(36)" example:"1C0F6832-65C6-4888-BDDE-A3373B11499D"
json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)" example:"1"
json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)" example:"1"
@ -1378,7 +1378,7 @@ paths:
post:
consumes:
- application/json
description: json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"
description: '`*`json:"id" xorm:"not null pk comment(''ID'') VARCHAR(36)"'
operationId: deleteDatasource
parameters:
- description: 数据源ID
@ -1405,12 +1405,12 @@ paths:
consumes:
- application/json
description: |-
json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"
`*`json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"
json:"`orgids`" xorm:"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') VARCHAR(36)" example:"[F38BD0DB-0142-4356-8F2B-623813FC2578,F38BD0DB-0142-4356-8F2B-623813FC2578]"
json:"begin_time" example:"2020-06-22 17:26:53"`
json:"conditions" example:""
json:"sort" example:""
json:"data_id" example:"CfBQnRJPyXMEI5nqLT0"
`*`json:"data_id" example:"CfBQnRJPyXMEI5nqLT0"
operationId: getESDoc
parameters:
- description: es数据
@ -1478,7 +1478,7 @@ paths:
consumes:
- application/json
description: |-
json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"
`*`json:"datasource_code" xorm:"not null comment('数据源编码') VARCHAR(8)" example:"org_tree"
json:"`orgids`" xorm:"not null comment('提供数据范围【1本机构2本机构以及下属机构-1不限制】') VARCHAR(36)" example:"[F38BD0DB-0142-4356-8F2B-623813FC2578,F38BD0DB-0142-4356-8F2B-623813FC2578]"
json:"begin_time" example:"2020-06-22 17:26:53"`
json:"conditions" example:""
@ -1576,13 +1576,13 @@ paths:
consumes:
- application/json
description: |-
json:"dic_name" xorm:"not null comment('字典/字典项名称') VARCHAR(100)" example:"sex"
json:"dic_value" xorm:"not null comment('字典/字典项值') VARCHAR(100)" example:"10"
json:"dic_type" xorm:"not null default 1 comment('字典类型【1国标数据、关联数据源2国标字典、关联元数据】') INT(11)" example:"1"
json:"dic_info" xorm:"default ''NULL'' comment('字典项说明') VARCHAR(500)" example:"我是字典项说明"
`*`json:"dic_name" xorm:"not null comment('字典/字典项名称') VARCHAR(100)" example:"sex"
`*`json:"dic_value" xorm:"not null comment('字典/字典项值') VARCHAR(100)" example:"10"
`*`json:"dic_type" xorm:"not null default 1 comment('字典类型【1国标数据、关联数据源2国标字典、关联元数据】') INT(11)" example:"1"
`*`json:"dic_info" xorm:"default ''NULL'' comment('字典项说明') VARCHAR(500)" example:"我是字典项说明"
json:"root_flag" xorm:"not null default -1 comment('是否是字典【1-1否】') INT(11)" example:"1"
json:"jyt_flag" xorm:"not null default 1 comment('是否国标【1-1自定义】') INT(11)" example:"1"
json:"parent_id" xorm:"default ''NULL'' comment('字典ID【字典项父节点】') VARCHAR(36)" example:"38BD0DB-0142-4356-8F2B-623813FC2578"
`*`json:"parent_id" xorm:"default ''NULL'' comment('字典ID【字典项父节点】') VARCHAR(36)" example:"38BD0DB-0142-4356-8F2B-623813FC2578"
json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-22 17:26:53"
json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-22 17:26:53"
json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-22 17:26:53"
@ -1614,7 +1614,7 @@ paths:
post:
consumes:
- application/json
description: json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"
description: '`*`json:"id" xorm:"not null pk comment(''ID'') VARCHAR(36)"'
operationId: deleteJyt2012
parameters:
- description: 标准字典ID
@ -1725,18 +1725,18 @@ paths:
consumes:
- application/json
description: |-
json:"`datasource_id`" xorm:"default ''NULL'' comment('数据源编码') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"
json:"item_name" xorm:"not null comment('数据项名称【英文】') VARCHAR(50)" example:"org_name"
`*`json:"`datasource_id`" xorm:"default ''NULL'' comment('数据源编码') index VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"
`*`json:"item_name" xorm:"not null comment('数据项名称【英文】') VARCHAR(50)" example:"org_name"
json:"dic_id" xorm:"default ''NULL'' comment('数据字典ID') index VARCHAR(36)" example:"F38BD0DB-0142-4356-8F2B-623813FC2578"
json:"item_type" xorm:"default ''NULL'' comment('数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】') VARCHAR(50)" example:"string"
json:"item_length" xorm:"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)" example:"36"
json:"item_pattern" xorm:"default 'NULL' comment('数据项模式') VARCHAR(255)" example:""
json:"item_info" xorm:"not null comment('数据项说明') VARCHAR(50)" example:"我是数据项说明"
json:"check_name" xorm:"not null default -1 comment('是否检测名称【1-1否】') INT(11)" example:"1"
json:"check_dic" xorm:"not null default -1 comment('是否检测字典') INT(11)" example:"1"
json:"check_type" xorm:"not null default -1 comment('是否检测类型') INT(11)" example:"1"
json:"check_pattern" xorm:"not null default -1 comment('是否检测模式') INT(11)" example:"1"
json:"check_exist" xorm:"not null default -1 comment('是否检测必填') INT(11)" example:"1"
`*`json:"item_type" xorm:"default ''NULL'' comment('数据项类型【1整数、2浮点、3字符、4布尔、5日期、6时间、7日期+时间】') VARCHAR(50)" example:"string"
`*`json:"item_length" xorm:"default NULL comment('数据最大长度【UTF-8 字符长度】') INT(11)" example:"36"
`*`json:"item_pattern" xorm:"default 'NULL' comment('数据项模式') VARCHAR(255)" example:""
`*`json:"item_info" xorm:"not null comment('数据项说明') VARCHAR(50)" example:"我是数据项说明"
`*`json:"check_name" xorm:"not null default -1 comment('是否检测名称【1-1否】') INT(11)" example:"1"
`*`json:"check_dic" xorm:"not null default -1 comment('是否检测字典') INT(11)" example:"1"
`*`json:"check_type" xorm:"not null default -1 comment('是否检测类型') INT(11)" example:"1"
`*`json:"check_pattern" xorm:"not null default -1 comment('是否检测模式') INT(11)" example:"1"
`*`json:"check_exist" xorm:"not null default -1 comment('是否检测必填') INT(11)" example:"1"
json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)" example:"1"
json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)" example:"1"
operationId: createMetadata
@ -1765,7 +1765,7 @@ paths:
post:
consumes:
- application/json
description: json:"index_name" xorm:"not null comment('ES Index Name') VARCHAR(50)" example:"org_tree"
description: '`*`json:"index_name" xorm:"not null comment(''ES Index Name'') VARCHAR(50)" example:"org_tree"'
operationId: createMetadataES
parameters:
- description: ES元数据
@ -1792,7 +1792,7 @@ paths:
post:
consumes:
- application/json
description: json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"
description: '`*`json:"id" xorm:"not null pk comment(''ID'') VARCHAR(36)"'
operationId: deleteMetadata
parameters:
- description: 元数据ID
@ -1906,7 +1906,24 @@ paths:
post:
consumes:
- application/json
description: 创建机构
description: |-
创建机构
`json:"id" xorm:"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`*`json:"org_name" xorm:"not null comment('机构名称') VARCHAR(100)" example:"开平区教育局"`
`*`json:"org_type" xorm:"not null comment('机构类型【1教育局、2学校、3教辅单位、4大学区、5部门、6、主校7、学段、8年级、9班级】') INT(11)" example:"1"`
`*`json:"parent_id" xorm:"default ''NULL'' comment('父节点ID') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"cat_id" xorm:"not null comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`*`json:"province_id" xorm:"default 'NULL' comment('省编码') VARCHAR(6)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`*`json:"city_id" xorm:"default 'NULL' comment('地市编码') VARCHAR(6)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`*`json:"area_id" xorm:"default 'NULL' comment('县区编码') VARCHAR(6)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`*`json:"`linksystem_id`" xorm:"default 'NULL' comment('源业务系统编码') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"link_id" xorm:"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-11 09:19:26"`
`json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-11 09:19:26"`
`json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-11 09:19:26"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)" example:"1"`
`json:"page" example:"1"`
operationId: createOrgtree
parameters:
- description: 机构
@ -1933,7 +1950,9 @@ paths:
post:
consumes:
- application/json
description: 删除机构
description: |-
删除机构
`*`json:"id" xorm:"not null pk comment('ID') VARCHAR(36)"
operationId: deleteOrgtree
parameters:
- description: 机构ID
@ -1959,7 +1978,24 @@ paths:
post:
consumes:
- application/json
description: 获取机构列表
description: |-
获取机构列表
`json:"id" xorm:"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"org_name" xorm:"not null comment('机构名称') VARCHAR(100)" example:"开平区教育局"`
`json:"org_type" xorm:"not null comment('机构类型【1教育局、2学校、3教辅单位、4大学区、5部门、6、主校7、学段、8年级、9班级】') INT(11)" example:"1"`
`json:"parent_id" xorm:"default ''NULL'' comment('父节点ID') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"cat_id" xorm:"not null comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"province_id" xorm:"default 'NULL' comment('省编码') VARCHAR(6)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"city_id" xorm:"default 'NULL' comment('地市编码') VARCHAR(6)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"area_id" xorm:"default 'NULL' comment('县区编码') VARCHAR(6)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"`linksystem_id`" xorm:"default 'NULL' comment('源业务系统编码') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"link_id" xorm:"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-11 09:19:26"`
`json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-11 09:19:26"`
`json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-11 09:19:26"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)" example:"1"`
`json:"page" example:"1"`
operationId: readOrgtree
parameters:
- description: 机构
@ -1986,7 +2022,24 @@ paths:
post:
consumes:
- application/json
description: 修改机构
description: |-
修改机构
`json:"id" xorm:"not null pk comment('ID【根节点默认为-1】') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"org_name" xorm:"not null comment('机构名称') VARCHAR(100)" example:"开平区教育局"`
`json:"org_type" xorm:"not null comment('机构类型【1教育局、2学校、3教辅单位、4大学区、5部门、6、主校7、学段、8年级、9班级】') INT(11)" example:"1"`
`json:"parent_id" xorm:"default ''NULL'' comment('父节点ID') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"cat_id" xorm:"not null comment('层级ID【4位数字一组、右侧多级累加】') VARCHAR(100)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"province_id" xorm:"default 'NULL' comment('省编码') VARCHAR(6)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"city_id" xorm:"default 'NULL' comment('地市编码') VARCHAR(6)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"area_id" xorm:"default 'NULL' comment('县区编码') VARCHAR(6)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"`linksystem_id`" xorm:"default 'NULL' comment('源业务系统编码') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"link_id" xorm:"default 'NULL' comment('业务系统机构原ID') VARCHAR(36)" example:"0383FF67-CCBA-4256-891E-BAFD487547FA"`
`json:"create_time" xorm:"default 'NULL' created comment('建立时间') DATETIME" example:"2020-06-11 09:19:26"`
`json:"change_time" xorm:"default 'NULL' updated comment('最近修改时间') DATETIME" example:"2020-06-11 09:19:26"`
`json:"delete_time" xorm:"default 'NULL' deleted comment('删除时间') DATETIME" example:"2020-06-11 09:19:26"`
`json:"delete_flag" xorm:"not null default -1 comment('删除标志【默认-11删除-1正常】') INT(11)" example:"1"`
`json:"enable_flag" xorm:"not null default 1 comment('启用标志【默认11启用-1禁用】') INT(11)" example:"1"`
`json:"page" example:"1"`
operationId: updateOrgtree
parameters:
- description: 机构ID

Loading…
Cancel
Save