diff --git a/dsBaseWeb/Business/BaseTeacher/BaseTeacherService/BaseTeacherProtoService.go b/dsBaseWeb/Business/BaseTeacher/BaseTeacherService/BaseTeacherProtoService.go index 9ad987c4..539b7484 100644 --- a/dsBaseWeb/Business/BaseTeacher/BaseTeacherService/BaseTeacherProtoService.go +++ b/dsBaseWeb/Business/BaseTeacher/BaseTeacherService/BaseTeacherProtoService.go @@ -7,6 +7,7 @@ import ( "dsBaseWeb/Business/SysDict/SysDictProto" "dsBaseWeb/Business/SysDict/SysDictService" "dsBaseWeb/Utils/CommonUtil" + "dsBaseWeb/Utils/ConfigUtil" "dsBaseWeb/Utils/LogUtil" "os" "path/filepath" @@ -94,7 +95,7 @@ func ImportTeacherExcel(bureauId string, excelPath string, actionPersonId string //删除7天前无用的模板文件 func DeleteInvalidFile(path string) { //7天 - diffTime := int64(3600 * 24 * 7) + diffTime := int64(3600 * 24 * ConfigUtil.DiffTime) //当前时间,使用Unix时间戳 nowTime := time.Now().Unix() err := filepath.Walk(path, func(path string, f os.FileInfo, err error) error { diff --git a/dsBaseWeb/Config/Config.ini b/dsBaseWeb/Config/Config.ini index b756ed78..614d7f17 100644 --- a/dsBaseWeb/Config/Config.ini +++ b/dsBaseWeb/Config/Config.ini @@ -37,6 +37,7 @@ KafkaAccessLogTopic = dsAccessLog [sso] ssoServer = http://10.10.6.200 +#ssoServer = http://10.10.24.100:8000 authCodeURI = /oauth2/authorize authTokenURI = /oauth2/access_token clientId = bponv5q563uhmh4gf9rg diff --git a/dsBaseWeb/Utils/ConfigUtil/ConfigUtil.go b/dsBaseWeb/Utils/ConfigUtil/ConfigUtil.go index e7d0c9d3..798398bc 100644 --- a/dsBaseWeb/Utils/ConfigUtil/ConfigUtil.go +++ b/dsBaseWeb/Utils/ConfigUtil/ConfigUtil.go @@ -51,6 +51,8 @@ var ( GrantType string RedirectURI string AccessTokenKey string + + DiffTime int64 ) //cookie中的SessionId名称 @@ -127,9 +129,11 @@ func init() { RedirectURI = iniParser.GetString("sso", "redirectURI") AccessTokenKey = iniParser.GetString("sso", "accessTokenKey") //mysql - MysqlIp=iniParser.GetString("mysql", "ip") - MysqlPort=iniParser.GetString("mysql", "port") - MysqlDbName=iniParser.GetString("mysql", "db_name") + MysqlIp = iniParser.GetString("mysql", "ip") + MysqlPort = iniParser.GetString("mysql", "port") + MysqlDbName = iniParser.GetString("mysql", "db_name") + + DiffTime = iniParser.GetInt64("deleteXlsx","diffTime") } type IniParser struct { diff --git a/dsBaseWeb/docs/docs.go b/dsBaseWeb/docs/docs.go index b1a959a4..81187fde 100644 --- a/dsBaseWeb/docs/docs.go +++ b/dsBaseWeb/docs/docs.go @@ -1,6 +1,6 @@ // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT // This file was generated by swaggo/swag at -// 2020-07-22 09:49:13.802634 +0800 CST m=+0.235850801 +// 2020-05-20 14:45:12.3054401 +0800 CST m=+0.096772501 package docs @@ -14,68 +14,1997 @@ import ( ) var doc = `{ - "schemes": {{ marshal .Schemes }}, - "swagger": "2.0", + "definitions": { + "Model.Res": { + "properties": { + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.area.PageGovArea": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "行政区划代码", + "example": "100000", + "type": "string" + }, + "area_level_id": { + "description": "行政区划级别 例:省、市、区", + "example": 0, + "type": "integer" + }, + "area_name": { + "description": "行政区划名称", + "example": "中华人民共和国", + "type": "string" + }, + "area_type_id": { + "description": "行政区划类型 0:无 1:县市区 2:开发区", + "example": 0, + "type": "integer" + }, + "master_code": { + "description": "上级行政区划代码", + "example": "0", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.class.GetClassInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "bh": { + "description": "班号", + "example": 10, + "type": "integer" + }, + "class_alias": { + "description": "班级别名", + "example": "2020级10班", + "type": "string" + }, + "class_id": { + "description": "班级ID", + "example": "14D86278-DFA7-46CC-8DC2-2A22DAB85917", + "type": "string" + }, + "class_name": { + "description": "班级名称", + "example": "2020级10班", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 09:28:56", + "type": "timestamp" + }, + "rxnf": { + "description": "入学年份", + "example": 2020, + "type": "integer" + }, + "schooling_length": { + "description": "学制", + "example": 6, + "type": "integer" + }, + "stage_id": { + "description": "所属学段ID", + "example": "2", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.class.GetStageInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "stage_id": { + "description": "学段ID", + "example": "1", + "type": "string" + }, + "stage_name": { + "description": "学段名称", + "example": "学前教育", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.class.PageClassInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "class_alias": { + "description": "班级别名", + "example": "2020级10班", + "type": "string" + }, + "class_id": { + "description": "班级ID", + "example": "14D86278-DFA7-46CC-8DC2-2A22DAB85917", + "type": "string" + }, + "class_name": { + "description": "班级名称", + "example": "2020级10班", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 09:28:56", + "type": "timestamp" + }, + "student_count": { + "description": "学生人数", + "example": "41", + "type": "string" + }, + "teacher_id": { + "description": "班主任ID", + "example": "", + "type": "string" + }, + "teacher_name": { + "description": "班主任", + "example": "李老师", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.dict.GetDictInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "dict_code": { + "description": "字典编码", + "example": "10", + "type": "string" + }, + "dict_value": { + "description": "字典值", + "example": "普通中小学/职业中学", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.dict.GetStageInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "stage_id": { + "description": "学段ID", + "example": "1", + "type": "string" + }, + "stage_name": { + "description": "学段名称", + "example": "学前教育", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.dict.GetSubjectInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "subject_id": { + "description": "学科ID", + "example": "11", + "type": "string" + }, + "subject_name": { + "description": "学科名称", + "example": "品德与生活(社会)", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.dict.PageDict": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "dict_code": { + "description": "字典编码", + "example": "10", + "type": "string" + }, + "dict_value": { + "description": "字典值", + "example": "普通中小学/职业中学", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.global.GetGlobalInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "b_use": { + "description": "是否启用 0:未启用 1:启用", + "example": 1, + "type": "integer" + }, + "global_code": { + "description": "全局变量代码", + "example": "AAAAAA", + "type": "string" + }, + "global_id": { + "description": "全局变量ID", + "example": "954839E9-D743-4FC2-A8EA-EE32327A2895", + "type": "string" + }, + "global_remarks": { + "description": "全局变量备注", + "example": "11111111", + "type": "string" + }, + "global_type_id": { + "description": "全局变量分类", + "example": 1, + "type": "integer" + }, + "global_value": { + "description": "全局变量值", + "example": "3333333", + "type": "string" + }, + "sort_id": { + "description": "排序号", + "example": 5, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.global.PageGlobalInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "b_use": { + "description": "是否启用 0:未启用 1:启用", + "example": 1, + "type": "integer" + }, + "global_code": { + "description": "全局变量代码", + "example": "AAAAAA", + "type": "string" + }, + "global_id": { + "description": "全局变量ID", + "example": "954839E9-D743-4FC2-A8EA-EE32327A2895", + "type": "string" + }, + "global_remarks": { + "description": "全局变量备注", + "example": "11111111", + "type": "string" + }, + "global_type_id": { + "description": "全局变量分类", + "example": 1, + "type": "integer" + }, + "global_value": { + "description": "全局变量值", + "example": "3333333", + "type": "string" + }, + "sort_id": { + "description": "排序号", + "example": 5, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.loginperson.PageAreaManagerInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_name": { + "description": "地区名称", + "example": "长春市", + "type": "string" + }, + "b_use": { + "description": "是否启用 0:未启用 1:启用", + "example": -1, + "type": "integer" + }, + "id": { + "description": "主键ID", + "example": "00073C84-2D9D-4CEB-8F1F-98F952A3B6F2", + "type": "string" + }, + "id_int": { + "description": "整数ID", + "example": 6170, + "type": "integer" + }, + "identity_id": { + "description": "身份ID", + "example": 1, + "type": "integer" + }, + "login_name": { + "description": "用户名", + "example": "sys6170", + "type": "string" + }, + "original_pwd": { + "description": "原始明文密码", + "example": "068555", + "type": "string" + }, + "person_id": { + "description": "人员ID", + "example": "EA661D2F-F499-43AF-804C-9CCD1C55AE13", + "type": "string" + }, + "person_name": { + "description": "人员姓名", + "example": "会宁县管理员", + "type": "string" + }, + "pwd": { + "description": "密码(加密后)", + "example": "LRKxQ0TKStHArqeJL/xLkw==", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.loginperson.PageBureauManagerInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "b_use": { + "description": "是否启用 0:未启用 1:启用", + "example": -1, + "type": "integer" + }, + "id": { + "description": "主键ID", + "example": "00073C84-2D9D-4CEB-8F1F-98F952A3B6F2", + "type": "string" + }, + "id_int": { + "description": "整数ID", + "example": 6170, + "type": "integer" + }, + "identity_id": { + "description": "身份ID", + "example": 1, + "type": "integer" + }, + "login_name": { + "description": "用户名", + "example": "sys6170", + "type": "string" + }, + "org_name": { + "description": "单位名称", + "example": "长春市第一中学", + "type": "string" + }, + "original_pwd": { + "description": "原始明文密码", + "example": "068555", + "type": "string" + }, + "person_id": { + "description": "人员ID", + "example": "EA661D2F-F499-43AF-804C-9CCD1C55AE13", + "type": "string" + }, + "person_name": { + "description": "人员姓名", + "example": "会宁县管理员", + "type": "string" + }, + "pwd": { + "description": "密码(加密后)", + "example": "LRKxQ0TKStHArqeJL/xLkw==", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.GetEduAssistInfoById": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "address": { + "description": "组织机构地址", + "example": "", + "type": "string" + }, + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "fddbr": { + "description": "机构法定代表人", + "example": "", + "type": "string" + }, + "fddbrdh": { + "description": "机构法定代表人电话", + "example": "", + "type": "string" + }, + "lxdh": { + "description": "机构联系电话", + "example": "", + "type": "string" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "sort_id": { + "description": "排序号(在获取信息时如果排序号大于9999,前台不显示)", + "example": 2421, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.GetEduInfoById": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "address": { + "description": "组织机构地址", + "example": "", + "type": "string" + }, + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "fddbr": { + "description": "机构法定代表人", + "example": "", + "type": "string" + }, + "fddbrdh": { + "description": "机构法定代表人电话", + "example": "", + "type": "string" + }, + "lxdh": { + "description": "机构联系电话", + "example": "", + "type": "string" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "sort_id": { + "description": "排序号(在获取信息时如果排序号大于9999,前台不显示)", + "example": 2421, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.GetOrgInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_manager_id": { + "description": "部门领导ID", + "example": "00B15A6D-4EE1-481C-88F4-054A7BE9F60F", + "type": "string" + }, + "org_manager_name": { + "description": "部门领导名称", + "example": "李老师", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "parent_id": { + "description": "上级部门ID,单位填0", + "example": "00000000-0000-0000-0000-000000000000", + "type": "string" + }, + "sort_id": { + "description": "排序号(在获取信息时如果排序号大于9999,前台不显示)", + "example": 2421, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.GetSchoolInfoById": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "address": { + "description": "组织机构地址", + "example": "", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "directly_under_type": { + "description": "直属类型 1:普通 2:省直 3:市直", + "example": 0, + "type": "integer" + }, + "fddbr": { + "description": "机构法定代表人", + "example": "", + "type": "string" + }, + "fddbrdh": { + "description": "机构法定代表人电话", + "example": "", + "type": "string" + }, + "fzr": { + "description": "机构负责人ID(*一个单位只能有一个负责人)", + "example": "", + "type": "string" + }, + "lxdh": { + "description": "机构联系电话", + "example": "", + "type": "string" + }, + "main_school_id": { + "description": "如果是分校,所属主校的ID,如果是主校,是自己的ID,如果是分校,是主校ID,如果是普通校,也是自己的ID", + "example": "", + "type": "string" + }, + "main_school_type": { + "description": "主校类型,1:普通校,2:主校,3:分校", + "example": -1, + "type": "integer" + }, + "manage_org_id": { + "description": "上级管理单位ID(*一个单位只能有一个上级管理单位)", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "sort_id": { + "description": "排序号(在获取信息时如果排序号大于9999,前台不显示)", + "example": 2421, + "type": "integer" + }, + "szdcxlxm": { + "description": "学校城乡类型(学校专有属性)有字典", + "example": "", + "type": "string" + }, + "xxbbm": { + "description": "学校办别(学校专有属性)有字典", + "example": "", + "type": "string" + }, + "xxbxlxm": { + "description": "学校办学类型(学校专有属性)有字典", + "example": "", + "type": "string" + }, + "xxjbzm": { + "description": "学校举办者(学校专有属性)有字典", + "example": "", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageDisableEduInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageEduAssistInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageEnableEduInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "login_name": { + "description": "登录账号", + "example": "sys001", + "type": "string" + }, + "login_pwd": { + "description": "初始密码", + "example": "741369", + "type": "string" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageMainSchoolInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "main_school_type": { + "description": "主校类型,1:普通校,2:主校,3:分校", + "example": -1, + "type": "integer" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "xxbxlxm": { + "description": "学校办学类型(学校专有属性)有字典", + "example": "", + "type": "string" + }, + "xxbxlxm_name": { + "description": "学校办学类型名称", + "example": "小学", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageOrgInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_manager_name": { + "description": "部门领导", + "example": "李老师", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "parent_id": { + "description": "上级部门ID,单位填0", + "example": "00000000-0000-0000-0000-000000000000", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageSchoolInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "main_school_type": { + "description": "主校类型,1:普通校,2:主校,3:分校", + "example": -1, + "type": "integer" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "xxbxlxm": { + "description": "学校办学类型(学校专有属性)有字典", + "example": "", + "type": "string" + }, + "xxbxlxm_name": { + "description": "学校办学类型名称", + "example": "小学", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.purview.GetPurviewInfoById": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "business_code": { + "description": "业务系统编码", + "example": "B00001", + "type": "string" + }, + "menu_url": { + "description": "菜单的URL", + "example": "#", + "type": "string" + }, + "parent_id": { + "description": "父节点ID", + "example": "00000000-0000-0000-0000-000000000000", + "type": "string" + }, + "purview_id": { + "description": "权限ID", + "example": "29050385-3E01-4E7D-8805-21B19960351F", + "type": "string" + }, + "purview_name": { + "description": "权限名称", + "example": "用户信息管理", + "type": "string" + }, + "sort_id": { + "description": "排序号", + "example": 6, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.purview.PagePurviewInfoByBusinessCode": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "business_code": { + "description": "业务系统编码", + "example": "B00001", + "type": "string" + }, + "menu_url": { + "description": "菜单的URL", + "example": "#", + "type": "string" + }, + "parent_id": { + "description": "父节点ID", + "example": "00000000-0000-0000-0000-000000000000", + "type": "string" + }, + "purview_id": { + "description": "权限ID", + "example": "29050385-3E01-4E7D-8805-21B19960351F", + "type": "string" + }, + "purview_name": { + "description": "权限名称", + "example": "用户信息管理", + "type": "string" + }, + "sort_id": { + "description": "排序号", + "example": 6, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.purview.PagePurviewInfoByPersonIdBusinessCode": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "menu_icon": { + "description": "菜单的图标样式名", + "example": "", + "type": "string" + }, + "menu_url": { + "description": "菜单的URL", + "example": "#", + "type": "string" + }, + "parent_id": { + "description": "父节点ID", + "example": "00000000-0000-0000-0000-000000000000", + "type": "string" + }, + "purview_id": { + "description": "权限ID", + "example": "29050385-3E01-4E7D-8805-21B19960351F", + "type": "string" + }, + "purview_name": { + "description": "权限名称", + "example": "用户信息管理", + "type": "string" + }, + "sort_id": { + "description": "排序号", + "example": 6, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.role.GetPersonRoleInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "role_id": { + "description": "角色ID", + "example": "BF61C95F-3ADD-4F37-9FCD-97E69E1BF6E3", + "type": "string" + }, + "rule_id": { + "description": "具体管辖是哪个省、市、区或大学区ID,单位ID", + "example": "532927", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.student.GetStudentInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "bh": { + "description": "班号", + "example": 10, + "type": "integer" + }, + "class_alias": { + "description": "班级别名", + "example": "2020级10班", + "type": "string" + }, + "class_code": { + "description": "班级编码 规则:10位学校编码+4位入学年份+1位学段+3位班号 学段:0:幼儿 1:小学 2:初中 3:高中 4:职业 5:高等", + "example": "2020210", + "type": "string" + }, + "class_name": { + "description": "班级名称", + "example": "2020级10班", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 09:28:56", + "type": "timestamp" + }, + "org_id": { + "description": "所在部门(除职业和高等外都是0)", + "example": "", + "type": "string" + }, + "rxjj": { + "description": "入学季节", + "example": 9, + "type": "integer" + }, + "rxnf": { + "description": "入学年份", + "example": 2020, + "type": "integer" + }, + "schooling_length": { + "description": "学制", + "example": 6, + "type": "integer" + }, + "stage_id": { + "description": "所属学段ID", + "example": "2", + "type": "string" + }, + "teacher_id": { + "description": "班主任ID", + "example": "", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.student.PageStudentInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "create_time": { + "description": "创建时间", + "example": "2020-07-22 10:46:03", + "type": "timestamp" + }, + "login_name": { + "description": "登录名", + "example": "stu001", + "type": "string" + }, + "login_status": { + "description": "账号状态", + "example": "已启用", + "type": "string" + }, + "original_pwd": { + "description": "初始密码", + "example": "159357", + "type": "string" + }, + "person_id": { + "description": "学生ID", + "example": "0B19F6D4-3351-4FDB-A9FC-5EA02417C782", + "type": "string" + }, + "xb_name": { + "description": "性别", + "example": "男", + "type": "string" + }, + "xbm": { + "description": "性别(有字典)", + "example": "1", + "type": "string" + }, + "xm": { + "description": "学生姓名", + "example": "陈强", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.teacher.GetTeacherInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "bureau_id": { + "description": "所属单位(主)", + "example": "A817DF74-5002-4AE0-9D1E-86A1D7A0F81B", + "type": "string" + }, + "bzlbm": { + "description": "编制 (有字典)", + "example": "9", + "type": "string" + }, + "city_code": { + "description": "所属市CODE", + "example": "330100", + "type": "string" + }, + "cjny": { + "description": "从教年月", + "example": "1999-09-01", + "type": "date" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "csrq": { + "description": "出生日期", + "example": "1977-10-11", + "type": "date" + }, + "district_code": { + "description": "所属县区CODE", + "example": "330108", + "type": "string" + }, + "dzxx": { + "description": "电子信箱", + "example": "xx@dsideal.com", + "type": "string" + }, + "lxdh": { + "description": "联系电话", + "example": "18888888888", + "type": "string" + }, + "main_school_id": { + "description": "所属主校ID", + "example": "", + "type": "string" + }, + "mzm": { + "description": "民族 (有字典)", + "example": "1", + "type": "string" + }, + "org_id": { + "description": "所属部门(主)", + "example": "A817DF74-5002-4AE0-9D1E-86A1D7A0F81B", + "type": "string" + }, + "org_name": { + "description": "部门名称", + "example": "语文组", + "type": "string" + }, + "person_id": { + "description": "教师ID", + "example": "00159E8E-27CB-40E7-805E-A1A88323C7C8", + "type": "string" + }, + "province_code": { + "description": "所属省CODE", + "example": "330000", + "type": "string" + }, + "sfzjh": { + "description": "身份证件号", + "example": "-1", + "type": "string" + }, + "sfzjlxm": { + "description": "身份证件类型代码 (有字典)", + "example": "4", + "type": "string" + }, + "sort_id": { + "description": "在主部门的排序号", + "example": 1, + "type": "integer" + }, + "stage_id": { + "description": "主要任课学段 (有字典)", + "example": "Z", + "type": "string" + }, + "subject_id": { + "description": "主要任课学科 (有字典)", + "example": "99", + "type": "string" + }, + "xbm": { + "description": "性别 (有字典)", + "example": "男", + "type": "string" + }, + "xlm": { + "description": "学历 (有字典)", + "example": "90", + "type": "string" + }, + "xm": { + "description": "教师姓名", + "example": "滨江区教育局管理员", + "type": "string" + }, + "xwm": { + "description": "学位 (有字典)", + "example": "0", + "type": "string" + }, + "zcm": { + "description": "职称 (有字典)", + "example": "5", + "type": "string" + }, + "zzmmm": { + "description": "政治面貌 (有字典)", + "example": "13", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.teacher.PageTeacherInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "login_name": { + "description": "登录名", + "example": "stu001", + "type": "string" + }, + "login_status": { + "description": "账号状态", + "example": "已启用", + "type": "string" + }, + "org_name": { + "description": "所属部门", + "example": "办公室", + "type": "string" + }, + "original_pwd": { + "description": "初始密码", + "example": "159357", + "type": "string" + }, + "person_id": { + "description": "教师ID", + "example": "00159E8E-27CB-40E7-805E-A1A88323C7C8", + "type": "string" + }, + "sort_id": { + "description": "在主部门的排序号", + "example": 1, + "type": "integer" + }, + "stage_name": { + "description": "学段名称", + "example": "小学", + "type": "string" + }, + "subject_name": { + "description": "学科名称", + "example": "数学", + "type": "string" + }, + "xb_name": { + "description": "性别", + "example": "男", + "type": "string" + }, + "xbm": { + "description": "性别 (有字典)", + "example": "男", + "type": "string" + }, + "xm": { + "description": "教师姓名", + "example": "滨江区教育局管理员", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + } + }, + "host": "127.0.0.1:8002", "info": { - "description": "{{.Description}}", - "title": "{{.Title}}", "contact": { + "email": "support@swagger.io", "name": "API Support", - "url": "http://www.swagger.io/support", - "email": "support@swagger.io" + "url": "http://www.swagger.io/support" }, + "description": "分布式,大并发,高可用", "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, - "version": "{{.Version}}" + "title": "基础数据API", + "version": "1.0" }, - "host": "{{.Host}}", - "basePath": "{{.BasePath}}", "paths": { - "/base/area/AddGovArea": { - "post": { - "description": "增加行政区划信息", + "/base/business/GetBaseBusiness": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "行政区划" - ], - "summary": "增加行政区划信息", + "description": "获取业务系统信息(单条)", "parameters": [ { - "type": "string", - "description": "区域代码", - "name": "areaCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "区域名称", - "name": "areaName", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "上级代码", - "name": "masterCode", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "区域类型", - "name": "areaTypeId", - "in": "formData", - "required": true + "description": "业务系统编码", + "in": "query", + "name": "businessCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -84,59 +2013,48 @@ var doc = `{ } } }, - "x-emptylimit": [ - "areaTypeId", - "areaCode", - "areaName", - "masterCode" + "summary": "获取业务系统信息(单条)", + "tags": [ + "业务系统维护" ], - "x-intlimit": [ - "areaTypeId" + "x-emptylimit": [ + "businessCode" ], "x-lengthlimit": [ { - "areaCode": "6,6" - }, - { - "masterCode": "6,6" - }, - { - "areaName": "3,50" + "businessCode": "6,6" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ] } }, - "/base/area/DeleteGovArea": { + "/base/business/AddBaseBusiness": { "post": { - "description": "删除行政区划信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "行政区划" - ], - "summary": "删除行政区划信息", + "description": "增加业务系统信息", "parameters": [ { - "type": "string", - "description": "区域代码", - "name": "areaCode", + "description": "业务系统编码", + "in": "formData", + "name": "businessCode", + "required": true, + "type": "string" + }, + { + "description": "业务系统名称", "in": "formData", - "required": true + "name": "businessName", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -145,47 +2063,45 @@ var doc = `{ } } }, + "summary": "增加业务系统信息", + "tags": [ + "业务系统维护" + ], "x-emptylimit": [ - "areaCode" + "businessCode", + "businessName" ], "x-lengthlimit": [ { - "areaCode": "6,6" + "businessCode": "6:6" + }, + { + "businessName": "1:50" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ] } }, - "/base/area/GetGovArea": { - "get": { - "description": "获取行政区划信息(单条)", + "/base/business/DeleteBaseBusiness": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "行政区划" - ], - "summary": "获取行政区划信息(单条)", + "description": "删除业务系统信息", "parameters": [ { - "type": "string", - "description": "行政区划码", - "name": "areaCode", - "in": "query", - "required": true + "description": "业务系统编码", + "in": "formData", + "name": "businessCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -194,144 +2110,48 @@ var doc = `{ } } }, - "x-emptylimit": [ - "areaCode" + "summary": "删除业务系统信息", + "tags": [ + "业务系统维护" ], - "x-intlimit": [ - "areaCode" + "x-emptylimit": [ + "businessCode" ], "x-lengthlimit": [ { - "areaCode": "6,6" + "businessCode": "6,6" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ] } }, - "/base/area/PageGovArea": { + "/base/business/PageBaseBusiness": { "get": { - "description": "获取行政区划信息(列表)", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "行政区划" - ], - "summary": "获取行政区划信息(列表)", + "description": "获取业务系统信息(列表)", "parameters": [ { - "type": "integer", "description": "第几页", - "name": "page", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "行政区划码", - "name": "areaCode", "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "x-emptylimit": [ - "page", - "limit", - "areaCode" - ], - "x-intlimit": [ - "page", - "limit", - "areaCode" - ], - "x-lengthlimit": [ - { - "areaCode": "6,6" + "name": "limit", + "required": true, + "type": "integer" } ], - "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "x-tablename": [ - "t_gov_area" - ] - } - }, - "/base/area/UpdateGovArea": { - "post": { - "description": "修改行政区划信息", - "consumes": [ - "application/x-www-form-urlencoded" - ], "produces": [ "application/json" ], - "tags": [ - "行政区划" - ], - "summary": "修改行政区划信息", - "parameters": [ - { - "type": "string", - "description": "区域代码", - "name": "areaCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "区域名称", - "name": "areaName", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "上级代码", - "name": "masterCode", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "区域类型", - "name": "areaTypeId", - "in": "formData", - "required": true - } - ], "responses": { "200": { "description": "OK", @@ -340,66 +2160,48 @@ var doc = `{ } } }, - "x-emptylimit": [ - "areaTypeId", - "areaCode", - "areaName", - "masterCode" - ], - "x-intlimit": [ - "areaTypeId" + "summary": "获取业务系统信息(列表)", + "tags": [ + "业务系统维护" ], - "x-lengthlimit": [ - { - "areaCode": "6,6" - }, - { - "masterCode": "6,6" - }, - { - "areaName": "3:50" - } + "x-emptylimit": [ + "page", + "limit" + ], + "x-intlimit": [ + "page", + "limit" ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ] } }, - "/base/business/AddBaseBusiness": { + "/base/business/UpdateBaseBusiness": { "post": { - "description": "增加业务系统信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "业务系统维护" - ], - "summary": "增加业务系统信息", + "description": "修改业务系统信息", "parameters": [ { - "type": "string", "description": "业务系统编码", - "name": "businessCode", "in": "formData", - "required": true + "name": "businessCode", + "required": true, + "type": "string" }, { - "type": "string", "description": "业务系统名称", - "name": "businessName", "in": "formData", - "required": true + "name": "businessName", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -408,13 +2210,17 @@ var doc = `{ } } }, + "summary": "修改业务系统信息", + "tags": [ + "业务系统维护" + ], "x-emptylimit": [ "businessCode", "businessName" ], "x-lengthlimit": [ { - "businessCode": "6:6" + "businessCode": "6,6" }, { "businessName": "1:50" @@ -425,121 +2231,168 @@ var doc = `{ ] } }, - "/base/business/DeleteBaseBusiness": { - "post": { - "description": "删除业务系统信息", + "/base/global/PageGlobalInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "业务系统维护" - ], - "summary": "删除业务系统信息", + "description": "获取全局变量列表", "parameters": [ { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", - "in": "formData", - "required": true + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "全局变量分类(全部传-1)", + "in": "query", + "name": "globalTypeId", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.global.PageGlobalInfo" } } }, + "summary": "获取全局变量列表", + "tags": [ + "全局变量" + ], "x-emptylimit": [ - "businessCode" + "page", + "limit", + "globalTypeId" ], - "x-lengthlimit": [ - { - "businessCode": "6,6" - } + "x-intlimit": [ + "page", + "limit", + "globalTypeId" ], "x-rolelimit": [ "1" + ], + "x-sort": [ + 1 + ], + "x-tablename": [ + "t_base_global" ] } }, - "/base/business/GetBaseBusiness": { + "/base/global/GetGlobalInfo": { "get": { - "description": "获取业务系统信息(单条)", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "业务系统维护" - ], - "summary": "获取业务系统信息(单条)", + "description": "获取全局变量信息", "parameters": [ { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", + "description": "全局变量ID", "in": "query", - "required": true + "name": "globalId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.global.GetGlobalInfo" } } }, + "summary": "获取全局变量信息", + "tags": [ + "全局变量" + ], "x-emptylimit": [ - "businessCode" + "globalId" + ], + "x-interfacename": [ + "GetBaseGlobal" ], "x-lengthlimit": [ { - "businessCode": "6,6" + "globalId": "36,36" } ], "x-rolelimit": [ "1" + ], + "x-sort": [ + 2 + ], + "x-tablename": [ + "t_base_global" ] } }, - "/base/business/PageBaseBusiness": { - "get": { - "description": "获取业务系统信息(列表)", + "/base/global/AddGlobalInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "业务系统维护" - ], - "summary": "获取业务系统信息(列表)", + "description": "增加全局变量", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "description": "全局变量分类", + "in": "formData", + "name": "globalTypeId", + "required": true, + "type": "integer" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "全局变量代码", + "in": "formData", + "name": "globalCode", + "required": true, + "type": "string" + }, + { + "description": "全局变量值", + "in": "formData", + "name": "globalValue", + "required": true, + "type": "string" + }, + { + "description": "全局变量备注", + "in": "formData", + "name": "globalRemarks", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -548,48 +2401,57 @@ var doc = `{ } } }, + "summary": "增加全局变量", + "tags": [ + "全局变量" + ], "x-emptylimit": [ - "page", - "limit" + "globalTypeId", + "globalCode", + "globalValue", + "sortId" ], "x-intlimit": [ - "page", - "limit" + "globalTypeId", + "sortId" + ], + "x-lengthlimit": [ + { + "globalCode": "2,50" + }, + { + "globalValue": "1,255" + }, + { + "globalRemarks": "1,500" + } ], "x-rolelimit": [ "1" + ], + "x-sort": [ + 3 ] } }, - "/base/business/UpdateBaseBusiness": { + "/base/global/DeleteGlobalInfo": { "post": { - "description": "修改业务系统信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "业务系统维护" - ], - "summary": "修改业务系统信息", + "description": "删除全局变量", "parameters": [ { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "业务系统名称", - "name": "businessName", + "description": "全局变量ID,多个用逗号分隔", "in": "formData", - "required": true + "name": "globalIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -598,84 +2460,78 @@ var doc = `{ } } }, + "summary": "删除全局变量", + "tags": [ + "全局变量" + ], "x-emptylimit": [ - "businessCode", - "businessName" + "globalIds" ], "x-lengthlimit": [ { - "businessCode": "6,6" - }, - { - "businessName": "1:50" + "globalIds": "36,1800" } ], "x-rolelimit": [ "1" + ], + "x-sort": [ + 4 ] } }, - "/base/class/AddClassInfo": { + "/base/global/UpdateGlobalInfo": { "post": { - "description": "增加班级信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "增加班级信息", + "description": "修改全局变量", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学部ID", - "name": "stageId", + "description": "全局变量ID", "in": "formData", - "required": true + "name": "globalId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "学制", - "name": "schoolingLength", + "description": "全局变量分类", "in": "formData", - "required": true + "name": "globalTypeId", + "required": true, + "type": "integer" }, { - "type": "integer", - "description": "入学年份", - "name": "rxnf", + "description": "全局变量代码", "in": "formData", - "required": true + "name": "globalCode", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "开始班号", - "name": "startBh", - "in": "formData" + "description": "全局变量值", + "in": "formData", + "name": "globalValue", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "结束班号", - "name": "endBh", - "in": "formData" + "description": "全局变量备注", + "in": "formData", + "name": "globalRemarks", + "type": "string" }, { - "type": "string", - "description": "班级别名(只有单个班级时才有)", - "name": "classAlias", - "in": "formData" + "description": "排序号", + "in": "formData", + "name": "sortId", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -684,263 +2540,321 @@ var doc = `{ } } }, + "summary": "修改全局变量", + "tags": [ + "全局变量" + ], "x-emptylimit": [ - "orgId", - "stageId", - "schoolingLength", - "rxnf", - "startBh", - "endBh" + "globalId", + "globalTypeId", + "globalCode", + "globalValue", + "sortId" ], - "x-interfacename": [ - "AddBaseClass" + "x-intlimit": [ + "globalId", + "globalTypeId", + "sortId" ], - "x-intrangelimit": [ + "x-lengthlimit": [ { - "rxnf": "1990,2100" + "globalId": "36,36" }, { - "schoolingLength": "1,10" + "globalCode": "2,50" }, { - "startBh": "1,99" + "globalValue": "1,255" }, { - "endBh": "1,99" + "globalRemarks": "1,500" } ], - "x-lengthlimit": [ + "x-rolelimit": [ + "1" + ], + "x-sort": [ + 5 + ] + } + }, + "/base/dict/GetDictInfo": { + "get": { + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据字典分类和字典编码获取字典信息", + "parameters": [ { - "orgId": "36,36" + "description": "字典分类", + "in": "query", + "name": "dictKind", + "required": true, + "type": "string" }, { - "stageId": "1,1" - }, + "description": "字典编码", + "in": "query", + "name": "dictCode", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/base.dict.GetDictInfo" + } + } + }, + "summary": "根据字典分类和字典编码获取字典信息", + "tags": [ + "字典" + ], + "x-emptylimit": [ + "dictKind", + "dictCode" + ], + "x-interfacename": [ + "GetSysDict" + ], + "x-lengthlimit": [ { - "xbm": "1,1" + "dictKind": "1,20" }, { - "classAlias": "1,30" + "dictCode": "1,10" } ], + "x-removeswaggerfield": [ + "dict_id", + "dict_kind", + "dict_remark", + "dict_parent", + "sort_id", + "b_use" + ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 3 + 1 + ], + "x-tablename": [ + "t_sys_dict" ] } }, - "/base/class/DeleteClassInfo": { - "post": { - "description": "删除班级信息", + "/base/dict/PageDict": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "删除班级信息", + "description": "根据字典分类、上级字典编码获取字典信息", "parameters": [ { - "type": "string", - "description": "班级ID,多个用逗号分隔", - "name": "classIds", - "in": "formData", - "required": true + "description": "字典分类", + "in": "query", + "name": "dictKind", + "required": true, + "type": "string" + }, + { + "description": "上级字典编码", + "in": "query", + "name": "dictParent", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.dict.PageDict" } } }, + "summary": "根据字典分类、上级字典编码获取字典信息", + "tags": [ + "字典" + ], "x-emptylimit": [ - "classIds" + "dictKind" ], "x-interfacename": [ - "DeleteBaseClass" + "PageSysDict" ], "x-lengthlimit": [ { - "classId": "36,1800" + "dictKind": "1,20" + }, + { + "dictParent": "1,10" } ], + "x-removeswaggerfield": [ + "dict_id", + "dict_kind", + "dict_remark", + "dict_parent", + "sort_id", + "b_use" + ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 4 + 2 + ], + "x-tablename": [ + "t_sys_dict" ] } }, - "/base/class/GetClassInfo": { + "/base/dict/GetStageInfo": { "get": { - "description": "获取班级信息", "consumes": [ "application/x-www-form-urlencoded" ], + "description": "获取学段信息", "produces": [ "application/json" ], - "tags": [ - "班级信息" - ], - "summary": "获取班级信息", - "parameters": [ - { - "type": "string", - "description": "班级ID", - "name": "classId", - "in": "query", - "required": true - } - ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.dict.GetStageInfo" } } }, - "x-emptylimit": [ - "classId" + "summary": "获取学段信息", + "tags": [ + "字典" ], "x-interfacename": [ - "GetBaseClass" - ], - "x-lengthlimit": [ - { - "classId": "36,36" - } + "PageSysDict" ], "x-removeswaggerfield": [ - "id_int", - "class_code", - "rxjj", - "teacher_id", - "org_id", - "bureau_id", "b_use", - "province_code", - "city_code", - "district_code", - "main_school_id", - "last_updated_time" + "sort_id" ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 2 + 3 ], "x-tablename": [ - "t_base_class" + "t_dm_stage" ] } }, - "/base/class/GetRxnfInfo": { + "/base/dict/GetSubjectInfo": { "get": { - "description": "根据学校ID和学部(学段)ID获取入学年份", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "根据学校ID和学部(学段)ID获取入学年份", + "description": "根据学段ID获取学科信息", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", + "description": "学段ID", "in": "query", - "required": true - }, - { - "type": "string", - "description": "学部(学段)ID", "name": "stageId", - "in": "query", - "required": true + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.dict.GetSubjectInfo" } } }, + "summary": "根据学段ID获取学科信息", + "tags": [ + "字典" + ], + "x-emptylimit": [ + "stageId" + ], "x-interfacename": [ - "PageBaseClass" + "PageSysDict" ], "x-lengthlimit": [ { - "orgId": "36,36" + "stageId": "1,1" } ], + "x-removeswaggerfield": [ + "b_use", + "sort_id" + ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 8 + 4 + ], + "x-tablename": [ + "t_dm_subject" ] } }, - "/base/class/GetStageInfo": { + "/base/dict/GetMultipleDictInfo": { "get": { - "description": "获取学段信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "获取学段信息", + "description": "根据多个dict_kind获取字典信息", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", + "description": "字典分类,多个用逗号分隔", "in": "query", - "required": true + "name": "dictKinds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -949,119 +2863,111 @@ var doc = `{ } } }, - "x-interfacename": [ - "PageBaseClass" + "summary": "根据多个dict_kind获取字典信息", + "tags": [ + "字典" + ], + "x-emptylimit": [ + "dictKinds" ], "x-lengthlimit": [ { - "orgId": "36,36" + "dictKinds": "1,500" } ], - "x-removeswaggerfield": [ - "b_use", - "sort_id" - ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 7 - ], - "x-tablename": [ - "t_dm_stage" + 5 ] } }, - "/base/class/PageClassInfo": { + "/base/student/PageStudentInfo": { "get": { - "description": "获取班级列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "获取班级列表", + "description": "获取学生列表", "parameters": [ { - "type": "integer", "description": "第几页", - "name": "page", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "学校ID", - "name": "orgId", "in": "query", - "required": true + "name": "limit", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "学部ID", - "name": "stageId", + "description": "班级ID", "in": "query", - "required": true + "name": "classId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "入学年份", - "name": "rxnf", + "description": "学生姓名", "in": "query", - "required": true - }, - { - "type": "string", - "description": "需要滤掉的班级ID", - "name": "removeClassId", - "in": "query" + "name": "xm", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.student.PageStudentInfo" } } }, + "summary": "获取学生列表", + "tags": [ + "学生信息" + ], "x-emptylimit": [ "page", "limit", - "orgId", - "stageId", - "rxnf" + "classId" ], "x-extendswaggerfield": [ { - "column_comment": "学生人数", - "column_name": "student_count", - "sample_data": "41" + "column_comment": "性别", + "column_name": "xb_name", + "sample_data": "男" }, { - "column_comment": "班主任", - "column_name": "teacher_name", - "sample_data": "李老师" + "column_comment": "登录名", + "column_name": "login_name", + "sample_data": "stu001" + }, + { + "column_comment": "初始密码", + "column_name": "original_pwd", + "sample_data": "159357" + }, + { + "column_comment": "账号状态", + "column_name": "login_status", + "sample_data": "已启用" } ], "x-interfacename": [ - "PageBaseClass" + "PageBaseStudent" ], "x-intrangelimit": [ { @@ -1069,27 +2975,35 @@ var doc = `{ }, { "limit": "1,1000" - }, - { - "rxnf": "1990,2100" } ], "x-lengthlimit": [ { - "stageId": "1,1" + "classId": "36,36" + }, + { + "xm": "2,30" } ], "x-removeswaggerfield": [ "id_int", - "bh", - "class_code", - "rxnf", - "rxjj", - "schooling_length", - "stage_id", - "org_id", + "xmpy", + "cym", + "csrq", + "mzm", + "zzmmm", + "sfzjlxm", + "sfzjh", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz", + "class_id", "bureau_id", "b_use", + "state_id", "province_code", "city_code", "district_code", @@ -1108,127 +3022,65 @@ var doc = `{ 1 ], "x-tablename": [ - "t_base_class" + "t_base_student" ] } }, - "/base/class/SetClassTeacher": { - "post": { - "description": "设置班主任", + "/base/student/GetStudentInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "设置班主任", + "description": "获取学生信息", "parameters": [ { - "type": "string", - "description": "班级ID", - "name": "classId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教师ID", - "name": "teacherId", - "in": "formData", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "x-emptylimit": [ - "classId", - "teacherId" - ], - "x-interfacename": [ - "UpdateBaseClass" - ], - "x-lengthlimit": [ - { - "classId": "36,36" - }, - { - "teacherId": "36,36" + "description": "学生ID", + "in": "query", + "name": "personId", + "required": true, + "type": "string" } ], - "x-rolelimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "x-sort": [ - 6 - ] - } - }, - "/base/class/UpdateClassInfo": { - "post": { - "description": "修改班级信息(只允许修改班级别名)", - "consumes": [ - "application/x-www-form-urlencoded" - ], "produces": [ "application/json" ], - "tags": [ - "班级信息" - ], - "summary": "修改班级信息(只允许修改班级别名)", - "parameters": [ - { - "type": "string", - "description": "班级ID", - "name": "classId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "班级别名", - "name": "classAlias", - "in": "formData", - "required": true - } - ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.student.GetStudentInfo" } } }, + "summary": "获取学生信息", + "tags": [ + "学生信息" + ], "x-emptylimit": [ - "classId", - "classAlias" + "personId" ], "x-interfacename": [ - "UpdateBaseClass" + "GetBaseStudent" ], "x-lengthlimit": [ { - "classId": "36,36" - }, - { - "classAlias": "1,30" + "personId": "36,36" } ], + "x-removeswaggerfield": [ + "id_int", + "xmpy", + "cym", + "class_id", + "bureau_id", + "b_use", + "state_id", + "province_code", + "city_code", + "district_code", + "main_school_id", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", @@ -1238,39 +3090,120 @@ var doc = `{ "7" ], "x-sort": [ - 5 + 2 + ], + "x-tablename": [ + "t_base_class" ] } }, - "/base/dict/GetDictInfo": { - "get": { - "description": "根据字典分类和字典编码获取字典信息", + "/base/student/AddStudentInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "字典" - ], - "summary": "根据字典分类和字典编码获取字典信息", + "description": "增加学生信息", "parameters": [ { - "type": "string", - "description": "字典分类", - "name": "dictKind", - "in": "query", - "required": true + "description": "学生姓名", + "in": "formData", + "name": "xm", + "required": true, + "type": "string" }, { - "type": "string", - "description": "字典编码", - "name": "dictCode", - "in": "query", - "required": true + "description": "身份证件类型代码(字典:sfzjlxm)", + "in": "formData", + "name": "sfzjlxm", + "required": true, + "type": "string" + }, + { + "description": "身份证件号", + "in": "formData", + "name": "sfzjh", + "required": true, + "type": "integer" + }, + { + "description": "性别(字典:xbm)", + "in": "formData", + "name": "xbm", + "type": "string" + }, + { + "description": "出生日期", + "in": "formData", + "name": "csrq", + "type": "string" + }, + { + "description": "民族(字典:mzm)", + "in": "formData", + "name": "mzm", + "required": true, + "type": "string" + }, + { + "description": "政治面貌(字典:zzmmm)", + "in": "formData", + "name": "zzmmm", + "required": true, + "type": "string" + }, + { + "description": "独生子女标志 -1:不是 1:是", + "in": "formData", + "name": "dszybz", + "required": true, + "type": "integer" + }, + { + "description": "随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "sqznbz", + "required": true, + "type": "integer" + }, + { + "description": "进城务工人员随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "jcwgrysqznbz", + "required": true, + "type": "integer" + }, + { + "description": "孤儿标志 -1:不是 1:是", + "in": "formData", + "name": "gebz", + "required": true, + "type": "integer" + }, + { + "description": "留守儿童标志 -1:不是 1:是", + "in": "formData", + "name": "lsetbz", + "required": true, + "type": "integer" + }, + { + "description": "残疾标志 -1:不是 1:是", + "in": "formData", + "name": "cjbz", + "required": true, + "type": "integer" + }, + { + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1279,68 +3212,80 @@ var doc = `{ } } }, + "summary": "增加学生信息", + "tags": [ + "学生信息" + ], "x-emptylimit": [ - "dictKind", - "dictCode" + "xm", + "mzm", + "zzmmm", + "sfzjlxm", + "sfzjh", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz", + "classId" ], "x-interfacename": [ - "GetSysDict" + "AddBaseStudent" + ], + "x-intrangelimit": [ + { + "sfzjlxm": "1,4" + } ], "x-lengthlimit": [ { - "dictKind": "1,20" + "classId": "36,36" }, { - "dictCode": "1,10" + "xm": "2,30" + }, + { + "xbm": "1,1" + }, + { + "mzm": "2,2" + }, + { + "zzmmm": "2,2" } ], - "x-removeswaggerfield": [ - "dict_id", - "dict_kind", - "dict_remark", - "dict_parent", - "sort_id", - "b_use" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 1 - ], - "x-tablename": [ - "t_sys_dict" + 3 ] } }, - "/base/dict/GetMultipleDictInfo": { - "get": { - "description": "根据多个dict_kind获取字典信息", + "/base/student/DeleteStudentInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "字典" - ], - "summary": "根据多个dict_kind获取字典信息", + "description": "删除学生信息", "parameters": [ { - "type": "string", - "description": "字典分类,多个用逗号分隔", - "name": "dictKinds", - "in": "query", - "required": true + "description": "学生ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1349,12 +3294,19 @@ var doc = `{ } } }, + "summary": "删除学生信息", + "tags": [ + "学生信息" + ], "x-emptylimit": [ - "dictKinds" + "personIds" + ], + "x-interfacename": [ + "DeleteBaseStudent" ], "x-lengthlimit": [ { - "dictKinds": "1,500" + "personIds": "36,1800" } ], "x-rolelimit": [ @@ -1362,28 +3314,121 @@ var doc = `{ "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 5 + 4 ] } }, - "/base/dict/GetStageInfo": { - "get": { - "description": "获取学段信息", + "/base/student/UpdateStudentInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], + "description": "修改学生信息", + "parameters": [ + { + "description": "学生ID", + "in": "formData", + "name": "personId", + "required": true, + "type": "string" + }, + { + "description": "学生姓名", + "in": "formData", + "name": "xm", + "required": true, + "type": "string" + }, + { + "description": "身份证件类型代码(字典:sfzjlxm)", + "in": "formData", + "name": "sfzjlxm", + "required": true, + "type": "string" + }, + { + "description": "身份证件号", + "in": "formData", + "name": "sfzjh", + "required": true, + "type": "integer" + }, + { + "description": "性别(字典:xbm)", + "in": "formData", + "name": "xbm", + "type": "string" + }, + { + "description": "出生日期", + "in": "formData", + "name": "csrq", + "type": "string" + }, + { + "description": "民族(字典:mzm)", + "in": "formData", + "name": "mzm", + "required": true, + "type": "string" + }, + { + "description": "政治面貌(字典:zzmmm)", + "in": "formData", + "name": "zzmmm", + "required": true, + "type": "string" + }, + { + "description": "独生子女标志 -1:不是 1:是", + "in": "formData", + "name": "dszybz", + "required": true, + "type": "integer" + }, + { + "description": "随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "sqznbz", + "required": true, + "type": "integer" + }, + { + "description": "进城务工人员随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "jcwgrysqznbz", + "required": true, + "type": "integer" + }, + { + "description": "孤儿标志 -1:不是 1:是", + "in": "formData", + "name": "gebz", + "required": true, + "type": "integer" + }, + { + "description": "留守儿童标志 -1:不是 1:是", + "in": "formData", + "name": "lsetbz", + "required": true, + "type": "integer" + }, + { + "description": "残疾标志 -1:不是 1:是", + "in": "formData", + "name": "cjbz", + "required": true, + "type": "integer" + } + ], "produces": [ "application/json" ], - "tags": [ - "字典" - ], - "summary": "获取学段信息", "responses": { "200": { "description": "OK", @@ -1392,52 +3437,87 @@ var doc = `{ } } }, + "summary": "修改学生信息", + "tags": [ + "学生信息" + ], + "x-emptylimit": [ + "personId", + "xm", + "mzm", + "zzmmm", + "sfzjlxm", + "sfzjh", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz" + ], "x-interfacename": [ - "PageSysDict" + "UpdateBaseStudent" ], - "x-removeswaggerfield": [ - "b_use", - "sort_id" + "x-intrangelimit": [ + { + "sfzjlxm": "1,4" + } + ], + "x-lengthlimit": [ + { + "personId": "36,36" + }, + { + "xm": "2,30" + }, + { + "xbm": "1,1" + }, + { + "mzm": "2,2" + }, + { + "zzmmm": "2,2" + } ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 3 - ], - "x-tablename": [ - "t_dm_stage" + 5 ] } }, - "/base/dict/GetSubjectInfo": { - "get": { - "description": "根据学段ID获取学科信息", + "/base/student/ReviseStudentClass": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "字典" - ], - "summary": "根据学段ID获取学科信息", + "description": "学生调整班级", "parameters": [ { - "type": "string", - "description": "学段ID", - "name": "stageId", - "in": "query", - "required": true + "description": "学生ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" + }, + { + "description": "调整后的班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1446,66 +3526,58 @@ var doc = `{ } } }, - "x-emptylimit": [ - "stageId" + "summary": "学生调整班级", + "tags": [ + "学生信息" ], - "x-interfacename": [ - "PageSysDict" + "x-emptylimit": [ + "personIds" ], "x-lengthlimit": [ { - "stageId": "1,1" + "personIds": "36,1800" + }, + { + "classId": "36,36" } ], - "x-removeswaggerfield": [ - "b_use", - "sort_id" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 4 - ], - "x-tablename": [ - "t_dm_subject" + 6 ] } }, - "/base/dict/PageDict": { + "/base/student/ExportStudentAccountExcel": { "get": { - "description": "根据字典分类、上级字典编码获取字典信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "字典" - ], - "summary": "根据字典分类、上级字典编码获取字典信息", + "description": "导出本校学生账号信息到EXCEL", "parameters": [ { - "type": "string", - "description": "字典分类", - "name": "dictKind", + "description": "学校ID", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "上级字典编码", - "name": "dictParent", - "in": "query" + "description": "班级ID,不传为导出全校,传为导出班级", + "in": "query", + "name": "classId", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1514,94 +3586,55 @@ var doc = `{ } } }, - "x-emptylimit": [ - "dictKind" + "summary": "导出本校学生账号信息到EXCEL", + "tags": [ + "学生信息" ], - "x-interfacename": [ - "PageSysDict" + "x-emptylimit": [ + "orgId" ], "x-lengthlimit": [ { - "dictKind": "1,20" - }, - { - "dictParent": "1,10" + "orgId": "36,36" } ], - "x-removeswaggerfield": [ - "dict_id", - "dict_kind", - "dict_remark", - "dict_parent", - "sort_id", - "b_use" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 2 - ], - "x-tablename": [ - "t_sys_dict" + 7 ] } }, - "/base/global/AddGlobalInfo": { - "post": { - "description": "增加全局变量", + "/base/student/ExportStudentExcel": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "全局变量" - ], - "summary": "增加全局变量", + "description": "导出本校学生信息到EXCEL", "parameters": [ { - "type": "integer", - "description": "全局变量分类", - "name": "globalTypeId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "全局变量代码", - "name": "globalCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "全局变量值", - "name": "globalValue", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "全局变量备注", - "name": "globalRemarks", - "in": "formData" + "description": "学校ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData", - "required": true + "description": "班级ID,不传为导出全校,传为导出班级", + "in": "query", + "name": "classId", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1610,57 +3643,49 @@ var doc = `{ } } }, - "x-emptylimit": [ - "globalTypeId", - "globalCode", - "globalValue", - "sortId" + "summary": "导出本校学生信息到EXCEL", + "tags": [ + "学生信息" ], - "x-intlimit": [ - "globalTypeId", - "sortId" + "x-emptylimit": [ + "orgId" ], "x-lengthlimit": [ { - "globalCode": "2,50" - }, - { - "globalValue": "1,255" - }, - { - "globalRemarks": "1,500" + "orgId": "36,36" } ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 3 + 7 ] } }, - "/base/global/DeleteGlobalInfo": { - "post": { - "description": "删除全局变量", + "/base/student/DownLoadStudentTemplateExcel": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "全局变量" - ], - "summary": "删除全局变量", + "description": "下载学生导入模板", "parameters": [ { - "type": "string", - "description": "全局变量ID,多个用逗号分隔", - "name": "globalIds", - "in": "formData", - "required": true + "description": "学校ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1669,44 +3694,56 @@ var doc = `{ } } }, + "summary": "下载学生导入模板", + "tags": [ + "学生信息" + ], "x-emptylimit": [ - "globalIds" + "orgId" ], "x-lengthlimit": [ { - "globalIds": "36,1800" + "orgId": "36,36" } ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 4 + 8 ] } }, - "/base/global/GetGlobalInfo": { - "get": { - "description": "获取全局变量信息", + "/base/student/ImportStudentExcel": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "全局变量" - ], - "summary": "获取全局变量信息", + "description": "导入学生EXCEL", "parameters": [ { - "type": "string", - "description": "全局变量ID", - "name": "globalId", - "in": "query", - "required": true + "description": "单位ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + }, + { + "description": "EXCEL文件", + "in": "formData", + "name": "excelFile", + "required": true, + "type": "file" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1715,229 +3752,172 @@ var doc = `{ } } }, - "x-emptylimit": [ - "globalId" + "summary": "导入学生EXCEL", + "tags": [ + "学生信息" ], - "x-interfacename": [ - "GetBaseGlobal" + "x-emptylimit": [ + "orgId" ], "x-lengthlimit": [ { - "globalId": "36,36" + "orgId": "36,36" } ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 2 - ], - "x-tablename": [ - "t_base_global" + 9 ] } }, - "/base/global/PageGlobalInfo": { + "/base/teacher/PageTeacherInfo": { "get": { - "description": "获取全局变量列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "全局变量" - ], - "summary": "获取全局变量列表", + "description": "获取教职工列表", "parameters": [ { - "type": "integer", "description": "第几页", - "name": "page", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", "description": "一页显示多少条", + "in": "query", "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "部门ID", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "全局变量分类(全部传-1)", - "name": "globalTypeId", + "description": "教职工姓名", "in": "query", - "required": true + "name": "xm", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.teacher.PageTeacherInfo" } } }, - "x-emptylimit": [ - "page", - "limit", - "globalTypeId" + "summary": "获取教职工列表", + "tags": [ + "教师信息" ], - "x-intlimit": [ + "x-emptylimit": [ "page", "limit", - "globalTypeId" - ], - "x-rolelimit": [ - "1" - ], - "x-sort": [ - 1 - ], - "x-tablename": [ - "t_base_global" - ] - } - }, - "/base/global/UpdateGlobalInfo": { - "post": { - "description": "修改全局变量", - "consumes": [ - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json" - ], - "tags": [ - "全局变量" + "orgId" ], - "summary": "修改全局变量", - "parameters": [ - { - "type": "string", - "description": "全局变量ID", - "name": "globalId", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "全局变量分类", - "name": "globalTypeId", - "in": "formData", - "required": true - }, + "x-extendswaggerfield": [ { - "type": "string", - "description": "全局变量代码", - "name": "globalCode", - "in": "formData", - "required": true + "column_comment": "性别", + "column_name": "xb_name", + "sample_data": "男" }, { - "type": "string", - "description": "全局变量值", - "name": "globalValue", - "in": "formData", - "required": true + "column_comment": "所属部门", + "column_name": "org_name", + "sample_data": "办公室" }, { - "type": "string", - "description": "全局变量备注", - "name": "globalRemarks", - "in": "formData" + "column_comment": "登录名", + "column_name": "login_name", + "sample_data": "stu001" }, { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "x-emptylimit": [ - "globalId", - "globalTypeId", - "globalCode", - "globalValue", - "sortId" - ], - "x-intlimit": [ - "globalId", - "globalTypeId", - "sortId" - ], - "x-lengthlimit": [ - { - "globalId": "36,36" + "column_comment": "初始密码", + "column_name": "original_pwd", + "sample_data": "159357" }, { - "globalCode": "2,50" + "column_comment": "账号状态", + "column_name": "login_status", + "sample_data": "已启用" }, { - "globalValue": "1,255" + "column_comment": "学段名称", + "column_name": "stage_name", + "sample_data": "小学" }, { - "globalRemarks": "1,500" + "column_comment": "学科名称", + "column_name": "subject_name", + "sample_data": "数学" } ], - "x-rolelimit": [ - "1" - ], - "x-sort": [ - 5 - ] - } - }, - "/base/loginperson/DisableAccountInfo": { - "post": { - "description": "禁用账号信息", - "consumes": [ - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" + "x-interfacename": [ + "PageBaseTeacher" ], - "summary": "禁用账号信息", - "parameters": [ + "x-intrangelimit": [ { - "type": "string", - "description": "一个或多个ID,多个用逗号分隔", - "name": "personIds", - "in": "formData", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } + "page": "1,1000" + }, + { + "limit": "1,1000" } - }, - "x-emptylimit": [ - "personIds" ], "x-lengthlimit": [ { - "personIds": "36,1800" + "orgId": "36,36" + }, + { + "xm": "1,20" } ], + "x-removeswaggerfield": [ + "identity_id", + "id_int", + "xmpy", + "cym", + "csrq", + "mzm", + "zzmmm", + "sfzjlxm", + "sfzjh", + "xlm", + "xwm", + "zcm", + "bzlbm", + "cjny", + "stage_id", + "subject_id", + "gwzym", + "lxdh", + "dzxx", + "b_use", + "state_id", + "last_updated_time", + "bureau_id", + "org_id", + "main_school_id", + "province_code", + "city_code", + "district_code" + ], "x-rolelimit": [ "1", "2", @@ -1948,48 +3928,71 @@ var doc = `{ "7" ], "x-sort": [ - 9 + 1 + ], + "x-tablename": [ + "t_base_teacher" ] } }, - "/base/loginperson/EnableAccountInfo": { - "post": { - "description": "启用账号信息", + "/base/teacher/GetTeacherInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "启用账号信息", + "description": "获取教职工信息", "parameters": [ { - "type": "string", - "description": "一个或多个ID,多个用逗号分隔", - "name": "personIds", - "in": "formData", - "required": true + "description": "教职工ID", + "in": "query", + "name": "personId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.teacher.GetTeacherInfo" } } }, + "summary": "获取教职工信息", + "tags": [ + "教师信息" + ], "x-emptylimit": [ - "personIds" + "personId" + ], + "x-extendswaggerfield": [ + { + "column_comment": "部门名称", + "column_name": "org_name", + "sample_data": "语文组" + } + ], + "x-interfacename": [ + "GetBaseTeacher" ], "x-lengthlimit": [ { - "personIds": "36,1800" + "personId": "36,36" } ], + "x-removeswaggerfield": [ + "identity_id", + "id_int", + "xmpy", + "cym", + "gwzym", + "b_use", + "state_id", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", @@ -2000,32 +4003,144 @@ var doc = `{ "7" ], "x-sort": [ - 8 + 2 + ], + "x-tablename": [ + "t_base_teacher" ] } }, - "/base/loginperson/ExportAreaManagerInfoExcel": { - "get": { - "description": "导出地区管理员到EXCEL(虚拟)", + "/base/teacher/AddTeacherInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "导出地区管理员到EXCEL(虚拟)", + "description": "增加教职工信息", "parameters": [ { - "type": "string", - "description": "地区码", - "name": "areaCode", - "in": "query", - "required": true + "description": "部门ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + }, + { + "description": "教职工姓名", + "in": "formData", + "name": "xm", + "required": true, + "type": "string" + }, + { + "description": "身份证件类型(字典:sfzjlxm)", + "in": "formData", + "name": "sfzjlxm", + "required": true, + "type": "string" + }, + { + "description": "证件号", + "in": "formData", + "name": "sfzjh", + "required": true, + "type": "string" + }, + { + "description": "性别(字典:xbm)", + "in": "formData", + "name": "xbm", + "type": "string" + }, + { + "description": "出生日期", + "in": "formData", + "name": "csrq", + "type": "string" + }, + { + "description": "民族(字典:mzm)", + "in": "formData", + "name": "mzm", + "required": true, + "type": "string" + }, + { + "description": "政治面貌(字典:zzmmm)", + "in": "formData", + "name": "zzmmm", + "required": true, + "type": "string" + }, + { + "description": "职称(字典:zcm)", + "in": "formData", + "name": "zcm", + "required": true, + "type": "string" + }, + { + "description": "编制(字典:bzlbm)", + "in": "formData", + "name": "bzlbm", + "required": true, + "type": "string" + }, + { + "description": "学历(字典:xlm)", + "in": "formData", + "name": "xlm", + "required": true, + "type": "string" + }, + { + "description": "学位(字典:xwm)", + "in": "formData", + "name": "xwm", + "required": true, + "type": "string" + }, + { + "description": "任教学段", + "in": "formData", + "name": "stageId", + "required": true, + "type": "string" + }, + { + "description": "任教学科", + "in": "formData", + "name": "subjectId", + "required": true, + "type": "string" + }, + { + "description": "从教年月", + "in": "formData", + "name": "cjny", + "type": "string" + }, + { + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" + }, + { + "description": "电子信箱", + "in": "formData", + "name": "dzxx", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2034,56 +4149,106 @@ var doc = `{ } } }, + "summary": "增加教职工信息", + "tags": [ + "教师信息" + ], "x-emptylimit": [ - "areaCode" + "orgId", + "xm", + "sfzjlxm", + "sfzjh", + "mzm", + "zzmmm", + "zcm", + "bzlbm", + "xlm", + "xwm" ], "x-interfacename": [ - "PageSysLoginperson" + "AddBaseTeacher" + ], + "x-intrangelimit": [ + { + "sortId": "1,9999" + }, + { + "sfzjlxm": "1,4" + } ], "x-lengthlimit": [ { - "areaCode": "6,6" + "orgId": "36,36" + }, + { + "xm": "2,20" + }, + { + "xbm": "1,1" + }, + { + "sfzjh": "2,30" + }, + { + "mzm": "2,2" + }, + { + "zzmmm": "2,2" + }, + { + "zcm": "1,1" + }, + { + "bzlbm": "1,1" + }, + { + "xlm": "2,2" + }, + { + "xwm": "1,1" + }, + { + "stageId": "1,1" + }, + { + "subjectId": "2,2" + }, + { + "lxdh": "2,30" } ], "x-rolelimit": [ "1", "2", - "3" + "3", + "4", + "5", + "6", + "7" ], "x-sort": [ - 4 + 3 ] } }, - "/base/loginperson/ExportBureauManagerInfoExcel": { - "get": { - "description": "导出单位管理员的EXCEL", + "/base/teacher/DeleteTeacherInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "导出单位管理员的EXCEL", + "description": "删除教职工信息", "parameters": [ { - "type": "string", - "description": "地区码", - "name": "areaCode", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", - "name": "orgType", - "in": "query", - "required": true + "description": "教职工ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2092,13 +4257,19 @@ var doc = `{ } } }, + "summary": "删除教职工信息", + "tags": [ + "教师信息" + ], "x-emptylimit": [ - "areaCode", - "orgType" + "personIds" + ], + "x-interfacename": [ + "DeleteBaseTeacher" ], "x-lengthlimit": [ { - "areaCode": "6,6" + "personIds": "36,1800" } ], "x-rolelimit": [ @@ -2106,49 +4277,146 @@ var doc = `{ "2", "3", "4", + "5", + "6", "7" ], "x-sort": [ - 6 + 4 ] } }, - "/base/loginperson/PageAreaManagerInfo": { - "get": { - "description": "获取地区管理员列表(虚拟)", + "/base/teacher/UpdateTeacherInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "获取地区管理员列表(虚拟)", + "description": "修改教职工信息", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "description": "教职工ID", + "in": "formData", + "name": "personId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "教职工姓名", + "in": "formData", + "name": "xm", + "required": true, + "type": "string" }, { - "type": "string", - "description": "地区码", - "name": "areaCode", - "in": "query", - "required": true + "description": "身份证件类型(字典:sfzjlxm)", + "in": "formData", + "name": "sfzjlxm", + "required": true, + "type": "string" + }, + { + "description": "证件号", + "in": "formData", + "name": "sfzjh", + "required": true, + "type": "string" + }, + { + "description": "性别(字典:xbm)", + "in": "formData", + "name": "xbm", + "type": "string" + }, + { + "description": "出生日期", + "in": "formData", + "name": "csrq", + "type": "string" + }, + { + "description": "民族(字典:mzm)", + "in": "formData", + "name": "mzm", + "required": true, + "type": "string" + }, + { + "description": "政治面貌(字典:zzmmm)", + "in": "formData", + "name": "zzmmm", + "required": true, + "type": "string" + }, + { + "description": "职称(字典:zcm)", + "in": "formData", + "name": "zcm", + "required": true, + "type": "string" + }, + { + "description": "编制(字典:bzlbm)", + "in": "formData", + "name": "bzlbm", + "required": true, + "type": "string" + }, + { + "description": "学历(字典:xlm)", + "in": "formData", + "name": "xlm", + "required": true, + "type": "string" + }, + { + "description": "学位(字典:xwm)", + "in": "formData", + "name": "xwm", + "required": true, + "type": "string" + }, + { + "description": "任教学段", + "in": "formData", + "name": "stageId", + "required": true, + "type": "string" + }, + { + "description": "任教学科", + "in": "formData", + "name": "subjectId", + "required": true, + "type": "string" + }, + { + "description": "从教年月", + "in": "formData", + "name": "cjny", + "type": "string" + }, + { + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" + }, + { + "description": "电子信箱", + "in": "formData", + "name": "dzxx", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2157,128 +4425,72 @@ var doc = `{ } } }, - "x-emptylimit": [ - "page", - "limit", - "areaCode" + "summary": "修改教职工信息", + "tags": [ + "教师信息" ], - "x-extendswaggerfield": [ - { - "column_comment": "地区名称", - "column_name": "area_name", - "sample_data": "长春市" - } + "x-emptylimit": [ + "personId", + "xm", + "sfzjlxm", + "sfzjh", + "mzm", + "zzmmm", + "zcm", + "bzlbm", + "xlm", + "xwm" ], "x-interfacename": [ - "PageSysLoginperson" + "UpdateBaseTeacher" ], "x-intrangelimit": [ { - "page": "1,1000" + "sortId": "1,9999" }, { - "limit": "1,1000" + "sfzjlxm": "1,4" } ], "x-lengthlimit": [ { - "areaCode": "6,6" - } - ], - "x-removeswaggerfield": [ - "last_updated_time" - ], - "x-rolelimit": [ - "1", - "2", - "3" - ], - "x-sort": [ - 3 - ], - "x-tablename": [ - "t_sys_loginperson" - ] - } - }, - "/base/loginperson/PageBureauManagerInfo": { - "get": { - "description": "获取单位管理员列表", - "consumes": [ - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "获取单位管理员列表", - "parameters": [ + "personId": "36,36" + }, { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "xm": "2,20" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "xbm": "1,1" }, { - "type": "string", - "description": "地区码", - "name": "areaCode", - "in": "query", - "required": true + "sfzjh": "2,30" }, { - "type": "integer", - "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", - "name": "orgType", - "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "x-emptylimit": [ - "page", - "limit", - "areaCode", - "orgType" - ], - "x-extendswaggerfield": [ + "mzm": "2,2" + }, { - "column_comment": "单位名称", - "column_name": "org_name", - "sample_data": "长春市第一中学" - } - ], - "x-interfacename": [ - "PageSysLoginperson" - ], - "x-intrangelimit": [ + "zzmmm": "2,2" + }, { - "page": "1,1000" + "zcm": "1,1" }, { - "limit": "1,1000" - } - ], - "x-lengthlimit": [ + "bzlbm": "1,1" + }, { - "areaCode": "6,6" + "xlm": "2,2" + }, + { + "xwm": "1,1" + }, + { + "stageId": "1,1" + }, + { + "subjectId": "2,2" + }, + { + "lxdh": "2,30" } ], "x-rolelimit": [ @@ -2286,29 +4498,40 @@ var doc = `{ "2", "3", "4", + "5", + "6", "7" ], "x-sort": [ 5 - ], - "x-tablename": [ - "t_sys_loginperson" ] } }, - "/base/loginperson/RemoveCookie": { - "get": { - "description": "移除Cookie", + "/base/teacher/ReviseTeacherOrg": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], + "description": "调整教职工部门", + "parameters": [ + { + "description": "教职工ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" + }, + { + "description": "调整后的部门ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + } + ], "produces": [ "application/json" ], - "tags": [ - "登录信息" - ], - "summary": "移除Cookie", "responses": { "200": { "description": "OK", @@ -2317,33 +4540,56 @@ var doc = `{ } } }, + "summary": "调整教职工部门", + "tags": [ + "教师信息" + ], + "x-emptylimit": [ + "personIds" + ], + "x-lengthlimit": [ + { + "personIds": "36,1800" + }, + { + "sourceOrgId": "36,36" + }, + { + "targetOrgId": "36,36" + } + ], + "x-rolelimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], "x-sort": [ - 10 + 6 ] } }, - "/base/loginperson/ResetManagerPassWord": { - "post": { - "description": "重置管理员密码", + "/base/teacher/ExportTeacherAccountExcel": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "重置管理员密码", + "description": "导出本单位教职工账号信息到EXCEL", "parameters": [ { - "type": "string", - "description": "一个或多个ID,多个用逗号分隔", - "name": "ids", - "in": "formData", - "required": true + "description": "单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2352,12 +4598,16 @@ var doc = `{ } } }, + "summary": "导出本单位教职工账号信息到EXCEL", + "tags": [ + "教师信息" + ], "x-emptylimit": [ - "ids" + "orgId" ], "x-lengthlimit": [ { - "ids": "36,1800" + "orgId": "36,36" } ], "x-rolelimit": [ @@ -2374,35 +4624,24 @@ var doc = `{ ] } }, - "/base/loginperson/UpdateLoginPassWordInfo": { - "post": { - "description": "修改登录密码", + "/base/teacher/ExportTeacherExcel": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "修改登录密码", + "description": "导出本单位教职工信息到EXCEL", "parameters": [ { - "type": "string", - "description": "原密码", - "name": "oldPassWord", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "新密码", - "name": "newPassWord", - "in": "formData", - "required": true + "description": "单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2411,16 +4650,16 @@ var doc = `{ } } }, + "summary": "导出本单位教职工信息到EXCEL", + "tags": [ + "教师信息" + ], "x-emptylimit": [ - "oldPassWord", - "newPassWord" + "orgId" ], "x-lengthlimit": [ { - "oldPassWord": "6,18" - }, - { - "newPassWord": "6,18" + "orgId": "36,36" } ], "x-rolelimit": [ @@ -2433,76 +4672,28 @@ var doc = `{ "7" ], "x-sort": [ - 11 + 8 ] } }, - "/base/organization/AddEduAssistInfo": { - "post": { - "description": "增加教辅单位信息", + "/base/teacher/DownLoadTeacherTemplateExcel": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "增加教辅单位信息", + "description": "下载教职工导入模板", "parameters": [ { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位名称", - "name": "orgName", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "教辅单位法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "教辅单位地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "description": "单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2511,108 +4702,57 @@ var doc = `{ } } }, - "x-emptylimit": [ - "areaCode", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "AddBaseOrganization" + "summary": "下载教职工导入模板", + "tags": [ + "教师信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "orgId" ], "x-lengthlimit": [ { - "areaCode": "6,6" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" - }, - { - "lxdh": "2,30" + "orgId": "36,36" } ], "x-rolelimit": [ "1", "2", "3", - "4" + "4", + "5", + "6", + "7" ], "x-sort": [ 9 ] } }, - "/base/organization/AddOrgInfo": { + "/base/teacher/ImportTeacherExcel": { "post": { - "description": "增加部门信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "增加部门信息", + "description": "导入教职工EXCEL", "parameters": [ { - "type": "string", "description": "单位ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "部门编码", - "name": "orgCode", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "部门名称", - "name": "orgName", - "in": "formData", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "上级部门ID", - "name": "parentId", + "description": "EXCEL文件", "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" - }, - { - "type": "string", - "description": "部门领导的人员ID", - "name": "orgManagerIds", - "in": "formData" + "name": "excelFile", + "required": true, + "type": "file" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2621,34 +4761,16 @@ var doc = `{ } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "AddBaseOrganization" + "summary": "导入教职工EXCEL", + "tags": [ + "教师信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "orgId" ], "x-lengthlimit": [ { "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "parentId": "36,36" - }, - { - "orgManagerIds": "36,1800" } ], "x-rolelimit": [ @@ -2661,124 +4783,62 @@ var doc = `{ "7" ], "x-sort": [ - 19 + 10 ] } }, - "/base/organization/AddSchoolInfo": { + "/base/purview/AddPurviewInfo": { "post": { - "description": "增加学校信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "增加学校信息", + "description": "增加权限信息", "parameters": [ { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校名称", - "name": "orgName", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "直属类型 1:普通 2:省直 3:市直", - "name": "directlyUnderType", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "是否为分校 -1:非分校 1:是分校", - "name": "isBranchSchool", + "description": "权限名称", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "主校ID(是分校时才传)", - "name": "mainSchoolId", - "in": "formData" + "name": "purviewName", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学校办别(字典:xxbbm)", - "name": "xxbbm", + "description": "业务系统编码", "in": "formData", - "required": true + "name": "businessCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学校办学类型(字典:xxbxlxm)", - "name": "xxbxlxm", + "description": "权限类型 1:菜单 2:按钮", "in": "formData", - "required": true + "name": "purviewType", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "学校城乡类型(字典:szdcxlxm)", - "name": "szdcxlxm", + "description": "菜单的URL 没有填#", "in": "formData", - "required": true + "name": "menuUrl", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学校举办者(字典:xxjbzm)", - "name": "xxjbzm", + "description": "父节点ID", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "学校法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "学校地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" + "name": "parentId", + "required": true, + "type": "string" }, { - "type": "integer", "description": "排序号", + "in": "formData", "name": "sortId", - "in": "formData" + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2787,73 +4847,72 @@ var doc = `{ } } }, + "summary": "增加权限信息", + "tags": [ + "权限" + ], "x-emptylimit": [ - "areaCode", - "orgCode", - "orgName" + "purviewName", + "businessCode", + "purviewType", + "menuUrl", + "parentId" ], "x-interfacename": [ - "AddBaseOrganization" + "AddBasePurview" + ], + "x-intlimit": [ + "purviewType", + "sortId" ], "x-intrangelimit": [ + { + "purviewType": "1,2" + }, { "sortId": "1,9999" } ], "x-lengthlimit": [ { - "areaCode": "6,6" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" + "purviewName": "1,100" }, { - "fddbr": "2,30" + "businessCode": "6,6" }, { - "fddbrdh": "2,30" + "menuUrl": "1,300" }, { - "address": "2,100" + "parentId": "36,36" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "7" + "1" ], "x-sort": [ - 14 + 1 ] } }, - "/base/organization/DeleteEduAssistInfo": { + "/base/purview/DeletePurviewInfo": { "post": { - "description": "删除教辅单位信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "删除教辅单位信息", + "description": "删除权限信息", "parameters": [ { - "type": "string", - "description": "教辅单位ID,如果是多个用逗号分隔", - "name": "orgIds", + "description": "权限ID,如果是多个用逗号分隔", "in": "formData", - "required": true + "name": "purviewIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2862,50 +4921,81 @@ var doc = `{ } } }, + "summary": "删除权限信息", + "tags": [ + "权限" + ], "x-emptylimit": [ - "orgIds" + "purviewIds" ], "x-interfacename": [ - "DeleteBaseOrganization" + "DeleteBasePurview" ], "x-lengthlimit": [ { - "orgIds": "36,1800" + "purviewIds": "36,1800" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4" + "1" ], "x-sort": [ - 11 + 2 ] } }, - "/base/organization/DeleteOrgInfo": { + "/base/purview/UpdatePurviewInfo": { "post": { - "description": "删除部门信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "删除部门信息", + "description": "修改权限信息", "parameters": [ { - "type": "string", - "description": "部门ID", - "name": "orgId", + "description": "权限ID", + "in": "formData", + "name": "purviewId", + "required": true, + "type": "string" + }, + { + "description": "权限名称", + "in": "formData", + "name": "purviewName", + "required": true, + "type": "string" + }, + { + "description": "业务系统编码", + "in": "formData", + "name": "businessCode", + "required": true, + "type": "string" + }, + { + "description": "权限类型 1:菜单 2:按钮", + "in": "formData", + "name": "purviewType", + "required": true, + "type": "integer" + }, + { + "description": "菜单的URL 没有填#", + "in": "formData", + "name": "menuUrl", + "required": true, + "type": "string" + }, + { + "description": "排序号", "in": "formData", - "required": true + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2914,426 +5004,543 @@ var doc = `{ } } }, + "summary": "修改权限信息", + "tags": [ + "权限" + ], "x-emptylimit": [ - "orgId" + "purviewId", + "purviewName", + "businessCode", + "purviewType", + "menuUrl" ], "x-interfacename": [ - "DeleteBaseOrganization" + "UpdateBasePurview" + ], + "x-intlimit": [ + "purviewType", + "sortId" + ], + "x-intrangelimit": [ + { + "purviewType": "1,2" + }, + { + "sortId": "1,9999" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "purviewId": "36,36" + }, + { + "purviewName": "1,100" + }, + { + "businessCode": "6,6" + }, + { + "menuUrl": "1,300" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ], "x-sort": [ - 21 + 3 ] } }, - "/base/organization/DeleteSchoolInfo": { - "post": { - "description": "删除学校信息", + "/base/purview/GetPurviewInfoById": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "删除学校信息", + "description": "获取权限信息(单条)", "parameters": [ { - "type": "string", - "description": "学校ID,如果是多个用逗号分隔", - "name": "orgIds", - "in": "formData", - "required": true + "description": "权限ID", + "in": "query", + "name": "purviewId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.purview.GetPurviewInfoById" } } }, + "summary": "获取权限信息(单条)", + "tags": [ + "权限" + ], "x-emptylimit": [ - "orgIds" + "purviewId" ], "x-interfacename": [ - "DeleteBaseOrganization" + "GetBasePurview" ], "x-lengthlimit": [ { - "orgIds": "36,1800" + "purviewId": "36,36" } ], + "x-removeswaggerfield": [ + "id_int", + "purview_type", + "menu_icon", + "b_use", + "last_updated_time" + ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "7" + "1" ], "x-sort": [ - 16 + 4 + ], + "x-tablename": [ + "t_base_purview" ] } }, - "/base/organization/DisableEdu": { - "post": { - "description": "禁用教育局", + "/base/purview/PagePurviewInfoByBusinessCode": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "禁用教育局", + "description": "根据业务系统编码获取权限信息信息", "parameters": [ { - "type": "string", - "description": "教育局ID", - "name": "orgId", - "in": "formData", - "required": true + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "业务系统编码", + "in": "query", + "name": "businessCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.purview.PagePurviewInfoByBusinessCode" } } }, + "summary": "根据业务系统编码获取权限信息信息", + "tags": [ + "权限" + ], "x-emptylimit": [ - "orgId" + "page", + "limit", + "businessCode" ], "x-interfacename": [ - "UpdateBaseOrganization" + "PageBasePurview" + ], + "x-intlimit": [ + "page", + "limit" + ], + "x-intrangelimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "businessCode": "6,6" } ], + "x-removeswaggerfield": [ + "id_int", + "purview_type", + "menu_icon", + "b_use", + "last_updated_time" + ], "x-rolelimit": [ "1" ], "x-sort": [ 5 + ], + "x-tablename": [ + "t_base_purview" ] } }, - "/base/organization/EnableEdu": { - "post": { - "description": "启用教育局", + "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "启用教育局", + "description": "根据人员ID和业务系统编码获取权限信息信息", "parameters": [ { - "type": "string", - "description": "教育局ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局名称", - "name": "orgName", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "教育局法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "教育局地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.purview.PagePurviewInfoByPersonIdBusinessCode" } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "UpdateBaseOrganization" - ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "summary": "根据人员ID和业务系统编码获取权限信息信息", + "tags": [ + "权限" ], - "x-lengthlimit": [ - { - "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, + "x-emptylimit": [ + "page", + "limit" + ], + "x-interfacename": [ + "PageBasePurview" + ], + "x-intlimit": [ + "page", + "limit" + ], + "x-intrangelimit": [ { - "address": "2,100" + "page": "1,1000" }, { - "lxdh": "2,30" + "limit": "1,1000" } ], + "x-removeswaggerfield": [ + "id_int", + "purview_type", + "business_code", + "b_use", + "last_updated_time" + ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "x-sort": [ - 4 + 6 + ], + "x-tablename": [ + "t_base_purview" ] } }, - "/base/organization/GetEduAssistInfoById": { + "/base/class/PageClassInfo": { "get": { - "description": "根据教辅单位ID获取教辅单位信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "根据教辅单位ID获取教辅单位信息", + "description": "获取班级列表", "parameters": [ { - "type": "string", - "description": "教辅单位ID", + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "学校ID", + "in": "query", "name": "orgId", + "required": true, + "type": "string" + }, + { + "description": "学部ID", + "in": "query", + "name": "stageId", + "required": true, + "type": "string" + }, + { + "description": "入学年份", + "in": "query", + "name": "rxnf", + "required": true, + "type": "integer" + }, + { + "description": "需要滤掉的班级ID", "in": "query", - "required": true + "name": "removeClassId", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.class.PageClassInfo" } } }, + "summary": "获取班级列表", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "orgId" + "page", + "limit", + "orgId", + "stageId", + "rxnf" + ], + "x-extendswaggerfield": [ + { + "column_comment": "学生人数", + "column_name": "student_count", + "sample_data": "41" + }, + { + "column_comment": "班主任", + "column_name": "teacher_name", + "sample_data": "李老师" + } ], "x-interfacename": [ - "GetBaseOrganization" + "PageBaseClass" + ], + "x-intrangelimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + }, + { + "rxnf": "1990,2100" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "stageId": "1,1" } ], "x-removeswaggerfield": [ "id_int", - "parent_id", + "bh", + "class_code", + "rxnf", + "rxjj", + "schooling_length", + "stage_id", + "org_id", "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "org_lng", - "org_lat", "b_use", "province_code", "city_code", "district_code", + "main_school_id", "last_updated_time" ], "x-rolelimit": [ "1", "2", "3", - "4" + "4", + "6", + "7" ], "x-sort": [ - 8 + 1 ], "x-tablename": [ - "t_base_organization" + "t_base_class" ] } }, - "/base/organization/GetEduInfoById": { + "/base/class/GetClassInfo": { "get": { - "description": "根据教育局ID获取教育局信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "根据教育局ID获取教育局信息", + "description": "获取班级信息", "parameters": [ { - "type": "string", - "description": "教育局ID", - "name": "orgId", + "description": "班级ID", "in": "query", - "required": true + "name": "classId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.class.GetClassInfo" } } }, + "summary": "获取班级信息", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "orgId" + "classId" ], "x-interfacename": [ - "GetBaseOrganization" + "GetBaseClass" ], "x-lengthlimit": [ { - "orgId": "36,36" + "classId": "36,36" } ], "x-removeswaggerfield": [ "id_int", - "parent_id", + "class_code", + "rxjj", + "teacher_id", + "org_id", "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "org_lng", - "org_lat", "b_use", "province_code", "city_code", "district_code", + "main_school_id", "last_updated_time" ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 3 + 2 ], "x-tablename": [ - "t_base_organization" + "t_base_class" ] } }, - "/base/organization/GetOrgInfo": { - "get": { - "description": "获取部门信息", + "/base/class/AddClassInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取部门信息", + "description": "增加班级信息", "parameters": [ { - "type": "string", - "description": "部门ID", + "description": "学校ID", + "in": "formData", "name": "orgId", - "in": "query", - "required": true + "required": true, + "type": "string" + }, + { + "description": "学部ID", + "in": "formData", + "name": "stageId", + "required": true, + "type": "string" + }, + { + "description": "学制", + "in": "formData", + "name": "schoolingLength", + "required": true, + "type": "integer" + }, + { + "description": "入学年份", + "in": "formData", + "name": "rxnf", + "required": true, + "type": "integer" + }, + { + "description": "开始班号", + "in": "formData", + "name": "startBh", + "type": "integer" + }, + { + "description": "结束班号", + "in": "formData", + "name": "endBh", + "type": "integer" + }, + { + "description": "班级别名(只有单个班级时才有)", + "in": "formData", + "name": "classAlias", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -3342,95 +5549,80 @@ var doc = `{ } } }, + "summary": "增加班级信息", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "orgId" + "orgId", + "stageId", + "schoolingLength", + "rxnf", + "startBh", + "endBh" ], - "x-extendswaggerfield": [ + "x-interfacename": [ + "AddBaseClass" + ], + "x-intrangelimit": [ { - "column_comment": "部门领导ID", - "column_name": "org_manager_id", - "sample_data": "00B15A6D-4EE1-481C-88F4-054A7BE9F60F" + "rxnf": "1990,2100" }, { - "column_comment": "部门领导名称", - "column_name": "org_manager_name", - "sample_data": "李老师" + "schoolingLength": "1,10" + }, + { + "startBh": "1,99" + }, + { + "endBh": "1,99" } ], - "x-interfacename": [ - "GetBaseOrganization" - ], "x-lengthlimit": [ { "orgId": "36,36" + }, + { + "stageId": "1,1" + }, + { + "xbm": "1,1" + }, + { + "classAlias": "1,30" } ], - "x-removeswaggerfield": [ - "id_int", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "b_use", - "province_code", - "city_code", - "district_code", - "area_code", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 18 - ], - "x-tablename": [ - "t_base_organization" + 3 ] } }, - "/base/organization/GetOrgTreeInfo": { - "get": { - "description": "根据单位ID获取部门树", + "/base/class/DeleteClassInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "根据单位ID获取部门树", + "description": "删除班级信息", "parameters": [ { - "type": "string", - "description": "单位ID", - "name": "orgId", - "in": "query", - "required": true + "description": "班级ID,多个用逗号分隔", + "in": "formData", + "name": "classIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -3439,77 +5631,59 @@ var doc = `{ } } }, + "summary": "删除班级信息", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "orgId" + "classIds" + ], + "x-interfacename": [ + "DeleteBaseClass" ], "x-lengthlimit": [ { - "orgId": "36,36" + "classId": "36,1800" } ], - "x-removeswaggerfield": [ - "id_int", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "b_use", - "province_code", - "city_code", - "district_code", - "area_code", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 22 + 4 ] } }, - "/base/organization/GetSchoolInfoById": { - "get": { - "description": "根据学校ID获取学校信息", + "/base/class/UpdateClassInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "根据学校ID获取学校信息", + "description": "修改班级信息(只允许修改班级别名)", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", - "in": "query", - "required": true + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" + }, + { + "description": "班级别名", + "in": "formData", + "name": "classAlias", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -3518,89 +5692,63 @@ var doc = `{ } } }, + "summary": "修改班级信息(只允许修改班级别名)", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "orgId" + "classId", + "classAlias" ], "x-interfacename": [ - "GetBaseOrganization" + "UpdateBaseClass" ], "x-lengthlimit": [ { - "orgId": "36,36" + "classId": "36,36" + }, + { + "classAlias": "1,30" } ], - "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "org_lng", - "org_lat", - "b_use", - "province_code", - "city_code", - "district_code", - "area_code", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", "3", "4", + "6", "7" ], "x-sort": [ - 13 - ], - "x-tablename": [ - "t_base_organization" + 5 ] } }, - "/base/organization/PageDisableEduInfo": { - "get": { - "description": "获取未启用的教育局列表", + "/base/class/SetClassTeacher": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取未启用的教育局列表", + "description": "设置班主任", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", - "in": "query", - "required": true + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "教育局名称", - "name": "orgName", - "in": "query" + "description": "教师ID", + "in": "formData", + "name": "teacherId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -3609,224 +5757,121 @@ var doc = `{ } } }, + "summary": "设置班主任", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "page", - "limit", - "areaCode" + "classId", + "teacherId" ], "x-interfacename": [ - "PageBaseOrganization" - ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } + "UpdateBaseClass" ], "x-lengthlimit": [ { - "areaCode": "6,6" + "classId": "36,36" }, { - "orgName": "1,50" + "teacherId": "36,36" } ], - "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", - "b_use", - "province_code", - "city_code", - "district_code", - "last_updated_time" - ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 2 - ], - "x-tablename": [ - "t_base_organization" + 6 ] } }, - "/base/organization/PageEduAssistInfo": { + "/base/class/GetStageInfo": { "get": { - "description": "获取教辅单位列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取教辅单位列表", + "description": "获取学段信息", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", + "description": "学校ID", "in": "query", - "required": true - }, - { - "type": "string", - "description": "教辅单位名称", - "name": "orgName", - "in": "query" + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.class.GetStageInfo" } } }, - "x-emptylimit": [ - "page", - "limit", - "areaCode" + "summary": "获取学段信息", + "tags": [ + "班级信息" ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } + "x-interfacename": [ + "PageBaseClass" ], "x-lengthlimit": [ { - "areaCode": "6,6" - }, - { - "orgName": "1,30" + "orgId": "36,36" } ], "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", "b_use", - "province_code", - "city_code", - "district_code", - "last_updated_time" + "sort_id" ], "x-rolelimit": [ "1", "2", "3", - "4" + "4", + "6", + "7" ], "x-sort": [ 7 ], "x-tablename": [ - "t_base_organization" + "t_dm_stage" ] } }, - "/base/organization/PageEnableEduInfo": { + "/base/class/GetRxnfInfo": { "get": { - "description": "获取已启用的教育局列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取已启用的教育局列表", + "description": "根据学校ID和学部(学段)ID获取入学年份", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", + "description": "学校ID", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", + "description": "学部(学段)ID", "in": "query", - "required": true - }, - { - "type": "string", - "description": "教育局名称", - "name": "orgName", - "in": "query" + "name": "stageId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -3835,128 +5880,75 @@ var doc = `{ } } }, - "x-emptylimit": [ - "page", - "limit", - "areaCode" - ], - "x-extendswaggerfield": [ - { - "column_comment": "登录账号", - "column_name": "login_name", - "sample_data": "sys001" - }, - { - "column_comment": "初始密码", - "column_name": "login_pwd", - "sample_data": "741369" - } + "summary": "根据学校ID和学部(学段)ID获取入学年份", + "tags": [ + "班级信息" ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } + "x-interfacename": [ + "PageBaseClass" ], "x-lengthlimit": [ { - "areaCode": "6,6" - }, - { - "orgName": "1,30" + "orgId": "36,36" } ], - "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", - "b_use", - "province_code", - "city_code", - "district_code", - "last_updated_time" - ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 1 - ], - "x-tablename": [ - "t_base_organization" + 8 ] } }, - "/base/organization/PageMainSchoolInfo": { + "/base/loginperson/PageAreaManagerInfo": { "get": { - "description": "获取主校列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取主校列表", + "description": "获取地区管理员列表(虚拟)", "parameters": [ { - "type": "integer", "description": "第几页", - "name": "page", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", "description": "一页显示多少条", - "name": "limit", "in": "query", - "required": true + "name": "limit", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", + "description": "地区码", "in": "query", - "required": true - }, - { - "type": "string", - "description": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", - "name": "orgId", - "in": "query" + "name": "areaCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.loginperson.PageAreaManagerInfo" } } }, + "summary": "获取地区管理员列表(虚拟)", + "tags": [ + "登录信息" + ], "x-emptylimit": [ "page", "limit", @@ -3964,13 +5956,13 @@ var doc = `{ ], "x-extendswaggerfield": [ { - "column_comment": "学校办学类型名称", - "column_name": "xxbxlxm_name", - "sample_data": "小学" + "column_comment": "地区名称", + "column_name": "area_name", + "sample_data": "长春市" } ], "x-interfacename": [ - "PageBaseOrganization" + "PageSysLoginperson" ], "x-intrangelimit": [ { @@ -3986,104 +5978,138 @@ var doc = `{ } ], "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", - "b_use", - "province_code", - "city_code", - "district_code", "last_updated_time" ], "x-rolelimit": [ "1", "2", - "3", - "4", - "7" + "3" ], "x-sort": [ - 12 + 3 ], "x-tablename": [ - "t_base_organization" + "t_sys_loginperson" ] } }, - "/base/organization/PageOrgInfo": { + "/base/loginperson/ExportAreaManagerInfoExcel": { "get": { - "description": "获取部门列表", "consumes": [ "application/x-www-form-urlencoded" ], + "description": "导出地区管理员到EXCEL(虚拟)", + "parameters": [ + { + "description": "地区码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" + } + ], "produces": [ "application/json" ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "导出地区管理员到EXCEL(虚拟)", "tags": [ - "组织机构" + "登录信息" ], - "summary": "获取部门列表", + "x-emptylimit": [ + "areaCode" + ], + "x-interfacename": [ + "PageSysLoginperson" + ], + "x-lengthlimit": [ + { + "areaCode": "6,6" + } + ], + "x-rolelimit": [ + "1", + "2", + "3" + ], + "x-sort": [ + 4 + ] + } + }, + "/base/loginperson/PageBureauManagerInfo": { + "get": { + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取单位管理员列表", "parameters": [ { - "type": "integer", "description": "第几页", - "name": "page", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", "description": "一页显示多少条", + "in": "query", "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "地区码", "in": "query", - "required": true + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "单位ID", - "name": "orgId", + "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", "in": "query", - "required": true + "name": "orgType", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.loginperson.PageBureauManagerInfo" } } }, + "summary": "获取单位管理员列表", + "tags": [ + "登录信息" + ], "x-emptylimit": [ "page", "limit", - "bureauId" + "areaCode", + "orgType" ], "x-extendswaggerfield": [ { - "column_comment": "部门领导", - "column_name": "org_manager_name", - "sample_data": "李老师" + "column_comment": "单位名称", + "column_name": "org_name", + "sample_data": "长春市第一中学" } ], "x-interfacename": [ - "PageBaseOrganization" + "PageSysLoginperson" ], "x-intrangelimit": [ { @@ -4095,103 +6121,49 @@ var doc = `{ ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" } ], - "x-removeswaggerfield": [ - "id_int", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", - "b_use", - "province_code", - "city_code", - "district_code", - "area_code", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", - "6", "7" ], "x-sort": [ - 17 + 5 ], "x-tablename": [ - "t_base_organization" + "t_sys_loginperson" ] } }, - "/base/organization/PageSchoolInfo": { + "/base/loginperson/ExportBureauManagerInfoExcel": { "get": { - "description": "获取学校列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取学校列表", + "description": "导出单位管理员的EXCEL", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", + "description": "地区码", "in": "query", - "required": true - }, - { - "type": "string", - "description": "行政区划编码", "name": "areaCode", - "in": "query", - "required": true + "required": true, + "type": "string" }, { - "type": "string", - "description": "学校办学类型 -1:全部", - "name": "xxbxlxm", + "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", "in": "query", - "required": true - }, - { - "type": "string", - "description": "学校名称", - "name": "orgName", - "in": "query" + "name": "orgType", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -4200,62 +6172,18 @@ var doc = `{ } } }, - "x-emptylimit": [ - "page", - "limit", - "areaCode" - ], - "x-extendswaggerfield": [ - { - "column_comment": "学校办学类型名称", - "column_name": "xxbxlxm_name", - "sample_data": "小学" - } - ], - "x-interfacename": [ - "PageBaseOrganization" - ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], - "x-lengthlimit": [ - { - "areaCode": "6,6" - }, - { - "orgName": "1,30" - } + "summary": "导出单位管理员的EXCEL", + "tags": [ + "登录信息" ], - "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", - "b_use", - "province_code", - "city_code", - "district_code", - "last_updated_time" + "x-emptylimit": [ + "areaCode", + "orgType" + ], + "x-lengthlimit": [ + { + "areaCode": "6,6" + } ], "x-rolelimit": [ "1", @@ -4265,79 +6193,28 @@ var doc = `{ "7" ], "x-sort": [ - 12 - ], - "x-tablename": [ - "t_base_organization" + 6 ] } }, - "/base/organization/UpdateEduAssistInfo": { + "/base/loginperson/ResetManagerPassWord": { "post": { - "description": "修改教辅单位信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "修改教辅单位信息", + "description": "重置管理员密码", "parameters": [ { - "type": "string", - "description": "教辅单位ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位名称", - "name": "orgName", + "description": "一个或多个ID,多个用逗号分隔", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "教辅单位法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "教辅单位地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "name": "ids", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -4346,119 +6223,50 @@ var doc = `{ } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "UpdateBaseOrganization" + "summary": "重置管理员密码", + "tags": [ + "登录信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "ids" ], "x-lengthlimit": [ { - "orgId": "36,36" - }, - { - "areaCode": "6,6" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" + "ids": "36,1800" } ], "x-rolelimit": [ "1", "2", "3", - "4" + "4", + "5", + "6", + "7" ], "x-sort": [ - 10 + 7 ] } }, - "/base/organization/UpdateEduInfo": { + "/base/loginperson/EnableAccountInfo": { "post": { - "description": "修改教育局信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "修改教育局信息", + "description": "启用账号信息", "parameters": [ { - "type": "string", - "description": "教育局ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局名称", - "name": "orgName", + "description": "一个或多个ID,多个用逗号分隔", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "教育局法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "教育局地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "name": "personIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -4467,98 +6275,50 @@ var doc = `{ } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "UpdateBaseOrganization" + "summary": "启用账号信息", + "tags": [ + "登录信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "personIds" ], "x-lengthlimit": [ { - "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" - }, - { - "lxdh": "2,30" + "personIds": "36,1800" } ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "x-sort": [ - 6 + 8 ] } }, - "/base/organization/UpdateOrgInfo": { + "/base/loginperson/DisableAccountInfo": { "post": { - "description": "修改部门信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "修改部门信息", + "description": "禁用账号信息", "parameters": [ { - "type": "string", - "description": "部门ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "部门编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "部门名称", - "name": "orgName", + "description": "一个或多个ID,多个用逗号分隔", "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" - }, - { - "type": "string", - "description": "部门领导的人员ID", - "name": "orgManagerIds", - "in": "formData" + "name": "personIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -4567,31 +6327,16 @@ var doc = `{ } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "UpdateBaseOrganization" + "summary": "禁用账号信息", + "tags": [ + "登录信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "personIds" ], "x-lengthlimit": [ { - "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "orgManagerIds": "36,1800" + "personIds": "36,1800" } ], "x-rolelimit": [ @@ -4604,124 +6349,61 @@ var doc = `{ "7" ], "x-sort": [ - 20 + 9 ] } }, - "/base/organization/UpdateSchoolInfo": { - "post": { - "description": "修改学校信息", + "/base/loginperson/RemoveCookie": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], + "description": "移除Cookie", "produces": [ "application/json" ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "移除Cookie", "tags": [ - "组织机构" + "登录信息" ], - "summary": "修改学校信息", + "x-sort": [ + 10 + ] + } + }, + "/base/loginperson/UpdateLoginPassWordInfo": { + "post": { + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "修改登录密码", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校名称", - "name": "orgName", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "直属类型 1:普通 2:省直 3:市直", - "name": "directlyUnderType", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "是否为分校 -1:非分校 1:是分校", - "name": "isBranchSchool", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "主校ID(是分校时才传)", - "name": "mainSchoolId", - "in": "formData" - }, - { - "type": "string", - "description": "学校办别(字典:xxbbm)", - "name": "xxbbm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校办学类型(字典:xxbxlxm)", - "name": "xxbxlxm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校城乡类型(字典:szdcxlxm)", - "name": "szdcxlxm", + "description": "原密码", "in": "formData", - "required": true + "name": "oldPassWord", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学校举办者(字典:xxjbzm)", - "name": "xxjbzm", + "description": "新密码", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "学校法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "学校地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "name": "newPassWord", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -4730,46 +6412,20 @@ var doc = `{ } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName", - "directlyUnderType", - "isBranchSchool", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm" - ], - "x-interfacename": [ - "UpdateBaseOrganization" + "summary": "修改登录密码", + "tags": [ + "登录信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "oldPassWord", + "newPassWord" ], "x-lengthlimit": [ { - "orgId": "36,36" - }, - { - "areaCode": "6,6" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" + "oldPassWord": "6,18" }, { - "address": "2,100" + "newPassWord": "6,18" } ], "x-rolelimit": [ @@ -4777,265 +6433,387 @@ var doc = `{ "2", "3", "4", + "5", + "6", "7" ], "x-sort": [ - 15 + 11 ] } }, - "/base/purview/AddPurviewInfo": { - "post": { - "description": "增加权限信息", + "/base/organization/PageEnableEduInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "增加权限信息", + "description": "获取已启用的教育局列表", "parameters": [ { - "type": "string", - "description": "权限名称", - "name": "purviewName", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "权限类型 1:菜单 2:按钮", - "name": "purviewType", - "in": "formData", - "required": true + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "菜单的URL 没有填#", - "name": "menuUrl", - "in": "formData", - "required": true + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "父节点ID", - "name": "parentId", - "in": "formData", - "required": true + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "description": "教育局名称", + "in": "query", + "name": "orgName", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.PageEnableEduInfo" } } }, - "x-emptylimit": [ - "purviewName", - "businessCode", - "purviewType", - "menuUrl", - "parentId" - ], - "x-interfacename": [ - "AddBasePurview" + "summary": "获取已启用的教育局列表", + "tags": [ + "组织机构" ], - "x-intlimit": [ - "purviewType", - "sortId" + "x-emptylimit": [ + "page", + "limit", + "areaCode" ], - "x-intrangelimit": [ + "x-extendswaggerfield": [ { - "purviewType": "1,2" + "column_comment": "登录账号", + "column_name": "login_name", + "sample_data": "sys001" }, { - "sortId": "1,9999" + "column_comment": "初始密码", + "column_name": "login_pwd", + "sample_data": "741369" } ], - "x-lengthlimit": [ + "x-intrangelimit": [ { - "purviewName": "1,100" + "page": "1,1000" }, { - "businessCode": "6,6" - }, + "limit": "1,1000" + } + ], + "x-lengthlimit": [ { - "menuUrl": "1,300" + "areaCode": "6,6" }, { - "parentId": "36,36" + "orgName": "1,30" } ], + "x-removeswaggerfield": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "x-rolelimit": [ "1" ], "x-sort": [ 1 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/purview/DeletePurviewInfo": { - "post": { - "description": "删除权限信息", + "/base/organization/PageDisableEduInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "删除权限信息", + "description": "获取未启用的教育局列表", "parameters": [ { - "type": "string", - "description": "权限ID,如果是多个用逗号分隔", - "name": "purviewIds", - "in": "formData", - "required": true + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "description": "教育局名称", + "in": "query", + "name": "orgName", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.PageDisableEduInfo" } } }, + "summary": "获取未启用的教育局列表", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "purviewIds" + "page", + "limit", + "areaCode" ], "x-interfacename": [ - "DeleteBasePurview" + "PageBaseOrganization" + ], + "x-intrangelimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "x-lengthlimit": [ { - "purviewIds": "36,1800" + "areaCode": "6,6" + }, + { + "orgName": "1,50" } ], + "x-removeswaggerfield": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "x-rolelimit": [ "1" ], "x-sort": [ 2 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/purview/GetPurviewInfoById": { + "/base/organization/GetEduInfoById": { "get": { - "description": "获取权限信息(单条)", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "获取权限信息(单条)", + "description": "根据教育局ID获取教育局信息", "parameters": [ { - "type": "string", - "description": "权限ID", - "name": "purviewId", + "description": "教育局ID", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.GetEduInfoById" } } }, + "summary": "根据教育局ID获取教育局信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "purviewId" + "orgId" ], "x-interfacename": [ - "GetBasePurview" + "GetBaseOrganization" ], "x-lengthlimit": [ { - "purviewId": "36,36" + "orgId": "36,36" } ], "x-removeswaggerfield": [ "id_int", - "purview_type", - "menu_icon", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "org_lng", + "org_lat", "b_use", + "province_code", + "city_code", + "district_code", "last_updated_time" ], "x-rolelimit": [ "1" ], "x-sort": [ - 4 + 3 ], "x-tablename": [ - "t_base_purview" + "t_base_organization" ] } }, - "/base/purview/PagePurviewInfoByBusinessCode": { - "get": { - "description": "根据业务系统编码获取权限信息信息", + "/base/organization/EnableEdu": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "根据业务系统编码获取权限信息信息", + "description": "启用教育局", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "description": "教育局ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "教育局编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", - "in": "query", - "required": true + "description": "教育局名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "教育局法定代表人", + "in": "formData", + "name": "fddbr", + "type": "string" + }, + { + "description": "教育局法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" + }, + { + "description": "教育局地址", + "in": "formData", + "name": "address", + "type": "string" + }, + { + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5044,78 +6822,72 @@ var doc = `{ } } }, + "summary": "启用教育局", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "page", - "limit", - "businessCode" + "orgId", + "orgCode", + "orgName" ], "x-interfacename": [ - "PageBasePurview" - ], - "x-intlimit": [ - "page", - "limit" + "UpdateBaseOrganization" ], "x-intrangelimit": [ { - "page": "1,1000" + "sortId": "1,9999" + } + ], + "x-lengthlimit": [ + { + "orgId": "36,36" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" }, { - "limit": "1,1000" - } - ], - "x-lengthlimit": [ + "address": "2,100" + }, { - "businessCode": "6,6" + "lxdh": "2,30" } ], - "x-removeswaggerfield": [ - "id_int", - "purview_type", - "menu_icon", - "b_use", - "last_updated_time" - ], "x-rolelimit": [ "1" ], "x-sort": [ - 5 - ], - "x-tablename": [ - "t_base_purview" + 4 ] } }, - "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { - "get": { - "description": "根据人员ID和业务系统编码获取权限信息信息", + "/base/organization/DisableEdu": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "根据人员ID和业务系统编码获取权限信息信息", + "description": "禁用教育局", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "教育局ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5124,105 +6896,91 @@ var doc = `{ } } }, + "summary": "禁用教育局", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "page", - "limit" + "orgId" ], "x-interfacename": [ - "PageBasePurview" - ], - "x-intlimit": [ - "page", - "limit" + "UpdateBaseOrganization" ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, + "x-lengthlimit": [ { - "limit": "1,1000" + "orgId": "36,36" } ], - "x-removeswaggerfield": [ - "id_int", - "purview_type", - "business_code", - "b_use", - "last_updated_time" - ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ], "x-sort": [ - 6 - ], - "x-tablename": [ - "t_base_purview" + 5 ] } }, - "/base/purview/UpdatePurviewInfo": { + "/base/organization/UpdateEduInfo": { "post": { - "description": "修改权限信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "修改权限信息", + "description": "修改教育局信息", "parameters": [ { - "type": "string", - "description": "权限ID", - "name": "purviewId", + "description": "教育局ID", "in": "formData", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "权限名称", - "name": "purviewName", + "description": "教育局编码", "in": "formData", - "required": true + "name": "orgCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", + "description": "教育局名称", "in": "formData", - "required": true + "name": "orgName", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "权限类型 1:菜单 2:按钮", - "name": "purviewType", + "description": "教育局法定代表人", "in": "formData", - "required": true + "name": "fddbr", + "type": "string" }, { - "type": "string", - "description": "菜单的URL 没有填#", - "name": "menuUrl", + "description": "教育局法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" + }, + { + "description": "教育局地址", + "in": "formData", + "name": "address", + "type": "string" + }, + { + "description": "联系电话", "in": "formData", - "required": true + "name": "lxdh", + "type": "string" }, { - "type": "integer", "description": "排序号", + "in": "formData", "name": "sortId", - "in": "formData" + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5231,265 +6989,307 @@ var doc = `{ } } }, + "summary": "修改教育局信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "purviewId", - "purviewName", - "businessCode", - "purviewType", - "menuUrl" + "orgId", + "orgCode", + "orgName" ], "x-interfacename": [ - "UpdateBasePurview" - ], - "x-intlimit": [ - "purviewType", - "sortId" + "UpdateBaseOrganization" ], "x-intrangelimit": [ - { - "purviewType": "1,2" - }, { "sortId": "1,9999" } ], "x-lengthlimit": [ { - "purviewId": "36,36" + "orgId": "36,36" }, { - "purviewName": "1,100" + "orgCode": "2,20" }, { - "businessCode": "6,6" + "orgName": "1,30" }, { - "menuUrl": "1,300" + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" + }, + { + "address": "2,100" + }, + { + "lxdh": "2,30" } ], "x-rolelimit": [ "1" ], "x-sort": [ - 3 + 6 ] } }, - "/base/role/GetManageAreaInfo": { + "/base/organization/PageEduAssistInfo": { "get": { - "description": "根据人员ID获取所管辖的地区信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "角色信息" - ], - "summary": "根据人员ID获取所管辖的地区信息", + "description": "获取教辅单位列表", "parameters": [ { - "type": "integer", - "description": "地区类型 1:市 2:区", - "name": "areaType", + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "description": "教辅单位名称", "in": "query", - "required": true + "name": "orgName", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.PageEduAssistInfo" } } }, - "x-emptylimit": [ - "areaType" + "summary": "获取教辅单位列表", + "tags": [ + "组织机构" ], - "x-interfacename": [ - "GetBaseRolePerson" + "x-emptylimit": [ + "page", + "limit", + "areaCode" ], "x-intrangelimit": [ { - "areaType": "1,2" + "page": "1,1000" + }, + { + "limit": "1,1000" + } + ], + "x-lengthlimit": [ + { + "areaCode": "6,6" + }, + { + "orgName": "1,30" } ], + "x-removeswaggerfield": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", "3", - "4", - "5", - "6", - "7" + "4" ], "x-sort": [ - 1 + 7 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/role/GetPersonRoleInfo": { + "/base/organization/GetEduAssistInfoById": { "get": { - "description": "获取人员角色信息", "consumes": [ "application/x-www-form-urlencoded" ], + "description": "根据教辅单位ID获取教辅单位信息", + "parameters": [ + { + "description": "教辅单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" + } + ], "produces": [ "application/json" ], - "tags": [ - "角色信息" - ], - "summary": "获取人员角色信息", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.GetEduAssistInfoById" } } }, + "summary": "根据教辅单位ID获取教辅单位信息", + "tags": [ + "组织机构" + ], + "x-emptylimit": [ + "orgId" + ], "x-interfacename": [ - "GetBaseRolePerson" + "GetBaseOrganization" + ], + "x-lengthlimit": [ + { + "orgId": "36,36" + } ], "x-removeswaggerfield": [ - "id", "id_int", - "identity_id", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "org_lng", + "org_lat", "b_use", - "last_updated_time", - "person_id" + "province_code", + "city_code", + "district_code", + "last_updated_time" ], "x-rolelimit": [ "1", "2", "3", - "4", - "5", - "6", - "7" + "4" ], "x-sort": [ - 2 + 8 ], "x-tablename": [ - "t_base_role_person" + "t_base_organization" ] } }, - "/base/student/AddStudentInfo": { + "/base/organization/AddEduAssistInfo": { "post": { - "description": "增加学生信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "增加学生信息", + "description": "增加教辅单位信息", "parameters": [ { - "type": "string", - "description": "学生姓名", - "name": "xm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "身份证件类型代码(字典:sfzjlxm)", - "name": "sfzjlxm", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "身份证件号", - "name": "sfzjh", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "性别(字典:xbm)", - "name": "xbm", - "in": "formData" - }, - { - "type": "string", - "description": "出生日期", - "name": "csrq", - "in": "formData" - }, - { - "type": "string", - "description": "民族(字典:mzm)", - "name": "mzm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "政治面貌(字典:zzmmm)", - "name": "zzmmm", + "description": "行政区划编码", "in": "formData", - "required": true + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "独生子女标志 -1:不是 1:是", - "name": "dszybz", + "description": "教辅单位编码", "in": "formData", - "required": true + "name": "orgCode", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "随迁子女标志 -1:不是 1:是", - "name": "sqznbz", + "description": "教辅单位名称", "in": "formData", - "required": true + "name": "orgName", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "进城务工人员随迁子女标志 -1:不是 1:是", - "name": "jcwgrysqznbz", + "description": "教辅单位法定代表人", "in": "formData", - "required": true + "name": "fddbr", + "type": "string" }, { - "type": "integer", - "description": "孤儿标志 -1:不是 1:是", - "name": "gebz", + "description": "教辅单位法定代表人电话", "in": "formData", - "required": true + "name": "fddbrdh", + "type": "string" }, { - "type": "integer", - "description": "留守儿童标志 -1:不是 1:是", - "name": "lsetbz", + "description": "教辅单位地址", "in": "formData", - "required": true + "name": "address", + "type": "string" }, { - "type": "integer", - "description": "残疾标志 -1:不是 1:是", - "name": "cjbz", + "description": "联系电话", "in": "formData", - "required": true + "name": "lxdh", + "type": "string" }, { - "type": "string", - "description": "班级ID", - "name": "classId", + "description": "排序号", "in": "formData", - "required": true + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5498,80 +7298,119 @@ var doc = `{ } } }, + "summary": "增加教辅单位信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "xm", - "mzm", - "zzmmm", - "sfzjlxm", - "sfzjh", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz", - "classId" + "areaCode", + "orgCode", + "orgName" ], "x-interfacename": [ - "AddBaseStudent" + "AddBaseOrganization" ], "x-intrangelimit": [ { - "sfzjlxm": "1,4" + "sortId": "1,9999" } ], "x-lengthlimit": [ { - "classId": "36,36" + "areaCode": "6,6" }, { - "xm": "2,30" + "orgCode": "2,20" }, { - "xbm": "1,1" + "orgName": "1,30" }, { - "mzm": "2,2" + "fddbr": "2,30" }, { - "zzmmm": "2,2" + "fddbrdh": "2,30" + }, + { + "address": "2,100" + }, + { + "lxdh": "2,30" } ], "x-rolelimit": [ "1", "2", "3", - "4", - "6", - "7" + "4" ], "x-sort": [ - 3 + 9 ] } }, - "/base/student/DeleteStudentInfo": { + "/base/organization/UpdateEduAssistInfo": { "post": { - "description": "删除学生信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "删除学生信息", + "description": "修改教辅单位信息", "parameters": [ { - "type": "string", - "description": "学生ID,多个用逗号分隔", - "name": "personIds", + "description": "教辅单位ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + }, + { + "description": "教辅单位编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" + }, + { + "description": "教辅单位名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "教辅单位法定代表人", + "in": "formData", + "name": "fddbr", + "type": "string" + }, + { + "description": "教辅单位法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" + }, + { + "description": "教辅单位地址", + "in": "formData", + "name": "address", + "type": "string" + }, + { + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" + }, + { + "description": "排序号", "in": "formData", - "required": true + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5580,52 +7419,75 @@ var doc = `{ } } }, + "summary": "修改教辅单位信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "personIds" + "orgId", + "orgCode", + "orgName" ], "x-interfacename": [ - "DeleteBaseStudent" + "UpdateBaseOrganization" + ], + "x-intrangelimit": [ + { + "sortId": "1,9999" + } ], "x-lengthlimit": [ { - "personIds": "36,1800" + "orgId": "36,36" + }, + { + "areaCode": "6,6" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" + }, + { + "address": "2,100" } ], "x-rolelimit": [ "1", "2", "3", - "4", - "6", - "7" + "4" ], "x-sort": [ - 4 + 10 ] } }, - "/base/student/DownLoadStudentTemplateExcel": { - "get": { - "description": "下载学生导入模板", + "/base/organization/DeleteEduAssistInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "下载学生导入模板", + "description": "删除教辅单位信息", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", - "in": "query", - "required": true + "description": "教辅单位ID,如果是多个用逗号分隔", + "in": "formData", + "name": "orgIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5634,194 +7496,334 @@ var doc = `{ } } }, + "summary": "删除教辅单位信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "orgId" + "orgIds" + ], + "x-interfacename": [ + "DeleteBaseOrganization" ], "x-lengthlimit": [ { - "orgId": "36,36" + "orgIds": "36,1800" } ], "x-rolelimit": [ "1", "2", "3", - "4", - "6", - "7" + "4" ], "x-sort": [ - 8 + 11 ] } }, - "/base/student/ExportStudentAccountExcel": { + "/base/organization/PageMainSchoolInfo": { "get": { - "description": "导出本校学生账号信息到EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "导出本校学生账号信息到EXCEL", + "description": "获取主校列表", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", + "description": "第几页", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "班级ID,不传为导出全校,传为导出班级", - "name": "classId", - "in": "query" + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "description": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", + "in": "query", + "name": "orgId", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.PageMainSchoolInfo" } } }, + "summary": "获取主校列表", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "orgId" + "page", + "limit", + "areaCode" + ], + "x-extendswaggerfield": [ + { + "column_comment": "学校办学类型名称", + "column_name": "xxbxlxm_name", + "sample_data": "小学" + } + ], + "x-interfacename": [ + "PageBaseOrganization" + ], + "x-intrangelimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" } ], + "x-removeswaggerfield": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", "3", "4", - "6", "7" ], "x-sort": [ - 7 + 12 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/student/ExportStudentExcel": { + "/base/organization/PageSchoolInfo": { "get": { - "description": "导出本校学生信息到EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "导出本校学生信息到EXCEL", + "description": "获取学校列表", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", + "description": "第几页", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "班级ID,不传为导出全校,传为导出班级", - "name": "classId", - "in": "query" + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "description": "学校办学类型 -1:全部", + "in": "query", + "name": "xxbxlxm", + "required": true, + "type": "string" + }, + { + "description": "学校名称", + "in": "query", + "name": "orgName", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.PageSchoolInfo" } } }, + "summary": "获取学校列表", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "orgId" + "page", + "limit", + "areaCode" + ], + "x-extendswaggerfield": [ + { + "column_comment": "学校办学类型名称", + "column_name": "xxbxlxm_name", + "sample_data": "小学" + } + ], + "x-interfacename": [ + "PageBaseOrganization" + ], + "x-intrangelimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" + }, + { + "orgName": "1,30" } ], + "x-removeswaggerfield": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", "3", "4", - "6", "7" ], "x-sort": [ - 7 + 12 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/student/GetStudentInfo": { + "/base/organization/GetSchoolInfoById": { "get": { - "description": "获取学生信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "获取学生信息", + "description": "根据学校ID获取学校信息", "parameters": [ { - "type": "string", - "description": "学生ID", - "name": "personId", + "description": "学校ID", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.GetSchoolInfoById" } } }, + "summary": "根据学校ID获取学校信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "personId" + "orgId" ], "x-interfacename": [ - "GetBaseStudent" + "GetBaseOrganization" ], "x-lengthlimit": [ { - "personId": "36,36" + "orgId": "36,36" } ], "x-removeswaggerfield": [ "id_int", - "xmpy", - "cym", - "class_id", + "parent_id", "bureau_id", + "org_type", + "edu_assist_type", + "org_lng", + "org_lat", "b_use", - "state_id", "province_code", "city_code", "district_code", - "main_school_id", + "area_code", "last_updated_time" ], "x-rolelimit": [ @@ -5829,46 +7831,126 @@ var doc = `{ "2", "3", "4", - "6", "7" ], "x-sort": [ - 2 + 13 ], "x-tablename": [ - "t_base_class" + "t_base_organization" ] } }, - "/base/student/ImportStudentExcel": { + "/base/organization/AddSchoolInfo": { "post": { - "description": "导入学生EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "导入学生EXCEL", + "description": "增加学校信息", "parameters": [ { - "type": "string", - "description": "单位ID", - "name": "orgId", + "description": "行政区划编码", "in": "formData", - "required": true + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "file", - "description": "EXCEL文件", - "name": "excelFile", + "description": "学校编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" + }, + { + "description": "学校名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "直属类型 1:普通 2:省直 3:市直", + "in": "formData", + "name": "directlyUnderType", + "required": true, + "type": "integer" + }, + { + "description": "是否为分校 -1:非分校 1:是分校", + "in": "formData", + "name": "isBranchSchool", + "required": true, + "type": "integer" + }, + { + "description": "主校ID(是分校时才传)", + "in": "formData", + "name": "mainSchoolId", + "type": "string" + }, + { + "description": "学校办别(字典:xxbbm)", + "in": "formData", + "name": "xxbbm", + "required": true, + "type": "string" + }, + { + "description": "学校办学类型(字典:xxbxlxm)", + "in": "formData", + "name": "xxbxlxm", + "required": true, + "type": "string" + }, + { + "description": "学校城乡类型(字典:szdcxlxm)", + "in": "formData", + "name": "szdcxlxm", + "required": true, + "type": "string" + }, + { + "description": "学校举办者(字典:xxjbzm)", + "in": "formData", + "name": "xxjbzm", + "required": true, + "type": "string" + }, + { + "description": "学校法定代表人", + "in": "formData", + "name": "fddbr", + "type": "string" + }, + { + "description": "学校法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" + }, + { + "description": "学校地址", "in": "formData", - "required": true + "name": "address", + "type": "string" + }, + { + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5877,12 +7959,41 @@ var doc = `{ } } }, + "summary": "增加学校信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "orgId" + "areaCode", + "orgCode", + "orgName" + ], + "x-interfacename": [ + "AddBaseOrganization" + ], + "x-intrangelimit": [ + { + "sortId": "1,9999" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" + }, + { + "address": "2,100" } ], "x-rolelimit": [ @@ -5890,56 +8001,123 @@ var doc = `{ "2", "3", "4", - "6", "7" ], "x-sort": [ - 9 + 14 ] } }, - "/base/student/PageStudentInfo": { - "get": { - "description": "获取学生列表", + "/base/organization/UpdateSchoolInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "获取学生列表", + "description": "修改学校信息", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "description": "学校ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "学校编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" + }, + { + "description": "学校名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "直属类型 1:普通 2:省直 3:市直", + "in": "formData", + "name": "directlyUnderType", + "required": true, + "type": "integer" + }, + { + "description": "是否为分校 -1:非分校 1:是分校", + "in": "formData", + "name": "isBranchSchool", + "required": true, + "type": "integer" + }, + { + "description": "主校ID(是分校时才传)", + "in": "formData", + "name": "mainSchoolId", + "type": "string" + }, + { + "description": "学校办别(字典:xxbbm)", + "in": "formData", + "name": "xxbbm", + "required": true, + "type": "string" + }, + { + "description": "学校办学类型(字典:xxbxlxm)", + "in": "formData", + "name": "xxbxlxm", + "required": true, + "type": "string" + }, + { + "description": "学校城乡类型(字典:szdcxlxm)", + "in": "formData", + "name": "szdcxlxm", + "required": true, + "type": "string" + }, + { + "description": "学校举办者(字典:xxjbzm)", + "in": "formData", + "name": "xxjbzm", + "required": true, + "type": "string" + }, + { + "description": "学校法定代表人", + "in": "formData", + "name": "fddbr", + "type": "string" + }, + { + "description": "学校法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" + }, + { + "description": "学校地址", + "in": "formData", + "name": "address", + "type": "string" }, { - "type": "string", - "description": "班级ID", - "name": "classId", - "in": "query", - "required": true + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" }, { - "type": "string", - "description": "学生姓名", - "name": "xm", - "in": "query" + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5948,122 +8126,82 @@ var doc = `{ } } }, + "summary": "修改学校信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "page", - "limit", - "classId" + "orgId", + "orgCode", + "orgName", + "directlyUnderType", + "isBranchSchool", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm" ], - "x-extendswaggerfield": [ + "x-interfacename": [ + "UpdateBaseOrganization" + ], + "x-intrangelimit": [ { - "column_comment": "性别", - "column_name": "xb_name", - "sample_data": "男" - }, + "sortId": "1,9999" + } + ], + "x-lengthlimit": [ { - "column_comment": "登录名", - "column_name": "login_name", - "sample_data": "stu001" + "orgId": "36,36" }, { - "column_comment": "初始密码", - "column_name": "original_pwd", - "sample_data": "159357" + "areaCode": "6,6" }, { - "column_comment": "账号状态", - "column_name": "login_status", - "sample_data": "已启用" - } - ], - "x-interfacename": [ - "PageBaseStudent" - ], - "x-intrangelimit": [ + "orgCode": "2,20" + }, { - "page": "1,1000" + "orgName": "1,30" }, { - "limit": "1,1000" - } - ], - "x-lengthlimit": [ + "fddbr": "2,30" + }, { - "classId": "36,36" + "fddbrdh": "2,30" }, { - "xm": "2,30" + "address": "2,100" } ], - "x-removeswaggerfield": [ - "id_int", - "xmpy", - "cym", - "csrq", - "mzm", - "zzmmm", - "sfzjlxm", - "sfzjh", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz", - "class_id", - "bureau_id", - "b_use", - "state_id", - "province_code", - "city_code", - "district_code", - "main_school_id", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", "3", "4", - "6", "7" ], "x-sort": [ - 1 - ], - "x-tablename": [ - "t_base_student" + 15 ] } }, - "/base/student/ReviseStudentClass": { + "/base/organization/DeleteSchoolInfo": { "post": { - "description": "学生调整班级", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "学生调整班级", + "description": "删除学校信息", "parameters": [ { - "type": "string", - "description": "学生ID,多个用逗号分隔", - "name": "personIds", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "调整后的班级ID", - "name": "classId", + "description": "学校ID,如果是多个用逗号分隔", "in": "formData", - "required": true + "name": "orgIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6072,15 +8210,19 @@ var doc = `{ } } }, + "summary": "删除学校信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "personIds" + "orgIds" + ], + "x-interfacename": [ + "DeleteBaseOrganization" ], "x-lengthlimit": [ { - "personIds": "36,1800" - }, - { - "classId": "36,36" + "orgIds": "36,1800" } ], "x-rolelimit": [ @@ -6088,320 +8230,278 @@ var doc = `{ "2", "3", "4", - "6", "7" ], "x-sort": [ - 6 + 16 ] } }, - "/base/student/UpdateStudentInfo": { - "post": { - "description": "修改学生信息", + "/base/organization/PageOrgInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "修改学生信息", + "description": "获取部门列表", "parameters": [ { - "type": "string", - "description": "学生ID", - "name": "personId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学生姓名", - "name": "xm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "身份证件类型代码(字典:sfzjlxm)", - "name": "sfzjlxm", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "身份证件号", - "name": "sfzjh", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "性别(字典:xbm)", - "name": "xbm", - "in": "formData" - }, - { - "type": "string", - "description": "出生日期", - "name": "csrq", - "in": "formData" - }, - { - "type": "string", - "description": "民族(字典:mzm)", - "name": "mzm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "政治面貌(字典:zzmmm)", - "name": "zzmmm", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "独生子女标志 -1:不是 1:是", - "name": "dszybz", - "in": "formData", - "required": true + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", - "description": "随迁子女标志 -1:不是 1:是", - "name": "sqznbz", - "in": "formData", - "required": true + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" }, { - "type": "integer", - "description": "进城务工人员随迁子女标志 -1:不是 1:是", - "name": "jcwgrysqznbz", - "in": "formData", - "required": true - }, + "description": "单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/base.organization.PageOrgInfo" + } + } + }, + "summary": "获取部门列表", + "tags": [ + "组织机构" + ], + "x-emptylimit": [ + "page", + "limit", + "bureauId" + ], + "x-extendswaggerfield": [ { - "type": "integer", - "description": "孤儿标志 -1:不是 1:是", - "name": "gebz", - "in": "formData", - "required": true - }, + "column_comment": "部门领导", + "column_name": "org_manager_name", + "sample_data": "李老师" + } + ], + "x-interfacename": [ + "PageBaseOrganization" + ], + "x-intrangelimit": [ { - "type": "integer", - "description": "留守儿童标志 -1:不是 1:是", - "name": "lsetbz", - "in": "formData", - "required": true + "page": "1,1000" }, { - "type": "integer", - "description": "残疾标志 -1:不是 1:是", - "name": "cjbz", - "in": "formData", - "required": true + "limit": "1,1000" + } + ], + "x-lengthlimit": [ + { + "orgId": "36,36" + } + ], + "x-removeswaggerfield": [ + "id_int", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "area_code", + "last_updated_time" + ], + "x-rolelimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "x-sort": [ + 17 + ], + "x-tablename": [ + "t_base_organization" + ] + } + }, + "/base/organization/GetOrgInfo": { + "get": { + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取部门信息", + "parameters": [ + { + "description": "部门ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.GetOrgInfo" } } }, - "x-emptylimit": [ - "personId", - "xm", - "mzm", - "zzmmm", - "sfzjlxm", - "sfzjh", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz" + "summary": "获取部门信息", + "tags": [ + "组织机构" ], - "x-interfacename": [ - "UpdateBaseStudent" + "x-emptylimit": [ + "orgId" ], - "x-intrangelimit": [ + "x-extendswaggerfield": [ { - "sfzjlxm": "1,4" + "column_comment": "部门领导ID", + "column_name": "org_manager_id", + "sample_data": "00B15A6D-4EE1-481C-88F4-054A7BE9F60F" + }, + { + "column_comment": "部门领导名称", + "column_name": "org_manager_name", + "sample_data": "李老师" } ], + "x-interfacename": [ + "GetBaseOrganization" + ], "x-lengthlimit": [ { - "personId": "36,36" - }, - { - "xm": "2,30" - }, - { - "xbm": "1,1" - }, - { - "mzm": "2,2" - }, - { - "zzmmm": "2,2" + "orgId": "36,36" } ], + "x-removeswaggerfield": [ + "id_int", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "b_use", + "province_code", + "city_code", + "district_code", + "area_code", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 5 + 18 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/teacher/AddTeacherInfo": { + "/base/organization/AddOrgInfo": { "post": { - "description": "增加教职工信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "增加教职工信息", + "description": "增加部门信息", "parameters": [ { - "type": "string", - "description": "部门ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教职工姓名", - "name": "xm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "身份证件类型(字典:sfzjlxm)", - "name": "sfzjlxm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "证件号", - "name": "sfzjh", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "性别(字典:xbm)", - "name": "xbm", - "in": "formData" - }, - { - "type": "string", - "description": "出生日期", - "name": "csrq", - "in": "formData" - }, - { - "type": "string", - "description": "民族(字典:mzm)", - "name": "mzm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "政治面貌(字典:zzmmm)", - "name": "zzmmm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "职称(字典:zcm)", - "name": "zcm", + "description": "单位ID", "in": "formData", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "编制(字典:bzlbm)", - "name": "bzlbm", + "description": "部门编码", "in": "formData", - "required": true + "name": "orgCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学历(字典:xlm)", - "name": "xlm", + "description": "部门名称", "in": "formData", - "required": true + "name": "orgName", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学位(字典:xwm)", - "name": "xwm", + "description": "上级部门ID", "in": "formData", - "required": true + "name": "parentId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "任教学段", - "name": "stageId", + "description": "排序号", "in": "formData", - "required": true + "name": "sortId", + "type": "integer" }, { - "type": "string", - "description": "任教学科", - "name": "subjectId", + "description": "部门领导的人员ID", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "从教年月", - "name": "cjny", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "string", - "description": "电子信箱", - "name": "dzxx", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "name": "orgManagerIds", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6410,27 +8510,21 @@ var doc = `{ } } }, - "x-emptylimit": [ - "orgId", - "xm", - "sfzjlxm", - "sfzjh", - "mzm", - "zzmmm", - "zcm", - "bzlbm", - "xlm", - "xwm" + "summary": "增加部门信息", + "tags": [ + "组织机构" + ], + "x-emptylimit": [ + "orgId", + "orgCode", + "orgName" ], "x-interfacename": [ - "AddBaseTeacher" + "AddBaseOrganization" ], "x-intrangelimit": [ { "sortId": "1,9999" - }, - { - "sfzjlxm": "1,4" } ], "x-lengthlimit": [ @@ -6438,40 +8532,16 @@ var doc = `{ "orgId": "36,36" }, { - "xm": "2,20" - }, - { - "xbm": "1,1" - }, - { - "sfzjh": "2,30" - }, - { - "mzm": "2,2" - }, - { - "zzmmm": "2,2" - }, - { - "zcm": "1,1" - }, - { - "bzlbm": "1,1" - }, - { - "xlm": "2,2" - }, - { - "xwm": "1,1" + "orgCode": "2,20" }, { - "stageId": "1,1" + "orgName": "1,30" }, { - "subjectId": "2,2" + "parentId": "36,36" }, { - "lxdh": "2,30" + "orgManagerIds": "36,1800" } ], "x-rolelimit": [ @@ -6484,32 +8554,54 @@ var doc = `{ "7" ], "x-sort": [ - 3 + 19 ] } }, - "/base/teacher/DeleteTeacherInfo": { + "/base/organization/UpdateOrgInfo": { "post": { - "description": "删除教职工信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "删除教职工信息", + "description": "修改部门信息", "parameters": [ { - "type": "string", - "description": "教职工ID,多个用逗号分隔", - "name": "personIds", + "description": "部门ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + }, + { + "description": "部门编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" + }, + { + "description": "部门名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" + }, + { + "description": "部门领导的人员ID", "in": "formData", - "required": true + "name": "orgManagerIds", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6518,15 +8610,35 @@ var doc = `{ } } }, + "summary": "修改部门信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "personIds" + "orgId", + "orgCode", + "orgName" ], "x-interfacename": [ - "DeleteBaseTeacher" + "UpdateBaseOrganization" + ], + "x-intrangelimit": [ + { + "sortId": "1,9999" + } ], "x-lengthlimit": [ { - "personIds": "36,1800" + "orgId": "36,36" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "orgManagerIds": "36,1800" } ], "x-rolelimit": [ @@ -6539,32 +8651,28 @@ var doc = `{ "7" ], "x-sort": [ - 4 + 20 ] } }, - "/base/teacher/DownLoadTeacherTemplateExcel": { - "get": { - "description": "下载教职工导入模板", + "/base/organization/DeleteOrgInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "下载教职工导入模板", + "description": "删除部门信息", "parameters": [ { - "type": "string", - "description": "单位ID", + "description": "部门ID", + "in": "formData", "name": "orgId", - "in": "query", - "required": true + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6573,9 +8681,16 @@ var doc = `{ } } }, + "summary": "删除部门信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ "orgId" ], + "x-interfacename": [ + "DeleteBaseOrganization" + ], "x-lengthlimit": [ { "orgId": "36,36" @@ -6591,32 +8706,28 @@ var doc = `{ "7" ], "x-sort": [ - 9 + 21 ] } }, - "/base/teacher/ExportTeacherAccountExcel": { + "/base/organization/GetOrgTreeInfo": { "get": { - "description": "导出本单位教职工账号信息到EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "导出本单位教职工账号信息到EXCEL", + "description": "根据单位ID获取部门树", "parameters": [ { - "type": "string", "description": "单位ID", - "name": "orgId", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6625,6 +8736,10 @@ var doc = `{ } } }, + "summary": "根据单位ID获取部门树", + "tags": [ + "组织机构" + ], "x-emptylimit": [ "orgId" ], @@ -6633,6 +8748,33 @@ var doc = `{ "orgId": "36,36" } ], + "x-removeswaggerfield": [ + "id_int", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "b_use", + "province_code", + "city_code", + "district_code", + "area_code", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", @@ -6643,46 +8785,67 @@ var doc = `{ "7" ], "x-sort": [ - 7 + 22 ] } }, - "/base/teacher/ExportTeacherExcel": { + "/base/area/PageGovArea": { "get": { - "description": "导出本单位教职工信息到EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "导出本单位教职工信息到EXCEL", + "description": "获取行政区划信息(列表)", "parameters": [ { - "type": "string", - "description": "单位ID", - "name": "orgId", + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "行政区划码", "in": "query", - "required": true + "name": "areaCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.area.PageGovArea" } } }, + "summary": "获取行政区划信息(列表)", + "tags": [ + "行政区划" + ], "x-emptylimit": [ - "orgId" + "page", + "limit", + "areaCode" + ], + "x-intlimit": [ + "page", + "limit", + "areaCode" ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" } ], "x-rolelimit": [ @@ -6694,33 +8857,29 @@ var doc = `{ "6", "7" ], - "x-sort": [ - 8 + "x-tablename": [ + "t_gov_area" ] } }, - "/base/teacher/GetTeacherInfo": { - "get": { - "description": "获取教职工信息", + "/base/area/DeleteGovArea": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "获取教职工信息", - "parameters": [ - { - "type": "string", - "description": "教职工ID", - "name": "personId", - "in": "query", - "required": true + "description": "删除行政区划信息", + "parameters": [ + { + "description": "区域代码", + "in": "formData", + "name": "areaCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6729,34 +8888,18 @@ var doc = `{ } } }, - "x-emptylimit": [ - "personId" - ], - "x-extendswaggerfield": [ - { - "column_comment": "部门名称", - "column_name": "org_name", - "sample_data": "语文组" - } + "summary": "删除行政区划信息", + "tags": [ + "行政区划" ], - "x-interfacename": [ - "GetBaseTeacher" + "x-emptylimit": [ + "areaCode" ], "x-lengthlimit": [ { - "personId": "36,36" + "areaCode": "6,6" } ], - "x-removeswaggerfield": [ - "identity_id", - "id_int", - "xmpy", - "cym", - "gwzym", - "b_use", - "state_id", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", @@ -6765,44 +8908,48 @@ var doc = `{ "5", "6", "7" - ], - "x-sort": [ - 2 - ], - "x-tablename": [ - "t_base_teacher" ] } }, - "/base/teacher/ImportTeacherExcel": { + "/base/area/UpdateGovArea": { "post": { - "description": "导入教职工EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "导入教职工EXCEL", + "description": "修改行政区划信息", "parameters": [ { - "type": "string", - "description": "单位ID", - "name": "orgId", + "description": "区域代码", "in": "formData", - "required": true + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "file", - "description": "EXCEL文件", - "name": "excelFile", + "description": "区域名称", + "in": "formData", + "name": "areaName", + "required": true, + "type": "string" + }, + { + "description": "上级代码", + "in": "formData", + "name": "masterCode", + "required": true, + "type": "string" + }, + { + "description": "区域类型", "in": "formData", - "required": true + "name": "areaTypeId", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6811,12 +8958,28 @@ var doc = `{ } } }, + "summary": "修改行政区划信息", + "tags": [ + "行政区划" + ], "x-emptylimit": [ - "orgId" + "areaTypeId", + "areaCode", + "areaName", + "masterCode" + ], + "x-intlimit": [ + "areaTypeId" ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" + }, + { + "masterCode": "6,6" + }, + { + "areaName": "3:50" } ], "x-rolelimit": [ @@ -6827,54 +8990,48 @@ var doc = `{ "5", "6", "7" - ], - "x-sort": [ - 10 ] } }, - "/base/teacher/PageTeacherInfo": { - "get": { - "description": "获取教职工列表", + "/base/area/AddGovArea": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "获取教职工列表", + "description": "增加行政区划信息", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "description": "区域代码", + "in": "formData", + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "区域名称", + "in": "formData", + "name": "areaName", + "required": true, + "type": "string" }, { - "type": "string", - "description": "部门ID", - "name": "orgId", - "in": "query", - "required": true + "description": "上级代码", + "in": "formData", + "name": "masterCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "教职工姓名", - "name": "xm", - "in": "query" + "description": "区域类型", + "in": "formData", + "name": "areaTypeId", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6883,96 +9040,81 @@ var doc = `{ } } }, + "summary": "增加行政区划信息", + "tags": [ + "行政区划" + ], "x-emptylimit": [ - "page", - "limit", - "orgId" + "areaTypeId", + "areaCode", + "areaName", + "masterCode" ], - "x-extendswaggerfield": [ - { - "column_comment": "性别", - "column_name": "xb_name", - "sample_data": "男" - }, - { - "column_comment": "所属部门", - "column_name": "org_name", - "sample_data": "办公室" - }, - { - "column_comment": "登录名", - "column_name": "login_name", - "sample_data": "stu001" - }, - { - "column_comment": "初始密码", - "column_name": "original_pwd", - "sample_data": "159357" - }, + "x-intlimit": [ + "areaTypeId" + ], + "x-lengthlimit": [ { - "column_comment": "账号状态", - "column_name": "login_status", - "sample_data": "已启用" + "areaCode": "6,6" }, { - "column_comment": "学段名称", - "column_name": "stage_name", - "sample_data": "小学" + "masterCode": "6,6" }, { - "column_comment": "学科名称", - "column_name": "subject_name", - "sample_data": "数学" + "areaName": "3,50" } ], - "x-interfacename": [ - "PageBaseTeacher" + "x-rolelimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ] + } + }, + "/base/area/GetGovArea": { + "get": { + "consumes": [ + "application/x-www-form-urlencoded" ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, + "description": "获取行政区划信息(单条)", + "parameters": [ { - "limit": "1,1000" + "description": "行政区划码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" } ], - "x-lengthlimit": [ - { - "orgId": "36,36" - }, - { - "xm": "1,20" - } + "produces": [ + "application/json" ], - "x-removeswaggerfield": [ - "identity_id", - "id_int", - "xmpy", - "cym", - "csrq", - "mzm", - "zzmmm", - "sfzjlxm", - "sfzjh", - "xlm", - "xwm", - "zcm", - "bzlbm", - "cjny", - "stage_id", - "subject_id", - "gwzym", - "lxdh", - "dzxx", - "b_use", - "state_id", - "last_updated_time", - "bureau_id", - "org_id", - "main_school_id", - "province_code", - "city_code", - "district_code" + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "获取行政区划信息(单条)", + "tags": [ + "行政区划" + ], + "x-emptylimit": [ + "areaCode" + ], + "x-intlimit": [ + "areaCode" + ], + "x-lengthlimit": [ + { + "areaCode": "6,6" + } ], "x-rolelimit": [ "1", @@ -6982,44 +9124,27 @@ var doc = `{ "5", "6", "7" - ], - "x-sort": [ - 1 - ], - "x-tablename": [ - "t_base_teacher" ] } }, - "/base/teacher/ReviseTeacherOrg": { - "post": { - "description": "调整教职工部门", + "/base/role/GetManageAreaInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "调整教职工部门", + "description": "根据人员ID获取所管辖的地区信息", "parameters": [ { - "type": "string", - "description": "教职工ID,多个用逗号分隔", - "name": "personIds", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "调整后的部门ID", - "name": "orgId", - "in": "formData", - "required": true + "description": "地区类型 1:市 2:区", + "in": "query", + "name": "areaType", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -7028,18 +9153,19 @@ var doc = `{ } } }, + "summary": "根据人员ID获取所管辖的地区信息", + "tags": [ + "角色信息" + ], "x-emptylimit": [ - "personIds" + "areaType" ], - "x-lengthlimit": [ - { - "personIds": "36,1800" - }, - { - "sourceOrgId": "36,36" - }, + "x-interfacename": [ + "GetBaseRolePerson" + ], + "x-intrangelimit": [ { - "targetOrgId": "36,36" + "areaType": "1,2" } ], "x-rolelimit": [ @@ -7052,216 +9178,41 @@ var doc = `{ "7" ], "x-sort": [ - 6 + 1 ] } }, - "/base/teacher/UpdateTeacherInfo": { - "post": { - "description": "修改教职工信息", + "/base/role/GetPersonRoleInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], + "description": "获取人员角色信息", "produces": [ "application/json" ], - "tags": [ - "教师信息" - ], - "summary": "修改教职工信息", - "parameters": [ - { - "type": "string", - "description": "教职工ID", - "name": "personId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教职工姓名", - "name": "xm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "身份证件类型(字典:sfzjlxm)", - "name": "sfzjlxm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "证件号", - "name": "sfzjh", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "性别(字典:xbm)", - "name": "xbm", - "in": "formData" - }, - { - "type": "string", - "description": "出生日期", - "name": "csrq", - "in": "formData" - }, - { - "type": "string", - "description": "民族(字典:mzm)", - "name": "mzm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "政治面貌(字典:zzmmm)", - "name": "zzmmm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "职称(字典:zcm)", - "name": "zcm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "编制(字典:bzlbm)", - "name": "bzlbm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学历(字典:xlm)", - "name": "xlm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学位(字典:xwm)", - "name": "xwm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "任教学段", - "name": "stageId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "任教学科", - "name": "subjectId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "从教年月", - "name": "cjny", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "string", - "description": "电子信箱", - "name": "dzxx", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" - } - ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.role.GetPersonRoleInfo" } } }, - "x-emptylimit": [ - "personId", - "xm", - "sfzjlxm", - "sfzjh", - "mzm", - "zzmmm", - "zcm", - "bzlbm", - "xlm", - "xwm" + "summary": "获取人员角色信息", + "tags": [ + "角色信息" ], "x-interfacename": [ - "UpdateBaseTeacher" - ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - }, - { - "sfzjlxm": "1,4" - } + "GetBaseRolePerson" ], - "x-lengthlimit": [ - { - "personId": "36,36" - }, - { - "xm": "2,20" - }, - { - "xbm": "1,1" - }, - { - "sfzjh": "2,30" - }, - { - "mzm": "2,2" - }, - { - "zzmmm": "2,2" - }, - { - "zcm": "1,1" - }, - { - "bzlbm": "1,1" - }, - { - "xlm": "2,2" - }, - { - "xwm": "1,1" - }, - { - "stageId": "1,1" - }, - { - "subjectId": "2,2" - }, - { - "lxdh": "2,30" - } + "x-removeswaggerfield": [ + "id", + "id_int", + "identity_id", + "b_use", + "last_updated_time", + "person_id" ], "x-rolelimit": [ "1", @@ -7273,37 +9224,15 @@ var doc = `{ "7" ], "x-sort": [ - 5 + 2 + ], + "x-tablename": [ + "t_base_role_person" ] } } }, - "definitions": { - "Model.Res": { - "type": "object", - "properties": { - "count": { - "description": "omitempty有值就输出,没值则不输出", - "type": "object" - }, - "error_code": { - "description": "omitempty有值就输出,没值则不输出", - "type": "object" - }, - "list": { - "description": "omitempty有值就输出,没值则不输出", - "type": "object" - }, - "message": { - "description": "omitempty有值就输出,没值则不输出", - "type": "object" - }, - "success": { - "type": "object" - } - } - } - } + "swagger": "2.0" }` type swaggerInfo struct { diff --git a/dsBaseWeb/docs/swagger.json b/dsBaseWeb/docs/swagger.json index 2e42e609..12f954f0 100644 --- a/dsBaseWeb/docs/swagger.json +++ b/dsBaseWeb/docs/swagger.json @@ -1,64 +1,1995 @@ { - "swagger": "2.0", + "definitions": { + "Model.Res": { + "properties": { + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.area.PageGovArea": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "行政区划代码", + "example": "100000", + "type": "string" + }, + "area_level_id": { + "description": "行政区划级别 例:省、市、区", + "example": 0, + "type": "integer" + }, + "area_name": { + "description": "行政区划名称", + "example": "中华人民共和国", + "type": "string" + }, + "area_type_id": { + "description": "行政区划类型 0:无 1:县市区 2:开发区", + "example": 0, + "type": "integer" + }, + "master_code": { + "description": "上级行政区划代码", + "example": "0", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.class.GetClassInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "bh": { + "description": "班号", + "example": 10, + "type": "integer" + }, + "class_alias": { + "description": "班级别名", + "example": "2020级10班", + "type": "string" + }, + "class_id": { + "description": "班级ID", + "example": "14D86278-DFA7-46CC-8DC2-2A22DAB85917", + "type": "string" + }, + "class_name": { + "description": "班级名称", + "example": "2020级10班", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 09:28:56", + "type": "timestamp" + }, + "rxnf": { + "description": "入学年份", + "example": 2020, + "type": "integer" + }, + "schooling_length": { + "description": "学制", + "example": 6, + "type": "integer" + }, + "stage_id": { + "description": "所属学段ID", + "example": "2", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.class.GetStageInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "stage_id": { + "description": "学段ID", + "example": "1", + "type": "string" + }, + "stage_name": { + "description": "学段名称", + "example": "学前教育", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.class.PageClassInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "class_alias": { + "description": "班级别名", + "example": "2020级10班", + "type": "string" + }, + "class_id": { + "description": "班级ID", + "example": "14D86278-DFA7-46CC-8DC2-2A22DAB85917", + "type": "string" + }, + "class_name": { + "description": "班级名称", + "example": "2020级10班", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 09:28:56", + "type": "timestamp" + }, + "student_count": { + "description": "学生人数", + "example": "41", + "type": "string" + }, + "teacher_id": { + "description": "班主任ID", + "example": "", + "type": "string" + }, + "teacher_name": { + "description": "班主任", + "example": "李老师", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.dict.GetDictInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "dict_code": { + "description": "字典编码", + "example": "10", + "type": "string" + }, + "dict_value": { + "description": "字典值", + "example": "普通中小学/职业中学", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.dict.GetStageInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "stage_id": { + "description": "学段ID", + "example": "1", + "type": "string" + }, + "stage_name": { + "description": "学段名称", + "example": "学前教育", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.dict.GetSubjectInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "subject_id": { + "description": "学科ID", + "example": "11", + "type": "string" + }, + "subject_name": { + "description": "学科名称", + "example": "品德与生活(社会)", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.dict.PageDict": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "dict_code": { + "description": "字典编码", + "example": "10", + "type": "string" + }, + "dict_value": { + "description": "字典值", + "example": "普通中小学/职业中学", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.global.GetGlobalInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "b_use": { + "description": "是否启用 0:未启用 1:启用", + "example": 1, + "type": "integer" + }, + "global_code": { + "description": "全局变量代码", + "example": "AAAAAA", + "type": "string" + }, + "global_id": { + "description": "全局变量ID", + "example": "954839E9-D743-4FC2-A8EA-EE32327A2895", + "type": "string" + }, + "global_remarks": { + "description": "全局变量备注", + "example": "11111111", + "type": "string" + }, + "global_type_id": { + "description": "全局变量分类", + "example": 1, + "type": "integer" + }, + "global_value": { + "description": "全局变量值", + "example": "3333333", + "type": "string" + }, + "sort_id": { + "description": "排序号", + "example": 5, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.global.PageGlobalInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "b_use": { + "description": "是否启用 0:未启用 1:启用", + "example": 1, + "type": "integer" + }, + "global_code": { + "description": "全局变量代码", + "example": "AAAAAA", + "type": "string" + }, + "global_id": { + "description": "全局变量ID", + "example": "954839E9-D743-4FC2-A8EA-EE32327A2895", + "type": "string" + }, + "global_remarks": { + "description": "全局变量备注", + "example": "11111111", + "type": "string" + }, + "global_type_id": { + "description": "全局变量分类", + "example": 1, + "type": "integer" + }, + "global_value": { + "description": "全局变量值", + "example": "3333333", + "type": "string" + }, + "sort_id": { + "description": "排序号", + "example": 5, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.loginperson.PageAreaManagerInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_name": { + "description": "地区名称", + "example": "长春市", + "type": "string" + }, + "b_use": { + "description": "是否启用 0:未启用 1:启用", + "example": -1, + "type": "integer" + }, + "id": { + "description": "主键ID", + "example": "00073C84-2D9D-4CEB-8F1F-98F952A3B6F2", + "type": "string" + }, + "id_int": { + "description": "整数ID", + "example": 6170, + "type": "integer" + }, + "identity_id": { + "description": "身份ID", + "example": 1, + "type": "integer" + }, + "login_name": { + "description": "用户名", + "example": "sys6170", + "type": "string" + }, + "original_pwd": { + "description": "原始明文密码", + "example": "068555", + "type": "string" + }, + "person_id": { + "description": "人员ID", + "example": "EA661D2F-F499-43AF-804C-9CCD1C55AE13", + "type": "string" + }, + "person_name": { + "description": "人员姓名", + "example": "会宁县管理员", + "type": "string" + }, + "pwd": { + "description": "密码(加密后)", + "example": "LRKxQ0TKStHArqeJL/xLkw==", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.loginperson.PageBureauManagerInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "b_use": { + "description": "是否启用 0:未启用 1:启用", + "example": -1, + "type": "integer" + }, + "id": { + "description": "主键ID", + "example": "00073C84-2D9D-4CEB-8F1F-98F952A3B6F2", + "type": "string" + }, + "id_int": { + "description": "整数ID", + "example": 6170, + "type": "integer" + }, + "identity_id": { + "description": "身份ID", + "example": 1, + "type": "integer" + }, + "login_name": { + "description": "用户名", + "example": "sys6170", + "type": "string" + }, + "org_name": { + "description": "单位名称", + "example": "长春市第一中学", + "type": "string" + }, + "original_pwd": { + "description": "原始明文密码", + "example": "068555", + "type": "string" + }, + "person_id": { + "description": "人员ID", + "example": "EA661D2F-F499-43AF-804C-9CCD1C55AE13", + "type": "string" + }, + "person_name": { + "description": "人员姓名", + "example": "会宁县管理员", + "type": "string" + }, + "pwd": { + "description": "密码(加密后)", + "example": "LRKxQ0TKStHArqeJL/xLkw==", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.GetEduAssistInfoById": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "address": { + "description": "组织机构地址", + "example": "", + "type": "string" + }, + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "fddbr": { + "description": "机构法定代表人", + "example": "", + "type": "string" + }, + "fddbrdh": { + "description": "机构法定代表人电话", + "example": "", + "type": "string" + }, + "lxdh": { + "description": "机构联系电话", + "example": "", + "type": "string" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "sort_id": { + "description": "排序号(在获取信息时如果排序号大于9999,前台不显示)", + "example": 2421, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.GetEduInfoById": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "address": { + "description": "组织机构地址", + "example": "", + "type": "string" + }, + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "fddbr": { + "description": "机构法定代表人", + "example": "", + "type": "string" + }, + "fddbrdh": { + "description": "机构法定代表人电话", + "example": "", + "type": "string" + }, + "lxdh": { + "description": "机构联系电话", + "example": "", + "type": "string" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "sort_id": { + "description": "排序号(在获取信息时如果排序号大于9999,前台不显示)", + "example": 2421, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.GetOrgInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_manager_id": { + "description": "部门领导ID", + "example": "00B15A6D-4EE1-481C-88F4-054A7BE9F60F", + "type": "string" + }, + "org_manager_name": { + "description": "部门领导名称", + "example": "李老师", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "parent_id": { + "description": "上级部门ID,单位填0", + "example": "00000000-0000-0000-0000-000000000000", + "type": "string" + }, + "sort_id": { + "description": "排序号(在获取信息时如果排序号大于9999,前台不显示)", + "example": 2421, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.GetSchoolInfoById": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "address": { + "description": "组织机构地址", + "example": "", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "directly_under_type": { + "description": "直属类型 1:普通 2:省直 3:市直", + "example": 0, + "type": "integer" + }, + "fddbr": { + "description": "机构法定代表人", + "example": "", + "type": "string" + }, + "fddbrdh": { + "description": "机构法定代表人电话", + "example": "", + "type": "string" + }, + "fzr": { + "description": "机构负责人ID(*一个单位只能有一个负责人)", + "example": "", + "type": "string" + }, + "lxdh": { + "description": "机构联系电话", + "example": "", + "type": "string" + }, + "main_school_id": { + "description": "如果是分校,所属主校的ID,如果是主校,是自己的ID,如果是分校,是主校ID,如果是普通校,也是自己的ID", + "example": "", + "type": "string" + }, + "main_school_type": { + "description": "主校类型,1:普通校,2:主校,3:分校", + "example": -1, + "type": "integer" + }, + "manage_org_id": { + "description": "上级管理单位ID(*一个单位只能有一个上级管理单位)", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "sort_id": { + "description": "排序号(在获取信息时如果排序号大于9999,前台不显示)", + "example": 2421, + "type": "integer" + }, + "szdcxlxm": { + "description": "学校城乡类型(学校专有属性)有字典", + "example": "", + "type": "string" + }, + "xxbbm": { + "description": "学校办别(学校专有属性)有字典", + "example": "", + "type": "string" + }, + "xxbxlxm": { + "description": "学校办学类型(学校专有属性)有字典", + "example": "", + "type": "string" + }, + "xxjbzm": { + "description": "学校举办者(学校专有属性)有字典", + "example": "", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageDisableEduInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageEduAssistInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageEnableEduInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "login_name": { + "description": "登录账号", + "example": "sys001", + "type": "string" + }, + "login_pwd": { + "description": "初始密码", + "example": "741369", + "type": "string" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageMainSchoolInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "main_school_type": { + "description": "主校类型,1:普通校,2:主校,3:分校", + "example": -1, + "type": "integer" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "xxbxlxm": { + "description": "学校办学类型(学校专有属性)有字典", + "example": "", + "type": "string" + }, + "xxbxlxm_name": { + "description": "学校办学类型名称", + "example": "小学", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageOrgInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_manager_name": { + "description": "部门领导", + "example": "李老师", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "parent_id": { + "description": "上级部门ID,单位填0", + "example": "00000000-0000-0000-0000-000000000000", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.organization.PageSchoolInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "area_code": { + "description": "所在行政区划码", + "example": "510112", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "main_school_type": { + "description": "主校类型,1:普通校,2:主校,3:分校", + "example": -1, + "type": "integer" + }, + "org_code": { + "description": "组织机构编码", + "example": "961EC825-2F38-4400-9BE8-2F4358", + "type": "string" + }, + "org_id": { + "description": "组织机构ID", + "example": "0024E809-710E-4A76-8991-3F5C8B1ADDF3", + "type": "string" + }, + "org_name": { + "description": "组织机构名称", + "example": "龙泉驿区教育局", + "type": "string" + }, + "xxbxlxm": { + "description": "学校办学类型(学校专有属性)有字典", + "example": "", + "type": "string" + }, + "xxbxlxm_name": { + "description": "学校办学类型名称", + "example": "小学", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.purview.GetPurviewInfoById": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "business_code": { + "description": "业务系统编码", + "example": "B00001", + "type": "string" + }, + "menu_url": { + "description": "菜单的URL", + "example": "#", + "type": "string" + }, + "parent_id": { + "description": "父节点ID", + "example": "00000000-0000-0000-0000-000000000000", + "type": "string" + }, + "purview_id": { + "description": "权限ID", + "example": "29050385-3E01-4E7D-8805-21B19960351F", + "type": "string" + }, + "purview_name": { + "description": "权限名称", + "example": "用户信息管理", + "type": "string" + }, + "sort_id": { + "description": "排序号", + "example": 6, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.purview.PagePurviewInfoByBusinessCode": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "business_code": { + "description": "业务系统编码", + "example": "B00001", + "type": "string" + }, + "menu_url": { + "description": "菜单的URL", + "example": "#", + "type": "string" + }, + "parent_id": { + "description": "父节点ID", + "example": "00000000-0000-0000-0000-000000000000", + "type": "string" + }, + "purview_id": { + "description": "权限ID", + "example": "29050385-3E01-4E7D-8805-21B19960351F", + "type": "string" + }, + "purview_name": { + "description": "权限名称", + "example": "用户信息管理", + "type": "string" + }, + "sort_id": { + "description": "排序号", + "example": 6, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.purview.PagePurviewInfoByPersonIdBusinessCode": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "menu_icon": { + "description": "菜单的图标样式名", + "example": "", + "type": "string" + }, + "menu_url": { + "description": "菜单的URL", + "example": "#", + "type": "string" + }, + "parent_id": { + "description": "父节点ID", + "example": "00000000-0000-0000-0000-000000000000", + "type": "string" + }, + "purview_id": { + "description": "权限ID", + "example": "29050385-3E01-4E7D-8805-21B19960351F", + "type": "string" + }, + "purview_name": { + "description": "权限名称", + "example": "用户信息管理", + "type": "string" + }, + "sort_id": { + "description": "排序号", + "example": 6, + "type": "integer" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.role.GetPersonRoleInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "role_id": { + "description": "角色ID", + "example": "BF61C95F-3ADD-4F37-9FCD-97E69E1BF6E3", + "type": "string" + }, + "rule_id": { + "description": "具体管辖是哪个省、市、区或大学区ID,单位ID", + "example": "532927", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.student.GetStudentInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "bh": { + "description": "班号", + "example": 10, + "type": "integer" + }, + "class_alias": { + "description": "班级别名", + "example": "2020级10班", + "type": "string" + }, + "class_code": { + "description": "班级编码 规则:10位学校编码+4位入学年份+1位学段+3位班号 学段:0:幼儿 1:小学 2:初中 3:高中 4:职业 5:高等", + "example": "2020210", + "type": "string" + }, + "class_name": { + "description": "班级名称", + "example": "2020级10班", + "type": "string" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 09:28:56", + "type": "timestamp" + }, + "org_id": { + "description": "所在部门(除职业和高等外都是0)", + "example": "", + "type": "string" + }, + "rxjj": { + "description": "入学季节", + "example": 9, + "type": "integer" + }, + "rxnf": { + "description": "入学年份", + "example": 2020, + "type": "integer" + }, + "schooling_length": { + "description": "学制", + "example": 6, + "type": "integer" + }, + "stage_id": { + "description": "所属学段ID", + "example": "2", + "type": "string" + }, + "teacher_id": { + "description": "班主任ID", + "example": "", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.student.PageStudentInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "create_time": { + "description": "创建时间", + "example": "2020-07-22 10:46:03", + "type": "timestamp" + }, + "login_name": { + "description": "登录名", + "example": "stu001", + "type": "string" + }, + "login_status": { + "description": "账号状态", + "example": "已启用", + "type": "string" + }, + "original_pwd": { + "description": "初始密码", + "example": "159357", + "type": "string" + }, + "person_id": { + "description": "学生ID", + "example": "0B19F6D4-3351-4FDB-A9FC-5EA02417C782", + "type": "string" + }, + "xb_name": { + "description": "性别", + "example": "男", + "type": "string" + }, + "xbm": { + "description": "性别(有字典)", + "example": "1", + "type": "string" + }, + "xm": { + "description": "学生姓名", + "example": "陈强", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.teacher.GetTeacherInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "bureau_id": { + "description": "所属单位(主)", + "example": "A817DF74-5002-4AE0-9D1E-86A1D7A0F81B", + "type": "string" + }, + "bzlbm": { + "description": "编制 (有字典)", + "example": "9", + "type": "string" + }, + "city_code": { + "description": "所属市CODE", + "example": "330100", + "type": "string" + }, + "cjny": { + "description": "从教年月", + "example": "1999-09-01", + "type": "date" + }, + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "csrq": { + "description": "出生日期", + "example": "1977-10-11", + "type": "date" + }, + "district_code": { + "description": "所属县区CODE", + "example": "330108", + "type": "string" + }, + "dzxx": { + "description": "电子信箱", + "example": "xx@dsideal.com", + "type": "string" + }, + "lxdh": { + "description": "联系电话", + "example": "18888888888", + "type": "string" + }, + "main_school_id": { + "description": "所属主校ID", + "example": "", + "type": "string" + }, + "mzm": { + "description": "民族 (有字典)", + "example": "1", + "type": "string" + }, + "org_id": { + "description": "所属部门(主)", + "example": "A817DF74-5002-4AE0-9D1E-86A1D7A0F81B", + "type": "string" + }, + "org_name": { + "description": "部门名称", + "example": "语文组", + "type": "string" + }, + "person_id": { + "description": "教师ID", + "example": "00159E8E-27CB-40E7-805E-A1A88323C7C8", + "type": "string" + }, + "province_code": { + "description": "所属省CODE", + "example": "330000", + "type": "string" + }, + "sfzjh": { + "description": "身份证件号", + "example": "-1", + "type": "string" + }, + "sfzjlxm": { + "description": "身份证件类型代码 (有字典)", + "example": "4", + "type": "string" + }, + "sort_id": { + "description": "在主部门的排序号", + "example": 1, + "type": "integer" + }, + "stage_id": { + "description": "主要任课学段 (有字典)", + "example": "Z", + "type": "string" + }, + "subject_id": { + "description": "主要任课学科 (有字典)", + "example": "99", + "type": "string" + }, + "xbm": { + "description": "性别 (有字典)", + "example": "男", + "type": "string" + }, + "xlm": { + "description": "学历 (有字典)", + "example": "90", + "type": "string" + }, + "xm": { + "description": "教师姓名", + "example": "滨江区教育局管理员", + "type": "string" + }, + "xwm": { + "description": "学位 (有字典)", + "example": "0", + "type": "string" + }, + "zcm": { + "description": "职称 (有字典)", + "example": "5", + "type": "string" + }, + "zzmmm": { + "description": "政治面貌 (有字典)", + "example": "13", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + }, + "base.teacher.PageTeacherInfo": { + "properties": { + "count": { + "description": "一共有多少条", + "example": "1", + "type": "integer" + }, + "list": { + "items": { + "properties": { + "create_time": { + "description": "创建时间", + "example": "2020-07-22 08:52:47", + "type": "timestamp" + }, + "login_name": { + "description": "登录名", + "example": "stu001", + "type": "string" + }, + "login_status": { + "description": "账号状态", + "example": "已启用", + "type": "string" + }, + "org_name": { + "description": "所属部门", + "example": "办公室", + "type": "string" + }, + "original_pwd": { + "description": "初始密码", + "example": "159357", + "type": "string" + }, + "person_id": { + "description": "教师ID", + "example": "00159E8E-27CB-40E7-805E-A1A88323C7C8", + "type": "string" + }, + "sort_id": { + "description": "在主部门的排序号", + "example": 1, + "type": "integer" + }, + "stage_name": { + "description": "学段名称", + "example": "小学", + "type": "string" + }, + "subject_name": { + "description": "学科名称", + "example": "数学", + "type": "string" + }, + "xb_name": { + "description": "性别", + "example": "男", + "type": "string" + }, + "xbm": { + "description": "性别 (有字典)", + "example": "男", + "type": "string" + }, + "xm": { + "description": "教师姓名", + "example": "滨江区教育局管理员", + "type": "string" + } + } + }, + "type": "array" + }, + "message": { + "description": "返回的消息", + "example": "操作成功", + "type": "string" + }, + "success": { + "description": "是否成功", + "example": "true", + "type": "boolean" + } + }, + "type": "object" + } + }, + "host": "127.0.0.1:8002", "info": { - "description": "分布式,大并发,高可用", - "title": "基础数据API", "contact": { + "email": "support@swagger.io", "name": "API Support", - "url": "http://www.swagger.io/support", - "email": "support@swagger.io" + "url": "http://www.swagger.io/support" }, + "description": "分布式,大并发,高可用", "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" }, + "title": "基础数据API", "version": "1.0" }, - "host": "127.0.0.1:8002", "paths": { - "/base/area/AddGovArea": { - "post": { - "description": "增加行政区划信息", + "/base/business/GetBaseBusiness": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "行政区划" - ], - "summary": "增加行政区划信息", + "description": "获取业务系统信息(单条)", "parameters": [ { - "type": "string", - "description": "区域代码", - "name": "areaCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "区域名称", - "name": "areaName", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "上级代码", - "name": "masterCode", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "区域类型", - "name": "areaTypeId", - "in": "formData", - "required": true + "description": "业务系统编码", + "in": "query", + "name": "businessCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -67,59 +1998,48 @@ } } }, - "x-emptylimit": [ - "areaTypeId", - "areaCode", - "areaName", - "masterCode" + "summary": "获取业务系统信息(单条)", + "tags": [ + "业务系统维护" ], - "x-intlimit": [ - "areaTypeId" + "x-emptylimit": [ + "businessCode" ], "x-lengthlimit": [ { - "areaCode": "6,6" - }, - { - "masterCode": "6,6" - }, - { - "areaName": "3,50" + "businessCode": "6,6" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ] } }, - "/base/area/DeleteGovArea": { + "/base/business/AddBaseBusiness": { "post": { - "description": "删除行政区划信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "行政区划" - ], - "summary": "删除行政区划信息", + "description": "增加业务系统信息", "parameters": [ { - "type": "string", - "description": "区域代码", - "name": "areaCode", + "description": "业务系统编码", + "in": "formData", + "name": "businessCode", + "required": true, + "type": "string" + }, + { + "description": "业务系统名称", "in": "formData", - "required": true + "name": "businessName", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -128,47 +2048,45 @@ } } }, + "summary": "增加业务系统信息", + "tags": [ + "业务系统维护" + ], "x-emptylimit": [ - "areaCode" + "businessCode", + "businessName" ], "x-lengthlimit": [ { - "areaCode": "6,6" + "businessCode": "6:6" + }, + { + "businessName": "1:50" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ] } }, - "/base/area/GetGovArea": { - "get": { - "description": "获取行政区划信息(单条)", + "/base/business/DeleteBaseBusiness": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "行政区划" - ], - "summary": "获取行政区划信息(单条)", + "description": "删除业务系统信息", "parameters": [ { - "type": "string", - "description": "行政区划码", - "name": "areaCode", - "in": "query", - "required": true + "description": "业务系统编码", + "in": "formData", + "name": "businessCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -177,144 +2095,48 @@ } } }, - "x-emptylimit": [ - "areaCode" + "summary": "删除业务系统信息", + "tags": [ + "业务系统维护" ], - "x-intlimit": [ - "areaCode" + "x-emptylimit": [ + "businessCode" ], "x-lengthlimit": [ { - "areaCode": "6,6" + "businessCode": "6,6" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ] } }, - "/base/area/PageGovArea": { + "/base/business/PageBaseBusiness": { "get": { - "description": "获取行政区划信息(列表)", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "行政区划" - ], - "summary": "获取行政区划信息(列表)", + "description": "获取业务系统信息(列表)", "parameters": [ { - "type": "integer", "description": "第几页", - "name": "page", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "行政区划码", - "name": "areaCode", "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "x-emptylimit": [ - "page", - "limit", - "areaCode" - ], - "x-intlimit": [ - "page", - "limit", - "areaCode" - ], - "x-lengthlimit": [ - { - "areaCode": "6,6" + "name": "limit", + "required": true, + "type": "integer" } ], - "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "x-tablename": [ - "t_gov_area" - ] - } - }, - "/base/area/UpdateGovArea": { - "post": { - "description": "修改行政区划信息", - "consumes": [ - "application/x-www-form-urlencoded" - ], "produces": [ "application/json" ], - "tags": [ - "行政区划" - ], - "summary": "修改行政区划信息", - "parameters": [ - { - "type": "string", - "description": "区域代码", - "name": "areaCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "区域名称", - "name": "areaName", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "上级代码", - "name": "masterCode", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "区域类型", - "name": "areaTypeId", - "in": "formData", - "required": true - } - ], "responses": { "200": { "description": "OK", @@ -323,66 +2145,48 @@ } } }, - "x-emptylimit": [ - "areaTypeId", - "areaCode", - "areaName", - "masterCode" - ], - "x-intlimit": [ - "areaTypeId" + "summary": "获取业务系统信息(列表)", + "tags": [ + "业务系统维护" ], - "x-lengthlimit": [ - { - "areaCode": "6,6" - }, - { - "masterCode": "6,6" - }, - { - "areaName": "3:50" - } + "x-emptylimit": [ + "page", + "limit" + ], + "x-intlimit": [ + "page", + "limit" ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ] } }, - "/base/business/AddBaseBusiness": { + "/base/business/UpdateBaseBusiness": { "post": { - "description": "增加业务系统信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "业务系统维护" - ], - "summary": "增加业务系统信息", + "description": "修改业务系统信息", "parameters": [ { - "type": "string", "description": "业务系统编码", - "name": "businessCode", "in": "formData", - "required": true + "name": "businessCode", + "required": true, + "type": "string" }, { - "type": "string", "description": "业务系统名称", - "name": "businessName", "in": "formData", - "required": true + "name": "businessName", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -391,13 +2195,17 @@ } } }, + "summary": "修改业务系统信息", + "tags": [ + "业务系统维护" + ], "x-emptylimit": [ "businessCode", "businessName" ], "x-lengthlimit": [ { - "businessCode": "6:6" + "businessCode": "6,6" }, { "businessName": "1:50" @@ -408,121 +2216,168 @@ ] } }, - "/base/business/DeleteBaseBusiness": { - "post": { - "description": "删除业务系统信息", + "/base/global/PageGlobalInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "业务系统维护" - ], - "summary": "删除业务系统信息", + "description": "获取全局变量列表", "parameters": [ { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", - "in": "formData", - "required": true + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "全局变量分类(全部传-1)", + "in": "query", + "name": "globalTypeId", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.global.PageGlobalInfo" } } }, + "summary": "获取全局变量列表", + "tags": [ + "全局变量" + ], "x-emptylimit": [ - "businessCode" + "page", + "limit", + "globalTypeId" ], - "x-lengthlimit": [ - { - "businessCode": "6,6" - } + "x-intlimit": [ + "page", + "limit", + "globalTypeId" ], "x-rolelimit": [ "1" + ], + "x-sort": [ + 1 + ], + "x-tablename": [ + "t_base_global" ] } }, - "/base/business/GetBaseBusiness": { + "/base/global/GetGlobalInfo": { "get": { - "description": "获取业务系统信息(单条)", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "业务系统维护" - ], - "summary": "获取业务系统信息(单条)", + "description": "获取全局变量信息", "parameters": [ { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", + "description": "全局变量ID", "in": "query", - "required": true + "name": "globalId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.global.GetGlobalInfo" } } }, + "summary": "获取全局变量信息", + "tags": [ + "全局变量" + ], "x-emptylimit": [ - "businessCode" + "globalId" + ], + "x-interfacename": [ + "GetBaseGlobal" ], "x-lengthlimit": [ { - "businessCode": "6,6" + "globalId": "36,36" } ], "x-rolelimit": [ "1" + ], + "x-sort": [ + 2 + ], + "x-tablename": [ + "t_base_global" ] } }, - "/base/business/PageBaseBusiness": { - "get": { - "description": "获取业务系统信息(列表)", + "/base/global/AddGlobalInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "业务系统维护" - ], - "summary": "获取业务系统信息(列表)", + "description": "增加全局变量", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "description": "全局变量分类", + "in": "formData", + "name": "globalTypeId", + "required": true, + "type": "integer" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "全局变量代码", + "in": "formData", + "name": "globalCode", + "required": true, + "type": "string" + }, + { + "description": "全局变量值", + "in": "formData", + "name": "globalValue", + "required": true, + "type": "string" + }, + { + "description": "全局变量备注", + "in": "formData", + "name": "globalRemarks", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -531,48 +2386,57 @@ } } }, + "summary": "增加全局变量", + "tags": [ + "全局变量" + ], "x-emptylimit": [ - "page", - "limit" + "globalTypeId", + "globalCode", + "globalValue", + "sortId" ], "x-intlimit": [ - "page", - "limit" + "globalTypeId", + "sortId" + ], + "x-lengthlimit": [ + { + "globalCode": "2,50" + }, + { + "globalValue": "1,255" + }, + { + "globalRemarks": "1,500" + } ], "x-rolelimit": [ "1" + ], + "x-sort": [ + 3 ] } }, - "/base/business/UpdateBaseBusiness": { + "/base/global/DeleteGlobalInfo": { "post": { - "description": "修改业务系统信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "业务系统维护" - ], - "summary": "修改业务系统信息", + "description": "删除全局变量", "parameters": [ { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "业务系统名称", - "name": "businessName", + "description": "全局变量ID,多个用逗号分隔", "in": "formData", - "required": true + "name": "globalIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -581,84 +2445,78 @@ } } }, + "summary": "删除全局变量", + "tags": [ + "全局变量" + ], "x-emptylimit": [ - "businessCode", - "businessName" + "globalIds" ], "x-lengthlimit": [ { - "businessCode": "6,6" - }, - { - "businessName": "1:50" + "globalIds": "36,1800" } ], "x-rolelimit": [ "1" + ], + "x-sort": [ + 4 ] } }, - "/base/class/AddClassInfo": { + "/base/global/UpdateGlobalInfo": { "post": { - "description": "增加班级信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "增加班级信息", + "description": "修改全局变量", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学部ID", - "name": "stageId", + "description": "全局变量ID", "in": "formData", - "required": true + "name": "globalId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "学制", - "name": "schoolingLength", + "description": "全局变量分类", "in": "formData", - "required": true + "name": "globalTypeId", + "required": true, + "type": "integer" }, { - "type": "integer", - "description": "入学年份", - "name": "rxnf", + "description": "全局变量代码", "in": "formData", - "required": true + "name": "globalCode", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "开始班号", - "name": "startBh", - "in": "formData" + "description": "全局变量值", + "in": "formData", + "name": "globalValue", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "结束班号", - "name": "endBh", - "in": "formData" + "description": "全局变量备注", + "in": "formData", + "name": "globalRemarks", + "type": "string" }, { - "type": "string", - "description": "班级别名(只有单个班级时才有)", - "name": "classAlias", - "in": "formData" + "description": "排序号", + "in": "formData", + "name": "sortId", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -667,263 +2525,321 @@ } } }, + "summary": "修改全局变量", + "tags": [ + "全局变量" + ], "x-emptylimit": [ - "orgId", - "stageId", - "schoolingLength", - "rxnf", - "startBh", - "endBh" + "globalId", + "globalTypeId", + "globalCode", + "globalValue", + "sortId" ], - "x-interfacename": [ - "AddBaseClass" + "x-intlimit": [ + "globalId", + "globalTypeId", + "sortId" ], - "x-intrangelimit": [ + "x-lengthlimit": [ { - "rxnf": "1990,2100" + "globalId": "36,36" }, { - "schoolingLength": "1,10" + "globalCode": "2,50" }, { - "startBh": "1,99" + "globalValue": "1,255" }, { - "endBh": "1,99" + "globalRemarks": "1,500" } ], - "x-lengthlimit": [ + "x-rolelimit": [ + "1" + ], + "x-sort": [ + 5 + ] + } + }, + "/base/dict/GetDictInfo": { + "get": { + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据字典分类和字典编码获取字典信息", + "parameters": [ { - "orgId": "36,36" + "description": "字典分类", + "in": "query", + "name": "dictKind", + "required": true, + "type": "string" }, { - "stageId": "1,1" - }, + "description": "字典编码", + "in": "query", + "name": "dictCode", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/base.dict.GetDictInfo" + } + } + }, + "summary": "根据字典分类和字典编码获取字典信息", + "tags": [ + "字典" + ], + "x-emptylimit": [ + "dictKind", + "dictCode" + ], + "x-interfacename": [ + "GetSysDict" + ], + "x-lengthlimit": [ { - "xbm": "1,1" + "dictKind": "1,20" }, { - "classAlias": "1,30" + "dictCode": "1,10" } ], + "x-removeswaggerfield": [ + "dict_id", + "dict_kind", + "dict_remark", + "dict_parent", + "sort_id", + "b_use" + ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 3 + 1 + ], + "x-tablename": [ + "t_sys_dict" ] } }, - "/base/class/DeleteClassInfo": { - "post": { - "description": "删除班级信息", + "/base/dict/PageDict": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "删除班级信息", + "description": "根据字典分类、上级字典编码获取字典信息", "parameters": [ { - "type": "string", - "description": "班级ID,多个用逗号分隔", - "name": "classIds", - "in": "formData", - "required": true + "description": "字典分类", + "in": "query", + "name": "dictKind", + "required": true, + "type": "string" + }, + { + "description": "上级字典编码", + "in": "query", + "name": "dictParent", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.dict.PageDict" } } }, + "summary": "根据字典分类、上级字典编码获取字典信息", + "tags": [ + "字典" + ], "x-emptylimit": [ - "classIds" + "dictKind" ], "x-interfacename": [ - "DeleteBaseClass" + "PageSysDict" ], "x-lengthlimit": [ { - "classId": "36,1800" + "dictKind": "1,20" + }, + { + "dictParent": "1,10" } ], + "x-removeswaggerfield": [ + "dict_id", + "dict_kind", + "dict_remark", + "dict_parent", + "sort_id", + "b_use" + ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 4 + 2 + ], + "x-tablename": [ + "t_sys_dict" ] } }, - "/base/class/GetClassInfo": { + "/base/dict/GetStageInfo": { "get": { - "description": "获取班级信息", "consumes": [ "application/x-www-form-urlencoded" ], + "description": "获取学段信息", "produces": [ "application/json" ], - "tags": [ - "班级信息" - ], - "summary": "获取班级信息", - "parameters": [ - { - "type": "string", - "description": "班级ID", - "name": "classId", - "in": "query", - "required": true - } - ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.dict.GetStageInfo" } } }, - "x-emptylimit": [ - "classId" + "summary": "获取学段信息", + "tags": [ + "字典" ], "x-interfacename": [ - "GetBaseClass" - ], - "x-lengthlimit": [ - { - "classId": "36,36" - } + "PageSysDict" ], "x-removeswaggerfield": [ - "id_int", - "class_code", - "rxjj", - "teacher_id", - "org_id", - "bureau_id", "b_use", - "province_code", - "city_code", - "district_code", - "main_school_id", - "last_updated_time" + "sort_id" ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 2 + 3 ], "x-tablename": [ - "t_base_class" + "t_dm_stage" ] } }, - "/base/class/GetRxnfInfo": { + "/base/dict/GetSubjectInfo": { "get": { - "description": "根据学校ID和学部(学段)ID获取入学年份", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "根据学校ID和学部(学段)ID获取入学年份", + "description": "根据学段ID获取学科信息", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", + "description": "学段ID", "in": "query", - "required": true - }, - { - "type": "string", - "description": "学部(学段)ID", "name": "stageId", - "in": "query", - "required": true + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.dict.GetSubjectInfo" } } }, + "summary": "根据学段ID获取学科信息", + "tags": [ + "字典" + ], + "x-emptylimit": [ + "stageId" + ], "x-interfacename": [ - "PageBaseClass" + "PageSysDict" ], "x-lengthlimit": [ { - "orgId": "36,36" + "stageId": "1,1" } ], + "x-removeswaggerfield": [ + "b_use", + "sort_id" + ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 8 + 4 + ], + "x-tablename": [ + "t_dm_subject" ] } }, - "/base/class/GetStageInfo": { + "/base/dict/GetMultipleDictInfo": { "get": { - "description": "获取学段信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "获取学段信息", + "description": "根据多个dict_kind获取字典信息", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", + "description": "字典分类,多个用逗号分隔", "in": "query", - "required": true + "name": "dictKinds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -932,119 +2848,111 @@ } } }, - "x-interfacename": [ - "PageBaseClass" + "summary": "根据多个dict_kind获取字典信息", + "tags": [ + "字典" + ], + "x-emptylimit": [ + "dictKinds" ], "x-lengthlimit": [ { - "orgId": "36,36" + "dictKinds": "1,500" } ], - "x-removeswaggerfield": [ - "b_use", - "sort_id" - ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 7 - ], - "x-tablename": [ - "t_dm_stage" + 5 ] } }, - "/base/class/PageClassInfo": { + "/base/student/PageStudentInfo": { "get": { - "description": "获取班级列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "获取班级列表", + "description": "获取学生列表", "parameters": [ { - "type": "integer", "description": "第几页", - "name": "page", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "学校ID", - "name": "orgId", "in": "query", - "required": true + "name": "limit", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "学部ID", - "name": "stageId", + "description": "班级ID", "in": "query", - "required": true + "name": "classId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "入学年份", - "name": "rxnf", + "description": "学生姓名", "in": "query", - "required": true - }, - { - "type": "string", - "description": "需要滤掉的班级ID", - "name": "removeClassId", - "in": "query" + "name": "xm", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.student.PageStudentInfo" } } }, + "summary": "获取学生列表", + "tags": [ + "学生信息" + ], "x-emptylimit": [ "page", "limit", - "orgId", - "stageId", - "rxnf" + "classId" ], "x-extendswaggerfield": [ { - "column_comment": "学生人数", - "column_name": "student_count", - "sample_data": "41" + "column_comment": "性别", + "column_name": "xb_name", + "sample_data": "男" }, { - "column_comment": "班主任", - "column_name": "teacher_name", - "sample_data": "李老师" + "column_comment": "登录名", + "column_name": "login_name", + "sample_data": "stu001" + }, + { + "column_comment": "初始密码", + "column_name": "original_pwd", + "sample_data": "159357" + }, + { + "column_comment": "账号状态", + "column_name": "login_status", + "sample_data": "已启用" } ], "x-interfacename": [ - "PageBaseClass" + "PageBaseStudent" ], "x-intrangelimit": [ { @@ -1052,27 +2960,35 @@ }, { "limit": "1,1000" - }, - { - "rxnf": "1990,2100" } ], "x-lengthlimit": [ { - "stageId": "1,1" + "classId": "36,36" + }, + { + "xm": "2,30" } ], "x-removeswaggerfield": [ "id_int", - "bh", - "class_code", - "rxnf", - "rxjj", - "schooling_length", - "stage_id", - "org_id", + "xmpy", + "cym", + "csrq", + "mzm", + "zzmmm", + "sfzjlxm", + "sfzjh", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz", + "class_id", "bureau_id", "b_use", + "state_id", "province_code", "city_code", "district_code", @@ -1091,127 +3007,65 @@ 1 ], "x-tablename": [ - "t_base_class" + "t_base_student" ] } }, - "/base/class/SetClassTeacher": { - "post": { - "description": "设置班主任", + "/base/student/GetStudentInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "班级信息" - ], - "summary": "设置班主任", + "description": "获取学生信息", "parameters": [ { - "type": "string", - "description": "班级ID", - "name": "classId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教师ID", - "name": "teacherId", - "in": "formData", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "x-emptylimit": [ - "classId", - "teacherId" - ], - "x-interfacename": [ - "UpdateBaseClass" - ], - "x-lengthlimit": [ - { - "classId": "36,36" - }, - { - "teacherId": "36,36" + "description": "学生ID", + "in": "query", + "name": "personId", + "required": true, + "type": "string" } ], - "x-rolelimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "x-sort": [ - 6 - ] - } - }, - "/base/class/UpdateClassInfo": { - "post": { - "description": "修改班级信息(只允许修改班级别名)", - "consumes": [ - "application/x-www-form-urlencoded" - ], "produces": [ "application/json" ], - "tags": [ - "班级信息" - ], - "summary": "修改班级信息(只允许修改班级别名)", - "parameters": [ - { - "type": "string", - "description": "班级ID", - "name": "classId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "班级别名", - "name": "classAlias", - "in": "formData", - "required": true - } - ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.student.GetStudentInfo" } } }, + "summary": "获取学生信息", + "tags": [ + "学生信息" + ], "x-emptylimit": [ - "classId", - "classAlias" + "personId" ], "x-interfacename": [ - "UpdateBaseClass" + "GetBaseStudent" ], "x-lengthlimit": [ { - "classId": "36,36" - }, - { - "classAlias": "1,30" + "personId": "36,36" } ], + "x-removeswaggerfield": [ + "id_int", + "xmpy", + "cym", + "class_id", + "bureau_id", + "b_use", + "state_id", + "province_code", + "city_code", + "district_code", + "main_school_id", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", @@ -1221,39 +3075,120 @@ "7" ], "x-sort": [ - 5 + 2 + ], + "x-tablename": [ + "t_base_class" ] } }, - "/base/dict/GetDictInfo": { - "get": { - "description": "根据字典分类和字典编码获取字典信息", + "/base/student/AddStudentInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "字典" - ], - "summary": "根据字典分类和字典编码获取字典信息", + "description": "增加学生信息", "parameters": [ { - "type": "string", - "description": "字典分类", - "name": "dictKind", - "in": "query", - "required": true + "description": "学生姓名", + "in": "formData", + "name": "xm", + "required": true, + "type": "string" }, { - "type": "string", - "description": "字典编码", - "name": "dictCode", - "in": "query", - "required": true + "description": "身份证件类型代码(字典:sfzjlxm)", + "in": "formData", + "name": "sfzjlxm", + "required": true, + "type": "string" + }, + { + "description": "身份证件号", + "in": "formData", + "name": "sfzjh", + "required": true, + "type": "integer" + }, + { + "description": "性别(字典:xbm)", + "in": "formData", + "name": "xbm", + "type": "string" + }, + { + "description": "出生日期", + "in": "formData", + "name": "csrq", + "type": "string" + }, + { + "description": "民族(字典:mzm)", + "in": "formData", + "name": "mzm", + "required": true, + "type": "string" + }, + { + "description": "政治面貌(字典:zzmmm)", + "in": "formData", + "name": "zzmmm", + "required": true, + "type": "string" + }, + { + "description": "独生子女标志 -1:不是 1:是", + "in": "formData", + "name": "dszybz", + "required": true, + "type": "integer" + }, + { + "description": "随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "sqznbz", + "required": true, + "type": "integer" + }, + { + "description": "进城务工人员随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "jcwgrysqznbz", + "required": true, + "type": "integer" + }, + { + "description": "孤儿标志 -1:不是 1:是", + "in": "formData", + "name": "gebz", + "required": true, + "type": "integer" + }, + { + "description": "留守儿童标志 -1:不是 1:是", + "in": "formData", + "name": "lsetbz", + "required": true, + "type": "integer" + }, + { + "description": "残疾标志 -1:不是 1:是", + "in": "formData", + "name": "cjbz", + "required": true, + "type": "integer" + }, + { + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1262,68 +3197,80 @@ } } }, + "summary": "增加学生信息", + "tags": [ + "学生信息" + ], "x-emptylimit": [ - "dictKind", - "dictCode" + "xm", + "mzm", + "zzmmm", + "sfzjlxm", + "sfzjh", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz", + "classId" ], "x-interfacename": [ - "GetSysDict" + "AddBaseStudent" + ], + "x-intrangelimit": [ + { + "sfzjlxm": "1,4" + } ], "x-lengthlimit": [ { - "dictKind": "1,20" + "classId": "36,36" }, { - "dictCode": "1,10" + "xm": "2,30" + }, + { + "xbm": "1,1" + }, + { + "mzm": "2,2" + }, + { + "zzmmm": "2,2" } ], - "x-removeswaggerfield": [ - "dict_id", - "dict_kind", - "dict_remark", - "dict_parent", - "sort_id", - "b_use" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 1 - ], - "x-tablename": [ - "t_sys_dict" + 3 ] } }, - "/base/dict/GetMultipleDictInfo": { - "get": { - "description": "根据多个dict_kind获取字典信息", + "/base/student/DeleteStudentInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "字典" - ], - "summary": "根据多个dict_kind获取字典信息", + "description": "删除学生信息", "parameters": [ { - "type": "string", - "description": "字典分类,多个用逗号分隔", - "name": "dictKinds", - "in": "query", - "required": true + "description": "学生ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1332,12 +3279,19 @@ } } }, + "summary": "删除学生信息", + "tags": [ + "学生信息" + ], "x-emptylimit": [ - "dictKinds" + "personIds" + ], + "x-interfacename": [ + "DeleteBaseStudent" ], "x-lengthlimit": [ { - "dictKinds": "1,500" + "personIds": "36,1800" } ], "x-rolelimit": [ @@ -1345,28 +3299,121 @@ "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 5 + 4 ] } }, - "/base/dict/GetStageInfo": { - "get": { - "description": "获取学段信息", + "/base/student/UpdateStudentInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], + "description": "修改学生信息", + "parameters": [ + { + "description": "学生ID", + "in": "formData", + "name": "personId", + "required": true, + "type": "string" + }, + { + "description": "学生姓名", + "in": "formData", + "name": "xm", + "required": true, + "type": "string" + }, + { + "description": "身份证件类型代码(字典:sfzjlxm)", + "in": "formData", + "name": "sfzjlxm", + "required": true, + "type": "string" + }, + { + "description": "身份证件号", + "in": "formData", + "name": "sfzjh", + "required": true, + "type": "integer" + }, + { + "description": "性别(字典:xbm)", + "in": "formData", + "name": "xbm", + "type": "string" + }, + { + "description": "出生日期", + "in": "formData", + "name": "csrq", + "type": "string" + }, + { + "description": "民族(字典:mzm)", + "in": "formData", + "name": "mzm", + "required": true, + "type": "string" + }, + { + "description": "政治面貌(字典:zzmmm)", + "in": "formData", + "name": "zzmmm", + "required": true, + "type": "string" + }, + { + "description": "独生子女标志 -1:不是 1:是", + "in": "formData", + "name": "dszybz", + "required": true, + "type": "integer" + }, + { + "description": "随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "sqznbz", + "required": true, + "type": "integer" + }, + { + "description": "进城务工人员随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "jcwgrysqznbz", + "required": true, + "type": "integer" + }, + { + "description": "孤儿标志 -1:不是 1:是", + "in": "formData", + "name": "gebz", + "required": true, + "type": "integer" + }, + { + "description": "留守儿童标志 -1:不是 1:是", + "in": "formData", + "name": "lsetbz", + "required": true, + "type": "integer" + }, + { + "description": "残疾标志 -1:不是 1:是", + "in": "formData", + "name": "cjbz", + "required": true, + "type": "integer" + } + ], "produces": [ "application/json" ], - "tags": [ - "字典" - ], - "summary": "获取学段信息", "responses": { "200": { "description": "OK", @@ -1375,52 +3422,87 @@ } } }, + "summary": "修改学生信息", + "tags": [ + "学生信息" + ], + "x-emptylimit": [ + "personId", + "xm", + "mzm", + "zzmmm", + "sfzjlxm", + "sfzjh", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz" + ], "x-interfacename": [ - "PageSysDict" + "UpdateBaseStudent" ], - "x-removeswaggerfield": [ - "b_use", - "sort_id" + "x-intrangelimit": [ + { + "sfzjlxm": "1,4" + } + ], + "x-lengthlimit": [ + { + "personId": "36,36" + }, + { + "xm": "2,30" + }, + { + "xbm": "1,1" + }, + { + "mzm": "2,2" + }, + { + "zzmmm": "2,2" + } ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 3 - ], - "x-tablename": [ - "t_dm_stage" + 5 ] } }, - "/base/dict/GetSubjectInfo": { - "get": { - "description": "根据学段ID获取学科信息", + "/base/student/ReviseStudentClass": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "字典" - ], - "summary": "根据学段ID获取学科信息", + "description": "学生调整班级", "parameters": [ { - "type": "string", - "description": "学段ID", - "name": "stageId", - "in": "query", - "required": true + "description": "学生ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" + }, + { + "description": "调整后的班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1429,66 +3511,58 @@ } } }, - "x-emptylimit": [ - "stageId" + "summary": "学生调整班级", + "tags": [ + "学生信息" ], - "x-interfacename": [ - "PageSysDict" + "x-emptylimit": [ + "personIds" ], "x-lengthlimit": [ { - "stageId": "1,1" + "personIds": "36,1800" + }, + { + "classId": "36,36" } ], - "x-removeswaggerfield": [ - "b_use", - "sort_id" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 4 - ], - "x-tablename": [ - "t_dm_subject" + 6 ] } }, - "/base/dict/PageDict": { + "/base/student/ExportStudentAccountExcel": { "get": { - "description": "根据字典分类、上级字典编码获取字典信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "字典" - ], - "summary": "根据字典分类、上级字典编码获取字典信息", + "description": "导出本校学生账号信息到EXCEL", "parameters": [ { - "type": "string", - "description": "字典分类", - "name": "dictKind", + "description": "学校ID", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "上级字典编码", - "name": "dictParent", - "in": "query" + "description": "班级ID,不传为导出全校,传为导出班级", + "in": "query", + "name": "classId", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1497,94 +3571,55 @@ } } }, - "x-emptylimit": [ - "dictKind" + "summary": "导出本校学生账号信息到EXCEL", + "tags": [ + "学生信息" ], - "x-interfacename": [ - "PageSysDict" + "x-emptylimit": [ + "orgId" ], "x-lengthlimit": [ { - "dictKind": "1,20" - }, - { - "dictParent": "1,10" + "orgId": "36,36" } ], - "x-removeswaggerfield": [ - "dict_id", - "dict_kind", - "dict_remark", - "dict_parent", - "sort_id", - "b_use" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 2 - ], - "x-tablename": [ - "t_sys_dict" + 7 ] } }, - "/base/global/AddGlobalInfo": { - "post": { - "description": "增加全局变量", + "/base/student/ExportStudentExcel": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "全局变量" - ], - "summary": "增加全局变量", + "description": "导出本校学生信息到EXCEL", "parameters": [ { - "type": "integer", - "description": "全局变量分类", - "name": "globalTypeId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "全局变量代码", - "name": "globalCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "全局变量值", - "name": "globalValue", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "全局变量备注", - "name": "globalRemarks", - "in": "formData" + "description": "学校ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData", - "required": true + "description": "班级ID,不传为导出全校,传为导出班级", + "in": "query", + "name": "classId", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1593,57 +3628,49 @@ } } }, - "x-emptylimit": [ - "globalTypeId", - "globalCode", - "globalValue", - "sortId" + "summary": "导出本校学生信息到EXCEL", + "tags": [ + "学生信息" ], - "x-intlimit": [ - "globalTypeId", - "sortId" + "x-emptylimit": [ + "orgId" ], "x-lengthlimit": [ { - "globalCode": "2,50" - }, - { - "globalValue": "1,255" - }, - { - "globalRemarks": "1,500" + "orgId": "36,36" } ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 3 + 7 ] } }, - "/base/global/DeleteGlobalInfo": { - "post": { - "description": "删除全局变量", + "/base/student/DownLoadStudentTemplateExcel": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "全局变量" - ], - "summary": "删除全局变量", + "description": "下载学生导入模板", "parameters": [ { - "type": "string", - "description": "全局变量ID,多个用逗号分隔", - "name": "globalIds", - "in": "formData", - "required": true + "description": "学校ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1652,44 +3679,56 @@ } } }, + "summary": "下载学生导入模板", + "tags": [ + "学生信息" + ], "x-emptylimit": [ - "globalIds" + "orgId" ], "x-lengthlimit": [ { - "globalIds": "36,1800" + "orgId": "36,36" } ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 4 + 8 ] } }, - "/base/global/GetGlobalInfo": { - "get": { - "description": "获取全局变量信息", + "/base/student/ImportStudentExcel": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "全局变量" - ], - "summary": "获取全局变量信息", + "description": "导入学生EXCEL", "parameters": [ { - "type": "string", - "description": "全局变量ID", - "name": "globalId", - "in": "query", - "required": true + "description": "单位ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + }, + { + "description": "EXCEL文件", + "in": "formData", + "name": "excelFile", + "required": true, + "type": "file" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -1698,229 +3737,172 @@ } } }, - "x-emptylimit": [ - "globalId" + "summary": "导入学生EXCEL", + "tags": [ + "学生信息" ], - "x-interfacename": [ - "GetBaseGlobal" + "x-emptylimit": [ + "orgId" ], "x-lengthlimit": [ { - "globalId": "36,36" + "orgId": "36,36" } ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 2 - ], - "x-tablename": [ - "t_base_global" + 9 ] } }, - "/base/global/PageGlobalInfo": { + "/base/teacher/PageTeacherInfo": { "get": { - "description": "获取全局变量列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "全局变量" - ], - "summary": "获取全局变量列表", + "description": "获取教职工列表", "parameters": [ { - "type": "integer", "description": "第几页", - "name": "page", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", "description": "一页显示多少条", + "in": "query", "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "部门ID", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "全局变量分类(全部传-1)", - "name": "globalTypeId", + "description": "教职工姓名", "in": "query", - "required": true + "name": "xm", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.teacher.PageTeacherInfo" } } }, - "x-emptylimit": [ - "page", - "limit", - "globalTypeId" + "summary": "获取教职工列表", + "tags": [ + "教师信息" ], - "x-intlimit": [ + "x-emptylimit": [ "page", "limit", - "globalTypeId" - ], - "x-rolelimit": [ - "1" - ], - "x-sort": [ - 1 - ], - "x-tablename": [ - "t_base_global" - ] - } - }, - "/base/global/UpdateGlobalInfo": { - "post": { - "description": "修改全局变量", - "consumes": [ - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json" - ], - "tags": [ - "全局变量" + "orgId" ], - "summary": "修改全局变量", - "parameters": [ - { - "type": "string", - "description": "全局变量ID", - "name": "globalId", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "全局变量分类", - "name": "globalTypeId", - "in": "formData", - "required": true - }, + "x-extendswaggerfield": [ { - "type": "string", - "description": "全局变量代码", - "name": "globalCode", - "in": "formData", - "required": true + "column_comment": "性别", + "column_name": "xb_name", + "sample_data": "男" }, { - "type": "string", - "description": "全局变量值", - "name": "globalValue", - "in": "formData", - "required": true + "column_comment": "所属部门", + "column_name": "org_name", + "sample_data": "办公室" }, { - "type": "string", - "description": "全局变量备注", - "name": "globalRemarks", - "in": "formData" + "column_comment": "登录名", + "column_name": "login_name", + "sample_data": "stu001" }, { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "x-emptylimit": [ - "globalId", - "globalTypeId", - "globalCode", - "globalValue", - "sortId" - ], - "x-intlimit": [ - "globalId", - "globalTypeId", - "sortId" - ], - "x-lengthlimit": [ - { - "globalId": "36,36" + "column_comment": "初始密码", + "column_name": "original_pwd", + "sample_data": "159357" }, { - "globalCode": "2,50" + "column_comment": "账号状态", + "column_name": "login_status", + "sample_data": "已启用" }, { - "globalValue": "1,255" + "column_comment": "学段名称", + "column_name": "stage_name", + "sample_data": "小学" }, { - "globalRemarks": "1,500" + "column_comment": "学科名称", + "column_name": "subject_name", + "sample_data": "数学" } ], - "x-rolelimit": [ - "1" - ], - "x-sort": [ - 5 - ] - } - }, - "/base/loginperson/DisableAccountInfo": { - "post": { - "description": "禁用账号信息", - "consumes": [ - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" + "x-interfacename": [ + "PageBaseTeacher" ], - "summary": "禁用账号信息", - "parameters": [ + "x-intrangelimit": [ { - "type": "string", - "description": "一个或多个ID,多个用逗号分隔", - "name": "personIds", - "in": "formData", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } + "page": "1,1000" + }, + { + "limit": "1,1000" } - }, - "x-emptylimit": [ - "personIds" ], "x-lengthlimit": [ { - "personIds": "36,1800" + "orgId": "36,36" + }, + { + "xm": "1,20" } ], + "x-removeswaggerfield": [ + "identity_id", + "id_int", + "xmpy", + "cym", + "csrq", + "mzm", + "zzmmm", + "sfzjlxm", + "sfzjh", + "xlm", + "xwm", + "zcm", + "bzlbm", + "cjny", + "stage_id", + "subject_id", + "gwzym", + "lxdh", + "dzxx", + "b_use", + "state_id", + "last_updated_time", + "bureau_id", + "org_id", + "main_school_id", + "province_code", + "city_code", + "district_code" + ], "x-rolelimit": [ "1", "2", @@ -1931,48 +3913,71 @@ "7" ], "x-sort": [ - 9 + 1 + ], + "x-tablename": [ + "t_base_teacher" ] } }, - "/base/loginperson/EnableAccountInfo": { - "post": { - "description": "启用账号信息", + "/base/teacher/GetTeacherInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "启用账号信息", + "description": "获取教职工信息", "parameters": [ { - "type": "string", - "description": "一个或多个ID,多个用逗号分隔", - "name": "personIds", - "in": "formData", - "required": true + "description": "教职工ID", + "in": "query", + "name": "personId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.teacher.GetTeacherInfo" } } }, + "summary": "获取教职工信息", + "tags": [ + "教师信息" + ], "x-emptylimit": [ - "personIds" + "personId" + ], + "x-extendswaggerfield": [ + { + "column_comment": "部门名称", + "column_name": "org_name", + "sample_data": "语文组" + } + ], + "x-interfacename": [ + "GetBaseTeacher" ], "x-lengthlimit": [ { - "personIds": "36,1800" + "personId": "36,36" } ], + "x-removeswaggerfield": [ + "identity_id", + "id_int", + "xmpy", + "cym", + "gwzym", + "b_use", + "state_id", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", @@ -1983,32 +3988,144 @@ "7" ], "x-sort": [ - 8 + 2 + ], + "x-tablename": [ + "t_base_teacher" ] } }, - "/base/loginperson/ExportAreaManagerInfoExcel": { - "get": { - "description": "导出地区管理员到EXCEL(虚拟)", + "/base/teacher/AddTeacherInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "导出地区管理员到EXCEL(虚拟)", + "description": "增加教职工信息", "parameters": [ { - "type": "string", - "description": "地区码", - "name": "areaCode", - "in": "query", - "required": true + "description": "部门ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + }, + { + "description": "教职工姓名", + "in": "formData", + "name": "xm", + "required": true, + "type": "string" + }, + { + "description": "身份证件类型(字典:sfzjlxm)", + "in": "formData", + "name": "sfzjlxm", + "required": true, + "type": "string" + }, + { + "description": "证件号", + "in": "formData", + "name": "sfzjh", + "required": true, + "type": "string" + }, + { + "description": "性别(字典:xbm)", + "in": "formData", + "name": "xbm", + "type": "string" + }, + { + "description": "出生日期", + "in": "formData", + "name": "csrq", + "type": "string" + }, + { + "description": "民族(字典:mzm)", + "in": "formData", + "name": "mzm", + "required": true, + "type": "string" + }, + { + "description": "政治面貌(字典:zzmmm)", + "in": "formData", + "name": "zzmmm", + "required": true, + "type": "string" + }, + { + "description": "职称(字典:zcm)", + "in": "formData", + "name": "zcm", + "required": true, + "type": "string" + }, + { + "description": "编制(字典:bzlbm)", + "in": "formData", + "name": "bzlbm", + "required": true, + "type": "string" + }, + { + "description": "学历(字典:xlm)", + "in": "formData", + "name": "xlm", + "required": true, + "type": "string" + }, + { + "description": "学位(字典:xwm)", + "in": "formData", + "name": "xwm", + "required": true, + "type": "string" + }, + { + "description": "任教学段", + "in": "formData", + "name": "stageId", + "required": true, + "type": "string" + }, + { + "description": "任教学科", + "in": "formData", + "name": "subjectId", + "required": true, + "type": "string" + }, + { + "description": "从教年月", + "in": "formData", + "name": "cjny", + "type": "string" + }, + { + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" + }, + { + "description": "电子信箱", + "in": "formData", + "name": "dzxx", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2017,56 +4134,106 @@ } } }, + "summary": "增加教职工信息", + "tags": [ + "教师信息" + ], "x-emptylimit": [ - "areaCode" + "orgId", + "xm", + "sfzjlxm", + "sfzjh", + "mzm", + "zzmmm", + "zcm", + "bzlbm", + "xlm", + "xwm" ], "x-interfacename": [ - "PageSysLoginperson" + "AddBaseTeacher" + ], + "x-intrangelimit": [ + { + "sortId": "1,9999" + }, + { + "sfzjlxm": "1,4" + } ], "x-lengthlimit": [ { - "areaCode": "6,6" + "orgId": "36,36" + }, + { + "xm": "2,20" + }, + { + "xbm": "1,1" + }, + { + "sfzjh": "2,30" + }, + { + "mzm": "2,2" + }, + { + "zzmmm": "2,2" + }, + { + "zcm": "1,1" + }, + { + "bzlbm": "1,1" + }, + { + "xlm": "2,2" + }, + { + "xwm": "1,1" + }, + { + "stageId": "1,1" + }, + { + "subjectId": "2,2" + }, + { + "lxdh": "2,30" } ], "x-rolelimit": [ "1", "2", - "3" + "3", + "4", + "5", + "6", + "7" ], "x-sort": [ - 4 + 3 ] } }, - "/base/loginperson/ExportBureauManagerInfoExcel": { - "get": { - "description": "导出单位管理员的EXCEL", + "/base/teacher/DeleteTeacherInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "导出单位管理员的EXCEL", + "description": "删除教职工信息", "parameters": [ { - "type": "string", - "description": "地区码", - "name": "areaCode", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", - "name": "orgType", - "in": "query", - "required": true + "description": "教职工ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2075,13 +4242,19 @@ } } }, + "summary": "删除教职工信息", + "tags": [ + "教师信息" + ], "x-emptylimit": [ - "areaCode", - "orgType" + "personIds" + ], + "x-interfacename": [ + "DeleteBaseTeacher" ], "x-lengthlimit": [ { - "areaCode": "6,6" + "personIds": "36,1800" } ], "x-rolelimit": [ @@ -2089,49 +4262,146 @@ "2", "3", "4", + "5", + "6", "7" ], "x-sort": [ - 6 + 4 ] } }, - "/base/loginperson/PageAreaManagerInfo": { - "get": { - "description": "获取地区管理员列表(虚拟)", + "/base/teacher/UpdateTeacherInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "获取地区管理员列表(虚拟)", + "description": "修改教职工信息", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "description": "教职工ID", + "in": "formData", + "name": "personId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "教职工姓名", + "in": "formData", + "name": "xm", + "required": true, + "type": "string" }, { - "type": "string", - "description": "地区码", - "name": "areaCode", - "in": "query", - "required": true + "description": "身份证件类型(字典:sfzjlxm)", + "in": "formData", + "name": "sfzjlxm", + "required": true, + "type": "string" + }, + { + "description": "证件号", + "in": "formData", + "name": "sfzjh", + "required": true, + "type": "string" + }, + { + "description": "性别(字典:xbm)", + "in": "formData", + "name": "xbm", + "type": "string" + }, + { + "description": "出生日期", + "in": "formData", + "name": "csrq", + "type": "string" + }, + { + "description": "民族(字典:mzm)", + "in": "formData", + "name": "mzm", + "required": true, + "type": "string" + }, + { + "description": "政治面貌(字典:zzmmm)", + "in": "formData", + "name": "zzmmm", + "required": true, + "type": "string" + }, + { + "description": "职称(字典:zcm)", + "in": "formData", + "name": "zcm", + "required": true, + "type": "string" + }, + { + "description": "编制(字典:bzlbm)", + "in": "formData", + "name": "bzlbm", + "required": true, + "type": "string" + }, + { + "description": "学历(字典:xlm)", + "in": "formData", + "name": "xlm", + "required": true, + "type": "string" + }, + { + "description": "学位(字典:xwm)", + "in": "formData", + "name": "xwm", + "required": true, + "type": "string" + }, + { + "description": "任教学段", + "in": "formData", + "name": "stageId", + "required": true, + "type": "string" + }, + { + "description": "任教学科", + "in": "formData", + "name": "subjectId", + "required": true, + "type": "string" + }, + { + "description": "从教年月", + "in": "formData", + "name": "cjny", + "type": "string" + }, + { + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" + }, + { + "description": "电子信箱", + "in": "formData", + "name": "dzxx", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2140,128 +4410,72 @@ } } }, - "x-emptylimit": [ - "page", - "limit", - "areaCode" + "summary": "修改教职工信息", + "tags": [ + "教师信息" ], - "x-extendswaggerfield": [ - { - "column_comment": "地区名称", - "column_name": "area_name", - "sample_data": "长春市" - } + "x-emptylimit": [ + "personId", + "xm", + "sfzjlxm", + "sfzjh", + "mzm", + "zzmmm", + "zcm", + "bzlbm", + "xlm", + "xwm" ], "x-interfacename": [ - "PageSysLoginperson" + "UpdateBaseTeacher" ], "x-intrangelimit": [ { - "page": "1,1000" + "sortId": "1,9999" }, { - "limit": "1,1000" + "sfzjlxm": "1,4" } ], "x-lengthlimit": [ { - "areaCode": "6,6" - } - ], - "x-removeswaggerfield": [ - "last_updated_time" - ], - "x-rolelimit": [ - "1", - "2", - "3" - ], - "x-sort": [ - 3 - ], - "x-tablename": [ - "t_sys_loginperson" - ] - } - }, - "/base/loginperson/PageBureauManagerInfo": { - "get": { - "description": "获取单位管理员列表", - "consumes": [ - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "获取单位管理员列表", - "parameters": [ + "personId": "36,36" + }, { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "xm": "2,20" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "xbm": "1,1" }, { - "type": "string", - "description": "地区码", - "name": "areaCode", - "in": "query", - "required": true + "sfzjh": "2,30" }, { - "type": "integer", - "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", - "name": "orgType", - "in": "query", - "required": true - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "x-emptylimit": [ - "page", - "limit", - "areaCode", - "orgType" - ], - "x-extendswaggerfield": [ + "mzm": "2,2" + }, { - "column_comment": "单位名称", - "column_name": "org_name", - "sample_data": "长春市第一中学" - } - ], - "x-interfacename": [ - "PageSysLoginperson" - ], - "x-intrangelimit": [ + "zzmmm": "2,2" + }, { - "page": "1,1000" + "zcm": "1,1" }, { - "limit": "1,1000" - } - ], - "x-lengthlimit": [ + "bzlbm": "1,1" + }, { - "areaCode": "6,6" + "xlm": "2,2" + }, + { + "xwm": "1,1" + }, + { + "stageId": "1,1" + }, + { + "subjectId": "2,2" + }, + { + "lxdh": "2,30" } ], "x-rolelimit": [ @@ -2269,29 +4483,40 @@ "2", "3", "4", + "5", + "6", "7" ], "x-sort": [ 5 - ], - "x-tablename": [ - "t_sys_loginperson" ] } }, - "/base/loginperson/RemoveCookie": { - "get": { - "description": "移除Cookie", + "/base/teacher/ReviseTeacherOrg": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], + "description": "调整教职工部门", + "parameters": [ + { + "description": "教职工ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" + }, + { + "description": "调整后的部门ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + } + ], "produces": [ "application/json" ], - "tags": [ - "登录信息" - ], - "summary": "移除Cookie", "responses": { "200": { "description": "OK", @@ -2300,33 +4525,56 @@ } } }, + "summary": "调整教职工部门", + "tags": [ + "教师信息" + ], + "x-emptylimit": [ + "personIds" + ], + "x-lengthlimit": [ + { + "personIds": "36,1800" + }, + { + "sourceOrgId": "36,36" + }, + { + "targetOrgId": "36,36" + } + ], + "x-rolelimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], "x-sort": [ - 10 + 6 ] } }, - "/base/loginperson/ResetManagerPassWord": { - "post": { - "description": "重置管理员密码", + "/base/teacher/ExportTeacherAccountExcel": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "重置管理员密码", + "description": "导出本单位教职工账号信息到EXCEL", "parameters": [ { - "type": "string", - "description": "一个或多个ID,多个用逗号分隔", - "name": "ids", - "in": "formData", - "required": true + "description": "单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2335,12 +4583,16 @@ } } }, + "summary": "导出本单位教职工账号信息到EXCEL", + "tags": [ + "教师信息" + ], "x-emptylimit": [ - "ids" + "orgId" ], "x-lengthlimit": [ { - "ids": "36,1800" + "orgId": "36,36" } ], "x-rolelimit": [ @@ -2357,35 +4609,24 @@ ] } }, - "/base/loginperson/UpdateLoginPassWordInfo": { - "post": { - "description": "修改登录密码", + "/base/teacher/ExportTeacherExcel": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "登录信息" - ], - "summary": "修改登录密码", + "description": "导出本单位教职工信息到EXCEL", "parameters": [ { - "type": "string", - "description": "原密码", - "name": "oldPassWord", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "新密码", - "name": "newPassWord", - "in": "formData", - "required": true + "description": "单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2394,16 +4635,16 @@ } } }, + "summary": "导出本单位教职工信息到EXCEL", + "tags": [ + "教师信息" + ], "x-emptylimit": [ - "oldPassWord", - "newPassWord" + "orgId" ], "x-lengthlimit": [ { - "oldPassWord": "6,18" - }, - { - "newPassWord": "6,18" + "orgId": "36,36" } ], "x-rolelimit": [ @@ -2416,76 +4657,28 @@ "7" ], "x-sort": [ - 11 + 8 ] } }, - "/base/organization/AddEduAssistInfo": { - "post": { - "description": "增加教辅单位信息", + "/base/teacher/DownLoadTeacherTemplateExcel": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "增加教辅单位信息", + "description": "下载教职工导入模板", "parameters": [ { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位名称", - "name": "orgName", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "教辅单位法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "教辅单位地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "description": "单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2494,108 +4687,57 @@ } } }, - "x-emptylimit": [ - "areaCode", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "AddBaseOrganization" + "summary": "下载教职工导入模板", + "tags": [ + "教师信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "orgId" ], "x-lengthlimit": [ { - "areaCode": "6,6" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" - }, - { - "lxdh": "2,30" + "orgId": "36,36" } ], "x-rolelimit": [ "1", "2", "3", - "4" + "4", + "5", + "6", + "7" ], "x-sort": [ 9 ] } }, - "/base/organization/AddOrgInfo": { + "/base/teacher/ImportTeacherExcel": { "post": { - "description": "增加部门信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "增加部门信息", + "description": "导入教职工EXCEL", "parameters": [ { - "type": "string", "description": "单位ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "部门编码", - "name": "orgCode", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "部门名称", - "name": "orgName", - "in": "formData", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "上级部门ID", - "name": "parentId", + "description": "EXCEL文件", "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" - }, - { - "type": "string", - "description": "部门领导的人员ID", - "name": "orgManagerIds", - "in": "formData" + "name": "excelFile", + "required": true, + "type": "file" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2604,34 +4746,16 @@ } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "AddBaseOrganization" + "summary": "导入教职工EXCEL", + "tags": [ + "教师信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "orgId" ], "x-lengthlimit": [ { "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "parentId": "36,36" - }, - { - "orgManagerIds": "36,1800" } ], "x-rolelimit": [ @@ -2644,124 +4768,62 @@ "7" ], "x-sort": [ - 19 + 10 ] } }, - "/base/organization/AddSchoolInfo": { + "/base/purview/AddPurviewInfo": { "post": { - "description": "增加学校信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "增加学校信息", + "description": "增加权限信息", "parameters": [ { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校名称", - "name": "orgName", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "直属类型 1:普通 2:省直 3:市直", - "name": "directlyUnderType", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "是否为分校 -1:非分校 1:是分校", - "name": "isBranchSchool", + "description": "权限名称", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "主校ID(是分校时才传)", - "name": "mainSchoolId", - "in": "formData" + "name": "purviewName", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学校办别(字典:xxbbm)", - "name": "xxbbm", + "description": "业务系统编码", "in": "formData", - "required": true + "name": "businessCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学校办学类型(字典:xxbxlxm)", - "name": "xxbxlxm", + "description": "权限类型 1:菜单 2:按钮", "in": "formData", - "required": true + "name": "purviewType", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "学校城乡类型(字典:szdcxlxm)", - "name": "szdcxlxm", + "description": "菜单的URL 没有填#", "in": "formData", - "required": true + "name": "menuUrl", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学校举办者(字典:xxjbzm)", - "name": "xxjbzm", + "description": "父节点ID", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "学校法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "学校地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" + "name": "parentId", + "required": true, + "type": "string" }, { - "type": "integer", "description": "排序号", + "in": "formData", "name": "sortId", - "in": "formData" + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2770,73 +4832,72 @@ } } }, + "summary": "增加权限信息", + "tags": [ + "权限" + ], "x-emptylimit": [ - "areaCode", - "orgCode", - "orgName" + "purviewName", + "businessCode", + "purviewType", + "menuUrl", + "parentId" ], "x-interfacename": [ - "AddBaseOrganization" + "AddBasePurview" + ], + "x-intlimit": [ + "purviewType", + "sortId" ], "x-intrangelimit": [ + { + "purviewType": "1,2" + }, { "sortId": "1,9999" } ], "x-lengthlimit": [ { - "areaCode": "6,6" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" + "purviewName": "1,100" }, { - "fddbr": "2,30" + "businessCode": "6,6" }, { - "fddbrdh": "2,30" + "menuUrl": "1,300" }, { - "address": "2,100" + "parentId": "36,36" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "7" + "1" ], "x-sort": [ - 14 + 1 ] } }, - "/base/organization/DeleteEduAssistInfo": { + "/base/purview/DeletePurviewInfo": { "post": { - "description": "删除教辅单位信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "删除教辅单位信息", + "description": "删除权限信息", "parameters": [ { - "type": "string", - "description": "教辅单位ID,如果是多个用逗号分隔", - "name": "orgIds", + "description": "权限ID,如果是多个用逗号分隔", "in": "formData", - "required": true + "name": "purviewIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2845,50 +4906,81 @@ } } }, + "summary": "删除权限信息", + "tags": [ + "权限" + ], "x-emptylimit": [ - "orgIds" + "purviewIds" ], "x-interfacename": [ - "DeleteBaseOrganization" + "DeleteBasePurview" ], "x-lengthlimit": [ { - "orgIds": "36,1800" + "purviewIds": "36,1800" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4" + "1" ], "x-sort": [ - 11 + 2 ] } }, - "/base/organization/DeleteOrgInfo": { + "/base/purview/UpdatePurviewInfo": { "post": { - "description": "删除部门信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "删除部门信息", + "description": "修改权限信息", "parameters": [ { - "type": "string", - "description": "部门ID", - "name": "orgId", + "description": "权限ID", + "in": "formData", + "name": "purviewId", + "required": true, + "type": "string" + }, + { + "description": "权限名称", + "in": "formData", + "name": "purviewName", + "required": true, + "type": "string" + }, + { + "description": "业务系统编码", + "in": "formData", + "name": "businessCode", + "required": true, + "type": "string" + }, + { + "description": "权限类型 1:菜单 2:按钮", + "in": "formData", + "name": "purviewType", + "required": true, + "type": "integer" + }, + { + "description": "菜单的URL 没有填#", + "in": "formData", + "name": "menuUrl", + "required": true, + "type": "string" + }, + { + "description": "排序号", "in": "formData", - "required": true + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -2897,426 +4989,543 @@ } } }, + "summary": "修改权限信息", + "tags": [ + "权限" + ], "x-emptylimit": [ - "orgId" + "purviewId", + "purviewName", + "businessCode", + "purviewType", + "menuUrl" ], "x-interfacename": [ - "DeleteBaseOrganization" + "UpdateBasePurview" + ], + "x-intlimit": [ + "purviewType", + "sortId" + ], + "x-intrangelimit": [ + { + "purviewType": "1,2" + }, + { + "sortId": "1,9999" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "purviewId": "36,36" + }, + { + "purviewName": "1,100" + }, + { + "businessCode": "6,6" + }, + { + "menuUrl": "1,300" } ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ], "x-sort": [ - 21 + 3 ] } }, - "/base/organization/DeleteSchoolInfo": { - "post": { - "description": "删除学校信息", + "/base/purview/GetPurviewInfoById": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "删除学校信息", + "description": "获取权限信息(单条)", "parameters": [ { - "type": "string", - "description": "学校ID,如果是多个用逗号分隔", - "name": "orgIds", - "in": "formData", - "required": true + "description": "权限ID", + "in": "query", + "name": "purviewId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.purview.GetPurviewInfoById" } } }, + "summary": "获取权限信息(单条)", + "tags": [ + "权限" + ], "x-emptylimit": [ - "orgIds" + "purviewId" ], "x-interfacename": [ - "DeleteBaseOrganization" + "GetBasePurview" ], "x-lengthlimit": [ { - "orgIds": "36,1800" + "purviewId": "36,36" } ], + "x-removeswaggerfield": [ + "id_int", + "purview_type", + "menu_icon", + "b_use", + "last_updated_time" + ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "7" + "1" ], "x-sort": [ - 16 + 4 + ], + "x-tablename": [ + "t_base_purview" ] } }, - "/base/organization/DisableEdu": { - "post": { - "description": "禁用教育局", + "/base/purview/PagePurviewInfoByBusinessCode": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "禁用教育局", + "description": "根据业务系统编码获取权限信息信息", "parameters": [ { - "type": "string", - "description": "教育局ID", - "name": "orgId", - "in": "formData", - "required": true + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "业务系统编码", + "in": "query", + "name": "businessCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.purview.PagePurviewInfoByBusinessCode" } } }, + "summary": "根据业务系统编码获取权限信息信息", + "tags": [ + "权限" + ], "x-emptylimit": [ - "orgId" + "page", + "limit", + "businessCode" ], "x-interfacename": [ - "UpdateBaseOrganization" + "PageBasePurview" + ], + "x-intlimit": [ + "page", + "limit" + ], + "x-intrangelimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "businessCode": "6,6" } ], + "x-removeswaggerfield": [ + "id_int", + "purview_type", + "menu_icon", + "b_use", + "last_updated_time" + ], "x-rolelimit": [ "1" ], "x-sort": [ 5 + ], + "x-tablename": [ + "t_base_purview" ] } }, - "/base/organization/EnableEdu": { - "post": { - "description": "启用教育局", + "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "启用教育局", + "description": "根据人员ID和业务系统编码获取权限信息信息", "parameters": [ { - "type": "string", - "description": "教育局ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局名称", - "name": "orgName", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "教育局法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "教育局地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.purview.PagePurviewInfoByPersonIdBusinessCode" } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "UpdateBaseOrganization" - ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "summary": "根据人员ID和业务系统编码获取权限信息信息", + "tags": [ + "权限" ], - "x-lengthlimit": [ - { - "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, + "x-emptylimit": [ + "page", + "limit" + ], + "x-interfacename": [ + "PageBasePurview" + ], + "x-intlimit": [ + "page", + "limit" + ], + "x-intrangelimit": [ { - "address": "2,100" + "page": "1,1000" }, { - "lxdh": "2,30" + "limit": "1,1000" } ], + "x-removeswaggerfield": [ + "id_int", + "purview_type", + "business_code", + "b_use", + "last_updated_time" + ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "x-sort": [ - 4 + 6 + ], + "x-tablename": [ + "t_base_purview" ] } }, - "/base/organization/GetEduAssistInfoById": { + "/base/class/PageClassInfo": { "get": { - "description": "根据教辅单位ID获取教辅单位信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "根据教辅单位ID获取教辅单位信息", + "description": "获取班级列表", "parameters": [ { - "type": "string", - "description": "教辅单位ID", + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "学校ID", + "in": "query", "name": "orgId", + "required": true, + "type": "string" + }, + { + "description": "学部ID", + "in": "query", + "name": "stageId", + "required": true, + "type": "string" + }, + { + "description": "入学年份", + "in": "query", + "name": "rxnf", + "required": true, + "type": "integer" + }, + { + "description": "需要滤掉的班级ID", "in": "query", - "required": true + "name": "removeClassId", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.class.PageClassInfo" } } }, + "summary": "获取班级列表", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "orgId" + "page", + "limit", + "orgId", + "stageId", + "rxnf" + ], + "x-extendswaggerfield": [ + { + "column_comment": "学生人数", + "column_name": "student_count", + "sample_data": "41" + }, + { + "column_comment": "班主任", + "column_name": "teacher_name", + "sample_data": "李老师" + } ], "x-interfacename": [ - "GetBaseOrganization" + "PageBaseClass" + ], + "x-intrangelimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + }, + { + "rxnf": "1990,2100" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "stageId": "1,1" } ], "x-removeswaggerfield": [ "id_int", - "parent_id", + "bh", + "class_code", + "rxnf", + "rxjj", + "schooling_length", + "stage_id", + "org_id", "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "org_lng", - "org_lat", "b_use", "province_code", "city_code", "district_code", + "main_school_id", "last_updated_time" ], "x-rolelimit": [ "1", "2", "3", - "4" + "4", + "6", + "7" ], "x-sort": [ - 8 + 1 ], "x-tablename": [ - "t_base_organization" + "t_base_class" ] } }, - "/base/organization/GetEduInfoById": { + "/base/class/GetClassInfo": { "get": { - "description": "根据教育局ID获取教育局信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "根据教育局ID获取教育局信息", + "description": "获取班级信息", "parameters": [ { - "type": "string", - "description": "教育局ID", - "name": "orgId", + "description": "班级ID", "in": "query", - "required": true + "name": "classId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.class.GetClassInfo" } } }, + "summary": "获取班级信息", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "orgId" + "classId" ], "x-interfacename": [ - "GetBaseOrganization" + "GetBaseClass" ], "x-lengthlimit": [ { - "orgId": "36,36" + "classId": "36,36" } ], "x-removeswaggerfield": [ "id_int", - "parent_id", + "class_code", + "rxjj", + "teacher_id", + "org_id", "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "org_lng", - "org_lat", "b_use", "province_code", "city_code", "district_code", + "main_school_id", "last_updated_time" ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 3 + 2 ], "x-tablename": [ - "t_base_organization" + "t_base_class" ] } }, - "/base/organization/GetOrgInfo": { - "get": { - "description": "获取部门信息", + "/base/class/AddClassInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取部门信息", + "description": "增加班级信息", "parameters": [ { - "type": "string", - "description": "部门ID", + "description": "学校ID", + "in": "formData", "name": "orgId", - "in": "query", - "required": true + "required": true, + "type": "string" + }, + { + "description": "学部ID", + "in": "formData", + "name": "stageId", + "required": true, + "type": "string" + }, + { + "description": "学制", + "in": "formData", + "name": "schoolingLength", + "required": true, + "type": "integer" + }, + { + "description": "入学年份", + "in": "formData", + "name": "rxnf", + "required": true, + "type": "integer" + }, + { + "description": "开始班号", + "in": "formData", + "name": "startBh", + "type": "integer" + }, + { + "description": "结束班号", + "in": "formData", + "name": "endBh", + "type": "integer" + }, + { + "description": "班级别名(只有单个班级时才有)", + "in": "formData", + "name": "classAlias", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -3325,95 +5534,80 @@ } } }, + "summary": "增加班级信息", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "orgId" + "orgId", + "stageId", + "schoolingLength", + "rxnf", + "startBh", + "endBh" ], - "x-extendswaggerfield": [ + "x-interfacename": [ + "AddBaseClass" + ], + "x-intrangelimit": [ { - "column_comment": "部门领导ID", - "column_name": "org_manager_id", - "sample_data": "00B15A6D-4EE1-481C-88F4-054A7BE9F60F" + "rxnf": "1990,2100" }, { - "column_comment": "部门领导名称", - "column_name": "org_manager_name", - "sample_data": "李老师" + "schoolingLength": "1,10" + }, + { + "startBh": "1,99" + }, + { + "endBh": "1,99" } ], - "x-interfacename": [ - "GetBaseOrganization" - ], "x-lengthlimit": [ { "orgId": "36,36" + }, + { + "stageId": "1,1" + }, + { + "xbm": "1,1" + }, + { + "classAlias": "1,30" } ], - "x-removeswaggerfield": [ - "id_int", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "b_use", - "province_code", - "city_code", - "district_code", - "area_code", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 18 - ], - "x-tablename": [ - "t_base_organization" + 3 ] } }, - "/base/organization/GetOrgTreeInfo": { - "get": { - "description": "根据单位ID获取部门树", + "/base/class/DeleteClassInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "根据单位ID获取部门树", + "description": "删除班级信息", "parameters": [ { - "type": "string", - "description": "单位ID", - "name": "orgId", - "in": "query", - "required": true + "description": "班级ID,多个用逗号分隔", + "in": "formData", + "name": "classIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -3422,77 +5616,59 @@ } } }, + "summary": "删除班级信息", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "orgId" + "classIds" + ], + "x-interfacename": [ + "DeleteBaseClass" ], "x-lengthlimit": [ { - "orgId": "36,36" + "classId": "36,1800" } ], - "x-removeswaggerfield": [ - "id_int", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "b_use", - "province_code", - "city_code", - "district_code", - "area_code", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "x-sort": [ - 22 + 4 ] } }, - "/base/organization/GetSchoolInfoById": { - "get": { - "description": "根据学校ID获取学校信息", + "/base/class/UpdateClassInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "根据学校ID获取学校信息", + "description": "修改班级信息(只允许修改班级别名)", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", - "in": "query", - "required": true + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" + }, + { + "description": "班级别名", + "in": "formData", + "name": "classAlias", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -3501,89 +5677,63 @@ } } }, + "summary": "修改班级信息(只允许修改班级别名)", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "orgId" + "classId", + "classAlias" ], "x-interfacename": [ - "GetBaseOrganization" + "UpdateBaseClass" ], "x-lengthlimit": [ { - "orgId": "36,36" + "classId": "36,36" + }, + { + "classAlias": "1,30" } ], - "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "org_lng", - "org_lat", - "b_use", - "province_code", - "city_code", - "district_code", - "area_code", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", "3", "4", + "6", "7" ], "x-sort": [ - 13 - ], - "x-tablename": [ - "t_base_organization" + 5 ] } }, - "/base/organization/PageDisableEduInfo": { - "get": { - "description": "获取未启用的教育局列表", + "/base/class/SetClassTeacher": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取未启用的教育局列表", + "description": "设置班主任", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", - "in": "query", - "required": true + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "教育局名称", - "name": "orgName", - "in": "query" + "description": "教师ID", + "in": "formData", + "name": "teacherId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -3592,224 +5742,121 @@ } } }, + "summary": "设置班主任", + "tags": [ + "班级信息" + ], "x-emptylimit": [ - "page", - "limit", - "areaCode" + "classId", + "teacherId" ], "x-interfacename": [ - "PageBaseOrganization" - ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } + "UpdateBaseClass" ], "x-lengthlimit": [ { - "areaCode": "6,6" + "classId": "36,36" }, { - "orgName": "1,50" + "teacherId": "36,36" } ], - "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", - "b_use", - "province_code", - "city_code", - "district_code", - "last_updated_time" - ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 2 - ], - "x-tablename": [ - "t_base_organization" + 6 ] } }, - "/base/organization/PageEduAssistInfo": { + "/base/class/GetStageInfo": { "get": { - "description": "获取教辅单位列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取教辅单位列表", + "description": "获取学段信息", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true - }, - { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", + "description": "学校ID", "in": "query", - "required": true - }, - { - "type": "string", - "description": "教辅单位名称", - "name": "orgName", - "in": "query" + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.class.GetStageInfo" } } }, - "x-emptylimit": [ - "page", - "limit", - "areaCode" + "summary": "获取学段信息", + "tags": [ + "班级信息" ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } + "x-interfacename": [ + "PageBaseClass" ], "x-lengthlimit": [ { - "areaCode": "6,6" - }, - { - "orgName": "1,30" + "orgId": "36,36" } ], "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", "b_use", - "province_code", - "city_code", - "district_code", - "last_updated_time" + "sort_id" ], "x-rolelimit": [ "1", "2", "3", - "4" + "4", + "6", + "7" ], "x-sort": [ 7 ], "x-tablename": [ - "t_base_organization" + "t_dm_stage" ] } }, - "/base/organization/PageEnableEduInfo": { + "/base/class/GetRxnfInfo": { "get": { - "description": "获取已启用的教育局列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取已启用的教育局列表", + "description": "根据学校ID和学部(学段)ID获取入学年份", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", + "description": "学校ID", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", + "description": "学部(学段)ID", "in": "query", - "required": true - }, - { - "type": "string", - "description": "教育局名称", - "name": "orgName", - "in": "query" + "name": "stageId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -3818,128 +5865,75 @@ } } }, - "x-emptylimit": [ - "page", - "limit", - "areaCode" - ], - "x-extendswaggerfield": [ - { - "column_comment": "登录账号", - "column_name": "login_name", - "sample_data": "sys001" - }, - { - "column_comment": "初始密码", - "column_name": "login_pwd", - "sample_data": "741369" - } + "summary": "根据学校ID和学部(学段)ID获取入学年份", + "tags": [ + "班级信息" ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } + "x-interfacename": [ + "PageBaseClass" ], "x-lengthlimit": [ { - "areaCode": "6,6" - }, - { - "orgName": "1,30" + "orgId": "36,36" } ], - "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", - "b_use", - "province_code", - "city_code", - "district_code", - "last_updated_time" - ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "6", + "7" ], "x-sort": [ - 1 - ], - "x-tablename": [ - "t_base_organization" + 8 ] } }, - "/base/organization/PageMainSchoolInfo": { + "/base/loginperson/PageAreaManagerInfo": { "get": { - "description": "获取主校列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取主校列表", + "description": "获取地区管理员列表(虚拟)", "parameters": [ { - "type": "integer", "description": "第几页", - "name": "page", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", "description": "一页显示多少条", - "name": "limit", "in": "query", - "required": true + "name": "limit", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "行政区划编码", - "name": "areaCode", + "description": "地区码", "in": "query", - "required": true - }, - { - "type": "string", - "description": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", - "name": "orgId", - "in": "query" + "name": "areaCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.loginperson.PageAreaManagerInfo" } } }, + "summary": "获取地区管理员列表(虚拟)", + "tags": [ + "登录信息" + ], "x-emptylimit": [ "page", "limit", @@ -3947,13 +5941,13 @@ ], "x-extendswaggerfield": [ { - "column_comment": "学校办学类型名称", - "column_name": "xxbxlxm_name", - "sample_data": "小学" + "column_comment": "地区名称", + "column_name": "area_name", + "sample_data": "长春市" } ], "x-interfacename": [ - "PageBaseOrganization" + "PageSysLoginperson" ], "x-intrangelimit": [ { @@ -3969,104 +5963,138 @@ } ], "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", - "b_use", - "province_code", - "city_code", - "district_code", "last_updated_time" ], "x-rolelimit": [ "1", "2", - "3", - "4", - "7" + "3" ], "x-sort": [ - 12 + 3 ], "x-tablename": [ - "t_base_organization" + "t_sys_loginperson" ] } }, - "/base/organization/PageOrgInfo": { + "/base/loginperson/ExportAreaManagerInfoExcel": { "get": { - "description": "获取部门列表", "consumes": [ "application/x-www-form-urlencoded" ], + "description": "导出地区管理员到EXCEL(虚拟)", + "parameters": [ + { + "description": "地区码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" + } + ], "produces": [ "application/json" ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "导出地区管理员到EXCEL(虚拟)", "tags": [ - "组织机构" + "登录信息" ], - "summary": "获取部门列表", + "x-emptylimit": [ + "areaCode" + ], + "x-interfacename": [ + "PageSysLoginperson" + ], + "x-lengthlimit": [ + { + "areaCode": "6,6" + } + ], + "x-rolelimit": [ + "1", + "2", + "3" + ], + "x-sort": [ + 4 + ] + } + }, + "/base/loginperson/PageBureauManagerInfo": { + "get": { + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取单位管理员列表", "parameters": [ { - "type": "integer", "description": "第几页", - "name": "page", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", "description": "一页显示多少条", + "in": "query", "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "地区码", "in": "query", - "required": true + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "单位ID", - "name": "orgId", + "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", "in": "query", - "required": true + "name": "orgType", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.loginperson.PageBureauManagerInfo" } } }, + "summary": "获取单位管理员列表", + "tags": [ + "登录信息" + ], "x-emptylimit": [ "page", "limit", - "bureauId" + "areaCode", + "orgType" ], "x-extendswaggerfield": [ { - "column_comment": "部门领导", - "column_name": "org_manager_name", - "sample_data": "李老师" + "column_comment": "单位名称", + "column_name": "org_name", + "sample_data": "长春市第一中学" } ], "x-interfacename": [ - "PageBaseOrganization" + "PageSysLoginperson" ], "x-intrangelimit": [ { @@ -4078,103 +6106,49 @@ ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" } ], - "x-removeswaggerfield": [ - "id_int", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", - "b_use", - "province_code", - "city_code", - "district_code", - "area_code", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", "3", "4", - "5", - "6", "7" ], "x-sort": [ - 17 + 5 ], "x-tablename": [ - "t_base_organization" + "t_sys_loginperson" ] } }, - "/base/organization/PageSchoolInfo": { + "/base/loginperson/ExportBureauManagerInfoExcel": { "get": { - "description": "获取学校列表", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "获取学校列表", + "description": "导出单位管理员的EXCEL", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", + "description": "地区码", "in": "query", - "required": true - }, - { - "type": "string", - "description": "行政区划编码", "name": "areaCode", - "in": "query", - "required": true + "required": true, + "type": "string" }, { - "type": "string", - "description": "学校办学类型 -1:全部", - "name": "xxbxlxm", + "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", "in": "query", - "required": true - }, - { - "type": "string", - "description": "学校名称", - "name": "orgName", - "in": "query" + "name": "orgType", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -4183,62 +6157,18 @@ } } }, - "x-emptylimit": [ - "page", - "limit", - "areaCode" - ], - "x-extendswaggerfield": [ - { - "column_comment": "学校办学类型名称", - "column_name": "xxbxlxm_name", - "sample_data": "小学" - } - ], - "x-interfacename": [ - "PageBaseOrganization" - ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], - "x-lengthlimit": [ - { - "areaCode": "6,6" - }, - { - "orgName": "1,30" - } + "summary": "导出单位管理员的EXCEL", + "tags": [ + "登录信息" ], - "x-removeswaggerfield": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_id", - "manage_org_id", - "directly_under_type", - "xxbbm", - "szdcxlxm", - "xxjbzm", - "fzr", - "fddbr", - "fddbrdh", - "address", - "lxdh", - "org_lng", - "org_lat", - "sort_id", - "b_use", - "province_code", - "city_code", - "district_code", - "last_updated_time" + "x-emptylimit": [ + "areaCode", + "orgType" + ], + "x-lengthlimit": [ + { + "areaCode": "6,6" + } ], "x-rolelimit": [ "1", @@ -4248,79 +6178,28 @@ "7" ], "x-sort": [ - 12 - ], - "x-tablename": [ - "t_base_organization" + 6 ] } }, - "/base/organization/UpdateEduAssistInfo": { + "/base/loginperson/ResetManagerPassWord": { "post": { - "description": "修改教辅单位信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "修改教辅单位信息", + "description": "重置管理员密码", "parameters": [ { - "type": "string", - "description": "教辅单位ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位名称", - "name": "orgName", + "description": "一个或多个ID,多个用逗号分隔", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教辅单位法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "教辅单位法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "教辅单位地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "name": "ids", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -4329,119 +6208,50 @@ } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "UpdateBaseOrganization" + "summary": "重置管理员密码", + "tags": [ + "登录信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "ids" ], "x-lengthlimit": [ { - "orgId": "36,36" - }, - { - "areaCode": "6,6" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" + "ids": "36,1800" } ], "x-rolelimit": [ "1", "2", "3", - "4" + "4", + "5", + "6", + "7" ], "x-sort": [ - 10 + 7 ] } }, - "/base/organization/UpdateEduInfo": { + "/base/loginperson/EnableAccountInfo": { "post": { - "description": "修改教育局信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "修改教育局信息", + "description": "启用账号信息", "parameters": [ { - "type": "string", - "description": "教育局ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局名称", - "name": "orgName", + "description": "一个或多个ID,多个用逗号分隔", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教育局法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "教育局法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "教育局地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "name": "personIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -4450,98 +6260,50 @@ } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "UpdateBaseOrganization" + "summary": "启用账号信息", + "tags": [ + "登录信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "personIds" ], "x-lengthlimit": [ { - "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" - }, - { - "lxdh": "2,30" + "personIds": "36,1800" } ], "x-rolelimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "x-sort": [ - 6 + 8 ] } }, - "/base/organization/UpdateOrgInfo": { + "/base/loginperson/DisableAccountInfo": { "post": { - "description": "修改部门信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "组织机构" - ], - "summary": "修改部门信息", + "description": "禁用账号信息", "parameters": [ { - "type": "string", - "description": "部门ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "部门编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "部门名称", - "name": "orgName", + "description": "一个或多个ID,多个用逗号分隔", "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" - }, - { - "type": "string", - "description": "部门领导的人员ID", - "name": "orgManagerIds", - "in": "formData" + "name": "personIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -4550,31 +6312,16 @@ } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName" - ], - "x-interfacename": [ - "UpdateBaseOrganization" + "summary": "禁用账号信息", + "tags": [ + "登录信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "personIds" ], "x-lengthlimit": [ { - "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "orgManagerIds": "36,1800" + "personIds": "36,1800" } ], "x-rolelimit": [ @@ -4587,124 +6334,61 @@ "7" ], "x-sort": [ - 20 + 9 ] } }, - "/base/organization/UpdateSchoolInfo": { - "post": { - "description": "修改学校信息", + "/base/loginperson/RemoveCookie": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], + "description": "移除Cookie", "produces": [ "application/json" ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "移除Cookie", "tags": [ - "组织机构" + "登录信息" ], - "summary": "修改学校信息", + "x-sort": [ + 10 + ] + } + }, + "/base/loginperson/UpdateLoginPassWordInfo": { + "post": { + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "修改登录密码", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校编码", - "name": "orgCode", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校名称", - "name": "orgName", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "直属类型 1:普通 2:省直 3:市直", - "name": "directlyUnderType", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "是否为分校 -1:非分校 1:是分校", - "name": "isBranchSchool", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "主校ID(是分校时才传)", - "name": "mainSchoolId", - "in": "formData" - }, - { - "type": "string", - "description": "学校办别(字典:xxbbm)", - "name": "xxbbm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校办学类型(字典:xxbxlxm)", - "name": "xxbxlxm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校城乡类型(字典:szdcxlxm)", - "name": "szdcxlxm", + "description": "原密码", "in": "formData", - "required": true + "name": "oldPassWord", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学校举办者(字典:xxjbzm)", - "name": "xxjbzm", + "description": "新密码", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学校法定代表人", - "name": "fddbr", - "in": "formData" - }, - { - "type": "string", - "description": "学校法定代表人电话", - "name": "fddbrdh", - "in": "formData" - }, - { - "type": "string", - "description": "学校地址", - "name": "address", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "name": "newPassWord", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -4713,46 +6397,20 @@ } } }, - "x-emptylimit": [ - "orgId", - "orgCode", - "orgName", - "directlyUnderType", - "isBranchSchool", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm" - ], - "x-interfacename": [ - "UpdateBaseOrganization" + "summary": "修改登录密码", + "tags": [ + "登录信息" ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - } + "x-emptylimit": [ + "oldPassWord", + "newPassWord" ], "x-lengthlimit": [ { - "orgId": "36,36" - }, - { - "areaCode": "6,6" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" + "oldPassWord": "6,18" }, { - "address": "2,100" + "newPassWord": "6,18" } ], "x-rolelimit": [ @@ -4760,265 +6418,387 @@ "2", "3", "4", + "5", + "6", "7" ], "x-sort": [ - 15 + 11 ] } }, - "/base/purview/AddPurviewInfo": { - "post": { - "description": "增加权限信息", + "/base/organization/PageEnableEduInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "增加权限信息", + "description": "获取已启用的教育局列表", "parameters": [ { - "type": "string", - "description": "权限名称", - "name": "purviewName", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "权限类型 1:菜单 2:按钮", - "name": "purviewType", - "in": "formData", - "required": true + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "菜单的URL 没有填#", - "name": "menuUrl", - "in": "formData", - "required": true + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "父节点ID", - "name": "parentId", - "in": "formData", - "required": true + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "description": "教育局名称", + "in": "query", + "name": "orgName", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.PageEnableEduInfo" } } }, - "x-emptylimit": [ - "purviewName", - "businessCode", - "purviewType", - "menuUrl", - "parentId" - ], - "x-interfacename": [ - "AddBasePurview" + "summary": "获取已启用的教育局列表", + "tags": [ + "组织机构" ], - "x-intlimit": [ - "purviewType", - "sortId" + "x-emptylimit": [ + "page", + "limit", + "areaCode" ], - "x-intrangelimit": [ + "x-extendswaggerfield": [ { - "purviewType": "1,2" + "column_comment": "登录账号", + "column_name": "login_name", + "sample_data": "sys001" }, { - "sortId": "1,9999" + "column_comment": "初始密码", + "column_name": "login_pwd", + "sample_data": "741369" } ], - "x-lengthlimit": [ + "x-intrangelimit": [ { - "purviewName": "1,100" + "page": "1,1000" }, { - "businessCode": "6,6" - }, + "limit": "1,1000" + } + ], + "x-lengthlimit": [ { - "menuUrl": "1,300" + "areaCode": "6,6" }, { - "parentId": "36,36" + "orgName": "1,30" } ], + "x-removeswaggerfield": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "x-rolelimit": [ "1" ], "x-sort": [ 1 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/purview/DeletePurviewInfo": { - "post": { - "description": "删除权限信息", + "/base/organization/PageDisableEduInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "删除权限信息", + "description": "获取未启用的教育局列表", "parameters": [ { - "type": "string", - "description": "权限ID,如果是多个用逗号分隔", - "name": "purviewIds", - "in": "formData", - "required": true + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "description": "教育局名称", + "in": "query", + "name": "orgName", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.PageDisableEduInfo" } } }, + "summary": "获取未启用的教育局列表", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "purviewIds" + "page", + "limit", + "areaCode" ], "x-interfacename": [ - "DeleteBasePurview" + "PageBaseOrganization" + ], + "x-intrangelimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "x-lengthlimit": [ { - "purviewIds": "36,1800" + "areaCode": "6,6" + }, + { + "orgName": "1,50" } ], + "x-removeswaggerfield": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "x-rolelimit": [ "1" ], "x-sort": [ 2 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/purview/GetPurviewInfoById": { + "/base/organization/GetEduInfoById": { "get": { - "description": "获取权限信息(单条)", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "获取权限信息(单条)", + "description": "根据教育局ID获取教育局信息", "parameters": [ { - "type": "string", - "description": "权限ID", - "name": "purviewId", + "description": "教育局ID", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.GetEduInfoById" } } }, + "summary": "根据教育局ID获取教育局信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "purviewId" + "orgId" ], "x-interfacename": [ - "GetBasePurview" + "GetBaseOrganization" ], "x-lengthlimit": [ { - "purviewId": "36,36" + "orgId": "36,36" } ], "x-removeswaggerfield": [ "id_int", - "purview_type", - "menu_icon", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "org_lng", + "org_lat", "b_use", + "province_code", + "city_code", + "district_code", "last_updated_time" ], "x-rolelimit": [ "1" ], "x-sort": [ - 4 + 3 ], "x-tablename": [ - "t_base_purview" + "t_base_organization" ] } }, - "/base/purview/PagePurviewInfoByBusinessCode": { - "get": { - "description": "根据业务系统编码获取权限信息信息", + "/base/organization/EnableEdu": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "根据业务系统编码获取权限信息信息", + "description": "启用教育局", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "description": "教育局ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "教育局编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", - "in": "query", - "required": true + "description": "教育局名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "教育局法定代表人", + "in": "formData", + "name": "fddbr", + "type": "string" + }, + { + "description": "教育局法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" + }, + { + "description": "教育局地址", + "in": "formData", + "name": "address", + "type": "string" + }, + { + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5027,78 +6807,72 @@ } } }, + "summary": "启用教育局", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "page", - "limit", - "businessCode" + "orgId", + "orgCode", + "orgName" ], "x-interfacename": [ - "PageBasePurview" - ], - "x-intlimit": [ - "page", - "limit" + "UpdateBaseOrganization" ], "x-intrangelimit": [ { - "page": "1,1000" + "sortId": "1,9999" + } + ], + "x-lengthlimit": [ + { + "orgId": "36,36" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" }, { - "limit": "1,1000" - } - ], - "x-lengthlimit": [ + "address": "2,100" + }, { - "businessCode": "6,6" + "lxdh": "2,30" } ], - "x-removeswaggerfield": [ - "id_int", - "purview_type", - "menu_icon", - "b_use", - "last_updated_time" - ], "x-rolelimit": [ "1" ], "x-sort": [ - 5 - ], - "x-tablename": [ - "t_base_purview" + 4 ] } }, - "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { - "get": { - "description": "根据人员ID和业务系统编码获取权限信息信息", + "/base/organization/DisableEdu": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "根据人员ID和业务系统编码获取权限信息信息", + "description": "禁用教育局", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true - }, - { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "教育局ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5107,105 +6881,91 @@ } } }, + "summary": "禁用教育局", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "page", - "limit" + "orgId" ], "x-interfacename": [ - "PageBasePurview" - ], - "x-intlimit": [ - "page", - "limit" + "UpdateBaseOrganization" ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, + "x-lengthlimit": [ { - "limit": "1,1000" + "orgId": "36,36" } ], - "x-removeswaggerfield": [ - "id_int", - "purview_type", - "business_code", - "b_use", - "last_updated_time" - ], "x-rolelimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ], "x-sort": [ - 6 - ], - "x-tablename": [ - "t_base_purview" + 5 ] } }, - "/base/purview/UpdatePurviewInfo": { + "/base/organization/UpdateEduInfo": { "post": { - "description": "修改权限信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "权限" - ], - "summary": "修改权限信息", + "description": "修改教育局信息", "parameters": [ { - "type": "string", - "description": "权限ID", - "name": "purviewId", + "description": "教育局ID", "in": "formData", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "权限名称", - "name": "purviewName", + "description": "教育局编码", "in": "formData", - "required": true + "name": "orgCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "业务系统编码", - "name": "businessCode", + "description": "教育局名称", "in": "formData", - "required": true + "name": "orgName", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "权限类型 1:菜单 2:按钮", - "name": "purviewType", + "description": "教育局法定代表人", "in": "formData", - "required": true + "name": "fddbr", + "type": "string" }, { - "type": "string", - "description": "菜单的URL 没有填#", - "name": "menuUrl", + "description": "教育局法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" + }, + { + "description": "教育局地址", + "in": "formData", + "name": "address", + "type": "string" + }, + { + "description": "联系电话", "in": "formData", - "required": true + "name": "lxdh", + "type": "string" }, { - "type": "integer", "description": "排序号", + "in": "formData", "name": "sortId", - "in": "formData" + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5214,265 +6974,307 @@ } } }, + "summary": "修改教育局信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "purviewId", - "purviewName", - "businessCode", - "purviewType", - "menuUrl" + "orgId", + "orgCode", + "orgName" ], "x-interfacename": [ - "UpdateBasePurview" - ], - "x-intlimit": [ - "purviewType", - "sortId" + "UpdateBaseOrganization" ], "x-intrangelimit": [ - { - "purviewType": "1,2" - }, { "sortId": "1,9999" } ], "x-lengthlimit": [ { - "purviewId": "36,36" + "orgId": "36,36" }, { - "purviewName": "1,100" + "orgCode": "2,20" }, { - "businessCode": "6,6" + "orgName": "1,30" }, { - "menuUrl": "1,300" + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" + }, + { + "address": "2,100" + }, + { + "lxdh": "2,30" } ], "x-rolelimit": [ "1" ], "x-sort": [ - 3 + 6 ] } }, - "/base/role/GetManageAreaInfo": { + "/base/organization/PageEduAssistInfo": { "get": { - "description": "根据人员ID获取所管辖的地区信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "角色信息" - ], - "summary": "根据人员ID获取所管辖的地区信息", + "description": "获取教辅单位列表", "parameters": [ { - "type": "integer", - "description": "地区类型 1:市 2:区", - "name": "areaType", + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "description": "教辅单位名称", "in": "query", - "required": true + "name": "orgName", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.PageEduAssistInfo" } } }, - "x-emptylimit": [ - "areaType" + "summary": "获取教辅单位列表", + "tags": [ + "组织机构" ], - "x-interfacename": [ - "GetBaseRolePerson" + "x-emptylimit": [ + "page", + "limit", + "areaCode" ], "x-intrangelimit": [ { - "areaType": "1,2" + "page": "1,1000" + }, + { + "limit": "1,1000" + } + ], + "x-lengthlimit": [ + { + "areaCode": "6,6" + }, + { + "orgName": "1,30" } ], + "x-removeswaggerfield": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", "3", - "4", - "5", - "6", - "7" + "4" ], "x-sort": [ - 1 + 7 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/role/GetPersonRoleInfo": { + "/base/organization/GetEduAssistInfoById": { "get": { - "description": "获取人员角色信息", "consumes": [ "application/x-www-form-urlencoded" ], + "description": "根据教辅单位ID获取教辅单位信息", + "parameters": [ + { + "description": "教辅单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" + } + ], "produces": [ "application/json" ], - "tags": [ - "角色信息" - ], - "summary": "获取人员角色信息", "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.GetEduAssistInfoById" } } }, + "summary": "根据教辅单位ID获取教辅单位信息", + "tags": [ + "组织机构" + ], + "x-emptylimit": [ + "orgId" + ], "x-interfacename": [ - "GetBaseRolePerson" + "GetBaseOrganization" + ], + "x-lengthlimit": [ + { + "orgId": "36,36" + } ], "x-removeswaggerfield": [ - "id", "id_int", - "identity_id", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "org_lng", + "org_lat", "b_use", - "last_updated_time", - "person_id" + "province_code", + "city_code", + "district_code", + "last_updated_time" ], "x-rolelimit": [ "1", "2", "3", - "4", - "5", - "6", - "7" + "4" ], "x-sort": [ - 2 + 8 ], "x-tablename": [ - "t_base_role_person" + "t_base_organization" ] } }, - "/base/student/AddStudentInfo": { + "/base/organization/AddEduAssistInfo": { "post": { - "description": "增加学生信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "增加学生信息", + "description": "增加教辅单位信息", "parameters": [ { - "type": "string", - "description": "学生姓名", - "name": "xm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "身份证件类型代码(字典:sfzjlxm)", - "name": "sfzjlxm", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "身份证件号", - "name": "sfzjh", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "性别(字典:xbm)", - "name": "xbm", - "in": "formData" - }, - { - "type": "string", - "description": "出生日期", - "name": "csrq", - "in": "formData" - }, - { - "type": "string", - "description": "民族(字典:mzm)", - "name": "mzm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "政治面貌(字典:zzmmm)", - "name": "zzmmm", + "description": "行政区划编码", "in": "formData", - "required": true + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "独生子女标志 -1:不是 1:是", - "name": "dszybz", + "description": "教辅单位编码", "in": "formData", - "required": true + "name": "orgCode", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "随迁子女标志 -1:不是 1:是", - "name": "sqznbz", + "description": "教辅单位名称", "in": "formData", - "required": true + "name": "orgName", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "进城务工人员随迁子女标志 -1:不是 1:是", - "name": "jcwgrysqznbz", + "description": "教辅单位法定代表人", "in": "formData", - "required": true + "name": "fddbr", + "type": "string" }, { - "type": "integer", - "description": "孤儿标志 -1:不是 1:是", - "name": "gebz", + "description": "教辅单位法定代表人电话", "in": "formData", - "required": true + "name": "fddbrdh", + "type": "string" }, { - "type": "integer", - "description": "留守儿童标志 -1:不是 1:是", - "name": "lsetbz", + "description": "教辅单位地址", "in": "formData", - "required": true + "name": "address", + "type": "string" }, { - "type": "integer", - "description": "残疾标志 -1:不是 1:是", - "name": "cjbz", + "description": "联系电话", "in": "formData", - "required": true + "name": "lxdh", + "type": "string" }, { - "type": "string", - "description": "班级ID", - "name": "classId", + "description": "排序号", "in": "formData", - "required": true + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5481,80 +7283,119 @@ } } }, + "summary": "增加教辅单位信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "xm", - "mzm", - "zzmmm", - "sfzjlxm", - "sfzjh", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz", - "classId" + "areaCode", + "orgCode", + "orgName" ], "x-interfacename": [ - "AddBaseStudent" + "AddBaseOrganization" ], "x-intrangelimit": [ { - "sfzjlxm": "1,4" + "sortId": "1,9999" } ], "x-lengthlimit": [ { - "classId": "36,36" + "areaCode": "6,6" }, { - "xm": "2,30" + "orgCode": "2,20" }, { - "xbm": "1,1" + "orgName": "1,30" }, { - "mzm": "2,2" + "fddbr": "2,30" }, { - "zzmmm": "2,2" + "fddbrdh": "2,30" + }, + { + "address": "2,100" + }, + { + "lxdh": "2,30" } ], "x-rolelimit": [ "1", "2", "3", - "4", - "6", - "7" + "4" ], "x-sort": [ - 3 + 9 ] } }, - "/base/student/DeleteStudentInfo": { + "/base/organization/UpdateEduAssistInfo": { "post": { - "description": "删除学生信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "删除学生信息", + "description": "修改教辅单位信息", "parameters": [ { - "type": "string", - "description": "学生ID,多个用逗号分隔", - "name": "personIds", + "description": "教辅单位ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + }, + { + "description": "教辅单位编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" + }, + { + "description": "教辅单位名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "教辅单位法定代表人", + "in": "formData", + "name": "fddbr", + "type": "string" + }, + { + "description": "教辅单位法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" + }, + { + "description": "教辅单位地址", + "in": "formData", + "name": "address", + "type": "string" + }, + { + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" + }, + { + "description": "排序号", "in": "formData", - "required": true + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5563,52 +7404,75 @@ } } }, + "summary": "修改教辅单位信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "personIds" + "orgId", + "orgCode", + "orgName" ], "x-interfacename": [ - "DeleteBaseStudent" + "UpdateBaseOrganization" + ], + "x-intrangelimit": [ + { + "sortId": "1,9999" + } ], "x-lengthlimit": [ { - "personIds": "36,1800" + "orgId": "36,36" + }, + { + "areaCode": "6,6" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" + }, + { + "address": "2,100" } ], "x-rolelimit": [ "1", "2", "3", - "4", - "6", - "7" + "4" ], "x-sort": [ - 4 + 10 ] } }, - "/base/student/DownLoadStudentTemplateExcel": { - "get": { - "description": "下载学生导入模板", + "/base/organization/DeleteEduAssistInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "下载学生导入模板", + "description": "删除教辅单位信息", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", - "in": "query", - "required": true + "description": "教辅单位ID,如果是多个用逗号分隔", + "in": "formData", + "name": "orgIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5617,194 +7481,334 @@ } } }, + "summary": "删除教辅单位信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "orgId" + "orgIds" + ], + "x-interfacename": [ + "DeleteBaseOrganization" ], "x-lengthlimit": [ { - "orgId": "36,36" + "orgIds": "36,1800" } ], "x-rolelimit": [ "1", "2", "3", - "4", - "6", - "7" + "4" ], "x-sort": [ - 8 + 11 ] } }, - "/base/student/ExportStudentAccountExcel": { + "/base/organization/PageMainSchoolInfo": { "get": { - "description": "导出本校学生账号信息到EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "导出本校学生账号信息到EXCEL", + "description": "获取主校列表", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", + "description": "第几页", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "班级ID,不传为导出全校,传为导出班级", - "name": "classId", - "in": "query" + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "description": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", + "in": "query", + "name": "orgId", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.PageMainSchoolInfo" } } }, + "summary": "获取主校列表", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "orgId" + "page", + "limit", + "areaCode" + ], + "x-extendswaggerfield": [ + { + "column_comment": "学校办学类型名称", + "column_name": "xxbxlxm_name", + "sample_data": "小学" + } + ], + "x-interfacename": [ + "PageBaseOrganization" + ], + "x-intrangelimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" } ], + "x-removeswaggerfield": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", "3", "4", - "6", "7" ], "x-sort": [ - 7 + 12 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/student/ExportStudentExcel": { + "/base/organization/PageSchoolInfo": { "get": { - "description": "导出本校学生信息到EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "导出本校学生信息到EXCEL", + "description": "获取学校列表", "parameters": [ { - "type": "string", - "description": "学校ID", - "name": "orgId", + "description": "第几页", "in": "query", - "required": true + "name": "page", + "required": true, + "type": "integer" }, { - "type": "string", - "description": "班级ID,不传为导出全校,传为导出班级", - "name": "classId", - "in": "query" + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "description": "学校办学类型 -1:全部", + "in": "query", + "name": "xxbxlxm", + "required": true, + "type": "string" + }, + { + "description": "学校名称", + "in": "query", + "name": "orgName", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.PageSchoolInfo" } } }, + "summary": "获取学校列表", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "orgId" + "page", + "limit", + "areaCode" + ], + "x-extendswaggerfield": [ + { + "column_comment": "学校办学类型名称", + "column_name": "xxbxlxm_name", + "sample_data": "小学" + } + ], + "x-interfacename": [ + "PageBaseOrganization" + ], + "x-intrangelimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" + }, + { + "orgName": "1,30" } ], + "x-removeswaggerfield": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", "3", "4", - "6", "7" ], "x-sort": [ - 7 + 12 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/student/GetStudentInfo": { + "/base/organization/GetSchoolInfoById": { "get": { - "description": "获取学生信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "获取学生信息", + "description": "根据学校ID获取学校信息", "parameters": [ { - "type": "string", - "description": "学生ID", - "name": "personId", + "description": "学校ID", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.GetSchoolInfoById" } } }, + "summary": "根据学校ID获取学校信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "personId" + "orgId" ], "x-interfacename": [ - "GetBaseStudent" + "GetBaseOrganization" ], "x-lengthlimit": [ { - "personId": "36,36" + "orgId": "36,36" } ], "x-removeswaggerfield": [ "id_int", - "xmpy", - "cym", - "class_id", + "parent_id", "bureau_id", + "org_type", + "edu_assist_type", + "org_lng", + "org_lat", "b_use", - "state_id", "province_code", "city_code", "district_code", - "main_school_id", + "area_code", "last_updated_time" ], "x-rolelimit": [ @@ -5812,46 +7816,126 @@ "2", "3", "4", - "6", "7" ], "x-sort": [ - 2 + 13 ], "x-tablename": [ - "t_base_class" + "t_base_organization" ] } }, - "/base/student/ImportStudentExcel": { + "/base/organization/AddSchoolInfo": { "post": { - "description": "导入学生EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "导入学生EXCEL", + "description": "增加学校信息", "parameters": [ { - "type": "string", - "description": "单位ID", - "name": "orgId", + "description": "行政区划编码", "in": "formData", - "required": true + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "file", - "description": "EXCEL文件", - "name": "excelFile", + "description": "学校编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" + }, + { + "description": "学校名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "直属类型 1:普通 2:省直 3:市直", + "in": "formData", + "name": "directlyUnderType", + "required": true, + "type": "integer" + }, + { + "description": "是否为分校 -1:非分校 1:是分校", + "in": "formData", + "name": "isBranchSchool", + "required": true, + "type": "integer" + }, + { + "description": "主校ID(是分校时才传)", + "in": "formData", + "name": "mainSchoolId", + "type": "string" + }, + { + "description": "学校办别(字典:xxbbm)", + "in": "formData", + "name": "xxbbm", + "required": true, + "type": "string" + }, + { + "description": "学校办学类型(字典:xxbxlxm)", + "in": "formData", + "name": "xxbxlxm", + "required": true, + "type": "string" + }, + { + "description": "学校城乡类型(字典:szdcxlxm)", + "in": "formData", + "name": "szdcxlxm", + "required": true, + "type": "string" + }, + { + "description": "学校举办者(字典:xxjbzm)", + "in": "formData", + "name": "xxjbzm", + "required": true, + "type": "string" + }, + { + "description": "学校法定代表人", + "in": "formData", + "name": "fddbr", + "type": "string" + }, + { + "description": "学校法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" + }, + { + "description": "学校地址", "in": "formData", - "required": true + "name": "address", + "type": "string" + }, + { + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5860,12 +7944,41 @@ } } }, + "summary": "增加学校信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "orgId" + "areaCode", + "orgCode", + "orgName" + ], + "x-interfacename": [ + "AddBaseOrganization" + ], + "x-intrangelimit": [ + { + "sortId": "1,9999" + } ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" + }, + { + "address": "2,100" } ], "x-rolelimit": [ @@ -5873,56 +7986,123 @@ "2", "3", "4", - "6", "7" ], "x-sort": [ - 9 + 14 ] } }, - "/base/student/PageStudentInfo": { - "get": { - "description": "获取学生列表", + "/base/organization/UpdateSchoolInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "获取学生列表", + "description": "修改学校信息", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "description": "学校ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "学校编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" + }, + { + "description": "学校名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "直属类型 1:普通 2:省直 3:市直", + "in": "formData", + "name": "directlyUnderType", + "required": true, + "type": "integer" + }, + { + "description": "是否为分校 -1:非分校 1:是分校", + "in": "formData", + "name": "isBranchSchool", + "required": true, + "type": "integer" + }, + { + "description": "主校ID(是分校时才传)", + "in": "formData", + "name": "mainSchoolId", + "type": "string" + }, + { + "description": "学校办别(字典:xxbbm)", + "in": "formData", + "name": "xxbbm", + "required": true, + "type": "string" + }, + { + "description": "学校办学类型(字典:xxbxlxm)", + "in": "formData", + "name": "xxbxlxm", + "required": true, + "type": "string" + }, + { + "description": "学校城乡类型(字典:szdcxlxm)", + "in": "formData", + "name": "szdcxlxm", + "required": true, + "type": "string" + }, + { + "description": "学校举办者(字典:xxjbzm)", + "in": "formData", + "name": "xxjbzm", + "required": true, + "type": "string" + }, + { + "description": "学校法定代表人", + "in": "formData", + "name": "fddbr", + "type": "string" + }, + { + "description": "学校法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" + }, + { + "description": "学校地址", + "in": "formData", + "name": "address", + "type": "string" }, { - "type": "string", - "description": "班级ID", - "name": "classId", - "in": "query", - "required": true + "description": "联系电话", + "in": "formData", + "name": "lxdh", + "type": "string" }, { - "type": "string", - "description": "学生姓名", - "name": "xm", - "in": "query" + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -5931,122 +8111,82 @@ } } }, + "summary": "修改学校信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "page", - "limit", - "classId" + "orgId", + "orgCode", + "orgName", + "directlyUnderType", + "isBranchSchool", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm" ], - "x-extendswaggerfield": [ + "x-interfacename": [ + "UpdateBaseOrganization" + ], + "x-intrangelimit": [ { - "column_comment": "性别", - "column_name": "xb_name", - "sample_data": "男" - }, + "sortId": "1,9999" + } + ], + "x-lengthlimit": [ { - "column_comment": "登录名", - "column_name": "login_name", - "sample_data": "stu001" + "orgId": "36,36" }, { - "column_comment": "初始密码", - "column_name": "original_pwd", - "sample_data": "159357" + "areaCode": "6,6" }, { - "column_comment": "账号状态", - "column_name": "login_status", - "sample_data": "已启用" - } - ], - "x-interfacename": [ - "PageBaseStudent" - ], - "x-intrangelimit": [ + "orgCode": "2,20" + }, { - "page": "1,1000" + "orgName": "1,30" }, { - "limit": "1,1000" - } - ], - "x-lengthlimit": [ + "fddbr": "2,30" + }, { - "classId": "36,36" + "fddbrdh": "2,30" }, { - "xm": "2,30" + "address": "2,100" } ], - "x-removeswaggerfield": [ - "id_int", - "xmpy", - "cym", - "csrq", - "mzm", - "zzmmm", - "sfzjlxm", - "sfzjh", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz", - "class_id", - "bureau_id", - "b_use", - "state_id", - "province_code", - "city_code", - "district_code", - "main_school_id", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", "3", "4", - "6", "7" ], "x-sort": [ - 1 - ], - "x-tablename": [ - "t_base_student" + 15 ] } }, - "/base/student/ReviseStudentClass": { + "/base/organization/DeleteSchoolInfo": { "post": { - "description": "学生调整班级", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "学生调整班级", + "description": "删除学校信息", "parameters": [ { - "type": "string", - "description": "学生ID,多个用逗号分隔", - "name": "personIds", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "调整后的班级ID", - "name": "classId", + "description": "学校ID,如果是多个用逗号分隔", "in": "formData", - "required": true + "name": "orgIds", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6055,15 +8195,19 @@ } } }, + "summary": "删除学校信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "personIds" + "orgIds" + ], + "x-interfacename": [ + "DeleteBaseOrganization" ], "x-lengthlimit": [ { - "personIds": "36,1800" - }, - { - "classId": "36,36" + "orgIds": "36,1800" } ], "x-rolelimit": [ @@ -6071,320 +8215,278 @@ "2", "3", "4", - "6", "7" ], "x-sort": [ - 6 + 16 ] } }, - "/base/student/UpdateStudentInfo": { - "post": { - "description": "修改学生信息", + "/base/organization/PageOrgInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "学生信息" - ], - "summary": "修改学生信息", + "description": "获取部门列表", "parameters": [ { - "type": "string", - "description": "学生ID", - "name": "personId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学生姓名", - "name": "xm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "身份证件类型代码(字典:sfzjlxm)", - "name": "sfzjlxm", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "身份证件号", - "name": "sfzjh", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "性别(字典:xbm)", - "name": "xbm", - "in": "formData" - }, - { - "type": "string", - "description": "出生日期", - "name": "csrq", - "in": "formData" - }, - { - "type": "string", - "description": "民族(字典:mzm)", - "name": "mzm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "政治面貌(字典:zzmmm)", - "name": "zzmmm", - "in": "formData", - "required": true - }, - { - "type": "integer", - "description": "独生子女标志 -1:不是 1:是", - "name": "dszybz", - "in": "formData", - "required": true + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" }, { - "type": "integer", - "description": "随迁子女标志 -1:不是 1:是", - "name": "sqznbz", - "in": "formData", - "required": true + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" }, { - "type": "integer", - "description": "进城务工人员随迁子女标志 -1:不是 1:是", - "name": "jcwgrysqznbz", - "in": "formData", - "required": true - }, + "description": "单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/base.organization.PageOrgInfo" + } + } + }, + "summary": "获取部门列表", + "tags": [ + "组织机构" + ], + "x-emptylimit": [ + "page", + "limit", + "bureauId" + ], + "x-extendswaggerfield": [ { - "type": "integer", - "description": "孤儿标志 -1:不是 1:是", - "name": "gebz", - "in": "formData", - "required": true - }, + "column_comment": "部门领导", + "column_name": "org_manager_name", + "sample_data": "李老师" + } + ], + "x-interfacename": [ + "PageBaseOrganization" + ], + "x-intrangelimit": [ { - "type": "integer", - "description": "留守儿童标志 -1:不是 1:是", - "name": "lsetbz", - "in": "formData", - "required": true + "page": "1,1000" }, { - "type": "integer", - "description": "残疾标志 -1:不是 1:是", - "name": "cjbz", - "in": "formData", - "required": true + "limit": "1,1000" + } + ], + "x-lengthlimit": [ + { + "orgId": "36,36" + } + ], + "x-removeswaggerfield": [ + "id_int", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "sort_id", + "b_use", + "province_code", + "city_code", + "district_code", + "area_code", + "last_updated_time" + ], + "x-rolelimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "x-sort": [ + 17 + ], + "x-tablename": [ + "t_base_organization" + ] + } + }, + "/base/organization/GetOrgInfo": { + "get": { + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取部门信息", + "parameters": [ + { + "description": "部门ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.organization.GetOrgInfo" } } }, - "x-emptylimit": [ - "personId", - "xm", - "mzm", - "zzmmm", - "sfzjlxm", - "sfzjh", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz" + "summary": "获取部门信息", + "tags": [ + "组织机构" ], - "x-interfacename": [ - "UpdateBaseStudent" + "x-emptylimit": [ + "orgId" ], - "x-intrangelimit": [ + "x-extendswaggerfield": [ { - "sfzjlxm": "1,4" + "column_comment": "部门领导ID", + "column_name": "org_manager_id", + "sample_data": "00B15A6D-4EE1-481C-88F4-054A7BE9F60F" + }, + { + "column_comment": "部门领导名称", + "column_name": "org_manager_name", + "sample_data": "李老师" } ], + "x-interfacename": [ + "GetBaseOrganization" + ], "x-lengthlimit": [ { - "personId": "36,36" - }, - { - "xm": "2,30" - }, - { - "xbm": "1,1" - }, - { - "mzm": "2,2" - }, - { - "zzmmm": "2,2" + "orgId": "36,36" } ], + "x-removeswaggerfield": [ + "id_int", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "b_use", + "province_code", + "city_code", + "district_code", + "area_code", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "x-sort": [ - 5 + 18 + ], + "x-tablename": [ + "t_base_organization" ] } }, - "/base/teacher/AddTeacherInfo": { + "/base/organization/AddOrgInfo": { "post": { - "description": "增加教职工信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "增加教职工信息", + "description": "增加部门信息", "parameters": [ { - "type": "string", - "description": "部门ID", - "name": "orgId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教职工姓名", - "name": "xm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "身份证件类型(字典:sfzjlxm)", - "name": "sfzjlxm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "证件号", - "name": "sfzjh", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "性别(字典:xbm)", - "name": "xbm", - "in": "formData" - }, - { - "type": "string", - "description": "出生日期", - "name": "csrq", - "in": "formData" - }, - { - "type": "string", - "description": "民族(字典:mzm)", - "name": "mzm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "政治面貌(字典:zzmmm)", - "name": "zzmmm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "职称(字典:zcm)", - "name": "zcm", + "description": "单位ID", "in": "formData", - "required": true + "name": "orgId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "编制(字典:bzlbm)", - "name": "bzlbm", + "description": "部门编码", "in": "formData", - "required": true + "name": "orgCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学历(字典:xlm)", - "name": "xlm", + "description": "部门名称", "in": "formData", - "required": true + "name": "orgName", + "required": true, + "type": "string" }, { - "type": "string", - "description": "学位(字典:xwm)", - "name": "xwm", + "description": "上级部门ID", "in": "formData", - "required": true + "name": "parentId", + "required": true, + "type": "string" }, { - "type": "string", - "description": "任教学段", - "name": "stageId", + "description": "排序号", "in": "formData", - "required": true + "name": "sortId", + "type": "integer" }, { - "type": "string", - "description": "任教学科", - "name": "subjectId", + "description": "部门领导的人员ID", "in": "formData", - "required": true - }, - { - "type": "string", - "description": "从教年月", - "name": "cjny", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "string", - "description": "电子信箱", - "name": "dzxx", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" + "name": "orgManagerIds", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6393,27 +8495,21 @@ } } }, - "x-emptylimit": [ - "orgId", - "xm", - "sfzjlxm", - "sfzjh", - "mzm", - "zzmmm", - "zcm", - "bzlbm", - "xlm", - "xwm" + "summary": "增加部门信息", + "tags": [ + "组织机构" + ], + "x-emptylimit": [ + "orgId", + "orgCode", + "orgName" ], "x-interfacename": [ - "AddBaseTeacher" + "AddBaseOrganization" ], "x-intrangelimit": [ { "sortId": "1,9999" - }, - { - "sfzjlxm": "1,4" } ], "x-lengthlimit": [ @@ -6421,40 +8517,16 @@ "orgId": "36,36" }, { - "xm": "2,20" - }, - { - "xbm": "1,1" - }, - { - "sfzjh": "2,30" - }, - { - "mzm": "2,2" - }, - { - "zzmmm": "2,2" - }, - { - "zcm": "1,1" - }, - { - "bzlbm": "1,1" - }, - { - "xlm": "2,2" - }, - { - "xwm": "1,1" + "orgCode": "2,20" }, { - "stageId": "1,1" + "orgName": "1,30" }, { - "subjectId": "2,2" + "parentId": "36,36" }, { - "lxdh": "2,30" + "orgManagerIds": "36,1800" } ], "x-rolelimit": [ @@ -6467,32 +8539,54 @@ "7" ], "x-sort": [ - 3 + 19 ] } }, - "/base/teacher/DeleteTeacherInfo": { + "/base/organization/UpdateOrgInfo": { "post": { - "description": "删除教职工信息", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "删除教职工信息", + "description": "修改部门信息", "parameters": [ { - "type": "string", - "description": "教职工ID,多个用逗号分隔", - "name": "personIds", + "description": "部门ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + }, + { + "description": "部门编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" + }, + { + "description": "部门名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" + }, + { + "description": "部门领导的人员ID", "in": "formData", - "required": true + "name": "orgManagerIds", + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6501,15 +8595,35 @@ } } }, + "summary": "修改部门信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ - "personIds" + "orgId", + "orgCode", + "orgName" ], "x-interfacename": [ - "DeleteBaseTeacher" + "UpdateBaseOrganization" + ], + "x-intrangelimit": [ + { + "sortId": "1,9999" + } ], "x-lengthlimit": [ { - "personIds": "36,1800" + "orgId": "36,36" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "orgManagerIds": "36,1800" } ], "x-rolelimit": [ @@ -6522,32 +8636,28 @@ "7" ], "x-sort": [ - 4 + 20 ] } }, - "/base/teacher/DownLoadTeacherTemplateExcel": { - "get": { - "description": "下载教职工导入模板", + "/base/organization/DeleteOrgInfo": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "下载教职工导入模板", + "description": "删除部门信息", "parameters": [ { - "type": "string", - "description": "单位ID", + "description": "部门ID", + "in": "formData", "name": "orgId", - "in": "query", - "required": true + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6556,9 +8666,16 @@ } } }, + "summary": "删除部门信息", + "tags": [ + "组织机构" + ], "x-emptylimit": [ "orgId" ], + "x-interfacename": [ + "DeleteBaseOrganization" + ], "x-lengthlimit": [ { "orgId": "36,36" @@ -6574,32 +8691,28 @@ "7" ], "x-sort": [ - 9 + 21 ] } }, - "/base/teacher/ExportTeacherAccountExcel": { + "/base/organization/GetOrgTreeInfo": { "get": { - "description": "导出本单位教职工账号信息到EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "导出本单位教职工账号信息到EXCEL", + "description": "根据单位ID获取部门树", "parameters": [ { - "type": "string", "description": "单位ID", - "name": "orgId", "in": "query", - "required": true + "name": "orgId", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6608,6 +8721,10 @@ } } }, + "summary": "根据单位ID获取部门树", + "tags": [ + "组织机构" + ], "x-emptylimit": [ "orgId" ], @@ -6616,6 +8733,33 @@ "orgId": "36,36" } ], + "x-removeswaggerfield": [ + "id_int", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "directly_under_type", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "fddbr", + "fddbrdh", + "address", + "lxdh", + "org_lng", + "org_lat", + "b_use", + "province_code", + "city_code", + "district_code", + "area_code", + "last_updated_time" + ], "x-rolelimit": [ "1", "2", @@ -6626,46 +8770,67 @@ "7" ], "x-sort": [ - 7 + 22 ] } }, - "/base/teacher/ExportTeacherExcel": { + "/base/area/PageGovArea": { "get": { - "description": "导出本单位教职工信息到EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "导出本单位教职工信息到EXCEL", + "description": "获取行政区划信息(列表)", "parameters": [ { - "type": "string", - "description": "单位ID", - "name": "orgId", + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, + { + "description": "行政区划码", "in": "query", - "required": true + "name": "areaCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.area.PageGovArea" } } }, + "summary": "获取行政区划信息(列表)", + "tags": [ + "行政区划" + ], "x-emptylimit": [ - "orgId" + "page", + "limit", + "areaCode" + ], + "x-intlimit": [ + "page", + "limit", + "areaCode" ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" } ], "x-rolelimit": [ @@ -6677,33 +8842,29 @@ "6", "7" ], - "x-sort": [ - 8 + "x-tablename": [ + "t_gov_area" ] } }, - "/base/teacher/GetTeacherInfo": { - "get": { - "description": "获取教职工信息", + "/base/area/DeleteGovArea": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "获取教职工信息", - "parameters": [ - { - "type": "string", - "description": "教职工ID", - "name": "personId", - "in": "query", - "required": true + "description": "删除行政区划信息", + "parameters": [ + { + "description": "区域代码", + "in": "formData", + "name": "areaCode", + "required": true, + "type": "string" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6712,34 +8873,18 @@ } } }, - "x-emptylimit": [ - "personId" - ], - "x-extendswaggerfield": [ - { - "column_comment": "部门名称", - "column_name": "org_name", - "sample_data": "语文组" - } + "summary": "删除行政区划信息", + "tags": [ + "行政区划" ], - "x-interfacename": [ - "GetBaseTeacher" + "x-emptylimit": [ + "areaCode" ], "x-lengthlimit": [ { - "personId": "36,36" + "areaCode": "6,6" } ], - "x-removeswaggerfield": [ - "identity_id", - "id_int", - "xmpy", - "cym", - "gwzym", - "b_use", - "state_id", - "last_updated_time" - ], "x-rolelimit": [ "1", "2", @@ -6748,44 +8893,48 @@ "5", "6", "7" - ], - "x-sort": [ - 2 - ], - "x-tablename": [ - "t_base_teacher" ] } }, - "/base/teacher/ImportTeacherExcel": { + "/base/area/UpdateGovArea": { "post": { - "description": "导入教职工EXCEL", "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "导入教职工EXCEL", + "description": "修改行政区划信息", "parameters": [ { - "type": "string", - "description": "单位ID", - "name": "orgId", + "description": "区域代码", "in": "formData", - "required": true + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "file", - "description": "EXCEL文件", - "name": "excelFile", + "description": "区域名称", + "in": "formData", + "name": "areaName", + "required": true, + "type": "string" + }, + { + "description": "上级代码", + "in": "formData", + "name": "masterCode", + "required": true, + "type": "string" + }, + { + "description": "区域类型", "in": "formData", - "required": true + "name": "areaTypeId", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6794,12 +8943,28 @@ } } }, + "summary": "修改行政区划信息", + "tags": [ + "行政区划" + ], "x-emptylimit": [ - "orgId" + "areaTypeId", + "areaCode", + "areaName", + "masterCode" + ], + "x-intlimit": [ + "areaTypeId" ], "x-lengthlimit": [ { - "orgId": "36,36" + "areaCode": "6,6" + }, + { + "masterCode": "6,6" + }, + { + "areaName": "3:50" } ], "x-rolelimit": [ @@ -6810,54 +8975,48 @@ "5", "6", "7" - ], - "x-sort": [ - 10 ] } }, - "/base/teacher/PageTeacherInfo": { - "get": { - "description": "获取教职工列表", + "/base/area/AddGovArea": { + "post": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "获取教职工列表", + "description": "增加行政区划信息", "parameters": [ { - "type": "integer", - "description": "第几页", - "name": "page", - "in": "query", - "required": true + "description": "区域代码", + "in": "formData", + "name": "areaCode", + "required": true, + "type": "string" }, { - "type": "integer", - "description": "一页显示多少条", - "name": "limit", - "in": "query", - "required": true + "description": "区域名称", + "in": "formData", + "name": "areaName", + "required": true, + "type": "string" }, { - "type": "string", - "description": "部门ID", - "name": "orgId", - "in": "query", - "required": true + "description": "上级代码", + "in": "formData", + "name": "masterCode", + "required": true, + "type": "string" }, { - "type": "string", - "description": "教职工姓名", - "name": "xm", - "in": "query" + "description": "区域类型", + "in": "formData", + "name": "areaTypeId", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -6866,96 +9025,81 @@ } } }, + "summary": "增加行政区划信息", + "tags": [ + "行政区划" + ], "x-emptylimit": [ - "page", - "limit", - "orgId" + "areaTypeId", + "areaCode", + "areaName", + "masterCode" ], - "x-extendswaggerfield": [ - { - "column_comment": "性别", - "column_name": "xb_name", - "sample_data": "男" - }, - { - "column_comment": "所属部门", - "column_name": "org_name", - "sample_data": "办公室" - }, - { - "column_comment": "登录名", - "column_name": "login_name", - "sample_data": "stu001" - }, - { - "column_comment": "初始密码", - "column_name": "original_pwd", - "sample_data": "159357" - }, + "x-intlimit": [ + "areaTypeId" + ], + "x-lengthlimit": [ { - "column_comment": "账号状态", - "column_name": "login_status", - "sample_data": "已启用" + "areaCode": "6,6" }, { - "column_comment": "学段名称", - "column_name": "stage_name", - "sample_data": "小学" + "masterCode": "6,6" }, { - "column_comment": "学科名称", - "column_name": "subject_name", - "sample_data": "数学" + "areaName": "3,50" } ], - "x-interfacename": [ - "PageBaseTeacher" + "x-rolelimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ] + } + }, + "/base/area/GetGovArea": { + "get": { + "consumes": [ + "application/x-www-form-urlencoded" ], - "x-intrangelimit": [ - { - "page": "1,1000" - }, + "description": "获取行政区划信息(单条)", + "parameters": [ { - "limit": "1,1000" + "description": "行政区划码", + "in": "query", + "name": "areaCode", + "required": true, + "type": "string" } ], - "x-lengthlimit": [ - { - "orgId": "36,36" - }, - { - "xm": "1,20" - } + "produces": [ + "application/json" ], - "x-removeswaggerfield": [ - "identity_id", - "id_int", - "xmpy", - "cym", - "csrq", - "mzm", - "zzmmm", - "sfzjlxm", - "sfzjh", - "xlm", - "xwm", - "zcm", - "bzlbm", - "cjny", - "stage_id", - "subject_id", - "gwzym", - "lxdh", - "dzxx", - "b_use", - "state_id", - "last_updated_time", - "bureau_id", - "org_id", - "main_school_id", - "province_code", - "city_code", - "district_code" + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "获取行政区划信息(单条)", + "tags": [ + "行政区划" + ], + "x-emptylimit": [ + "areaCode" + ], + "x-intlimit": [ + "areaCode" + ], + "x-lengthlimit": [ + { + "areaCode": "6,6" + } ], "x-rolelimit": [ "1", @@ -6965,44 +9109,27 @@ "5", "6", "7" - ], - "x-sort": [ - 1 - ], - "x-tablename": [ - "t_base_teacher" ] } }, - "/base/teacher/ReviseTeacherOrg": { - "post": { - "description": "调整教职工部门", + "/base/role/GetManageAreaInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], - "produces": [ - "application/json" - ], - "tags": [ - "教师信息" - ], - "summary": "调整教职工部门", + "description": "根据人员ID获取所管辖的地区信息", "parameters": [ { - "type": "string", - "description": "教职工ID,多个用逗号分隔", - "name": "personIds", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "调整后的部门ID", - "name": "orgId", - "in": "formData", - "required": true + "description": "地区类型 1:市 2:区", + "in": "query", + "name": "areaType", + "required": true, + "type": "integer" } ], + "produces": [ + "application/json" + ], "responses": { "200": { "description": "OK", @@ -7011,18 +9138,19 @@ } } }, + "summary": "根据人员ID获取所管辖的地区信息", + "tags": [ + "角色信息" + ], "x-emptylimit": [ - "personIds" + "areaType" ], - "x-lengthlimit": [ - { - "personIds": "36,1800" - }, - { - "sourceOrgId": "36,36" - }, + "x-interfacename": [ + "GetBaseRolePerson" + ], + "x-intrangelimit": [ { - "targetOrgId": "36,36" + "areaType": "1,2" } ], "x-rolelimit": [ @@ -7035,216 +9163,41 @@ "7" ], "x-sort": [ - 6 + 1 ] } }, - "/base/teacher/UpdateTeacherInfo": { - "post": { - "description": "修改教职工信息", + "/base/role/GetPersonRoleInfo": { + "get": { "consumes": [ "application/x-www-form-urlencoded" ], + "description": "获取人员角色信息", "produces": [ "application/json" ], - "tags": [ - "教师信息" - ], - "summary": "修改教职工信息", - "parameters": [ - { - "type": "string", - "description": "教职工ID", - "name": "personId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "教职工姓名", - "name": "xm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "身份证件类型(字典:sfzjlxm)", - "name": "sfzjlxm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "证件号", - "name": "sfzjh", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "性别(字典:xbm)", - "name": "xbm", - "in": "formData" - }, - { - "type": "string", - "description": "出生日期", - "name": "csrq", - "in": "formData" - }, - { - "type": "string", - "description": "民族(字典:mzm)", - "name": "mzm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "政治面貌(字典:zzmmm)", - "name": "zzmmm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "职称(字典:zcm)", - "name": "zcm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "编制(字典:bzlbm)", - "name": "bzlbm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学历(字典:xlm)", - "name": "xlm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "学位(字典:xwm)", - "name": "xwm", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "任教学段", - "name": "stageId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "任教学科", - "name": "subjectId", - "in": "formData", - "required": true - }, - { - "type": "string", - "description": "从教年月", - "name": "cjny", - "in": "formData" - }, - { - "type": "string", - "description": "联系电话", - "name": "lxdh", - "in": "formData" - }, - { - "type": "string", - "description": "电子信箱", - "name": "dzxx", - "in": "formData" - }, - { - "type": "integer", - "description": "排序号", - "name": "sortId", - "in": "formData" - } - ], "responses": { "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Model.Res" + "$ref": "#/definitions/base.role.GetPersonRoleInfo" } } }, - "x-emptylimit": [ - "personId", - "xm", - "sfzjlxm", - "sfzjh", - "mzm", - "zzmmm", - "zcm", - "bzlbm", - "xlm", - "xwm" + "summary": "获取人员角色信息", + "tags": [ + "角色信息" ], "x-interfacename": [ - "UpdateBaseTeacher" - ], - "x-intrangelimit": [ - { - "sortId": "1,9999" - }, - { - "sfzjlxm": "1,4" - } + "GetBaseRolePerson" ], - "x-lengthlimit": [ - { - "personId": "36,36" - }, - { - "xm": "2,20" - }, - { - "xbm": "1,1" - }, - { - "sfzjh": "2,30" - }, - { - "mzm": "2,2" - }, - { - "zzmmm": "2,2" - }, - { - "zcm": "1,1" - }, - { - "bzlbm": "1,1" - }, - { - "xlm": "2,2" - }, - { - "xwm": "1,1" - }, - { - "stageId": "1,1" - }, - { - "subjectId": "2,2" - }, - { - "lxdh": "2,30" - } + "x-removeswaggerfield": [ + "id", + "id_int", + "identity_id", + "b_use", + "last_updated_time", + "person_id" ], "x-rolelimit": [ "1", @@ -7256,35 +9209,13 @@ "7" ], "x-sort": [ - 5 + 2 + ], + "x-tablename": [ + "t_base_role_person" ] } } }, - "definitions": { - "Model.Res": { - "type": "object", - "properties": { - "count": { - "description": "omitempty有值就输出,没值则不输出", - "type": "object" - }, - "error_code": { - "description": "omitempty有值就输出,没值则不输出", - "type": "object" - }, - "list": { - "description": "omitempty有值就输出,没值则不输出", - "type": "object" - }, - "message": { - "description": "omitempty有值就输出,没值则不输出", - "type": "object" - }, - "success": { - "type": "object" - } - } - } - } + "swagger": "2.0" } \ No newline at end of file diff --git a/dsBaseWeb/docs/swagger.yaml b/dsBaseWeb/docs/swagger.yaml index bda7d38a..7b8b52fa 100644 --- a/dsBaseWeb/docs/swagger.yaml +++ b/dsBaseWeb/docs/swagger.yaml @@ -1,20 +1,1488 @@ definitions: Model.Res: + properties: + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.area.PageGovArea: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + area_code: + description: 行政区划代码 + example: "100000" + type: string + area_level_id: + description: 行政区划级别 例:省、市、区 + example: 0 + type: integer + area_name: + description: 行政区划名称 + example: 中华人民共和国 + type: string + area_type_id: + description: 行政区划类型 0:无 1:县市区 2:开发区 + example: 0 + type: integer + master_code: + description: 上级行政区划代码 + example: "0" + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.class.GetClassInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + bh: + description: 班号 + example: 10 + type: integer + class_alias: + description: 班级别名 + example: 2020级10班 + type: string + class_id: + description: 班级ID + example: 14D86278-DFA7-46CC-8DC2-2A22DAB85917 + type: string + class_name: + description: 班级名称 + example: 2020级10班 + type: string + create_time: + description: 创建时间 + example: "2020-07-22 09:28:56" + type: timestamp + rxnf: + description: 入学年份 + example: 2020 + type: integer + schooling_length: + description: 学制 + example: 6 + type: integer + stage_id: + description: 所属学段ID + example: "2" + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.class.GetStageInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + stage_id: + description: 学段ID + example: "1" + type: string + stage_name: + description: 学段名称 + example: 学前教育 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.class.PageClassInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + class_alias: + description: 班级别名 + example: 2020级10班 + type: string + class_id: + description: 班级ID + example: 14D86278-DFA7-46CC-8DC2-2A22DAB85917 + type: string + class_name: + description: 班级名称 + example: 2020级10班 + type: string + create_time: + description: 创建时间 + example: "2020-07-22 09:28:56" + type: timestamp + student_count: + description: 学生人数 + example: "41" + type: string + teacher_id: + description: 班主任ID + example: "" + type: string + teacher_name: + description: 班主任 + example: 李老师 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.dict.GetDictInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + dict_code: + description: 字典编码 + example: "10" + type: string + dict_value: + description: 字典值 + example: 普通中小学/职业中学 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.dict.GetStageInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + stage_id: + description: 学段ID + example: "1" + type: string + stage_name: + description: 学段名称 + example: 学前教育 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.dict.GetSubjectInfo: properties: count: - description: omitempty有值就输出,没值则不输出 - type: object - error_code: - description: omitempty有值就输出,没值则不输出 - type: object + description: 一共有多少条 + example: "1" + type: integer list: - description: omitempty有值就输出,没值则不输出 - type: object + items: + properties: + subject_id: + description: 学科ID + example: "11" + type: string + subject_name: + description: 学科名称 + example: 品德与生活(社会) + type: string + type: array message: - description: omitempty有值就输出,没值则不输出 - type: object + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.dict.PageDict: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + dict_code: + description: 字典编码 + example: "10" + type: string + dict_value: + description: 字典值 + example: 普通中小学/职业中学 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.global.GetGlobalInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + b_use: + description: 是否启用 0:未启用 1:启用 + example: 1 + type: integer + global_code: + description: 全局变量代码 + example: AAAAAA + type: string + global_id: + description: 全局变量ID + example: 954839E9-D743-4FC2-A8EA-EE32327A2895 + type: string + global_remarks: + description: 全局变量备注 + example: "11111111" + type: string + global_type_id: + description: 全局变量分类 + example: 1 + type: integer + global_value: + description: 全局变量值 + example: "3333333" + type: string + sort_id: + description: 排序号 + example: 5 + type: integer + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.global.PageGlobalInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + b_use: + description: 是否启用 0:未启用 1:启用 + example: 1 + type: integer + global_code: + description: 全局变量代码 + example: AAAAAA + type: string + global_id: + description: 全局变量ID + example: 954839E9-D743-4FC2-A8EA-EE32327A2895 + type: string + global_remarks: + description: 全局变量备注 + example: "11111111" + type: string + global_type_id: + description: 全局变量分类 + example: 1 + type: integer + global_value: + description: 全局变量值 + example: "3333333" + type: string + sort_id: + description: 排序号 + example: 5 + type: integer + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.loginperson.PageAreaManagerInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + area_name: + description: 地区名称 + example: 长春市 + type: string + b_use: + description: 是否启用 0:未启用 1:启用 + example: -1 + type: integer + id: + description: 主键ID + example: 00073C84-2D9D-4CEB-8F1F-98F952A3B6F2 + type: string + id_int: + description: 整数ID + example: 6170 + type: integer + identity_id: + description: 身份ID + example: 1 + type: integer + login_name: + description: 用户名 + example: sys6170 + type: string + original_pwd: + description: 原始明文密码 + example: "068555" + type: string + person_id: + description: 人员ID + example: EA661D2F-F499-43AF-804C-9CCD1C55AE13 + type: string + person_name: + description: 人员姓名 + example: 会宁县管理员 + type: string + pwd: + description: 密码(加密后) + example: LRKxQ0TKStHArqeJL/xLkw== + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.loginperson.PageBureauManagerInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + b_use: + description: 是否启用 0:未启用 1:启用 + example: -1 + type: integer + id: + description: 主键ID + example: 00073C84-2D9D-4CEB-8F1F-98F952A3B6F2 + type: string + id_int: + description: 整数ID + example: 6170 + type: integer + identity_id: + description: 身份ID + example: 1 + type: integer + login_name: + description: 用户名 + example: sys6170 + type: string + org_name: + description: 单位名称 + example: 长春市第一中学 + type: string + original_pwd: + description: 原始明文密码 + example: "068555" + type: string + person_id: + description: 人员ID + example: EA661D2F-F499-43AF-804C-9CCD1C55AE13 + type: string + person_name: + description: 人员姓名 + example: 会宁县管理员 + type: string + pwd: + description: 密码(加密后) + example: LRKxQ0TKStHArqeJL/xLkw== + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.organization.GetEduAssistInfoById: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + address: + description: 组织机构地址 + example: "" + type: string + area_code: + description: 所在行政区划码 + example: "510112" + type: string + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + fddbr: + description: 机构法定代表人 + example: "" + type: string + fddbrdh: + description: 机构法定代表人电话 + example: "" + type: string + lxdh: + description: 机构联系电话 + example: "" + type: string + org_code: + description: 组织机构编码 + example: 961EC825-2F38-4400-9BE8-2F4358 + type: string + org_id: + description: 组织机构ID + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_name: + description: 组织机构名称 + example: 龙泉驿区教育局 + type: string + sort_id: + description: 排序号(在获取信息时如果排序号大于9999,前台不显示) + example: 2421 + type: integer + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.organization.GetEduInfoById: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + address: + description: 组织机构地址 + example: "" + type: string + area_code: + description: 所在行政区划码 + example: "510112" + type: string + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + fddbr: + description: 机构法定代表人 + example: "" + type: string + fddbrdh: + description: 机构法定代表人电话 + example: "" + type: string + lxdh: + description: 机构联系电话 + example: "" + type: string + org_code: + description: 组织机构编码 + example: 961EC825-2F38-4400-9BE8-2F4358 + type: string + org_id: + description: 组织机构ID + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_name: + description: 组织机构名称 + example: 龙泉驿区教育局 + type: string + sort_id: + description: 排序号(在获取信息时如果排序号大于9999,前台不显示) + example: 2421 + type: integer + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.organization.GetOrgInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + org_code: + description: 组织机构编码 + example: 961EC825-2F38-4400-9BE8-2F4358 + type: string + org_id: + description: 组织机构ID + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_manager_id: + description: 部门领导ID + example: 00B15A6D-4EE1-481C-88F4-054A7BE9F60F + type: string + org_manager_name: + description: 部门领导名称 + example: 李老师 + type: string + org_name: + description: 组织机构名称 + example: 龙泉驿区教育局 + type: string + parent_id: + description: 上级部门ID,单位填0 + example: 00000000-0000-0000-0000-000000000000 + type: string + sort_id: + description: 排序号(在获取信息时如果排序号大于9999,前台不显示) + example: 2421 + type: integer + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.organization.GetSchoolInfoById: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + address: + description: 组织机构地址 + example: "" + type: string + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + directly_under_type: + description: 直属类型 1:普通 2:省直 3:市直 + example: 0 + type: integer + fddbr: + description: 机构法定代表人 + example: "" + type: string + fddbrdh: + description: 机构法定代表人电话 + example: "" + type: string + fzr: + description: 机构负责人ID(*一个单位只能有一个负责人) + example: "" + type: string + lxdh: + description: 机构联系电话 + example: "" + type: string + main_school_id: + description: 如果是分校,所属主校的ID,如果是主校,是自己的ID,如果是分校,是主校ID,如果是普通校,也是自己的ID + example: "" + type: string + main_school_type: + description: 主校类型,1:普通校,2:主校,3:分校 + example: -1 + type: integer + manage_org_id: + description: 上级管理单位ID(*一个单位只能有一个上级管理单位) + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_code: + description: 组织机构编码 + example: 961EC825-2F38-4400-9BE8-2F4358 + type: string + org_id: + description: 组织机构ID + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_name: + description: 组织机构名称 + example: 龙泉驿区教育局 + type: string + sort_id: + description: 排序号(在获取信息时如果排序号大于9999,前台不显示) + example: 2421 + type: integer + szdcxlxm: + description: 学校城乡类型(学校专有属性)有字典 + example: "" + type: string + xxbbm: + description: 学校办别(学校专有属性)有字典 + example: "" + type: string + xxbxlxm: + description: 学校办学类型(学校专有属性)有字典 + example: "" + type: string + xxjbzm: + description: 学校举办者(学校专有属性)有字典 + example: "" + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.organization.PageDisableEduInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + area_code: + description: 所在行政区划码 + example: "510112" + type: string + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + org_code: + description: 组织机构编码 + example: 961EC825-2F38-4400-9BE8-2F4358 + type: string + org_id: + description: 组织机构ID + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_name: + description: 组织机构名称 + example: 龙泉驿区教育局 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string success: - type: object + description: 是否成功 + example: "true" + type: boolean + type: object + base.organization.PageEduAssistInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + area_code: + description: 所在行政区划码 + example: "510112" + type: string + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + org_code: + description: 组织机构编码 + example: 961EC825-2F38-4400-9BE8-2F4358 + type: string + org_id: + description: 组织机构ID + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_name: + description: 组织机构名称 + example: 龙泉驿区教育局 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.organization.PageEnableEduInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + area_code: + description: 所在行政区划码 + example: "510112" + type: string + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + login_name: + description: 登录账号 + example: sys001 + type: string + login_pwd: + description: 初始密码 + example: "741369" + type: string + org_code: + description: 组织机构编码 + example: 961EC825-2F38-4400-9BE8-2F4358 + type: string + org_id: + description: 组织机构ID + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_name: + description: 组织机构名称 + example: 龙泉驿区教育局 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.organization.PageMainSchoolInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + area_code: + description: 所在行政区划码 + example: "510112" + type: string + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + main_school_type: + description: 主校类型,1:普通校,2:主校,3:分校 + example: -1 + type: integer + org_code: + description: 组织机构编码 + example: 961EC825-2F38-4400-9BE8-2F4358 + type: string + org_id: + description: 组织机构ID + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_name: + description: 组织机构名称 + example: 龙泉驿区教育局 + type: string + xxbxlxm: + description: 学校办学类型(学校专有属性)有字典 + example: "" + type: string + xxbxlxm_name: + description: 学校办学类型名称 + example: 小学 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.organization.PageOrgInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + org_code: + description: 组织机构编码 + example: 961EC825-2F38-4400-9BE8-2F4358 + type: string + org_id: + description: 组织机构ID + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_manager_name: + description: 部门领导 + example: 李老师 + type: string + org_name: + description: 组织机构名称 + example: 龙泉驿区教育局 + type: string + parent_id: + description: 上级部门ID,单位填0 + example: 00000000-0000-0000-0000-000000000000 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.organization.PageSchoolInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + area_code: + description: 所在行政区划码 + example: "510112" + type: string + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + main_school_type: + description: 主校类型,1:普通校,2:主校,3:分校 + example: -1 + type: integer + org_code: + description: 组织机构编码 + example: 961EC825-2F38-4400-9BE8-2F4358 + type: string + org_id: + description: 组织机构ID + example: 0024E809-710E-4A76-8991-3F5C8B1ADDF3 + type: string + org_name: + description: 组织机构名称 + example: 龙泉驿区教育局 + type: string + xxbxlxm: + description: 学校办学类型(学校专有属性)有字典 + example: "" + type: string + xxbxlxm_name: + description: 学校办学类型名称 + example: 小学 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.purview.GetPurviewInfoById: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + business_code: + description: 业务系统编码 + example: B00001 + type: string + menu_url: + description: 菜单的URL + example: '#' + type: string + parent_id: + description: 父节点ID + example: 00000000-0000-0000-0000-000000000000 + type: string + purview_id: + description: 权限ID + example: 29050385-3E01-4E7D-8805-21B19960351F + type: string + purview_name: + description: 权限名称 + example: 用户信息管理 + type: string + sort_id: + description: 排序号 + example: 6 + type: integer + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.purview.PagePurviewInfoByBusinessCode: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + business_code: + description: 业务系统编码 + example: B00001 + type: string + menu_url: + description: 菜单的URL + example: '#' + type: string + parent_id: + description: 父节点ID + example: 00000000-0000-0000-0000-000000000000 + type: string + purview_id: + description: 权限ID + example: 29050385-3E01-4E7D-8805-21B19960351F + type: string + purview_name: + description: 权限名称 + example: 用户信息管理 + type: string + sort_id: + description: 排序号 + example: 6 + type: integer + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.purview.PagePurviewInfoByPersonIdBusinessCode: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + menu_icon: + description: 菜单的图标样式名 + example: "" + type: string + menu_url: + description: 菜单的URL + example: '#' + type: string + parent_id: + description: 父节点ID + example: 00000000-0000-0000-0000-000000000000 + type: string + purview_id: + description: 权限ID + example: 29050385-3E01-4E7D-8805-21B19960351F + type: string + purview_name: + description: 权限名称 + example: 用户信息管理 + type: string + sort_id: + description: 排序号 + example: 6 + type: integer + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.role.GetPersonRoleInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + role_id: + description: 角色ID + example: BF61C95F-3ADD-4F37-9FCD-97E69E1BF6E3 + type: string + rule_id: + description: 具体管辖是哪个省、市、区或大学区ID,单位ID + example: "532927" + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.student.GetStudentInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + bh: + description: 班号 + example: 10 + type: integer + class_alias: + description: 班级别名 + example: 2020级10班 + type: string + class_code: + description: 班级编码 规则:10位学校编码+4位入学年份+1位学段+3位班号 学段:0:幼儿 1:小学 2:初中 3:高中 4:职业 5:高等 + example: "2020210" + type: string + class_name: + description: 班级名称 + example: 2020级10班 + type: string + create_time: + description: 创建时间 + example: "2020-07-22 09:28:56" + type: timestamp + org_id: + description: 所在部门(除职业和高等外都是0) + example: "" + type: string + rxjj: + description: 入学季节 + example: 9 + type: integer + rxnf: + description: 入学年份 + example: 2020 + type: integer + schooling_length: + description: 学制 + example: 6 + type: integer + stage_id: + description: 所属学段ID + example: "2" + type: string + teacher_id: + description: 班主任ID + example: "" + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.student.PageStudentInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + create_time: + description: 创建时间 + example: "2020-07-22 10:46:03" + type: timestamp + login_name: + description: 登录名 + example: stu001 + type: string + login_status: + description: 账号状态 + example: 已启用 + type: string + original_pwd: + description: 初始密码 + example: "159357" + type: string + person_id: + description: 学生ID + example: 0B19F6D4-3351-4FDB-A9FC-5EA02417C782 + type: string + xb_name: + description: 性别 + example: 男 + type: string + xbm: + description: 性别(有字典) + example: "1" + type: string + xm: + description: 学生姓名 + example: 陈强 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.teacher.GetTeacherInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + bureau_id: + description: 所属单位(主) + example: A817DF74-5002-4AE0-9D1E-86A1D7A0F81B + type: string + bzlbm: + description: 编制 (有字典) + example: "9" + type: string + city_code: + description: 所属市CODE + example: "330100" + type: string + cjny: + description: 从教年月 + example: "1999-09-01" + type: date + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + csrq: + description: 出生日期 + example: "1977-10-11" + type: date + district_code: + description: 所属县区CODE + example: "330108" + type: string + dzxx: + description: 电子信箱 + example: xx@dsideal.com + type: string + lxdh: + description: 联系电话 + example: "18888888888" + type: string + main_school_id: + description: 所属主校ID + example: "" + type: string + mzm: + description: 民族 (有字典) + example: "1" + type: string + org_id: + description: 所属部门(主) + example: A817DF74-5002-4AE0-9D1E-86A1D7A0F81B + type: string + org_name: + description: 部门名称 + example: 语文组 + type: string + person_id: + description: 教师ID + example: 00159E8E-27CB-40E7-805E-A1A88323C7C8 + type: string + province_code: + description: 所属省CODE + example: "330000" + type: string + sfzjh: + description: 身份证件号 + example: "-1" + type: string + sfzjlxm: + description: 身份证件类型代码 (有字典) + example: "4" + type: string + sort_id: + description: 在主部门的排序号 + example: 1 + type: integer + stage_id: + description: 主要任课学段 (有字典) + example: Z + type: string + subject_id: + description: 主要任课学科 (有字典) + example: "99" + type: string + xbm: + description: 性别 (有字典) + example: 男 + type: string + xlm: + description: 学历 (有字典) + example: "90" + type: string + xm: + description: 教师姓名 + example: 滨江区教育局管理员 + type: string + xwm: + description: 学位 (有字典) + example: "0" + type: string + zcm: + description: 职称 (有字典) + example: "5" + type: string + zzmmm: + description: 政治面貌 (有字典) + example: "13" + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean + type: object + base.teacher.PageTeacherInfo: + properties: + count: + description: 一共有多少条 + example: "1" + type: integer + list: + items: + properties: + create_time: + description: 创建时间 + example: "2020-07-22 08:52:47" + type: timestamp + login_name: + description: 登录名 + example: stu001 + type: string + login_status: + description: 账号状态 + example: 已启用 + type: string + org_name: + description: 所属部门 + example: 办公室 + type: string + original_pwd: + description: 初始密码 + example: "159357" + type: string + person_id: + description: 教师ID + example: 00159E8E-27CB-40E7-805E-A1A88323C7C8 + type: string + sort_id: + description: 在主部门的排序号 + example: 1 + type: integer + stage_name: + description: 学段名称 + example: 小学 + type: string + subject_name: + description: 学科名称 + example: 数学 + type: string + xb_name: + description: 性别 + example: 男 + type: string + xbm: + description: 性别 (有字典) + example: 男 + type: string + xm: + description: 教师姓名 + example: 滨江区教育局管理员 + type: string + type: array + message: + description: 返回的消息 + example: 操作成功 + type: string + success: + description: 是否成功 + example: "true" + type: boolean type: object host: 127.0.0.1:8002 info: @@ -179,7 +1647,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.area.PageGovArea' summary: 获取行政区划信息(列表) tags: - 行政区划 @@ -543,7 +2011,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.class.GetClassInfo' summary: 获取班级信息 tags: - 班级信息 @@ -633,7 +2101,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.class.GetStageInfo' summary: 获取学段信息 tags: - 班级信息 @@ -696,7 +2164,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.class.PageClassInfo' summary: 获取班级列表 tags: - 班级信息 @@ -856,7 +2324,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.dict.GetDictInfo' summary: 根据字典分类和字典编码获取字典信息 tags: - 字典 @@ -933,7 +2401,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.dict.GetStageInfo' summary: 获取学段信息 tags: - 字典 @@ -971,7 +2439,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.dict.GetSubjectInfo' summary: 根据学段ID获取学科信息 tags: - 字典 @@ -1017,7 +2485,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.dict.PageDict' summary: 根据字典分类、上级字典编码获取字典信息 tags: - 字典 @@ -1149,7 +2617,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.global.GetGlobalInfo' summary: 获取全局变量信息 tags: - 全局变量 @@ -1192,7 +2660,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.global.PageGlobalInfo' summary: 获取全局变量列表 tags: - 全局变量 @@ -1443,7 +2911,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.loginperson.PageAreaManagerInfo' summary: 获取地区管理员列表(虚拟) tags: - 登录信息 @@ -1504,7 +2972,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.loginperson.PageBureauManagerInfo' summary: 获取单位管理员列表 tags: - 登录信息 @@ -2103,7 +3571,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.organization.GetEduAssistInfoById' summary: 根据教辅单位ID获取教辅单位信息 tags: - 组织机构 @@ -2161,7 +3629,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.organization.GetEduInfoById' summary: 根据教育局ID获取教育局信息 tags: - 组织机构 @@ -2216,7 +3684,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.organization.GetOrgInfo' summary: 获取部门信息 tags: - 组织机构 @@ -2349,7 +3817,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.organization.GetSchoolInfoById' summary: 根据学校ID获取学校信息 tags: - 组织机构 @@ -2414,7 +3882,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.organization.PageDisableEduInfo' summary: 获取未启用的教育局列表 tags: - 组织机构 @@ -2494,7 +3962,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.organization.PageEduAssistInfo' summary: 获取教辅单位列表 tags: - 组织机构 @@ -2575,7 +4043,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.organization.PageEnableEduInfo' summary: 获取已启用的教育局列表 tags: - 组织机构 @@ -2660,7 +4128,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.organization.PageMainSchoolInfo' summary: 获取主校列表 tags: - 组织机构 @@ -2741,7 +4209,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.organization.PageOrgInfo' summary: 获取部门列表 tags: - 组织机构 @@ -2835,7 +4303,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.organization.PageSchoolInfo' summary: 获取学校列表 tags: - 组织机构 @@ -3328,7 +4796,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.purview.GetPurviewInfoById' summary: 获取权限信息(单条) tags: - 权限 @@ -3377,7 +4845,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.purview.PagePurviewInfoByBusinessCode' summary: 根据业务系统编码获取权限信息信息 tags: - 权限 @@ -3429,7 +4897,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.purview.PagePurviewInfoByPersonIdBusinessCode' summary: 根据人员ID和业务系统编码获取权限信息信息 tags: - 权限 @@ -3578,7 +5046,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.role.GetPersonRoleInfo' summary: 获取人员角色信息 tags: - 角色信息 @@ -3882,7 +5350,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.student.GetStudentInfo' summary: 获取学生信息 tags: - 学生信息 @@ -3986,7 +5454,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.student.PageStudentInfo' summary: 获取学生列表 tags: - 学生信息 @@ -4505,7 +5973,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.teacher.GetTeacherInfo' summary: 获取教职工信息 tags: - 教师信息 @@ -4611,7 +6079,7 @@ paths: "200": description: OK schema: - $ref: '#/definitions/Model.Res' + $ref: '#/definitions/base.teacher.PageTeacherInfo' summary: 获取教职工列表 tags: - 教师信息