diff --git a/Logs/dsSso.log b/Logs/dsSso.log index c83ec004..5a1d1c18 100644 --- a/Logs/dsSso.log +++ b/Logs/dsSso.log @@ -10,3 +10,11 @@ [Error]2020/09/09 14:31:02 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value [Error]2020/09/16 15:14:03 SqlQueryError sql: expected 1 arguments, got 3 [Error]2020/09/16 15:14:03 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value +[Error]2020/12/17 11:42:53 SqlQueryError sql: expected 1 arguments, got 3 +[Error]2020/12/17 11:42:53 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value +[Error]2020/12/17 11:44:23 SqlQueryError sql: expected 1 arguments, got 3 +[Error]2020/12/17 11:44:23 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value +[Error]2020/12/17 11:46:05 SqlQueryError sql: expected 1 arguments, got 3 +[Error]2020/12/17 11:46:05 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value +[Error]2020/12/17 11:47:32 SqlQueryError sql: expected 1 arguments, got 3 +[Error]2020/12/17 11:47:32 SqlQueryError WRONGTYPE Operation against a key holding the wrong kind of value diff --git a/dsBaseWeb/Sso/Sso.go b/dsBaseWeb/Sso/Sso.go index 33a153f0..5fcce49d 100644 --- a/dsBaseWeb/Sso/Sso.go +++ b/dsBaseWeb/Sso/Sso.go @@ -93,11 +93,5 @@ func CheckSsoCode(c *gin.Context) { RedisUtil.EXPIRE(accessToken) //跳转到最终访问的地址 - c.Redirect(http.StatusFound, reqCallBackURL) - //c.Header("Content-Type", "text/html;charset=utf-8") - /* - html := ``*/ - //c.String(200, `

黄海测试

`) + c.Redirect(http.StatusMovedPermanently, reqCallBackURL) } diff --git a/dsBaseWeb/docs/docs.go b/dsBaseWeb/docs/docs.go index 43263268..fe655b3d 100644 --- a/dsBaseWeb/docs/docs.go +++ b/dsBaseWeb/docs/docs.go @@ -47,15 +47,15 @@ var doc = `{ "version": "1.0" }, "paths": { - "/base/business/DeleteBaseBusiness": { - "post": { + "/base/business/PageBaseBusiness": { + "get": { "X-EmptyLimit": [ - "businessCode" + "page", + "limit" ], - "X-LengthLimit": [ - { - "businessCode": "6,6" - } + "X-IntLimit": [ + "page", + "limit" ], "X-RoleLimit": [ "1" @@ -63,14 +63,21 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除业务系统信息", + "description": "获取业务系统信息(列表)", "parameters": [ { - "description": "业务系统编码", - "in": "formData", - "name": "businessCode", + "description": "第几页", + "in": "query", + "name": "page", "required": true, - "type": "string" + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" } ], "produces": [ @@ -84,20 +91,24 @@ var doc = `{ } } }, - "summary": "删除业务系统信息", + "summary": "获取业务系统信息(列表)", "tags": [ "业务系统维护" ] } }, - "/base/business/GetBaseBusiness": { - "get": { + "/base/business/AddBaseBusiness": { + "post": { "X-EmptyLimit": [ - "businessCode" + "businessCode", + "businessName" ], "X-LengthLimit": [ { - "businessCode": "6,6" + "businessCode": "6:6" + }, + { + "businessName": "1:50" } ], "X-RoleLimit": [ @@ -106,64 +117,21 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取业务系统信息(单条)", + "description": "增加业务系统信息", "parameters": [ { "description": "业务系统编码", - "in": "query", + "in": "formData", "name": "businessCode", "required": true, "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取业务系统信息(单条)", - "tags": [ - "业务系统维护" - ] - } - }, - "/base/business/PageBaseBusiness": { - "get": { - "X-EmptyLimit": [ - "page", - "limit" - ], - "X-IntLimit": [ - "page", - "limit" - ], - "X-RoleLimit": [ - "1" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取业务系统信息(列表)", - "parameters": [ - { - "description": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" }, { - "description": "一页显示多少条", - "in": "query", - "name": "limit", + "description": "业务系统名称", + "in": "formData", + "name": "businessName", "required": true, - "type": "integer" + "type": "string" } ], "produces": [ @@ -177,7 +145,7 @@ var doc = `{ } } }, - "summary": "获取业务系统信息(列表)", + "summary": "增加业务系统信息", "tags": [ "业务系统维护" ] @@ -237,18 +205,14 @@ var doc = `{ ] } }, - "/base/business/AddBaseBusiness": { + "/base/business/DeleteBaseBusiness": { "post": { "X-EmptyLimit": [ - "businessCode", - "businessName" + "businessCode" ], "X-LengthLimit": [ { - "businessCode": "6:6" - }, - { - "businessName": "1:50" + "businessCode": "6,6" } ], "X-RoleLimit": [ @@ -257,7 +221,7 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加业务系统信息", + "description": "删除业务系统信息", "parameters": [ { "description": "业务系统编码", @@ -265,13 +229,6 @@ var doc = `{ "name": "businessCode", "required": true, "type": "string" - }, - { - "description": "业务系统名称", - "in": "formData", - "name": "businessName", - "required": true, - "type": "string" } ], "produces": [ @@ -285,37 +242,34 @@ var doc = `{ } } }, - "summary": "增加业务系统信息", + "summary": "删除业务系统信息", "tags": [ "业务系统维护" ] } }, - "/base/global/DeleteGlobalInfo": { - "post": { + "/base/business/GetBaseBusiness": { + "get": { "X-EmptyLimit": [ - "globalIds" + "businessCode" ], "X-LengthLimit": [ { - "globalIds": "36,1800" + "businessCode": "6,6" } ], "X-RoleLimit": [ "1" ], - "X-Sort": [ - 5 - ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除全局变量", + "description": "获取业务系统信息(单条)", "parameters": [ { - "description": "全局变量ID,多个用逗号分隔", - "in": "formData", - "name": "globalIds", + "description": "业务系统编码", + "in": "query", + "name": "businessCode", "required": true, "type": "string" } @@ -331,30 +285,25 @@ var doc = `{ } } }, - "summary": "删除全局变量", + "summary": "获取业务系统信息(单条)", "tags": [ - "全局变量" + "业务系统维护" ] } }, - "/base/global/UpdateGlobalInfo": { + "/base/global/AddGlobalInfo": { "post": { "X-EmptyLimit": [ - "globalId", "globalTypeId", "globalCode", "globalValue", "sortId" ], "X-IntLimit": [ - "globalId", "globalTypeId", "sortId" ], "X-LengthLimit": [ - { - "globalId": "36,36" - }, { "globalCode": "2,50" }, @@ -369,20 +318,13 @@ var doc = `{ "1" ], "X-Sort": [ - 6 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改全局变量", + "description": "增加全局变量", "parameters": [ - { - "description": "全局变量ID", - "in": "formData", - "name": "globalId", - "required": true, - "type": "string" - }, { "description": "全局变量分类", "in": "formData", @@ -429,43 +371,37 @@ var doc = `{ } } }, - "summary": "修改全局变量", + "summary": "增加全局变量", "tags": [ "全局变量" ] } }, - "/base/global/GetGlobalInfo": { - "get": { + "/base/global/DeleteGlobalInfo": { + "post": { "X-EmptyLimit": [ - "globalId" - ], - "X-InterfaceName": [ - "GetBaseGlobal" + "globalIds" ], "X-LengthLimit": [ { - "globalId": "36,36" + "globalIds": "36,1800" } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_global" + 5 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取全局变量信息", + "description": "删除全局变量", "parameters": [ { - "description": "全局变量ID", - "in": "query", - "name": "globalId", + "description": "全局变量ID,多个用逗号分隔", + "in": "formData", + "name": "globalIds", "required": true, "type": "string" } @@ -481,25 +417,30 @@ var doc = `{ } } }, - "summary": "获取全局变量信息", + "summary": "删除全局变量", "tags": [ "全局变量" ] } }, - "/base/global/AddGlobalInfo": { + "/base/global/UpdateGlobalInfo": { "post": { "X-EmptyLimit": [ + "globalId", "globalTypeId", "globalCode", "globalValue", "sortId" ], "X-IntLimit": [ + "globalId", "globalTypeId", "sortId" ], "X-LengthLimit": [ + { + "globalId": "36,36" + }, { "globalCode": "2,50" }, @@ -514,13 +455,20 @@ var doc = `{ "1" ], "X-Sort": [ - 4 + 6 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加全局变量", + "description": "修改全局变量", "parameters": [ + { + "description": "全局变量ID", + "in": "formData", + "name": "globalId", + "required": true, + "type": "string" + }, { "description": "全局变量分类", "in": "formData", @@ -567,27 +515,30 @@ var doc = `{ } } }, - "summary": "增加全局变量", + "summary": "修改全局变量", "tags": [ "全局变量" ] } }, - "/base/global/GetGlobalValueByCodes": { + "/base/global/GetGlobalInfo": { "get": { "X-EmptyLimit": [ - "codes" + "globalId" ], "X-InterfaceName": [ "GetBaseGlobal" ], "X-LengthLimit": [ { - "codes": "1,500" + "globalId": "36,36" } ], + "X-RoleLimit": [ + "1" + ], "X-Sort": [ - 3 + 2 ], "X-TableName": [ "t_base_global" @@ -595,12 +546,12 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据多个全局变量Code获取全局变量值", + "description": "获取全局变量信息", "parameters": [ { - "description": "全局变量Code,多个用逗号分隔", + "description": "全局变量ID", "in": "query", - "name": "codes", + "name": "globalId", "required": true, "type": "string" } @@ -616,29 +567,27 @@ var doc = `{ } } }, - "summary": "根据多个全局变量Code获取全局变量值", + "summary": "获取全局变量信息", "tags": [ "全局变量" ] } }, - "/base/global/PageGlobalInfo": { + "/base/global/GetGlobalValueByCodes": { "get": { "X-EmptyLimit": [ - "page", - "limit", - "globalTypeId" + "codes" ], - "X-IntLimit": [ - "page", - "limit", - "globalTypeId" + "X-InterfaceName": [ + "GetBaseGlobal" ], - "X-RoleLimit": [ - "1" + "X-LengthLimit": [ + { + "codes": "1,500" + } ], "X-Sort": [ - 1 + 3 ], "X-TableName": [ "t_base_global" @@ -646,12 +595,63 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取全局变量列表", + "description": "根据多个全局变量Code获取全局变量值", "parameters": [ { - "description": "第几页", + "description": "全局变量Code,多个用逗号分隔", "in": "query", - "name": "page", + "name": "codes", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据多个全局变量Code获取全局变量值", + "tags": [ + "全局变量" + ] + } + }, + "/base/global/PageGlobalInfo": { + "get": { + "X-EmptyLimit": [ + "page", + "limit", + "globalTypeId" + ], + "X-IntLimit": [ + "page", + "limit", + "globalTypeId" + ], + "X-RoleLimit": [ + "1" + ], + "X-Sort": [ + 1 + ], + "X-TableName": [ + "t_base_global" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取全局变量列表", + "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", "required": true, "type": "integer" }, @@ -687,21 +687,20 @@ var doc = `{ ] } }, - "/base/dict/GetDictInfo": { + "/base/dict/PageDict": { "get": { "X-EmptyLimit": [ - "dictKind", - "dictCode" + "dictKind" ], "X-InterfaceName": [ - "GetSysDict" + "PageSysDict" ], "X-LengthLimit": [ { "dictKind": "1,20" }, { - "dictCode": "1,10" + "dictParent": "1,10" } ], "X-RemoveSwaggerField": [ @@ -722,7 +721,7 @@ var doc = `{ "7" ], "X-Sort": [ - 1 + 2 ], "X-TableName": [ "t_sys_dict" @@ -730,7 +729,7 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据字典分类和字典编码获取字典信息", + "description": "根据字典分类、上级字典编码获取字典信息", "parameters": [ { "description": "字典分类", @@ -740,10 +739,9 @@ var doc = `{ "type": "string" }, { - "description": "字典编码", + "description": "上级字典编码", "in": "query", - "name": "dictCode", - "required": true, + "name": "dictParent", "type": "string" } ], @@ -758,22 +756,82 @@ var doc = `{ } } }, - "summary": "根据字典分类和字典编码获取字典信息", + "summary": "根据字典分类、上级字典编码获取字典信息", "tags": [ "字典" ] } }, - "/base/dict/GetMultipleDictInfo": { + "/base/dict/GetStageInfo": { + "get": { + "X-InterfaceName": [ + "PageSysDict" + ], + "X-RemoveSwaggerField": [ + "b_use", + "sort_id" + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 3 + ], + "X-TableName": [ + "t_dm_stage" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取学段信息", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "获取学段信息", + "tags": [ + "字典" + ] + } + }, + "/base/dict/GetDictInfo": { "get": { "X-EmptyLimit": [ - "dictKinds" + "dictKind", + "dictCode" + ], + "X-InterfaceName": [ + "GetSysDict" ], "X-LengthLimit": [ { - "dictKinds": "1,500" + "dictKind": "1,20" + }, + { + "dictCode": "1,10" } ], + "X-RemoveSwaggerField": [ + "dict_id", + "dict_kind", + "dict_remark", + "dict_parent", + "sort_id", + "b_use" + ], "X-RoleLimit": [ "1", "2", @@ -784,17 +842,27 @@ var doc = `{ "7" ], "X-Sort": [ - 5 + 1 + ], + "X-TableName": [ + "t_sys_dict" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据多个dict_kind获取字典信息", + "description": "根据字典分类和字典编码获取字典信息", "parameters": [ { - "description": "字典分类,多个用逗号分隔", + "description": "字典分类", "in": "query", - "name": "dictKinds", + "name": "dictKind", + "required": true, + "type": "string" + }, + { + "description": "字典编码", + "in": "query", + "name": "dictCode", "required": true, "type": "string" } @@ -810,29 +878,22 @@ var doc = `{ } } }, - "summary": "根据多个dict_kind获取字典信息", + "summary": "根据字典分类和字典编码获取字典信息", "tags": [ "字典" ] } }, - "/base/dict/GetSubjectInfo": { + "/base/dict/GetMultipleDictInfo": { "get": { "X-EmptyLimit": [ - "stageId" - ], - "X-InterfaceName": [ - "PageSysDict" + "dictKinds" ], "X-LengthLimit": [ { - "stageId": "1,1" + "dictKinds": "1,500" } ], - "X-RemoveSwaggerField": [ - "b_use", - "sort_id" - ], "X-RoleLimit": [ "1", "2", @@ -843,20 +904,17 @@ var doc = `{ "7" ], "X-Sort": [ - 4 - ], - "X-TableName": [ - "t_dm_subject" + 5 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据学段ID获取学科信息", + "description": "根据多个dict_kind获取字典信息", "parameters": [ { - "description": "学段ID", + "description": "字典分类,多个用逗号分隔", "in": "query", - "name": "stageId", + "name": "dictKinds", "required": true, "type": "string" } @@ -872,35 +930,28 @@ var doc = `{ } } }, - "summary": "根据学段ID获取学科信息", + "summary": "根据多个dict_kind获取字典信息", "tags": [ "字典" ] } }, - "/base/dict/PageDict": { + "/base/dict/GetSubjectInfo": { "get": { "X-EmptyLimit": [ - "dictKind" + "stageId" ], "X-InterfaceName": [ "PageSysDict" ], "X-LengthLimit": [ { - "dictKind": "1,20" - }, - { - "dictParent": "1,10" + "stageId": "1,1" } ], "X-RemoveSwaggerField": [ - "dict_id", - "dict_kind", - "dict_remark", - "dict_parent", - "sort_id", - "b_use" + "b_use", + "sort_id" ], "X-RoleLimit": [ "1", @@ -912,28 +963,22 @@ var doc = `{ "7" ], "X-Sort": [ - 2 + 4 ], "X-TableName": [ - "t_sys_dict" + "t_dm_subject" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据字典分类、上级字典编码获取字典信息", + "description": "根据学段ID获取学科信息", "parameters": [ { - "description": "字典分类", + "description": "学段ID", "in": "query", - "name": "dictKind", + "name": "stageId", "required": true, "type": "string" - }, - { - "description": "上级字典编码", - "in": "query", - "name": "dictParent", - "type": "string" } ], "produces": [ @@ -947,40 +992,46 @@ var doc = `{ } } }, - "summary": "根据字典分类、上级字典编码获取字典信息", + "summary": "根据学段ID获取学科信息", "tags": [ "字典" ] } }, - "/base/dict/GetStageInfo": { + "/base/student/DownLoadStudentTemplateExcel": { "get": { - "X-InterfaceName": [ - "PageSysDict" + "X-EmptyLimit": [ + "orgId" ], - "X-RemoveSwaggerField": [ - "b_use", - "sort_id" + "X-LengthLimit": [ + { + "orgId": "36,36" + } ], "X-RoleLimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "X-Sort": [ - 3 - ], - "X-TableName": [ - "t_dm_stage" + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取学段信息", + "description": "下载学生导入模板", + "parameters": [ + { + "description": "学校ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" + } + ], "produces": [ "application/json" ], @@ -992,9 +1043,9 @@ var doc = `{ } } }, - "summary": "获取学段信息", + "summary": "下载学生导入模板", "tags": [ - "字典" + "学生信息" ] } }, @@ -1167,77 +1218,6 @@ var doc = `{ ] } }, - "/base/student/GetStudentInfo": { - "get": { - "X-EmptyLimit": [ - "personId" - ], - "X-InterfaceName": [ - "GetBaseStudent" - ], - "X-LengthLimit": [ - { - "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", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_class" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取学生信息", - "parameters": [ - { - "description": "学生ID", - "in": "query", - "name": "personId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取学生信息", - "tags": [ - "学生信息" - ] - } - }, "/base/student/DeleteStudentInfo": { "post": { "X-EmptyLimit": [ @@ -1349,77 +1329,33 @@ var doc = `{ ] } }, - "/base/student/ImportStudentExcel": { - "post": { + "/base/student/GetStudentInfo": { + "get": { "X-EmptyLimit": [ - "orgId" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 9 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导入学生EXCEL", - "parameters": [ - { - "description": "单位ID", - "in": "formData", - "name": "orgId", - "required": true, - "type": "string" - }, - { - "description": "EXCEL文件", - "in": "formData", - "name": "excelFile", - "required": true, - "type": "file" - } - ], - "produces": [ - "application/json" + "personId" ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "导入学生EXCEL", - "tags": [ - "学生信息" - ] - } - }, - "/base/student/ReviseStudentClass": { - "post": { - "X-EmptyLimit": [ - "personIds" + "X-InterfaceName": [ + "GetBaseStudent" ], "X-LengthLimit": [ { - "personIds": "36,1800" - }, - { - "classId": "36,36" + "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", @@ -1429,24 +1365,20 @@ var doc = `{ "7" ], "X-Sort": [ - 6 + 2 + ], + "X-TableName": [ + "t_base_class" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "学生调整班级", + "description": "获取学生信息", "parameters": [ { - "description": "学生ID,多个用逗号分隔", - "in": "formData", - "name": "personIds", - "required": true, - "type": "string" - }, - { - "description": "调整后的班级ID", - "in": "formData", - "name": "classId", + "description": "学生ID", + "in": "query", + "name": "personId", "required": true, "type": "string" } @@ -1462,7 +1394,7 @@ var doc = `{ } } }, - "summary": "学生调整班级", + "summary": "获取学生信息", "tags": [ "学生信息" ] @@ -1716,43 +1648,14 @@ var doc = `{ ] } }, - "/base/student/UpdateStudentInfo": { + "/base/student/ImportStudentExcel": { "post": { "X-EmptyLimit": [ - "personId", - "xm", - "mzm", - "zzmmm", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz" - ], - "X-IntRangeLimit": [ - { - "sfzjlxm": "1,4" - } - ], - "X-InterfaceName": [ - "UpdateBaseStudent" + "orgId" ], "X-LengthLimit": [ { - "personId": "36,36" - }, - { - "xm": "2,30" - }, - { - "xbm": "1,1" - }, - { - "mzm": "2,2" - }, - { - "zzmmm": "2,2" + "orgId": "36,36" } ], "X-RoleLimit": [ @@ -1764,36 +1667,184 @@ var doc = `{ "7" ], "X-Sort": [ - 5 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改学生信息", + "description": "导入学生EXCEL", "parameters": [ { - "description": "学生ID", + "description": "单位ID", "in": "formData", - "name": "personId", + "name": "orgId", "required": true, "type": "string" }, { - "description": "学生姓名", + "description": "EXCEL文件", "in": "formData", - "name": "xm", + "name": "excelFile", "required": true, - "type": "string" - }, + "type": "file" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "导入学生EXCEL", + "tags": [ + "学生信息" + ] + } + }, + "/base/student/ReviseStudentClass": { + "post": { + "X-EmptyLimit": [ + "personIds" + ], + "X-LengthLimit": [ { - "description": "身份证件类型代码(字典:sfzjlxm)", - "in": "formData", - "name": "sfzjlxm", - "type": "string" + "personIds": "36,1800" }, { - "description": "身份证件号", - "in": "formData", + "classId": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" + ], + "X-Sort": [ + 6 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "学生调整班级", + "parameters": [ + { + "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", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "学生调整班级", + "tags": [ + "学生信息" + ] + } + }, + "/base/student/UpdateStudentInfo": { + "post": { + "X-EmptyLimit": [ + "personId", + "xm", + "mzm", + "zzmmm", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz" + ], + "X-IntRangeLimit": [ + { + "sfzjlxm": "1,4" + } + ], + "X-InterfaceName": [ + "UpdateBaseStudent" + ], + "X-LengthLimit": [ + { + "personId": "36,36" + }, + { + "xm": "2,30" + }, + { + "xbm": "1,1" + }, + { + "mzm": "2,2" + }, + { + "zzmmm": "2,2" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" + ], + "X-Sort": [ + 5 + ], + "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", + "type": "string" + }, + { + "description": "身份证件号", + "in": "formData", "name": "sfzjh", "type": "integer" }, @@ -1885,7 +1936,7 @@ var doc = `{ ] } }, - "/base/student/DownLoadStudentTemplateExcel": { + "/base/teacher/ExportTeacherAccountExcel": { "get": { "X-EmptyLimit": [ "orgId" @@ -1900,19 +1951,20 @@ var doc = `{ "2", "3", "4", + "5", "6", "7" ], "X-Sort": [ - 8 + 7 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "下载学生导入模板", + "description": "导出本单位教职工账号信息到EXCEL", "parameters": [ { - "description": "学校ID", + "description": "单位ID", "in": "query", "name": "orgId", "required": true, @@ -1930,52 +1982,52 @@ var doc = `{ } } }, - "summary": "下载学生导入模板", + "summary": "导出本单位教职工账号信息到EXCEL", "tags": [ - "学生信息" + "教师信息" ] } }, - "/base/teacher/SettingTeacherMultipleBureauInfo": { + "/base/teacher/ImportTeacherExcel": { "post": { "X-EmptyLimit": [ - "orgId", - "personId" + "orgId" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "personId": "36,36" } ], "X-RoleLimit": [ "1", + "2", "3", - "4" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 11 + 10 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "设置教师多单位", + "description": "导入教职工EXCEL", "parameters": [ { - "description": "部门ID", + "description": "单位ID", "in": "formData", "name": "orgId", "required": true, "type": "string" }, { - "description": "教职工ID", + "description": "EXCEL文件", "in": "formData", - "name": "personId", + "name": "excelFile", "required": true, - "type": "string" + "type": "file" } ], "produces": [ @@ -1989,52 +2041,45 @@ var doc = `{ } } }, - "summary": "设置教师多单位", + "summary": "导入教职工EXCEL", "tags": [ "教师信息" ] } }, - "/base/teacher/TeacherTransferInfo": { - "post": { + "/base/teacher/ExportTeacherExcel": { + "get": { "X-EmptyLimit": [ - "orgId", - "personId" + "orgId" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "personId": "36,36" } ], "X-RoleLimit": [ "1", + "2", "3", - "4" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 15 + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "教师调转单位", + "description": "导出本单位教职工信息到EXCEL", "parameters": [ { - "description": "部门ID", - "in": "formData", + "description": "单位ID", + "in": "query", "name": "orgId", "required": true, "type": "string" - }, - { - "description": "人员ID", - "in": "formData", - "name": "personId", - "required": true, - "type": "string" } ], "produces": [ @@ -2048,103 +2093,22 @@ var doc = `{ } } }, - "summary": "教师调转单位", + "summary": "导出本单位教职工信息到EXCEL", "tags": [ "教师信息" ] } }, - "/base/teacher/PageTeacherInfo": { + "/base/teacher/DownLoadTeacherTemplateExcel": { "get": { "X-EmptyLimit": [ - "page", - "limit", "orgId" ], - "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" - }, - { - "column_comment": "账号状态", - "column_name": "login_status", - "sample_data": "已启用" - }, - { - "column_comment": "学段名称", - "column_name": "stage_name", - "sample_data": "小学" - }, - { - "column_comment": "学科名称", - "column_name": "subject_name", - "sample_data": "数学" - } - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], - "X-InterfaceName": [ - "PageBaseTeacher" - ], "X-LengthLimit": [ { "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", - "main_school_id", - "province_code", - "city_code", - "district_code" - ], "X-RoleLimit": [ "1", "2", @@ -2155,42 +2119,19 @@ var doc = `{ "7" ], "X-Sort": [ - 1 - ], - "X-TableName": [ - "t_base_teacher" + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取教职工列表", + "description": "下载教职工导入模板", "parameters": [ { - "description": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, - { - "description": "部门ID", + "description": "单位ID", "in": "query", "name": "orgId", "required": true, "type": "string" - }, - { - "description": "教职工姓名", - "in": "query", - "name": "xm", - "type": "string" } ], "produces": [ @@ -2204,20 +2145,24 @@ var doc = `{ } } }, - "summary": "获取教职工列表", + "summary": "下载教职工导入模板", "tags": [ "教师信息" ] } }, - "/base/teacher/SettingMainOrgInfo": { + "/base/teacher/SettingTeacherMultipleBureauInfo": { "post": { "X-EmptyLimit": [ - "id" + "orgId", + "personId" ], "X-LengthLimit": [ { - "id": "36,36" + "orgId": "36,36" + }, + { + "personId": "36,36" } ], "X-RoleLimit": [ @@ -2226,22 +2171,22 @@ var doc = `{ "4" ], "X-Sort": [ - 14 + 11 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "设置主单位", + "description": "设置教师多单位", "parameters": [ { - "description": "ID", + "description": "部门ID", "in": "formData", - "name": "id", + "name": "orgId", "required": true, "type": "string" }, { - "description": "人员ID", + "description": "教职工ID", "in": "formData", "name": "personId", "required": true, @@ -2259,74 +2204,23 @@ var doc = `{ } } }, - "summary": "设置主单位", + "summary": "设置教师多单位", "tags": [ "教师信息" ] } }, - "/base/teacher/UpdateTeacherInfo": { + "/base/teacher/DeleteTeacherInfo": { "post": { "X-EmptyLimit": [ - "personId", - "xm", - "mzm", - "zzmmm", - "zcm", - "bzlbm", - "xlm", - "xwm" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - }, - { - "sfzjlxm": "1,4" - } + "personIds" ], "X-InterfaceName": [ - "UpdateBaseTeacher" + "DeleteBaseTeacher" ], "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" + "personIds": "36,1800" } ], "X-RoleLimit": [ @@ -2339,145 +2233,122 @@ var doc = `{ "7" ], "X-Sort": [ - 5 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改教职工信息", + "description": "删除教职工信息", "parameters": [ { - "description": "单位ID", + "description": "教职工ID,多个用逗号分隔", "in": "formData", - "name": "bureauId", + "name": "personIds", "required": true, "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "删除教职工信息", + "tags": [ + "教师信息" + ] + } + }, + "/base/teacher/SettingMainOrgInfo": { + "post": { + "X-EmptyLimit": [ + "id" + ], + "X-LengthLimit": [ { - "description": "教职工ID", + "id": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "3", + "4" + ], + "X-Sort": [ + 14 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "设置主单位", + "parameters": [ + { + "description": "ID", "in": "formData", - "name": "personId", + "name": "id", "required": true, "type": "string" }, { - "description": "教职工姓名", + "description": "人员ID", "in": "formData", - "name": "xm", + "name": "personId", "required": true, "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "设置主单位", + "tags": [ + "教师信息" + ] + } + }, + "/base/teacher/DeleteTeacherMultipleBureauInfo": { + "post": { + "X-EmptyLimit": [ + "id" + ], + "X-LengthLimit": [ { - "description": "身份证件类型(字典:sfzjlxm)", - "in": "formData", - "name": "sfzjlxm", - "type": "string" - }, + "id": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "3", + "4" + ], + "X-Sort": [ + 13 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除教职工所在多单位信息", + "parameters": [ { - "description": "证件号", + "description": "ID", "in": "formData", - "name": "sfzjh", + "name": "id", + "required": true, "type": "string" - }, - { - "description": "性别(字典:xbm)", - "in": "formData", - "name": "xbm", - "required": true, - "type": "string" - }, - { - "description": "出生日期", - "in": "formData", - "name": "csrq", - "required": true, - "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": "职务ID,多个用逗号分隔", - "in": "formData", - "name": "positionIds", - "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": [ @@ -2491,22 +2362,42 @@ var doc = `{ } } }, - "summary": "修改教职工信息", + "summary": "删除教职工所在多单位信息", "tags": [ "教师信息" ] } }, - "/base/teacher/ExportTeacherExcel": { + "/base/teacher/GetTeacherInfo": { "get": { "X-EmptyLimit": [ - "orgId" + "personId" + ], + "X-ExtendSwaggerField": [ + { + "column_comment": "部门名称", + "column_name": "org_name", + "sample_data": "语文组" + } + ], + "X-InterfaceName": [ + "GetBaseTeacher" ], "X-LengthLimit": [ { - "orgId": "36,36" + "personId": "36,36" } ], + "X-RemoveSwaggerField": [ + "identity_id", + "id_int", + "xmpy", + "cym", + "gwzym", + "b_use", + "state_id", + "last_updated_time" + ], "X-RoleLimit": [ "1", "2", @@ -2517,17 +2408,27 @@ var doc = `{ "7" ], "X-Sort": [ - 8 + 2 + ], + "X-TableName": [ + "t_base_teacher" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导出本单位教职工信息到EXCEL", + "description": "获取教职工信息", "parameters": [ + { + "description": "教职工ID", + "in": "query", + "name": "personId", + "required": true, + "type": "string" + }, { "description": "单位ID", "in": "query", - "name": "orgId", + "name": "bureauId", "required": true, "type": "string" } @@ -2543,56 +2444,50 @@ var doc = `{ } } }, - "summary": "导出本单位教职工信息到EXCEL", + "summary": "获取教职工信息", "tags": [ "教师信息" ] } }, - "/base/teacher/ReviseTeacherOrg": { + "/base/teacher/TeacherTransferInfo": { "post": { "X-EmptyLimit": [ - "personIds" + "orgId", + "personId" ], "X-LengthLimit": [ { - "personIds": "36,1800" - }, - { - "sourceOrgId": "36,36" + "orgId": "36,36" }, { - "targetOrgId": "36,36" + "personId": "36,36" } ], "X-RoleLimit": [ "1", - "2", "3", - "4", - "5", - "6", - "7" + "4" ], "X-Sort": [ - 6 + 15 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "调整教职工部门", + "description": "教师调转单位", "parameters": [ { - "description": "教职工ID,多个用逗号分隔", + "description": "部门ID", "in": "formData", - "name": "personIds", + "name": "orgId", "required": true, "type": "string" }, { - "description": "调整后的部门ID", + "description": "人员ID", "in": "formData", - "name": "orgId", + "name": "personId", "required": true, "type": "string" } @@ -2608,23 +2503,74 @@ var doc = `{ } } }, - "summary": "调整教职工部门", + "summary": "教师调转单位", "tags": [ "教师信息" ] } }, - "/base/teacher/DeleteTeacherInfo": { + "/base/teacher/AddTeacherInfo": { "post": { "X-EmptyLimit": [ - "personIds" + "orgId", + "xm", + "mzm", + "zzmmm", + "zcm", + "bzlbm", + "xlm", + "xwm" + ], + "X-IntRangeLimit": [ + { + "sortId": "1,9999" + }, + { + "sfzjlxm": "1,4" + } ], "X-InterfaceName": [ - "DeleteBaseTeacher" + "AddBaseTeacher" ], "X-LengthLimit": [ { - "personIds": "36,1800" + "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": [ @@ -2637,181 +2583,17 @@ var doc = `{ "7" ], "X-Sort": [ - 4 + 3 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除教职工信息", + "description": "增加教职工信息", "parameters": [ { - "description": "教职工ID,多个用逗号分隔", + "description": "部门ID", "in": "formData", - "name": "personIds", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除教职工信息", - "tags": [ - "教师信息" - ] - } - }, - "/base/teacher/PageTeacherMultipleBureauInfo": { - "get": { - "X-EmptyLimit": [ - "personId" - ], - "X-LengthLimit": [ - { - "personId": "36,36" - } - ], - "X-RemoveSwaggerField": [ - "identity_id", - "id_int", - "xmpy", - "cym", - "gwzym", - "b_use", - "state_id", - "last_updated_time" - ], - "X-RoleLimit": [ - "1", - "3", - "4" - ], - "X-Sort": [ - 12 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "根据教职工ID获取该教职工所在多单位列表", - "parameters": [ - { - "description": "教职工ID", - "in": "query", - "name": "personId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "根据教职工ID获取该教职工所在多单位列表", - "tags": [ - "教师信息" - ] - } - }, - "/base/teacher/AddTeacherInfo": { - "post": { - "X-EmptyLimit": [ - "orgId", - "xm", - "mzm", - "zzmmm", - "zcm", - "bzlbm", - "xlm", - "xwm" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - }, - { - "sfzjlxm": "1,4" - } - ], - "X-InterfaceName": [ - "AddBaseTeacher" - ], - "X-LengthLimit": [ - { - "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", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 3 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "增加教职工信息", - "parameters": [ - { - "description": "部门ID", - "in": "formData", - "name": "orgId", + "name": "orgId", "required": true, "type": "string" }, @@ -2952,16 +2734,97 @@ var doc = `{ ] } }, - "/base/teacher/ExportTeacherAccountExcel": { + "/base/teacher/PageTeacherInfo": { "get": { "X-EmptyLimit": [ + "page", + "limit", "orgId" ], + "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" + }, + { + "column_comment": "账号状态", + "column_name": "login_status", + "sample_data": "已启用" + }, + { + "column_comment": "学段名称", + "column_name": "stage_name", + "sample_data": "小学" + }, + { + "column_comment": "学科名称", + "column_name": "subject_name", + "sample_data": "数学" + } + ], + "X-IntRangeLimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } + ], + "X-InterfaceName": [ + "PageBaseTeacher" + ], "X-LengthLimit": [ { "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", + "main_school_id", + "province_code", + "city_code", + "district_code" + ], "X-RoleLimit": [ "1", "2", @@ -2972,19 +2835,42 @@ var doc = `{ "7" ], "X-Sort": [ - 7 + 1 + ], + "X-TableName": [ + "t_base_teacher" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导出本单位教职工账号信息到EXCEL", + "description": "获取教职工列表", "parameters": [ { - "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": "教职工姓名", + "in": "query", + "name": "xm", + "type": "string" } ], "produces": [ @@ -2998,20 +2884,26 @@ var doc = `{ } } }, - "summary": "导出本单位教职工账号信息到EXCEL", + "summary": "获取教职工列表", "tags": [ "教师信息" ] } }, - "/base/teacher/ImportTeacherExcel": { + "/base/teacher/ReviseTeacherOrg": { "post": { "X-EmptyLimit": [ - "orgId" + "personIds" ], "X-LengthLimit": [ { - "orgId": "36,36" + "personIds": "36,1800" + }, + { + "sourceOrgId": "36,36" + }, + { + "targetOrgId": "36,36" } ], "X-RoleLimit": [ @@ -3024,123 +2916,23 @@ var doc = `{ "7" ], "X-Sort": [ - 10 + 6 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导入教职工EXCEL", + "description": "调整教职工部门", "parameters": [ { - "description": "单位ID", + "description": "教职工ID,多个用逗号分隔", "in": "formData", - "name": "orgId", + "name": "personIds", "required": true, "type": "string" }, { - "description": "EXCEL文件", - "in": "formData", - "name": "excelFile", - "required": true, - "type": "file" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "导入教职工EXCEL", - "tags": [ - "教师信息" - ] - } - }, - "/base/teacher/DeleteTeacherMultipleBureauInfo": { - "post": { - "X-EmptyLimit": [ - "id" - ], - "X-LengthLimit": [ - { - "id": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "3", - "4" - ], - "X-Sort": [ - 13 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "删除教职工所在多单位信息", - "parameters": [ - { - "description": "ID", + "description": "调整后的部门ID", "in": "formData", - "name": "id", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除教职工所在多单位信息", - "tags": [ - "教师信息" - ] - } - }, - "/base/teacher/DownLoadTeacherTemplateExcel": { - "get": { - "X-EmptyLimit": [ - "orgId" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 9 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "下载教职工导入模板", - "parameters": [ - { - "description": "单位ID", - "in": "query", "name": "orgId", "required": true, "type": "string" @@ -3157,27 +2949,17 @@ var doc = `{ } } }, - "summary": "下载教职工导入模板", + "summary": "调整教职工部门", "tags": [ "教师信息" ] } }, - "/base/teacher/GetTeacherInfo": { + "/base/teacher/PageTeacherMultipleBureauInfo": { "get": { "X-EmptyLimit": [ "personId" ], - "X-ExtendSwaggerField": [ - { - "column_comment": "部门名称", - "column_name": "org_name", - "sample_data": "语文组" - } - ], - "X-InterfaceName": [ - "GetBaseTeacher" - ], "X-LengthLimit": [ { "personId": "36,36" @@ -3195,23 +2977,16 @@ var doc = `{ ], "X-RoleLimit": [ "1", - "2", "3", - "4", - "5", - "6", - "7" + "4" ], "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_teacher" + 12 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取教职工信息", + "description": "根据教职工ID获取该教职工所在多单位列表", "parameters": [ { "description": "教职工ID", @@ -3219,13 +2994,6 @@ var doc = `{ "name": "personId", "required": true, "type": "string" - }, - { - "description": "单位ID", - "in": "query", - "name": "bureauId", - "required": true, - "type": "string" } ], "produces": [ @@ -3239,80 +3007,225 @@ var doc = `{ } } }, - "summary": "获取教职工信息", + "summary": "根据教职工ID获取该教职工所在多单位列表", "tags": [ "教师信息" ] } }, - "/base/purview/PagePurviewInfoByBusinessCode": { - "get": { + "/base/teacher/UpdateTeacherInfo": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "businessCode" - ], - "X-IntLimit": [ - "page", - "limit" + "personId", + "xm", + "mzm", + "zzmmm", + "zcm", + "bzlbm", + "xlm", + "xwm" ], "X-IntRangeLimit": [ { - "page": "1,1000" + "sortId": "1,9999" }, { - "limit": "1,1000" + "sfzjlxm": "1,4" } ], "X-InterfaceName": [ - "PageBasePurview" + "UpdateBaseTeacher" ], "X-LengthLimit": [ { - "businessCode": "6,6" + "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_int", - "purview_type", - "menu_icon", - "b_use", - "last_updated_time" - ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "X-Sort": [ 5 ], - "X-TableName": [ - "t_base_purview" - ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据业务系统编码获取权限信息信息", + "description": "修改教职工信息", "parameters": [ { - "description": "第几页", - "in": "query", - "name": "page", + "description": "单位ID", + "in": "formData", + "name": "bureauId", "required": true, - "type": "integer" + "type": "string" }, { - "description": "一页显示多少条", - "in": "query", - "name": "limit", + "description": "教职工ID", + "in": "formData", + "name": "personId", "required": true, - "type": "integer" + "type": "string" }, { - "description": "业务系统编码", - "in": "query", - "name": "businessCode", + "description": "教职工姓名", + "in": "formData", + "name": "xm", + "required": true, + "type": "string" + }, + { + "description": "身份证件类型(字典:sfzjlxm)", + "in": "formData", + "name": "sfzjlxm", + "type": "string" + }, + { + "description": "证件号", + "in": "formData", + "name": "sfzjh", + "type": "string" + }, + { + "description": "性别(字典:xbm)", + "in": "formData", + "name": "xbm", + "required": true, + "type": "string" + }, + { + "description": "出生日期", + "in": "formData", + "name": "csrq", + "required": true, + "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": "职务ID,多个用逗号分隔", + "in": "formData", + "name": "positionIds", + "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": [ @@ -3326,17 +3239,18 @@ var doc = `{ } } }, - "summary": "根据业务系统编码获取权限信息信息", + "summary": "修改教职工信息", "tags": [ - "权限" + "教师信息" ] } }, - "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { + "/base/purview/PagePurviewInfoByBusinessCode": { "get": { "X-EmptyLimit": [ "page", - "limit" + "limit", + "businessCode" ], "X-IntLimit": [ "page", @@ -3353,24 +3267,23 @@ var doc = `{ "X-InterfaceName": [ "PageBasePurview" ], + "X-LengthLimit": [ + { + "businessCode": "6,6" + } + ], "X-RemoveSwaggerField": [ "id_int", "purview_type", - "business_code", + "menu_icon", "b_use", "last_updated_time" ], "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ], "X-Sort": [ - 6 + 5 ], "X-TableName": [ "t_base_purview" @@ -3378,7 +3291,7 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据人员ID和业务系统编码获取权限信息信息", + "description": "根据业务系统编码获取权限信息信息", "parameters": [ { "description": "第几页", @@ -3393,6 +3306,13 @@ var doc = `{ "name": "limit", "required": true, "type": "integer" + }, + { + "description": "业务系统编码", + "in": "query", + "name": "businessCode", + "required": true, + "type": "string" } ], "produces": [ @@ -3406,20 +3326,69 @@ var doc = `{ } } }, - "summary": "根据人员ID和业务系统编码获取权限信息信息", + "summary": "根据业务系统编码获取权限信息信息", "tags": [ "权限" ] } }, - "/base/purview/AddPurviewInfo": { + "/base/purview/DeletePurviewInfo": { + "post": { + "X-EmptyLimit": [ + "purviewIds" + ], + "X-InterfaceName": [ + "DeleteBasePurview" + ], + "X-LengthLimit": [ + { + "purviewIds": "36,1800" + } + ], + "X-RoleLimit": [ + "1" + ], + "X-Sort": [ + 2 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除权限信息", + "parameters": [ + { + "description": "权限ID,如果是多个用逗号分隔", + "in": "formData", + "name": "purviewIds", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "删除权限信息", + "tags": [ + "权限" + ] + } + }, + "/base/purview/UpdatePurviewInfo": { "post": { "X-EmptyLimit": [ + "purviewId", "purviewName", "businessCode", "purviewType", - "menuUrl", - "parentId" + "menuUrl" ], "X-IntLimit": [ "purviewType", @@ -3434,9 +3403,12 @@ var doc = `{ } ], "X-InterfaceName": [ - "AddBasePurview" + "UpdateBasePurview" ], "X-LengthLimit": [ + { + "purviewId": "36,36" + }, { "purviewName": "1,100" }, @@ -3445,22 +3417,26 @@ var doc = `{ }, { "menuUrl": "1,300" - }, - { - "parentId": "36,36" } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 1 + 3 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加权限信息", + "description": "修改权限信息", "parameters": [ + { + "description": "权限ID", + "in": "formData", + "name": "purviewId", + "required": true, + "type": "string" + }, { "description": "权限名称", "in": "formData", @@ -3489,13 +3465,6 @@ var doc = `{ "required": true, "type": "string" }, - { - "description": "父节点ID", - "in": "formData", - "name": "parentId", - "required": true, - "type": "string" - }, { "description": "排序号", "in": "formData", @@ -3514,69 +3483,20 @@ var doc = `{ } } }, - "summary": "增加权限信息", + "summary": "修改权限信息", "tags": [ "权限" ] } }, - "/base/purview/DeletePurviewInfo": { + "/base/purview/AddPurviewInfo": { "post": { "X-EmptyLimit": [ - "purviewIds" - ], - "X-InterfaceName": [ - "DeleteBasePurview" - ], - "X-LengthLimit": [ - { - "purviewIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 2 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "删除权限信息", - "parameters": [ - { - "description": "权限ID,如果是多个用逗号分隔", - "in": "formData", - "name": "purviewIds", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除权限信息", - "tags": [ - "权限" - ] - } - }, - "/base/purview/UpdatePurviewInfo": { - "post": { - "X-EmptyLimit": [ - "purviewId", - "purviewName", - "businessCode", - "purviewType", - "menuUrl" + "purviewName", + "businessCode", + "purviewType", + "menuUrl", + "parentId" ], "X-IntLimit": [ "purviewType", @@ -3591,12 +3511,9 @@ var doc = `{ } ], "X-InterfaceName": [ - "UpdateBasePurview" + "AddBasePurview" ], "X-LengthLimit": [ - { - "purviewId": "36,36" - }, { "purviewName": "1,100" }, @@ -3605,26 +3522,22 @@ var doc = `{ }, { "menuUrl": "1,300" + }, + { + "parentId": "36,36" } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 3 + 1 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改权限信息", + "description": "增加权限信息", "parameters": [ - { - "description": "权限ID", - "in": "formData", - "name": "purviewId", - "required": true, - "type": "string" - }, { "description": "权限名称", "in": "formData", @@ -3653,6 +3566,13 @@ var doc = `{ "required": true, "type": "string" }, + { + "description": "父节点ID", + "in": "formData", + "name": "parentId", + "required": true, + "type": "string" + }, { "description": "排序号", "in": "formData", @@ -3671,7 +3591,7 @@ var doc = `{ } } }, - "summary": "修改权限信息", + "summary": "增加权限信息", "tags": [ "权限" ] @@ -3736,125 +3656,67 @@ var doc = `{ ] } }, - "/base/class/GetRxnfInfo": { + "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { "get": { - "X-InterfaceName": [ - "PageBaseClass" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 8 + "X-EmptyLimit": [ + "page", + "limit" ], - "consumes": [ - "application/x-www-form-urlencoded" + "X-IntLimit": [ + "page", + "limit" ], - "description": "根据学校ID和学部(学段)ID获取入学年份", - "parameters": [ + "X-IntRangeLimit": [ { - "description": "学校ID", - "in": "query", - "name": "orgId", - "required": true, - "type": "string" + "page": "1,1000" }, { - "description": "学部(学段)ID", - "in": "query", - "name": "stageId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "根据学校ID和学部(学段)ID获取入学年份", - "tags": [ - "班级信息" - ] - } - }, - "/base/class/ImportXJCSV": { - "post": { - "X-Sort": [ - 9 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导入学籍CSV文件", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } + "limit": "1,1000" } - }, - "summary": "导入学籍CSV文件", - "tags": [ - "班级信息" - ] - } - }, - "/base/class/DeleteClassInfo": { - "post": { - "X-EmptyLimit": [ - "classIds" ], "X-InterfaceName": [ - "DeleteBaseClass" + "PageBasePurview" ], - "X-LengthLimit": [ - { - "classId": "36,1800" - } + "X-RemoveSwaggerField": [ + "id_int", + "purview_type", + "business_code", + "b_use", + "last_updated_time" ], "X-RoleLimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "X-Sort": [ - 4 + 6 + ], + "X-TableName": [ + "t_base_purview" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除班级信息", + "description": "根据人员ID和业务系统编码获取权限信息信息", "parameters": [ { - "description": "班级ID,多个用逗号分隔", - "in": "formData", - "name": "classIds", + "description": "第几页", + "in": "query", + "name": "page", "required": true, - "type": "string" + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" } ], "produces": [ @@ -3868,9 +3730,9 @@ var doc = `{ } } }, - "summary": "删除班级信息", + "summary": "根据人员ID和业务系统编码获取权限信息信息", "tags": [ - "班级信息" + "权限" ] } }, @@ -3971,44 +3833,92 @@ var doc = `{ ] } }, - "/base/class/AddClassInfo": { + "/base/class/ImportXJCSV": { "post": { + "X-Sort": [ + 9 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "导入学籍CSV文件", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "导入学籍CSV文件", + "tags": [ + "班级信息" + ] + } + }, + "/base/class/PageClassInfo": { + "get": { "X-EmptyLimit": [ + "page", + "limit", "orgId", "stageId", - "schoolingLength", - "rxnf", - "startBh", - "endBh" + "rxnf" ], - "X-IntRangeLimit": [ - { - "rxnf": "1990,2100" - }, + "X-ExtendSwaggerField": [ { - "schoolingLength": "1,10" + "column_comment": "学生人数", + "column_name": "student_count", + "sample_data": "41" }, { - "startBh": "1,999" - }, + "column_comment": "班主任", + "column_name": "teacher_name", + "sample_data": "李老师" + } + ], + "X-IntRangeLimit": [ { - "endBh": "1,999" + "page": "1,1000" + }, + { + "limit": "1,1000" + }, + { + "rxnf": "1990,2100" } ], "X-InterfaceName": [ - "AddBaseClass" + "PageBaseClass" ], "X-LengthLimit": [ { "orgId": "36,36" }, { - "xbm": "1,1" - }, - { - "classAlias": "1,30" + "removeClassId": "36,36" } ], + "X-RemoveSwaggerField": [ + "id_int", + "bh", + "class_code", + "rxnf", + "rxjj", + "schooling_length", + "stage_id", + "org_id", + "bureau_id", + "b_use", + "province_code", + "city_code", + "district_code", + "main_school_id", + "last_updated_time" + ], "X-RoleLimit": [ "1", "2", @@ -4018,57 +3928,55 @@ var doc = `{ "7" ], "X-Sort": [ - 3 + 1 + ], + "X-TableName": [ + "t_base_class" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加班级信息", + "description": "获取班级列表", "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { "description": "学校ID", - "in": "formData", + "in": "query", "name": "orgId", "required": true, "type": "string" }, { "description": "学部ID", - "in": "formData", + "in": "query", "name": "stageId", "required": true, "type": "string" }, - { - "description": "学制", - "in": "formData", - "name": "schoolingLength", - "required": true, - "type": "integer" - }, { "description": "入学年份", - "in": "formData", + "in": "query", "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", + "description": "需要滤掉的班级ID", + "in": "query", + "name": "removeClassId", "type": "string" } ], @@ -4083,7 +3991,7 @@ var doc = `{ } } }, - "summary": "增加班级信息", + "summary": "获取班级列表", "tags": [ "班级信息" ] @@ -4154,65 +4062,19 @@ var doc = `{ ] } }, - "/base/class/PageClassInfo": { + "/base/class/GetStageInfo": { "get": { - "X-EmptyLimit": [ - "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-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - }, - { - "rxnf": "1990,2100" - } - ], "X-InterfaceName": [ "PageBaseClass" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "removeClassId": "36,36" } ], "X-RemoveSwaggerField": [ - "id_int", - "bh", - "class_code", - "rxnf", - "rxjj", - "schooling_length", - "stage_id", - "org_id", - "bureau_id", "b_use", - "province_code", - "city_code", - "district_code", - "main_school_id", - "last_updated_time" + "sort_id" ], "X-RoleLimit": [ "1", @@ -4223,56 +4085,22 @@ var doc = `{ "7" ], "X-Sort": [ - 1 + 7 ], "X-TableName": [ - "t_base_class" + "t_dm_stage" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取班级列表", + "description": "获取学段信息", "parameters": [ - { - "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", - "name": "removeClassId", - "type": "string" } ], "produces": [ @@ -4286,26 +4114,29 @@ var doc = `{ } } }, - "summary": "获取班级列表", + "summary": "获取学段信息", "tags": [ "班级信息" ] } }, - "/base/class/GetStageInfo": { - "get": { + "/base/class/UpdateClassInfo": { + "post": { + "X-EmptyLimit": [ + "classId", + "classAlias" + ], "X-InterfaceName": [ - "PageBaseClass" + "UpdateBaseClass" ], "X-LengthLimit": [ { - "orgId": "36,36" + "classId": "36,36" + }, + { + "classAlias": "1,30" } ], - "X-RemoveSwaggerField": [ - "b_use", - "sort_id" - ], "X-RoleLimit": [ "1", "2", @@ -4315,20 +4146,24 @@ var doc = `{ "7" ], "X-Sort": [ - 7 - ], - "X-TableName": [ - "t_dm_stage" + 5 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取学段信息", + "description": "修改班级信息(只允许修改班级别名)", "parameters": [ { - "description": "学校ID", - "in": "query", - "name": "orgId", + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" + }, + { + "description": "班级别名", + "in": "formData", + "name": "classAlias", "required": true, "type": "string" } @@ -4344,27 +4179,23 @@ var doc = `{ } } }, - "summary": "获取学段信息", + "summary": "修改班级信息(只允许修改班级别名)", "tags": [ "班级信息" ] } }, - "/base/class/UpdateClassInfo": { + "/base/class/DeleteClassInfo": { "post": { "X-EmptyLimit": [ - "classId", - "classAlias" + "classIds" ], "X-InterfaceName": [ - "UpdateBaseClass" + "DeleteBaseClass" ], "X-LengthLimit": [ { - "classId": "36,36" - }, - { - "classAlias": "1,30" + "classId": "36,1800" } ], "X-RoleLimit": [ @@ -4376,24 +4207,17 @@ var doc = `{ "7" ], "X-Sort": [ - 5 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改班级信息(只允许修改班级别名)", + "description": "删除班级信息", "parameters": [ { - "description": "班级ID", - "in": "formData", - "name": "classId", - "required": true, - "type": "string" - }, - { - "description": "班级别名", + "description": "班级ID,多个用逗号分隔", "in": "formData", - "name": "classAlias", + "name": "classIds", "required": true, "type": "string" } @@ -4409,53 +4233,110 @@ var doc = `{ } } }, - "summary": "修改班级信息(只允许修改班级别名)", + "summary": "删除班级信息", "tags": [ "班级信息" ] } }, - "/base/loginperson/RemoveCookie": { - "get": { - "X-Sort": [ - 10 + "/base/class/AddClassInfo": { + "post": { + "X-EmptyLimit": [ + "orgId", + "stageId", + "schoolingLength", + "rxnf", + "startBh", + "endBh" ], - "consumes": [ - "application/x-www-form-urlencoded" + "X-IntRangeLimit": [ + { + "rxnf": "1990,2100" + }, + { + "schoolingLength": "1,10" + }, + { + "startBh": "1,999" + }, + { + "endBh": "1,999" + } ], - "description": "移除Cookie", - "produces": [ - "application/json" + "X-InterfaceName": [ + "AddBaseClass" ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } + "X-LengthLimit": [ + { + "orgId": "36,36" + }, + { + "xbm": "1,1" + }, + { + "classAlias": "1,30" } - }, - "summary": "移除Cookie", - "tags": [ - "登录信息" - ] - } - }, - "/base/loginperson/UnbindAuthorizationInfo": { - "post": { + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" + ], "X-Sort": [ - 13 + 3 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "解除绑定第三方授权", + "description": "增加班级信息", "parameters": [ { - "description": "第三方授权类型名 qq:QQ wx:微信", + "description": "学校ID", "in": "formData", - "name": "typeName", + "name": "orgId", + "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" } ], @@ -4470,50 +4351,20 @@ var doc = `{ } } }, - "summary": "解除绑定第三方授权", + "summary": "增加班级信息", "tags": [ - "登录信息" + "班级信息" ] } }, - "/base/loginperson/GetBindAuthorizationInfo": { + "/base/class/GetRxnfInfo": { "get": { - "X-Sort": [ - 12 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取已绑定的第三方授权", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取已绑定的第三方授权", - "tags": [ - "登录信息" - ] - } - }, - "/base/loginperson/UpdateLoginPassWordInfo": { - "post": { - "X-EmptyLimit": [ - "oldPassWord", - "newPassWord" + "X-InterfaceName": [ + "PageBaseClass" ], "X-LengthLimit": [ { - "oldPassWord": "6,18" - }, - { - "newPassWord": "6,18" + "orgId": "36,36" } ], "X-RoleLimit": [ @@ -4521,29 +4372,28 @@ var doc = `{ "2", "3", "4", - "5", "6", "7" ], "X-Sort": [ - 11 + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改登录密码", + "description": "根据学校ID和学部(学段)ID获取入学年份", "parameters": [ { - "description": "原密码", - "in": "formData", - "name": "oldPassWord", + "description": "学校ID", + "in": "query", + "name": "orgId", "required": true, "type": "string" }, { - "description": "新密码", - "in": "formData", - "name": "newPassWord", + "description": "学部(学段)ID", + "in": "query", + "name": "stageId", "required": true, "type": "string" } @@ -4559,20 +4409,21 @@ var doc = `{ } } }, - "summary": "修改登录密码", + "summary": "根据学校ID和学部(学段)ID获取入学年份", "tags": [ - "登录信息" + "班级信息" ] } }, - "/base/loginperson/ResetManagerPassWord": { - "post": { + "/base/loginperson/ExportBureauManagerInfoExcel": { + "get": { "X-EmptyLimit": [ - "ids" + "areaCode", + "orgType" ], "X-LengthLimit": [ { - "ids": "36,1800" + "areaCode": "6,6" } ], "X-RoleLimit": [ @@ -4580,24 +4431,29 @@ var doc = `{ "2", "3", "4", - "5", - "6", "7" ], "X-Sort": [ - 7 + 6 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "重置管理员密码", + "description": "导出单位管理员的EXCEL", "parameters": [ { - "description": "一个或多个ID,多个用逗号分隔", - "in": "formData", - "name": "ids", + "description": "地区码", + "in": "query", + "name": "areaCode", "required": true, "type": "string" + }, + { + "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", + "in": "query", + "name": "orgType", + "required": true, + "type": "integer" } ], "produces": [ @@ -4611,43 +4467,42 @@ var doc = `{ } } }, - "summary": "重置管理员密码", + "summary": "导出单位管理员的EXCEL", "tags": [ "登录信息" ] } }, - "/base/loginperson/EnableAccountInfo": { - "post": { + "/base/loginperson/ExportAreaManagerInfoExcel": { + "get": { "X-EmptyLimit": [ - "personIds" + "areaCode" + ], + "X-InterfaceName": [ + "PageSysLoginperson" ], "X-LengthLimit": [ { - "personIds": "36,1800" + "areaCode": "6,6" } ], "X-RoleLimit": [ "1", "2", - "3", - "4", - "5", - "6", - "7" + "3" ], "X-Sort": [ - 8 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "启用账号信息", + "description": "导出地区管理员到EXCEL(虚拟)", "parameters": [ { - "description": "一个或多个ID,多个用逗号分隔", - "in": "formData", - "name": "personIds", + "description": "地区码", + "in": "query", + "name": "areaCode", "required": true, "type": "string" } @@ -4663,13 +4518,13 @@ var doc = `{ } } }, - "summary": "启用账号信息", + "summary": "导出地区管理员到EXCEL(虚拟)", "tags": [ "登录信息" ] } }, - "/base/loginperson/DisableAccountInfo": { + "/base/loginperson/EnableAccountInfo": { "post": { "X-EmptyLimit": [ "personIds" @@ -4689,12 +4544,12 @@ var doc = `{ "7" ], "X-Sort": [ - 9 + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "禁用账号信息", + "description": "启用账号信息", "parameters": [ { "description": "一个或多个ID,多个用逗号分隔", @@ -4715,104 +4570,21 @@ var doc = `{ } } }, - "summary": "禁用账号信息", + "summary": "启用账号信息", "tags": [ "登录信息" ] } }, - "/base/loginperson/ExportBureauManagerInfoExcel": { + "/base/loginperson/GetBindAuthorizationInfo": { "get": { - "X-EmptyLimit": [ - "areaCode", - "orgType" + "X-Sort": [ + 12 ], - "X-LengthLimit": [ - { - "areaCode": "6,6" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "7" - ], - "X-Sort": [ - 6 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导出单位管理员的EXCEL", - "parameters": [ - { - "description": "地区码", - "in": "query", - "name": "areaCode", - "required": true, - "type": "string" - }, - { - "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", - "in": "query", - "name": "orgType", - "required": true, - "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "导出单位管理员的EXCEL", - "tags": [ - "登录信息" - ] - } - }, - "/base/loginperson/ExportAreaManagerInfoExcel": { - "get": { - "X-EmptyLimit": [ - "areaCode" - ], - "X-InterfaceName": [ - "PageSysLoginperson" - ], - "X-LengthLimit": [ - { - "areaCode": "6,6" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3" - ], - "X-Sort": [ - 4 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导出地区管理员到EXCEL(虚拟)", - "parameters": [ - { - "description": "地区码", - "in": "query", - "name": "areaCode", - "required": true, - "type": "string" - } + "consumes": [ + "application/x-www-form-urlencoded" ], + "description": "获取已绑定的第三方授权", "produces": [ "application/json" ], @@ -4824,7 +4596,7 @@ var doc = `{ } } }, - "summary": "导出地区管理员到EXCEL(虚拟)", + "summary": "获取已绑定的第三方授权", "tags": [ "登录信息" ] @@ -4925,6 +4697,119 @@ var doc = `{ ] } }, + "/base/loginperson/ResetManagerPassWord": { + "post": { + "X-EmptyLimit": [ + "ids" + ], + "X-LengthLimit": [ + { + "ids": "36,1800" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 7 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "重置管理员密码", + "parameters": [ + { + "description": "一个或多个ID,多个用逗号分隔", + "in": "formData", + "name": "ids", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "重置管理员密码", + "tags": [ + "登录信息" + ] + } + }, + "/base/loginperson/UnbindAuthorizationInfo": { + "post": { + "X-Sort": [ + 13 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "解除绑定第三方授权", + "parameters": [ + { + "description": "第三方授权类型名 qq:QQ wx:微信", + "in": "formData", + "name": "typeName", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "解除绑定第三方授权", + "tags": [ + "登录信息" + ] + } + }, + "/base/loginperson/RemoveCookie": { + "get": { + "X-Sort": [ + 10 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "移除Cookie", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "移除Cookie", + "tags": [ + "登录信息" + ] + } + }, "/base/loginperson/PageAreaManagerInfo": { "get": { "X-EmptyLimit": [ @@ -5013,57 +4898,16 @@ var doc = `{ ] } }, - "/base/organization/GetOrgInfo": { - "get": { + "/base/loginperson/DisableAccountInfo": { + "post": { "X-EmptyLimit": [ - "orgId" - ], - "X-ExtendSwaggerField": [ - { - "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" + "personIds" ], "X-LengthLimit": [ { - "orgId": "36,36" + "personIds": "36,1800" } ], - "X-RemoveSwaggerField": [ - "id_int", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "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", @@ -5074,22 +4918,19 @@ var doc = `{ "7" ], "X-Sort": [ - 18 - ], - "X-TableName": [ - "t_base_organization" + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取部门信息", + "description": "禁用账号信息", "parameters": [ { - "description": "部门ID", - "in": "query", - "name": "orgId", - "required": true, - "type": "string" + "description": "一个或多个ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" } ], "produces": [ @@ -5103,68 +4944,105 @@ var doc = `{ } } }, - "summary": "获取部门信息", + "summary": "禁用账号信息", "tags": [ - "组织机构" + "登录信息" ] } }, - "/base/organization/GetEduAssistInfoById": { - "get": { + "/base/loginperson/UpdateLoginPassWordInfo": { + "post": { "X-EmptyLimit": [ - "orgId" + "oldPassWord", + "newPassWord" ], - "X-InterfaceName": [ - "GetBaseOrganization" + "X-LengthLimit": [ + { + "oldPassWord": "6,18" + }, + { + "newPassWord": "6,18" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 11 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "修改登录密码", + "parameters": [ + { + "description": "原密码", + "in": "formData", + "name": "oldPassWord", + "required": true, + "type": "string" + }, + { + "description": "新密码", + "in": "formData", + "name": "newPassWord", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改登录密码", + "tags": [ + "登录信息" + ] + } + }, + "/base/organization/ListOrgByOrgKeyWord": { + "get": { + "X-EmptyLimit": [ + "keyWord" ], "X-LengthLimit": [ { - "orgId": "36,36" + "keyWord": "2,30" } ], "X-RemoveSwaggerField": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "org_lng", - "org_lat", - "b_use", - "province_code", - "city_code", - "district_code", - "last_updated_time" + "id_int" ], "X-RoleLimit": [ "1", - "2", "3", "4" ], "X-Sort": [ - 8 - ], - "X-TableName": [ - "t_base_organization" + 23 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据教辅单位ID获取教辅单位信息", + "description": "根据单位名称的关键字和管理员的人员ID查询单位列表", "parameters": [ { - "description": "教辅单位ID", + "description": "单位名称关键字", "in": "query", - "name": "orgId", + "name": "keyWord", "required": true, "type": "string" } @@ -5180,115 +5058,207 @@ var doc = `{ } } }, - "summary": "根据教辅单位ID获取教辅单位信息", + "summary": "根据单位名称的关键字和管理员的人员ID查询单位列表", "tags": [ "组织机构" ] } }, - "/base/organization/PageEnableEduInfo": { - "get": { + "/base/organization/UpdateEduInfo": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "areaCode" + "orgId", + "orgCode", + "orgName" ], - "X-ExtendSwaggerField": [ + "X-IntRangeLimit": [ { - "column_comment": "登录账号", - "column_name": "login_name", - "sample_data": "sys001" + "sortId": "1,9999" + } + ], + "X-InterfaceName": [ + "UpdateBaseOrganization" + ], + "X-LengthLimit": [ + { + "orgId": "36,36" }, { - "column_comment": "初始密码", - "column_name": "login_pwd", - "sample_data": "741369" + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" + }, + { + "address": "2,100" + }, + { + "lxdh": "2,30" } ], - "X-IntRangeLimit": [ + "X-RoleLimit": [ + "1" + ], + "X-Sort": [ + 6 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "修改教育局信息", + "parameters": [ { - "page": "1,1000" + "description": "教育局ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" }, { - "limit": "1,1000" + "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", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改教育局信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/UpdateOrgInfo": { + "post": { + "X-EmptyLimit": [ + "orgId", + "orgCode", + "orgName" + ], + "X-IntRangeLimit": [ + { + "sortId": "1,9999" + } + ], + "X-InterfaceName": [ + "UpdateBaseOrganization" + ], "X-LengthLimit": [ { - "areaCode": "6,6" + "orgId": "36,36" + }, + { + "orgCode": "2,20" }, { "orgName": "1,30" + }, + { + "orgManagerIds": "36,1800" } ], - "X-RemoveSwaggerField": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "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" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 1 - ], - "X-TableName": [ - "t_base_organization" + 20 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取已启用的教育局列表", + "description": "修改部门信息", "parameters": [ { - "description": "第几页", - "in": "query", - "name": "page", + "description": "部门ID", + "in": "formData", + "name": "orgId", "required": true, - "type": "integer" + "type": "string" }, { - "description": "一页显示多少条", - "in": "query", - "name": "limit", + "description": "部门编码", + "in": "formData", + "name": "orgCode", "required": true, - "type": "integer" + "type": "string" }, { - "description": "行政区划编码", - "in": "query", - "name": "areaCode", + "description": "部门名称", + "in": "formData", + "name": "orgName", "required": true, "type": "string" }, { - "description": "教育局名称", - "in": "query", - "name": "orgName", + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" + }, + { + "description": "部门领导的人员ID", + "in": "formData", + "name": "orgManagerIds", "type": "string" } ], @@ -5303,16 +5273,16 @@ var doc = `{ } } }, - "summary": "获取已启用的教育局列表", + "summary": "修改部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/AddOrgInfo": { + "/base/organization/AddSchoolInfo": { "post": { "X-EmptyLimit": [ - "orgId", + "areaCode", "orgCode", "orgName" ], @@ -5326,7 +5296,7 @@ var doc = `{ ], "X-LengthLimit": [ { - "orgId": "36,36" + "areaCode": "6,6" }, { "orgCode": "2,20" @@ -5335,10 +5305,13 @@ var doc = `{ "orgName": "1,30" }, { - "parentId": "36,36" + "fddbr": "2,30" }, { - "orgManagerIds": "36,1800" + "fddbrdh": "2,30" + }, + { + "address": "2,100" } ], "X-RoleLimit": [ @@ -5346,57 +5319,113 @@ var doc = `{ "2", "3", "4", - "5", - "6", "7" ], "X-Sort": [ - 19 + 14 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加部门信息", + "description": "增加学校信息", "parameters": [ { - "description": "单位ID", + "description": "行政区划编码", + "in": "formData", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "description": "学校编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" + }, + { + "description": "学校名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "是否为分校 -1:非分校 1:是分校", + "in": "formData", + "name": "isBranchSchool", + "required": true, + "type": "integer" + }, + { + "description": "主校ID(是分校时才传)", "in": "formData", - "name": "orgId", + "name": "mainSchoolId", + "type": "string" + }, + { + "description": "上级管理单位行政区划编码", + "in": "formData", + "name": "managerAreaCode", "required": true, "type": "string" }, { - "description": "部门编码", + "description": "学校办学类型(字典:xxbxlxm)", "in": "formData", - "name": "orgCode", + "name": "xxbxlxm", "required": true, "type": "string" }, { - "description": "部门名称", + "description": "学校城乡类型(字典:szdcxlxm)", "in": "formData", - "name": "orgName", + "name": "szdcxlxm", "required": true, "type": "string" }, { - "description": "上级部门ID", + "description": "学校举办者(字典:xxjbzm)", "in": "formData", - "name": "parentId", + "name": "xxjbzm", "required": true, "type": "string" }, { - "description": "排序号", + "description": "附设班办学类型ID,多个用逗号分隔", "in": "formData", - "name": "sortId", - "type": "integer" + "name": "fsbIds", + "type": "string" }, { - "description": "部门领导的人员ID", + "description": "学校法定代表人", "in": "formData", - "name": "orgManagerIds", + "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": [ @@ -5410,19 +5439,31 @@ var doc = `{ } } }, - "summary": "增加部门信息", + "summary": "增加学校信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageEduAssistInfo": { + "/base/organization/PageEnableEduInfo": { "get": { "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" + } + ], "X-IntRangeLimit": [ { "page": "1,1000" @@ -5468,12 +5509,11 @@ var doc = `{ ], "X-RoleLimit": [ "1", - "2", "3", "4" ], "X-Sort": [ - 7 + 1 ], "X-TableName": [ "t_base_organization" @@ -5481,7 +5521,7 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取教辅单位列表", + "description": "获取已启用的教育局列表", "parameters": [ { "description": "第几页", @@ -5505,7 +5545,7 @@ var doc = `{ "type": "string" }, { - "description": "教辅单位名称", + "description": "教育局名称", "in": "query", "name": "orgName", "type": "string" @@ -5522,7 +5562,7 @@ var doc = `{ } } }, - "summary": "获取教辅单位列表", + "summary": "获取已启用的教育局列表", "tags": [ "组织机构" ] @@ -5580,36 +5620,81 @@ var doc = `{ ] } }, - "/base/organization/ListOrgByOrgKeyWord": { + "/base/organization/GetOrgInfo": { "get": { "X-EmptyLimit": [ - "keyWord" + "orgId" + ], + "X-ExtendSwaggerField": [ + { + "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": [ { - "keyWord": "2,30" + "orgId": "36,36" } ], "X-RemoveSwaggerField": [ - "id_int" + "id_int", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "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" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 23 + 18 + ], + "X-TableName": [ + "t_base_organization" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据单位名称的关键字和管理员的人员ID查询单位列表", + "description": "获取部门信息", "parameters": [ { - "description": "单位名称关键字", + "description": "部门ID", "in": "query", - "name": "keyWord", + "name": "orgId", "required": true, "type": "string" } @@ -5625,111 +5710,111 @@ var doc = `{ } } }, - "summary": "根据单位名称的关键字和管理员的人员ID查询单位列表", + "summary": "获取部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageMainSchoolInfo": { - "get": { + "/base/organization/EnableEdu": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "areaCode" - ], - "X-ExtendSwaggerField": [ - { - "column_comment": "学校办学类型名称", - "column_name": "xxbxlxm_name", - "sample_data": "小学" - } + "orgId", + "orgCode", + "orgName" ], "X-IntRangeLimit": [ { - "page": "1,1000" - }, - { - "limit": "1,1000" + "sortId": "1,9999" } ], "X-InterfaceName": [ - "PageBaseOrganization" + "UpdateBaseOrganization" ], "X-LengthLimit": [ { - "areaCode": "6,6" + "orgId": "36,36" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" + }, + { + "address": "2,100" + }, + { + "lxdh": "2,30" } ], - "X-RemoveSwaggerField": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_id", - "manage_org_id", - "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" + "1" ], "X-Sort": [ - 12 - ], - "X-TableName": [ - "t_base_organization" + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取主校列表", + "description": "启用教育局", "parameters": [ { - "description": "第几页", - "in": "query", - "name": "page", + "description": "教育局ID", + "in": "formData", + "name": "orgId", "required": true, - "type": "integer" + "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": "query", - "name": "limit", - "required": true, - "type": "integer" + "description": "教育局法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" }, { - "description": "行政区划编码", - "in": "query", - "name": "areaCode", - "required": true, + "description": "教育局地址", + "in": "formData", + "name": "address", "type": "string" }, { - "description": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", - "in": "query", - "name": "orgId", + "description": "联系电话", + "in": "formData", + "name": "lxdh", "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], "produces": [ @@ -5743,13 +5828,13 @@ var doc = `{ } } }, - "summary": "获取主校列表", + "summary": "启用教育局", "tags": [ "组织机构" ] } }, - "/base/organization/AddSchoolInfo": { + "/base/organization/AddEduAssistInfo": { "post": { "X-EmptyLimit": [ "areaCode", @@ -5782,22 +5867,24 @@ var doc = `{ }, { "address": "2,100" + }, + { + "lxdh": "2,30" } ], "X-RoleLimit": [ "1", "2", "3", - "4", - "7" + "4" ], "X-Sort": [ - 14 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加学校信息", + "description": "增加教辅单位信息", "parameters": [ { "description": "行政区划编码", @@ -5807,80 +5894,33 @@ var doc = `{ "type": "string" }, { - "description": "学校编码", + "description": "教辅单位编码", "in": "formData", "name": "orgCode", "required": true, "type": "string" }, { - "description": "学校名称", + "description": "教辅单位名称", "in": "formData", "name": "orgName", "required": true, "type": "string" }, { - "description": "是否为分校 -1:非分校 1:是分校", - "in": "formData", - "name": "isBranchSchool", - "required": true, - "type": "integer" - }, - { - "description": "主校ID(是分校时才传)", - "in": "formData", - "name": "mainSchoolId", - "type": "string" - }, - { - "description": "上级管理单位行政区划编码", - "in": "formData", - "name": "managerAreaCode", - "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": "附设班办学类型ID,多个用逗号分隔", - "in": "formData", - "name": "fsbIds", - "type": "string" - }, - { - "description": "学校法定代表人", + "description": "教辅单位法定代表人", "in": "formData", "name": "fddbr", "type": "string" }, { - "description": "学校法定代表人电话", + "description": "教辅单位法定代表人电话", "in": "formData", "name": "fddbrdh", "type": "string" }, { - "description": "学校地址", + "description": "教辅单位地址", "in": "formData", "name": "address", "type": "string" @@ -5909,111 +5949,164 @@ var doc = `{ } } }, - "summary": "增加学校信息", + "summary": "增加教辅单位信息", "tags": [ "组织机构" ] } }, - "/base/organization/UpdateEduInfo": { - "post": { + "/base/organization/GetSchoolInfoById": { + "get": { "X-EmptyLimit": [ - "orgId", - "orgCode", - "orgName" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } + "orgId" ], "X-InterfaceName": [ - "UpdateBaseOrganization" + "GetBaseOrganization" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" - }, - { - "lxdh": "2,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", + "last_updated_time" + ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4", + "7" ], "X-Sort": [ - 6 + 13 + ], + "X-TableName": [ + "t_base_organization" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改教育局信息", + "description": "根据学校ID获取学校信息", "parameters": [ { - "description": "教育局ID", - "in": "formData", + "description": "学校ID", + "in": "query", "name": "orgId", "required": true, "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据学校ID获取学校信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/DeleteSchoolInfo": { + "post": { + "X-EmptyLimit": [ + "orgIds" + ], + "X-InterfaceName": [ + "DeleteBaseOrganization" + ], + "X-LengthLimit": [ { - "description": "教育局编码", - "in": "formData", - "name": "orgCode", - "required": true, - "type": "string" - }, + "orgIds": "36,1800" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "7" + ], + "X-Sort": [ + 16 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除学校信息", + "parameters": [ { - "description": "教育局名称", + "description": "学校ID,如果是多个用逗号分隔", "in": "formData", - "name": "orgName", + "name": "orgIds", "required": true, "type": "string" - }, - { - "description": "教育局法定代表人", - "in": "formData", - "name": "fddbr", - "type": "string" - }, - { - "description": "教育局法定代表人电话", - "in": "formData", - "name": "fddbrdh", - "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "删除学校信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/ListEduByCityCodeInfo": { + "get": { + "X-EmptyLimit": [ + "cityCode" + ], + "X-LengthLimit": [ { - "description": "教育局地址", - "in": "formData", - "name": "address", - "type": "string" - }, + "cityCode": "6,6" + } + ], + "X-RoleLimit": [ + "1", + "3", + "4" + ], + "X-Sort": [ + 24 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据市的行政区划码获取教育局列表", + "parameters": [ { - "description": "联系电话", - "in": "formData", - "name": "lxdh", + "description": "市的行政区划码", + "in": "query", + "name": "cityCode", + "required": true, "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" } ], "produces": [ @@ -6027,111 +6120,48 @@ var doc = `{ } } }, - "summary": "修改教育局信息", + "summary": "根据市的行政区划码获取教育局列表", "tags": [ "组织机构" ] } }, - "/base/organization/EnableEdu": { + "/base/organization/DeleteOrgInfo": { "post": { "X-EmptyLimit": [ - "orgId", - "orgCode", - "orgName" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } + "orgId" ], "X-InterfaceName": [ - "UpdateBaseOrganization" + "DeleteBaseOrganization" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" - }, - { - "lxdh": "2,30" } ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "X-Sort": [ - 4 + 21 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "启用教育局", + "description": "删除部门信息", "parameters": [ { - "description": "教育局ID", + "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", - "name": "sortId", - "type": "integer" } ], "produces": [ @@ -6145,41 +6175,24 @@ var doc = `{ } } }, - "summary": "启用教育局", + "summary": "删除部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageDisableEduInfo": { + "/base/organization/GetOrgTreeInfo": { "get": { "X-EmptyLimit": [ - "page", - "limit", - "areaCode" - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], - "X-InterfaceName": [ - "PageBaseOrganization" + "orgId" ], "X-LengthLimit": [ { - "areaCode": "6,6" - }, - { - "orgName": "1,50" + "orgId": "36,36" } ], "X-RemoveSwaggerField": [ "id_int", - "parent_id", "bureau_id", "org_type", "edu_assist_type", @@ -6197,53 +6210,85 @@ var doc = `{ "lxdh", "org_lng", "org_lat", - "sort_id", "b_use", "province_code", "city_code", "district_code", + "area_code", "last_updated_time" ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_organization" + 22 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取未启用的教育局列表", + "description": "根据单位ID获取部门树", "parameters": [ { - "description": "第几页", + "description": "单位ID", "in": "query", - "name": "page", + "name": "orgId", "required": true, - "type": "integer" - }, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据单位ID获取部门树", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/DisableEdu": { + "post": { + "X-EmptyLimit": [ + "orgId" + ], + "X-InterfaceName": [ + "UpdateBaseOrganization" + ], + "X-LengthLimit": [ { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, + "orgId": "36,36" + } + ], + "X-RoleLimit": [ + "1" + ], + "X-Sort": [ + 5 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "禁用教育局", + "parameters": [ { - "description": "行政区划编码", - "in": "query", - "name": "areaCode", + "description": "教育局ID", + "in": "formData", + "name": "orgId", "required": true, "type": "string" - }, - { - "description": "教育局名称", - "in": "query", - "name": "orgName", - "type": "string" } ], "produces": [ @@ -6257,13 +6302,13 @@ var doc = `{ } } }, - "summary": "获取未启用的教育局列表", + "summary": "禁用教育局", "tags": [ "组织机构" ] } }, - "/base/organization/GetEduInfoById": { + "/base/organization/GetEduAssistInfoById": { "get": { "X-EmptyLimit": [ "orgId" @@ -6299,10 +6344,13 @@ var doc = `{ "last_updated_time" ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4" ], "X-Sort": [ - 3 + 8 ], "X-TableName": [ "t_base_organization" @@ -6310,10 +6358,10 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据教育局ID获取教育局信息", + "description": "根据教辅单位ID获取教辅单位信息", "parameters": [ { - "description": "教育局ID", + "description": "教辅单位ID", "in": "query", "name": "orgId", "required": true, @@ -6331,19 +6379,36 @@ var doc = `{ } } }, - "summary": "根据教育局ID获取教育局信息", + "summary": "根据教辅单位ID获取教辅单位信息", "tags": [ "组织机构" ] } }, - "/base/organization/GetSchoolInfoById": { + "/base/organization/PageOrgInfo": { "get": { "X-EmptyLimit": [ - "orgId" + "page", + "limit", + "bureauId" + ], + "X-ExtendSwaggerField": [ + { + "column_comment": "部门领导", + "column_name": "org_manager_name", + "sample_data": "李老师" + } + ], + "X-IntRangeLimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "X-InterfaceName": [ - "GetBaseOrganization" + "PageBaseOrganization" ], "X-LengthLimit": [ { @@ -6352,16 +6417,29 @@ var doc = `{ ], "X-RemoveSwaggerField": [ "id_int", - "parent_id", "bureau_id", "org_type", "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "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": [ @@ -6369,10 +6447,12 @@ var doc = `{ "2", "3", "4", + "5", + "6", "7" ], "X-Sort": [ - 13 + 17 ], "X-TableName": [ "t_base_organization" @@ -6380,10 +6460,24 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据学校ID获取学校信息", + "description": "获取部门列表", "parameters": [ { - "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, @@ -6401,22 +6495,18 @@ var doc = `{ } } }, - "summary": "根据学校ID获取学校信息", + "summary": "获取部门列表", "tags": [ "组织机构" ] } }, - "/base/organization/UpdateSchoolInfo": { + "/base/organization/UpdateEduAssistInfo": { "post": { "X-EmptyLimit": [ "orgId", "orgCode", - "orgName", - "isBranchSchool", - "xxbxlxm", - "szdcxlxm", - "xxjbzm" + "orgName" ], "X-IntRangeLimit": [ { @@ -6453,121 +6543,178 @@ var doc = `{ "1", "2", "3", - "4", - "7" + "4" ], "X-Sort": [ - 15 + 10 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改学校信息", + "description": "修改教辅单位信息", "parameters": [ { - "description": "行政区划编码", - "in": "formData", - "name": "areaCode", - "required": true, - "type": "string" - }, - { - "description": "学校ID", + "description": "教辅单位ID", "in": "formData", "name": "orgId", "required": true, "type": "string" }, { - "description": "学校编码", + "description": "教辅单位编码", "in": "formData", "name": "orgCode", "required": true, "type": "string" }, { - "description": "学校名称", + "description": "教辅单位名称", "in": "formData", "name": "orgName", "required": true, "type": "string" }, { - "description": "是否为分校 -1:非分校 1:是分校", - "in": "formData", - "name": "isBranchSchool", - "required": true, - "type": "integer" - }, - { - "description": "主校ID(是分校时才传)", + "description": "教辅单位法定代表人", "in": "formData", - "name": "mainSchoolId", + "name": "fddbr", "type": "string" }, { - "description": "上级管理单位行政区划编码", + "description": "教辅单位法定代表人电话", "in": "formData", - "name": "managerAreaCode", - "required": true, + "name": "fddbrdh", "type": "string" }, { - "description": "学校办学类型(字典:xxbxlxm)", + "description": "教辅单位地址", "in": "formData", - "name": "xxbxlxm", - "required": true, + "name": "address", "type": "string" }, { - "description": "学校城乡类型(字典:szdcxlxm)", + "description": "联系电话", "in": "formData", - "name": "szdcxlxm", - "required": true, + "name": "lxdh", "type": "string" }, { - "description": "学校举办者(字典:xxjbzm)", + "description": "排序号", "in": "formData", - "name": "xxjbzm", - "required": true, - "type": "string" - }, + "name": "sortId", + "type": "integer" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改教辅单位信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/PageDisableEduInfo": { + "get": { + "X-EmptyLimit": [ + "page", + "limit", + "areaCode" + ], + "X-IntRangeLimit": [ { - "description": "附设班办学类型ID,多个用逗号分隔", - "in": "formData", - "name": "fsbIds", - "type": "string" + "page": "1,1000" }, { - "description": "学校法定代表人", - "in": "formData", - "name": "fddbr", - "type": "string" + "limit": "1,1000" + } + ], + "X-InterfaceName": [ + "PageBaseOrganization" + ], + "X-LengthLimit": [ + { + "areaCode": "6,6" }, { - "description": "学校法定代表人电话", - "in": "formData", - "name": "fddbrdh", - "type": "string" + "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", + "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" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取未启用的教育局列表", + "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" }, { - "description": "学校地址", - "in": "formData", - "name": "address", - "type": "string" + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" }, { - "description": "联系电话", - "in": "formData", - "name": "lxdh", + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, "type": "string" }, { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" + "description": "教育局名称", + "in": "query", + "name": "orgName", + "type": "string" } ], "produces": [ @@ -6581,48 +6728,105 @@ var doc = `{ } } }, - "summary": "修改学校信息", + "summary": "获取未启用的教育局列表", "tags": [ "组织机构" ] } }, - "/base/organization/DeleteOrgInfo": { - "post": { + "/base/organization/PageEduAssistInfo": { + "get": { "X-EmptyLimit": [ - "orgId" + "page", + "limit", + "areaCode" ], - "X-InterfaceName": [ - "DeleteBaseOrganization" + "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_type", + "main_school_id", + "manage_org_id", + "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": [ - 21 + 7 + ], + "X-TableName": [ + "t_base_organization" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除部门信息", + "description": "获取教辅单位列表", "parameters": [ { - "description": "部门ID", - "in": "formData", - "name": "orgId", + "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": [ @@ -6636,16 +6840,16 @@ var doc = `{ } } }, - "summary": "删除部门信息", + "summary": "获取教辅单位列表", "tags": [ "组织机构" ] } }, - "/base/organization/AddEduAssistInfo": { + "/base/organization/AddOrgInfo": { "post": { "X-EmptyLimit": [ - "areaCode", + "orgId", "orgCode", "orgName" ], @@ -6659,7 +6863,7 @@ var doc = `{ ], "X-LengthLimit": [ { - "areaCode": "6,6" + "orgId": "36,36" }, { "orgCode": "2,20" @@ -6668,75 +6872,55 @@ var doc = `{ "orgName": "1,30" }, { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" + "parentId": "36,36" }, { - "lxdh": "2,30" + "orgManagerIds": "36,1800" } ], "X-RoleLimit": [ "1", "2", "3", - "4" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 9 + 19 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加教辅单位信息", + "description": "增加部门信息", "parameters": [ { - "description": "行政区划编码", + "description": "单位ID", "in": "formData", - "name": "areaCode", + "name": "orgId", "required": true, "type": "string" }, { - "description": "教辅单位编码", + "description": "部门编码", "in": "formData", "name": "orgCode", "required": true, "type": "string" }, { - "description": "教辅单位名称", + "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": "联系电话", + "description": "上级部门ID", "in": "formData", - "name": "lxdh", + "name": "parentId", + "required": true, "type": "string" }, { @@ -6744,53 +6928,11 @@ var doc = `{ "in": "formData", "name": "sortId", "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "增加教辅单位信息", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/ListEduByCityCodeInfo": { - "get": { - "X-EmptyLimit": [ - "cityCode" - ], - "X-LengthLimit": [ - { - "cityCode": "6,6" - } - ], - "X-RoleLimit": [ - "1", - "3", - "4" - ], - "X-Sort": [ - 24 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "根据市的行政区划码获取教育局列表", - "parameters": [ + }, { - "description": "市的行政区划码", - "in": "query", - "name": "cityCode", - "required": true, + "description": "部门领导的人员ID", + "in": "formData", + "name": "orgManagerIds", "type": "string" } ], @@ -6805,18 +6947,22 @@ var doc = `{ } } }, - "summary": "根据市的行政区划码获取教育局列表", + "summary": "增加部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/UpdateEduAssistInfo": { + "/base/organization/UpdateSchoolInfo": { "post": { "X-EmptyLimit": [ "orgId", "orgCode", - "orgName" + "orgName", + "isBranchSchool", + "xxbxlxm", + "szdcxlxm", + "xxjbzm" ], "X-IntRangeLimit": [ { @@ -6853,51 +6999,106 @@ var doc = `{ "1", "2", "3", - "4" + "4", + "7" ], "X-Sort": [ - 10 + 15 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改教辅单位信息", + "description": "修改学校信息", "parameters": [ { - "description": "教辅单位ID", + "description": "行政区划编码", + "in": "formData", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "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": "是否为分校 -1:非分校 1:是分校", + "in": "formData", + "name": "isBranchSchool", + "required": true, + "type": "integer" + }, + { + "description": "主校ID(是分校时才传)", + "in": "formData", + "name": "mainSchoolId", + "type": "string" + }, + { + "description": "上级管理单位行政区划编码", + "in": "formData", + "name": "managerAreaCode", + "required": true, + "type": "string" + }, + { + "description": "学校办学类型(字典:xxbxlxm)", "in": "formData", - "name": "orgId", + "name": "xxbxlxm", "required": true, "type": "string" }, { - "description": "教辅单位编码", + "description": "学校城乡类型(字典:szdcxlxm)", "in": "formData", - "name": "orgCode", + "name": "szdcxlxm", "required": true, "type": "string" }, { - "description": "教辅单位名称", + "description": "学校举办者(字典:xxjbzm)", "in": "formData", - "name": "orgName", + "name": "xxjbzm", "required": true, "type": "string" }, { - "description": "教辅单位法定代表人", + "description": "附设班办学类型ID,多个用逗号分隔", + "in": "formData", + "name": "fsbIds", + "type": "string" + }, + { + "description": "学校法定代表人", "in": "formData", "name": "fddbr", "type": "string" }, { - "description": "教辅单位法定代表人电话", + "description": "学校法定代表人电话", "in": "formData", "name": "fddbrdh", "type": "string" }, { - "description": "教辅单位地址", + "description": "学校地址", "in": "formData", "name": "address", "type": "string" @@ -6926,102 +7127,24 @@ var doc = `{ } } }, - "summary": "修改教辅单位信息", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/GetOrgTreeInfo": { - "get": { - "X-EmptyLimit": [ - "orgId" - ], - "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", - "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 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "根据单位ID获取部门树", - "parameters": [ - { - "description": "单位ID", - "in": "query", - "name": "orgId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "根据单位ID获取部门树", + "summary": "修改学校信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageOrgInfo": { + "/base/organization/PageMainSchoolInfo": { "get": { "X-EmptyLimit": [ "page", "limit", - "bureauId" + "areaCode" ], "X-ExtendSwaggerField": [ { - "column_comment": "部门领导", - "column_name": "org_manager_name", - "sample_data": "李老师" + "column_comment": "学校办学类型名称", + "column_name": "xxbxlxm_name", + "sample_data": "小学" } ], "X-IntRangeLimit": [ @@ -7037,19 +7160,18 @@ var doc = `{ ], "X-LengthLimit": [ { - "orgId": "36,36" + "areaCode": "6,6" } ], "X-RemoveSwaggerField": [ "id_int", + "parent_id", "bureau_id", "org_type", "edu_assist_type", - "main_school_type", "main_school_id", "manage_org_id", "xxbbm", - "xxbxlxm", "szdcxlxm", "xxjbzm", "fzr", @@ -7064,7 +7186,6 @@ var doc = `{ "province_code", "city_code", "district_code", - "area_code", "last_updated_time" ], "X-RoleLimit": [ @@ -7072,12 +7193,10 @@ var doc = `{ "2", "3", "4", - "5", - "6", "7" ], "X-Sort": [ - 17 + 12 ], "X-TableName": [ "t_base_organization" @@ -7085,7 +7204,7 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取部门列表", + "description": "获取主校列表", "parameters": [ { "description": "第几页", @@ -7102,59 +7221,16 @@ var doc = `{ "type": "integer" }, { - "description": "单位ID", + "description": "行政区划编码", "in": "query", - "name": "orgId", + "name": "areaCode", "required": true, "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取部门列表", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/DisableEdu": { - "post": { - "X-EmptyLimit": [ - "orgId" - ], - "X-InterfaceName": [ - "UpdateBaseOrganization" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - } - ], - "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 5 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "禁用教育局", - "parameters": [ + }, { - "description": "教育局ID", - "in": "formData", + "description": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", + "in": "query", "name": "orgId", - "required": true, "type": "string" } ], @@ -7169,90 +7245,67 @@ var doc = `{ } } }, - "summary": "禁用教育局", + "summary": "获取主校列表", "tags": [ "组织机构" ] } }, - "/base/organization/UpdateOrgInfo": { - "post": { + "/base/organization/GetEduInfoById": { + "get": { "X-EmptyLimit": [ - "orgId", - "orgCode", - "orgName" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } + "orgId" ], "X-InterfaceName": [ - "UpdateBaseOrganization" + "GetBaseOrganization" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "orgManagerIds": "36,1800" } ], + "X-RemoveSwaggerField": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "org_lng", + "org_lat", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ], "X-Sort": [ - 20 - ], - "consumes": [ - "application/x-www-form-urlencoded" + 3 ], - "description": "修改部门信息", - "parameters": [ - { - "description": "部门ID", - "in": "formData", - "name": "orgId", - "required": true, - "type": "string" - }, - { - "description": "部门编码", - "in": "formData", - "name": "orgCode", - "required": true, - "type": "string" - }, + "X-TableName": [ + "t_base_organization" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据教育局ID获取教育局信息", + "parameters": [ { - "description": "部门名称", - "in": "formData", - "name": "orgName", + "description": "教育局ID", + "in": "query", + "name": "orgId", "required": true, "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" - }, - { - "description": "部门领导的人员ID", - "in": "formData", - "name": "orgManagerIds", - "type": "string" } ], "produces": [ @@ -7266,7 +7319,7 @@ var doc = `{ } } }, - "summary": "修改部门信息", + "summary": "根据教育局ID获取教育局信息", "tags": [ "组织机构" ] @@ -7400,164 +7453,35 @@ var doc = `{ ] } }, - "/base/organization/DeleteSchoolInfo": { - "post": { + "/base/position/ListPositionByBureauId": { + "get": { "X-EmptyLimit": [ - "orgIds" - ], - "X-InterfaceName": [ - "DeleteBaseOrganization" + "bureauId" ], "X-LengthLimit": [ { - "orgIds": "36,1800" + "bureauId": "36,36" } ], "X-RoleLimit": [ "1", - "2", "3", - "4", - "7" - ], - "X-Sort": [ - 16 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "删除学校信息", - "parameters": [ - { - "description": "学校ID,如果是多个用逗号分隔", - "in": "formData", - "name": "orgIds", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除学校信息", - "tags": [ - "组织机构" - ] - } - }, - "/base/position/GetPositionInfoById": { - "get": { - "X-EmptyLimit": [ - "id" - ], - "X-LengthLimit": [ - { - "id": "36,36" - } - ], - "X-RemoveSwaggerField": [ - "id_int", - "b_use", - "last_updated_time" - ], - "X-RoleLimit": [ - "1" + "4" ], "X-Sort": [ - 4 + 6 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取职务信息(单条)", + "description": "根据单位ID获取职务列表信息", "parameters": [ { - "description": "职务ID", + "description": "单位ID", "in": "query", - "name": "id", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取职务信息(单条)", - "tags": [ - "职务" - ] - } - }, - "/base/position/UpdatePositionInfo": { - "post": { - "X-EmptyLimit": [ - "id", - "nodeName" - ], - "X-IntLimit": [ - "areaLevel", - "orgType", - "sortId" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } - ], - "X-LengthLimit": [ - { - "id": "36,36" - }, - { - "nodeName": "2,30" - } - ], - "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 3 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "修改职务信息", - "parameters": [ - { - "description": "职务ID", - "in": "formData", - "name": "id", - "required": true, - "type": "string" - }, - { - "description": "职务名称", - "in": "formData", - "name": "nodeName", + "name": "bureauId", "required": true, "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" } ], "produces": [ @@ -7571,7 +7495,7 @@ var doc = `{ } } }, - "summary": "修改职务信息", + "summary": "根据单位ID获取职务列表信息", "tags": [ "职务" ] @@ -7674,26 +7598,40 @@ var doc = `{ ] } }, - "/base/position/DeletePositionInfo": { + "/base/position/UpdatePositionInfo": { "post": { "X-EmptyLimit": [ - "id" + "id", + "nodeName" + ], + "X-IntLimit": [ + "areaLevel", + "orgType", + "sortId" + ], + "X-IntRangeLimit": [ + { + "sortId": "1,9999" + } ], "X-LengthLimit": [ { "id": "36,36" + }, + { + "nodeName": "2,30" } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 2 + 3 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除职务信息", + "description": "修改职务信息", "parameters": [ { "description": "职务ID", @@ -7701,6 +7639,19 @@ var doc = `{ "name": "id", "required": true, "type": "string" + }, + { + "description": "职务名称", + "in": "formData", + "name": "nodeName", + "required": true, + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], "produces": [ @@ -7714,43 +7665,30 @@ var doc = `{ } } }, - "summary": "删除职务信息", + "summary": "修改职务信息", "tags": [ "职务" ] } }, - "/base/position/ListPositionByBureauId": { + "/base/position/TreePositionInfo": { "get": { - "X-EmptyLimit": [ - "bureauId" - ], - "X-LengthLimit": [ - { - "bureauId": "36,36" - } + "X-RemoveSwaggerField": [ + "id_int", + "b_use", + "last_updated_time", + "postion_flag" ], "X-RoleLimit": [ - "1", - "3", - "4" + "1" ], "X-Sort": [ - 6 + 5 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据单位ID获取职务列表信息", - "parameters": [ - { - "description": "单位ID", - "in": "query", - "name": "bureauId", - "required": true, - "type": "string" - } - ], + "description": "获取职务所有的树形结构信息", "produces": [ "application/json" ], @@ -7762,30 +7700,41 @@ var doc = `{ } } }, - "summary": "根据单位ID获取职务列表信息", + "summary": "获取职务所有的树形结构信息", "tags": [ "职务" ] } }, - "/base/position/TreePositionInfo": { - "get": { - "X-RemoveSwaggerField": [ - "id_int", - "b_use", - "last_updated_time", - "postion_flag" + "/base/position/DeletePositionInfo": { + "post": { + "X-EmptyLimit": [ + "id" + ], + "X-LengthLimit": [ + { + "id": "36,36" + } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 5 + 2 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取职务所有的树形结构信息", + "description": "删除职务信息", + "parameters": [ + { + "description": "职务ID", + "in": "formData", + "name": "id", + "required": true, + "type": "string" + } + ], "produces": [ "application/json" ], @@ -7797,43 +7746,42 @@ var doc = `{ } } }, - "summary": "获取职务所有的树形结构信息", + "summary": "删除职务信息", "tags": [ "职务" ] } }, - "/base/area/GetGovArea": { + "/base/position/GetPositionInfoById": { "get": { "X-EmptyLimit": [ - "areaCode" - ], - "X-IntLimit": [ - "areaCode" + "id" ], "X-LengthLimit": [ { - "areaCode": "6,6" + "id": "36,36" } ], + "X-RemoveSwaggerField": [ + "id_int", + "b_use", + "last_updated_time" + ], "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" + ], + "X-Sort": [ + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取行政区划信息(单条)", + "description": "获取职务信息(单条)", "parameters": [ { - "description": "行政区划码", + "description": "职务ID", "in": "query", - "name": "areaCode", + "name": "id", "required": true, "type": "string" } @@ -7849,15 +7797,22 @@ var doc = `{ } } }, - "summary": "获取行政区划信息(单条)", + "summary": "获取职务信息(单条)", "tags": [ - "行政区划" + "职务" ] } }, - "/base/area/DeleteGovArea": { - "post": { + "/base/area/PageGovArea": { + "get": { "X-EmptyLimit": [ + "page", + "limit", + "areaCode" + ], + "X-IntLimit": [ + "page", + "limit", "areaCode" ], "X-LengthLimit": [ @@ -7874,14 +7829,31 @@ var doc = `{ "6", "7" ], + "X-TableName": [ + "t_gov_area" + ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除行政区划信息", + "description": "获取行政区划信息(列表)", "parameters": [ { - "description": "区域代码", - "in": "formData", + "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" @@ -7898,13 +7870,13 @@ var doc = `{ } } }, - "summary": "删除行政区划信息", + "summary": "获取行政区划信息(列表)", "tags": [ "行政区划" ] } }, - "/base/area/AddGovArea": { + "/base/area/UpdateGovArea": { "post": { "X-EmptyLimit": [ "areaTypeId", @@ -7923,7 +7895,7 @@ var doc = `{ "masterCode": "6,6" }, { - "areaName": "3,50" + "areaName": "3:50" } ], "X-RoleLimit": [ @@ -7938,7 +7910,7 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加行政区划信息", + "description": "修改行政区划信息", "parameters": [ { "description": "区域代码", @@ -7980,22 +7952,18 @@ var doc = `{ } } }, - "summary": "增加行政区划信息", + "summary": "修改行政区划信息", "tags": [ "行政区划" ] } }, - "/base/area/PageGovArea": { + "/base/area/GetGovArea": { "get": { "X-EmptyLimit": [ - "page", - "limit", "areaCode" ], "X-IntLimit": [ - "page", - "limit", "areaCode" ], "X-LengthLimit": [ @@ -8012,31 +7980,63 @@ var doc = `{ "6", "7" ], - "X-TableName": [ - "t_gov_area" - ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取行政区划信息(列表)", + "description": "获取行政区划信息(单条)", "parameters": [ { - "description": "第几页", + "description": "行政区划码", "in": "query", - "name": "page", + "name": "areaCode", "required": true, - "type": "integer" - }, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "获取行政区划信息(单条)", + "tags": [ + "行政区划" + ] + } + }, + "/base/area/DeleteGovArea": { + "post": { + "X-EmptyLimit": [ + "areaCode" + ], + "X-LengthLimit": [ { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, + "areaCode": "6,6" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除行政区划信息", + "parameters": [ { - "description": "行政区划码", - "in": "query", + "description": "区域代码", + "in": "formData", "name": "areaCode", "required": true, "type": "string" @@ -8053,13 +8053,13 @@ var doc = `{ } } }, - "summary": "获取行政区划信息(列表)", + "summary": "删除行政区划信息", "tags": [ "行政区划" ] } }, - "/base/area/UpdateGovArea": { + "/base/area/AddGovArea": { "post": { "X-EmptyLimit": [ "areaTypeId", @@ -8078,7 +8078,7 @@ var doc = `{ "masterCode": "6,6" }, { - "areaName": "3:50" + "areaName": "3,50" } ], "X-RoleLimit": [ @@ -8093,7 +8093,7 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改行政区划信息", + "description": "增加行政区划信息", "parameters": [ { "description": "区域代码", @@ -8135,12 +8135,50 @@ var doc = `{ } } }, - "summary": "修改行政区划信息", + "summary": "增加行政区划信息", "tags": [ "行政区划" ] } }, + "/base/role/GetPersonRoleInfo": { + "get": { + "X-InterfaceName": [ + "GetBaseRolePerson" + ], + "X-RemoveSwaggerField": [ + "id", + "id_int", + "b_use", + "last_updated_time" + ], + "X-Sort": [ + 2 + ], + "X-TableName": [ + "t_base_role_person" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取人员角色信息", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "获取人员角色信息", + "tags": [ + "角色信息" + ] + } + }, "/base/role/GetManageAreaInfo": { "get": { "X-EmptyLimit": [ @@ -8195,44 +8233,6 @@ var doc = `{ "角色信息" ] } - }, - "/base/role/GetPersonRoleInfo": { - "get": { - "X-InterfaceName": [ - "GetBaseRolePerson" - ], - "X-RemoveSwaggerField": [ - "id", - "id_int", - "b_use", - "last_updated_time" - ], - "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_role_person" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取人员角色信息", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取人员角色信息", - "tags": [ - "角色信息" - ] - } } }, "swagger": "2.0" diff --git a/dsBaseWeb/docs/swagger.json b/dsBaseWeb/docs/swagger.json index 3b18dc0d..d3b12cd6 100644 --- a/dsBaseWeb/docs/swagger.json +++ b/dsBaseWeb/docs/swagger.json @@ -32,15 +32,15 @@ "version": "1.0" }, "paths": { - "/base/business/DeleteBaseBusiness": { - "post": { + "/base/business/PageBaseBusiness": { + "get": { "X-EmptyLimit": [ - "businessCode" + "page", + "limit" ], - "X-LengthLimit": [ - { - "businessCode": "6,6" - } + "X-IntLimit": [ + "page", + "limit" ], "X-RoleLimit": [ "1" @@ -48,14 +48,21 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除业务系统信息", + "description": "获取业务系统信息(列表)", "parameters": [ { - "description": "业务系统编码", - "in": "formData", - "name": "businessCode", + "description": "第几页", + "in": "query", + "name": "page", "required": true, - "type": "string" + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" } ], "produces": [ @@ -69,20 +76,24 @@ } } }, - "summary": "删除业务系统信息", + "summary": "获取业务系统信息(列表)", "tags": [ "业务系统维护" ] } }, - "/base/business/GetBaseBusiness": { - "get": { + "/base/business/AddBaseBusiness": { + "post": { "X-EmptyLimit": [ - "businessCode" + "businessCode", + "businessName" ], "X-LengthLimit": [ { - "businessCode": "6,6" + "businessCode": "6:6" + }, + { + "businessName": "1:50" } ], "X-RoleLimit": [ @@ -91,64 +102,21 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取业务系统信息(单条)", + "description": "增加业务系统信息", "parameters": [ { "description": "业务系统编码", - "in": "query", + "in": "formData", "name": "businessCode", "required": true, "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取业务系统信息(单条)", - "tags": [ - "业务系统维护" - ] - } - }, - "/base/business/PageBaseBusiness": { - "get": { - "X-EmptyLimit": [ - "page", - "limit" - ], - "X-IntLimit": [ - "page", - "limit" - ], - "X-RoleLimit": [ - "1" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取业务系统信息(列表)", - "parameters": [ - { - "description": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" }, { - "description": "一页显示多少条", - "in": "query", - "name": "limit", + "description": "业务系统名称", + "in": "formData", + "name": "businessName", "required": true, - "type": "integer" + "type": "string" } ], "produces": [ @@ -162,7 +130,7 @@ } } }, - "summary": "获取业务系统信息(列表)", + "summary": "增加业务系统信息", "tags": [ "业务系统维护" ] @@ -222,18 +190,14 @@ ] } }, - "/base/business/AddBaseBusiness": { + "/base/business/DeleteBaseBusiness": { "post": { "X-EmptyLimit": [ - "businessCode", - "businessName" + "businessCode" ], "X-LengthLimit": [ { - "businessCode": "6:6" - }, - { - "businessName": "1:50" + "businessCode": "6,6" } ], "X-RoleLimit": [ @@ -242,7 +206,7 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加业务系统信息", + "description": "删除业务系统信息", "parameters": [ { "description": "业务系统编码", @@ -250,13 +214,6 @@ "name": "businessCode", "required": true, "type": "string" - }, - { - "description": "业务系统名称", - "in": "formData", - "name": "businessName", - "required": true, - "type": "string" } ], "produces": [ @@ -270,37 +227,34 @@ } } }, - "summary": "增加业务系统信息", + "summary": "删除业务系统信息", "tags": [ "业务系统维护" ] } }, - "/base/global/DeleteGlobalInfo": { - "post": { + "/base/business/GetBaseBusiness": { + "get": { "X-EmptyLimit": [ - "globalIds" + "businessCode" ], "X-LengthLimit": [ { - "globalIds": "36,1800" + "businessCode": "6,6" } ], "X-RoleLimit": [ "1" ], - "X-Sort": [ - 5 - ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除全局变量", + "description": "获取业务系统信息(单条)", "parameters": [ { - "description": "全局变量ID,多个用逗号分隔", - "in": "formData", - "name": "globalIds", + "description": "业务系统编码", + "in": "query", + "name": "businessCode", "required": true, "type": "string" } @@ -316,30 +270,25 @@ } } }, - "summary": "删除全局变量", + "summary": "获取业务系统信息(单条)", "tags": [ - "全局变量" + "业务系统维护" ] } }, - "/base/global/UpdateGlobalInfo": { + "/base/global/AddGlobalInfo": { "post": { "X-EmptyLimit": [ - "globalId", "globalTypeId", "globalCode", "globalValue", "sortId" ], "X-IntLimit": [ - "globalId", "globalTypeId", "sortId" ], "X-LengthLimit": [ - { - "globalId": "36,36" - }, { "globalCode": "2,50" }, @@ -354,20 +303,13 @@ "1" ], "X-Sort": [ - 6 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改全局变量", + "description": "增加全局变量", "parameters": [ - { - "description": "全局变量ID", - "in": "formData", - "name": "globalId", - "required": true, - "type": "string" - }, { "description": "全局变量分类", "in": "formData", @@ -414,43 +356,37 @@ } } }, - "summary": "修改全局变量", + "summary": "增加全局变量", "tags": [ "全局变量" ] } }, - "/base/global/GetGlobalInfo": { - "get": { + "/base/global/DeleteGlobalInfo": { + "post": { "X-EmptyLimit": [ - "globalId" - ], - "X-InterfaceName": [ - "GetBaseGlobal" + "globalIds" ], "X-LengthLimit": [ { - "globalId": "36,36" + "globalIds": "36,1800" } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_global" + 5 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取全局变量信息", + "description": "删除全局变量", "parameters": [ { - "description": "全局变量ID", - "in": "query", - "name": "globalId", + "description": "全局变量ID,多个用逗号分隔", + "in": "formData", + "name": "globalIds", "required": true, "type": "string" } @@ -466,25 +402,30 @@ } } }, - "summary": "获取全局变量信息", + "summary": "删除全局变量", "tags": [ "全局变量" ] } }, - "/base/global/AddGlobalInfo": { + "/base/global/UpdateGlobalInfo": { "post": { "X-EmptyLimit": [ + "globalId", "globalTypeId", "globalCode", "globalValue", "sortId" ], "X-IntLimit": [ + "globalId", "globalTypeId", "sortId" ], "X-LengthLimit": [ + { + "globalId": "36,36" + }, { "globalCode": "2,50" }, @@ -499,13 +440,20 @@ "1" ], "X-Sort": [ - 4 + 6 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加全局变量", + "description": "修改全局变量", "parameters": [ + { + "description": "全局变量ID", + "in": "formData", + "name": "globalId", + "required": true, + "type": "string" + }, { "description": "全局变量分类", "in": "formData", @@ -552,27 +500,30 @@ } } }, - "summary": "增加全局变量", + "summary": "修改全局变量", "tags": [ "全局变量" ] } }, - "/base/global/GetGlobalValueByCodes": { + "/base/global/GetGlobalInfo": { "get": { "X-EmptyLimit": [ - "codes" + "globalId" ], "X-InterfaceName": [ "GetBaseGlobal" ], "X-LengthLimit": [ { - "codes": "1,500" + "globalId": "36,36" } ], + "X-RoleLimit": [ + "1" + ], "X-Sort": [ - 3 + 2 ], "X-TableName": [ "t_base_global" @@ -580,12 +531,12 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据多个全局变量Code获取全局变量值", + "description": "获取全局变量信息", "parameters": [ { - "description": "全局变量Code,多个用逗号分隔", + "description": "全局变量ID", "in": "query", - "name": "codes", + "name": "globalId", "required": true, "type": "string" } @@ -601,29 +552,27 @@ } } }, - "summary": "根据多个全局变量Code获取全局变量值", + "summary": "获取全局变量信息", "tags": [ "全局变量" ] } }, - "/base/global/PageGlobalInfo": { + "/base/global/GetGlobalValueByCodes": { "get": { "X-EmptyLimit": [ - "page", - "limit", - "globalTypeId" + "codes" ], - "X-IntLimit": [ - "page", - "limit", - "globalTypeId" + "X-InterfaceName": [ + "GetBaseGlobal" ], - "X-RoleLimit": [ - "1" + "X-LengthLimit": [ + { + "codes": "1,500" + } ], "X-Sort": [ - 1 + 3 ], "X-TableName": [ "t_base_global" @@ -631,12 +580,63 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取全局变量列表", + "description": "根据多个全局变量Code获取全局变量值", "parameters": [ { - "description": "第几页", + "description": "全局变量Code,多个用逗号分隔", "in": "query", - "name": "page", + "name": "codes", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据多个全局变量Code获取全局变量值", + "tags": [ + "全局变量" + ] + } + }, + "/base/global/PageGlobalInfo": { + "get": { + "X-EmptyLimit": [ + "page", + "limit", + "globalTypeId" + ], + "X-IntLimit": [ + "page", + "limit", + "globalTypeId" + ], + "X-RoleLimit": [ + "1" + ], + "X-Sort": [ + 1 + ], + "X-TableName": [ + "t_base_global" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取全局变量列表", + "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", "required": true, "type": "integer" }, @@ -672,21 +672,20 @@ ] } }, - "/base/dict/GetDictInfo": { + "/base/dict/PageDict": { "get": { "X-EmptyLimit": [ - "dictKind", - "dictCode" + "dictKind" ], "X-InterfaceName": [ - "GetSysDict" + "PageSysDict" ], "X-LengthLimit": [ { "dictKind": "1,20" }, { - "dictCode": "1,10" + "dictParent": "1,10" } ], "X-RemoveSwaggerField": [ @@ -707,7 +706,7 @@ "7" ], "X-Sort": [ - 1 + 2 ], "X-TableName": [ "t_sys_dict" @@ -715,7 +714,7 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据字典分类和字典编码获取字典信息", + "description": "根据字典分类、上级字典编码获取字典信息", "parameters": [ { "description": "字典分类", @@ -725,10 +724,9 @@ "type": "string" }, { - "description": "字典编码", + "description": "上级字典编码", "in": "query", - "name": "dictCode", - "required": true, + "name": "dictParent", "type": "string" } ], @@ -743,22 +741,82 @@ } } }, - "summary": "根据字典分类和字典编码获取字典信息", + "summary": "根据字典分类、上级字典编码获取字典信息", "tags": [ "字典" ] } }, - "/base/dict/GetMultipleDictInfo": { + "/base/dict/GetStageInfo": { + "get": { + "X-InterfaceName": [ + "PageSysDict" + ], + "X-RemoveSwaggerField": [ + "b_use", + "sort_id" + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 3 + ], + "X-TableName": [ + "t_dm_stage" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取学段信息", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "获取学段信息", + "tags": [ + "字典" + ] + } + }, + "/base/dict/GetDictInfo": { "get": { "X-EmptyLimit": [ - "dictKinds" + "dictKind", + "dictCode" + ], + "X-InterfaceName": [ + "GetSysDict" ], "X-LengthLimit": [ { - "dictKinds": "1,500" + "dictKind": "1,20" + }, + { + "dictCode": "1,10" } ], + "X-RemoveSwaggerField": [ + "dict_id", + "dict_kind", + "dict_remark", + "dict_parent", + "sort_id", + "b_use" + ], "X-RoleLimit": [ "1", "2", @@ -769,17 +827,27 @@ "7" ], "X-Sort": [ - 5 + 1 + ], + "X-TableName": [ + "t_sys_dict" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据多个dict_kind获取字典信息", + "description": "根据字典分类和字典编码获取字典信息", "parameters": [ { - "description": "字典分类,多个用逗号分隔", + "description": "字典分类", "in": "query", - "name": "dictKinds", + "name": "dictKind", + "required": true, + "type": "string" + }, + { + "description": "字典编码", + "in": "query", + "name": "dictCode", "required": true, "type": "string" } @@ -795,29 +863,22 @@ } } }, - "summary": "根据多个dict_kind获取字典信息", + "summary": "根据字典分类和字典编码获取字典信息", "tags": [ "字典" ] } }, - "/base/dict/GetSubjectInfo": { + "/base/dict/GetMultipleDictInfo": { "get": { "X-EmptyLimit": [ - "stageId" - ], - "X-InterfaceName": [ - "PageSysDict" + "dictKinds" ], "X-LengthLimit": [ { - "stageId": "1,1" + "dictKinds": "1,500" } ], - "X-RemoveSwaggerField": [ - "b_use", - "sort_id" - ], "X-RoleLimit": [ "1", "2", @@ -828,20 +889,17 @@ "7" ], "X-Sort": [ - 4 - ], - "X-TableName": [ - "t_dm_subject" + 5 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据学段ID获取学科信息", + "description": "根据多个dict_kind获取字典信息", "parameters": [ { - "description": "学段ID", + "description": "字典分类,多个用逗号分隔", "in": "query", - "name": "stageId", + "name": "dictKinds", "required": true, "type": "string" } @@ -857,35 +915,28 @@ } } }, - "summary": "根据学段ID获取学科信息", + "summary": "根据多个dict_kind获取字典信息", "tags": [ "字典" ] } }, - "/base/dict/PageDict": { + "/base/dict/GetSubjectInfo": { "get": { "X-EmptyLimit": [ - "dictKind" + "stageId" ], "X-InterfaceName": [ "PageSysDict" ], "X-LengthLimit": [ { - "dictKind": "1,20" - }, - { - "dictParent": "1,10" + "stageId": "1,1" } ], "X-RemoveSwaggerField": [ - "dict_id", - "dict_kind", - "dict_remark", - "dict_parent", - "sort_id", - "b_use" + "b_use", + "sort_id" ], "X-RoleLimit": [ "1", @@ -897,28 +948,22 @@ "7" ], "X-Sort": [ - 2 + 4 ], "X-TableName": [ - "t_sys_dict" + "t_dm_subject" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据字典分类、上级字典编码获取字典信息", + "description": "根据学段ID获取学科信息", "parameters": [ { - "description": "字典分类", + "description": "学段ID", "in": "query", - "name": "dictKind", + "name": "stageId", "required": true, "type": "string" - }, - { - "description": "上级字典编码", - "in": "query", - "name": "dictParent", - "type": "string" } ], "produces": [ @@ -932,40 +977,46 @@ } } }, - "summary": "根据字典分类、上级字典编码获取字典信息", + "summary": "根据学段ID获取学科信息", "tags": [ "字典" ] } }, - "/base/dict/GetStageInfo": { + "/base/student/DownLoadStudentTemplateExcel": { "get": { - "X-InterfaceName": [ - "PageSysDict" + "X-EmptyLimit": [ + "orgId" ], - "X-RemoveSwaggerField": [ - "b_use", - "sort_id" + "X-LengthLimit": [ + { + "orgId": "36,36" + } ], "X-RoleLimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "X-Sort": [ - 3 - ], - "X-TableName": [ - "t_dm_stage" + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取学段信息", + "description": "下载学生导入模板", + "parameters": [ + { + "description": "学校ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" + } + ], "produces": [ "application/json" ], @@ -977,9 +1028,9 @@ } } }, - "summary": "获取学段信息", + "summary": "下载学生导入模板", "tags": [ - "字典" + "学生信息" ] } }, @@ -1152,77 +1203,6 @@ ] } }, - "/base/student/GetStudentInfo": { - "get": { - "X-EmptyLimit": [ - "personId" - ], - "X-InterfaceName": [ - "GetBaseStudent" - ], - "X-LengthLimit": [ - { - "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", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_class" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取学生信息", - "parameters": [ - { - "description": "学生ID", - "in": "query", - "name": "personId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取学生信息", - "tags": [ - "学生信息" - ] - } - }, "/base/student/DeleteStudentInfo": { "post": { "X-EmptyLimit": [ @@ -1334,77 +1314,33 @@ ] } }, - "/base/student/ImportStudentExcel": { - "post": { + "/base/student/GetStudentInfo": { + "get": { "X-EmptyLimit": [ - "orgId" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 9 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导入学生EXCEL", - "parameters": [ - { - "description": "单位ID", - "in": "formData", - "name": "orgId", - "required": true, - "type": "string" - }, - { - "description": "EXCEL文件", - "in": "formData", - "name": "excelFile", - "required": true, - "type": "file" - } - ], - "produces": [ - "application/json" + "personId" ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "导入学生EXCEL", - "tags": [ - "学生信息" - ] - } - }, - "/base/student/ReviseStudentClass": { - "post": { - "X-EmptyLimit": [ - "personIds" + "X-InterfaceName": [ + "GetBaseStudent" ], "X-LengthLimit": [ { - "personIds": "36,1800" - }, - { - "classId": "36,36" + "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", @@ -1414,24 +1350,20 @@ "7" ], "X-Sort": [ - 6 + 2 + ], + "X-TableName": [ + "t_base_class" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "学生调整班级", + "description": "获取学生信息", "parameters": [ { - "description": "学生ID,多个用逗号分隔", - "in": "formData", - "name": "personIds", - "required": true, - "type": "string" - }, - { - "description": "调整后的班级ID", - "in": "formData", - "name": "classId", + "description": "学生ID", + "in": "query", + "name": "personId", "required": true, "type": "string" } @@ -1447,7 +1379,7 @@ } } }, - "summary": "学生调整班级", + "summary": "获取学生信息", "tags": [ "学生信息" ] @@ -1701,43 +1633,14 @@ ] } }, - "/base/student/UpdateStudentInfo": { + "/base/student/ImportStudentExcel": { "post": { "X-EmptyLimit": [ - "personId", - "xm", - "mzm", - "zzmmm", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz" - ], - "X-IntRangeLimit": [ - { - "sfzjlxm": "1,4" - } - ], - "X-InterfaceName": [ - "UpdateBaseStudent" + "orgId" ], "X-LengthLimit": [ { - "personId": "36,36" - }, - { - "xm": "2,30" - }, - { - "xbm": "1,1" - }, - { - "mzm": "2,2" - }, - { - "zzmmm": "2,2" + "orgId": "36,36" } ], "X-RoleLimit": [ @@ -1749,36 +1652,184 @@ "7" ], "X-Sort": [ - 5 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改学生信息", + "description": "导入学生EXCEL", "parameters": [ { - "description": "学生ID", + "description": "单位ID", "in": "formData", - "name": "personId", + "name": "orgId", "required": true, "type": "string" }, { - "description": "学生姓名", + "description": "EXCEL文件", "in": "formData", - "name": "xm", + "name": "excelFile", "required": true, - "type": "string" - }, + "type": "file" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "导入学生EXCEL", + "tags": [ + "学生信息" + ] + } + }, + "/base/student/ReviseStudentClass": { + "post": { + "X-EmptyLimit": [ + "personIds" + ], + "X-LengthLimit": [ { - "description": "身份证件类型代码(字典:sfzjlxm)", - "in": "formData", - "name": "sfzjlxm", - "type": "string" + "personIds": "36,1800" }, { - "description": "身份证件号", - "in": "formData", + "classId": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" + ], + "X-Sort": [ + 6 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "学生调整班级", + "parameters": [ + { + "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", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "学生调整班级", + "tags": [ + "学生信息" + ] + } + }, + "/base/student/UpdateStudentInfo": { + "post": { + "X-EmptyLimit": [ + "personId", + "xm", + "mzm", + "zzmmm", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz" + ], + "X-IntRangeLimit": [ + { + "sfzjlxm": "1,4" + } + ], + "X-InterfaceName": [ + "UpdateBaseStudent" + ], + "X-LengthLimit": [ + { + "personId": "36,36" + }, + { + "xm": "2,30" + }, + { + "xbm": "1,1" + }, + { + "mzm": "2,2" + }, + { + "zzmmm": "2,2" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" + ], + "X-Sort": [ + 5 + ], + "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", + "type": "string" + }, + { + "description": "身份证件号", + "in": "formData", "name": "sfzjh", "type": "integer" }, @@ -1870,7 +1921,7 @@ ] } }, - "/base/student/DownLoadStudentTemplateExcel": { + "/base/teacher/ExportTeacherAccountExcel": { "get": { "X-EmptyLimit": [ "orgId" @@ -1885,19 +1936,20 @@ "2", "3", "4", + "5", "6", "7" ], "X-Sort": [ - 8 + 7 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "下载学生导入模板", + "description": "导出本单位教职工账号信息到EXCEL", "parameters": [ { - "description": "学校ID", + "description": "单位ID", "in": "query", "name": "orgId", "required": true, @@ -1915,52 +1967,52 @@ } } }, - "summary": "下载学生导入模板", + "summary": "导出本单位教职工账号信息到EXCEL", "tags": [ - "学生信息" + "教师信息" ] } }, - "/base/teacher/SettingTeacherMultipleBureauInfo": { + "/base/teacher/ImportTeacherExcel": { "post": { "X-EmptyLimit": [ - "orgId", - "personId" + "orgId" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "personId": "36,36" } ], "X-RoleLimit": [ "1", + "2", "3", - "4" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 11 + 10 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "设置教师多单位", + "description": "导入教职工EXCEL", "parameters": [ { - "description": "部门ID", + "description": "单位ID", "in": "formData", "name": "orgId", "required": true, "type": "string" }, { - "description": "教职工ID", + "description": "EXCEL文件", "in": "formData", - "name": "personId", + "name": "excelFile", "required": true, - "type": "string" + "type": "file" } ], "produces": [ @@ -1974,52 +2026,45 @@ } } }, - "summary": "设置教师多单位", + "summary": "导入教职工EXCEL", "tags": [ "教师信息" ] } }, - "/base/teacher/TeacherTransferInfo": { - "post": { + "/base/teacher/ExportTeacherExcel": { + "get": { "X-EmptyLimit": [ - "orgId", - "personId" + "orgId" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "personId": "36,36" } ], "X-RoleLimit": [ "1", + "2", "3", - "4" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 15 + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "教师调转单位", + "description": "导出本单位教职工信息到EXCEL", "parameters": [ { - "description": "部门ID", - "in": "formData", + "description": "单位ID", + "in": "query", "name": "orgId", "required": true, "type": "string" - }, - { - "description": "人员ID", - "in": "formData", - "name": "personId", - "required": true, - "type": "string" } ], "produces": [ @@ -2033,103 +2078,22 @@ } } }, - "summary": "教师调转单位", + "summary": "导出本单位教职工信息到EXCEL", "tags": [ "教师信息" ] } }, - "/base/teacher/PageTeacherInfo": { + "/base/teacher/DownLoadTeacherTemplateExcel": { "get": { "X-EmptyLimit": [ - "page", - "limit", "orgId" ], - "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" - }, - { - "column_comment": "账号状态", - "column_name": "login_status", - "sample_data": "已启用" - }, - { - "column_comment": "学段名称", - "column_name": "stage_name", - "sample_data": "小学" - }, - { - "column_comment": "学科名称", - "column_name": "subject_name", - "sample_data": "数学" - } - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], - "X-InterfaceName": [ - "PageBaseTeacher" - ], "X-LengthLimit": [ { "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", - "main_school_id", - "province_code", - "city_code", - "district_code" - ], "X-RoleLimit": [ "1", "2", @@ -2140,42 +2104,19 @@ "7" ], "X-Sort": [ - 1 - ], - "X-TableName": [ - "t_base_teacher" + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取教职工列表", + "description": "下载教职工导入模板", "parameters": [ { - "description": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, - { - "description": "部门ID", + "description": "单位ID", "in": "query", "name": "orgId", "required": true, "type": "string" - }, - { - "description": "教职工姓名", - "in": "query", - "name": "xm", - "type": "string" } ], "produces": [ @@ -2189,20 +2130,24 @@ } } }, - "summary": "获取教职工列表", + "summary": "下载教职工导入模板", "tags": [ "教师信息" ] } }, - "/base/teacher/SettingMainOrgInfo": { + "/base/teacher/SettingTeacherMultipleBureauInfo": { "post": { "X-EmptyLimit": [ - "id" + "orgId", + "personId" ], "X-LengthLimit": [ { - "id": "36,36" + "orgId": "36,36" + }, + { + "personId": "36,36" } ], "X-RoleLimit": [ @@ -2211,22 +2156,22 @@ "4" ], "X-Sort": [ - 14 + 11 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "设置主单位", + "description": "设置教师多单位", "parameters": [ { - "description": "ID", + "description": "部门ID", "in": "formData", - "name": "id", + "name": "orgId", "required": true, "type": "string" }, { - "description": "人员ID", + "description": "教职工ID", "in": "formData", "name": "personId", "required": true, @@ -2244,74 +2189,23 @@ } } }, - "summary": "设置主单位", + "summary": "设置教师多单位", "tags": [ "教师信息" ] } }, - "/base/teacher/UpdateTeacherInfo": { + "/base/teacher/DeleteTeacherInfo": { "post": { "X-EmptyLimit": [ - "personId", - "xm", - "mzm", - "zzmmm", - "zcm", - "bzlbm", - "xlm", - "xwm" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - }, - { - "sfzjlxm": "1,4" - } + "personIds" ], "X-InterfaceName": [ - "UpdateBaseTeacher" + "DeleteBaseTeacher" ], "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" + "personIds": "36,1800" } ], "X-RoleLimit": [ @@ -2324,145 +2218,122 @@ "7" ], "X-Sort": [ - 5 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改教职工信息", + "description": "删除教职工信息", "parameters": [ { - "description": "单位ID", + "description": "教职工ID,多个用逗号分隔", "in": "formData", - "name": "bureauId", + "name": "personIds", "required": true, "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "删除教职工信息", + "tags": [ + "教师信息" + ] + } + }, + "/base/teacher/SettingMainOrgInfo": { + "post": { + "X-EmptyLimit": [ + "id" + ], + "X-LengthLimit": [ { - "description": "教职工ID", + "id": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "3", + "4" + ], + "X-Sort": [ + 14 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "设置主单位", + "parameters": [ + { + "description": "ID", "in": "formData", - "name": "personId", + "name": "id", "required": true, "type": "string" }, { - "description": "教职工姓名", + "description": "人员ID", "in": "formData", - "name": "xm", + "name": "personId", "required": true, "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "设置主单位", + "tags": [ + "教师信息" + ] + } + }, + "/base/teacher/DeleteTeacherMultipleBureauInfo": { + "post": { + "X-EmptyLimit": [ + "id" + ], + "X-LengthLimit": [ { - "description": "身份证件类型(字典:sfzjlxm)", - "in": "formData", - "name": "sfzjlxm", - "type": "string" - }, + "id": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "3", + "4" + ], + "X-Sort": [ + 13 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除教职工所在多单位信息", + "parameters": [ { - "description": "证件号", + "description": "ID", "in": "formData", - "name": "sfzjh", + "name": "id", + "required": true, "type": "string" - }, - { - "description": "性别(字典:xbm)", - "in": "formData", - "name": "xbm", - "required": true, - "type": "string" - }, - { - "description": "出生日期", - "in": "formData", - "name": "csrq", - "required": true, - "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": "职务ID,多个用逗号分隔", - "in": "formData", - "name": "positionIds", - "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": [ @@ -2476,22 +2347,42 @@ } } }, - "summary": "修改教职工信息", + "summary": "删除教职工所在多单位信息", "tags": [ "教师信息" ] } }, - "/base/teacher/ExportTeacherExcel": { + "/base/teacher/GetTeacherInfo": { "get": { "X-EmptyLimit": [ - "orgId" + "personId" + ], + "X-ExtendSwaggerField": [ + { + "column_comment": "部门名称", + "column_name": "org_name", + "sample_data": "语文组" + } + ], + "X-InterfaceName": [ + "GetBaseTeacher" ], "X-LengthLimit": [ { - "orgId": "36,36" + "personId": "36,36" } ], + "X-RemoveSwaggerField": [ + "identity_id", + "id_int", + "xmpy", + "cym", + "gwzym", + "b_use", + "state_id", + "last_updated_time" + ], "X-RoleLimit": [ "1", "2", @@ -2502,17 +2393,27 @@ "7" ], "X-Sort": [ - 8 + 2 + ], + "X-TableName": [ + "t_base_teacher" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导出本单位教职工信息到EXCEL", + "description": "获取教职工信息", "parameters": [ + { + "description": "教职工ID", + "in": "query", + "name": "personId", + "required": true, + "type": "string" + }, { "description": "单位ID", "in": "query", - "name": "orgId", + "name": "bureauId", "required": true, "type": "string" } @@ -2528,56 +2429,50 @@ } } }, - "summary": "导出本单位教职工信息到EXCEL", + "summary": "获取教职工信息", "tags": [ "教师信息" ] } }, - "/base/teacher/ReviseTeacherOrg": { + "/base/teacher/TeacherTransferInfo": { "post": { "X-EmptyLimit": [ - "personIds" + "orgId", + "personId" ], "X-LengthLimit": [ { - "personIds": "36,1800" - }, - { - "sourceOrgId": "36,36" + "orgId": "36,36" }, { - "targetOrgId": "36,36" + "personId": "36,36" } ], "X-RoleLimit": [ "1", - "2", "3", - "4", - "5", - "6", - "7" + "4" ], "X-Sort": [ - 6 + 15 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "调整教职工部门", + "description": "教师调转单位", "parameters": [ { - "description": "教职工ID,多个用逗号分隔", + "description": "部门ID", "in": "formData", - "name": "personIds", + "name": "orgId", "required": true, "type": "string" }, { - "description": "调整后的部门ID", + "description": "人员ID", "in": "formData", - "name": "orgId", + "name": "personId", "required": true, "type": "string" } @@ -2593,23 +2488,74 @@ } } }, - "summary": "调整教职工部门", + "summary": "教师调转单位", "tags": [ "教师信息" ] } }, - "/base/teacher/DeleteTeacherInfo": { + "/base/teacher/AddTeacherInfo": { "post": { "X-EmptyLimit": [ - "personIds" + "orgId", + "xm", + "mzm", + "zzmmm", + "zcm", + "bzlbm", + "xlm", + "xwm" + ], + "X-IntRangeLimit": [ + { + "sortId": "1,9999" + }, + { + "sfzjlxm": "1,4" + } ], "X-InterfaceName": [ - "DeleteBaseTeacher" + "AddBaseTeacher" ], "X-LengthLimit": [ { - "personIds": "36,1800" + "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": [ @@ -2622,181 +2568,17 @@ "7" ], "X-Sort": [ - 4 + 3 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除教职工信息", + "description": "增加教职工信息", "parameters": [ { - "description": "教职工ID,多个用逗号分隔", + "description": "部门ID", "in": "formData", - "name": "personIds", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除教职工信息", - "tags": [ - "教师信息" - ] - } - }, - "/base/teacher/PageTeacherMultipleBureauInfo": { - "get": { - "X-EmptyLimit": [ - "personId" - ], - "X-LengthLimit": [ - { - "personId": "36,36" - } - ], - "X-RemoveSwaggerField": [ - "identity_id", - "id_int", - "xmpy", - "cym", - "gwzym", - "b_use", - "state_id", - "last_updated_time" - ], - "X-RoleLimit": [ - "1", - "3", - "4" - ], - "X-Sort": [ - 12 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "根据教职工ID获取该教职工所在多单位列表", - "parameters": [ - { - "description": "教职工ID", - "in": "query", - "name": "personId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "根据教职工ID获取该教职工所在多单位列表", - "tags": [ - "教师信息" - ] - } - }, - "/base/teacher/AddTeacherInfo": { - "post": { - "X-EmptyLimit": [ - "orgId", - "xm", - "mzm", - "zzmmm", - "zcm", - "bzlbm", - "xlm", - "xwm" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - }, - { - "sfzjlxm": "1,4" - } - ], - "X-InterfaceName": [ - "AddBaseTeacher" - ], - "X-LengthLimit": [ - { - "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", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 3 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "增加教职工信息", - "parameters": [ - { - "description": "部门ID", - "in": "formData", - "name": "orgId", + "name": "orgId", "required": true, "type": "string" }, @@ -2937,16 +2719,97 @@ ] } }, - "/base/teacher/ExportTeacherAccountExcel": { + "/base/teacher/PageTeacherInfo": { "get": { "X-EmptyLimit": [ + "page", + "limit", "orgId" ], + "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" + }, + { + "column_comment": "账号状态", + "column_name": "login_status", + "sample_data": "已启用" + }, + { + "column_comment": "学段名称", + "column_name": "stage_name", + "sample_data": "小学" + }, + { + "column_comment": "学科名称", + "column_name": "subject_name", + "sample_data": "数学" + } + ], + "X-IntRangeLimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } + ], + "X-InterfaceName": [ + "PageBaseTeacher" + ], "X-LengthLimit": [ { "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", + "main_school_id", + "province_code", + "city_code", + "district_code" + ], "X-RoleLimit": [ "1", "2", @@ -2957,19 +2820,42 @@ "7" ], "X-Sort": [ - 7 + 1 + ], + "X-TableName": [ + "t_base_teacher" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导出本单位教职工账号信息到EXCEL", + "description": "获取教职工列表", "parameters": [ { - "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": "教职工姓名", + "in": "query", + "name": "xm", + "type": "string" } ], "produces": [ @@ -2983,20 +2869,26 @@ } } }, - "summary": "导出本单位教职工账号信息到EXCEL", + "summary": "获取教职工列表", "tags": [ "教师信息" ] } }, - "/base/teacher/ImportTeacherExcel": { + "/base/teacher/ReviseTeacherOrg": { "post": { "X-EmptyLimit": [ - "orgId" + "personIds" ], "X-LengthLimit": [ { - "orgId": "36,36" + "personIds": "36,1800" + }, + { + "sourceOrgId": "36,36" + }, + { + "targetOrgId": "36,36" } ], "X-RoleLimit": [ @@ -3009,123 +2901,23 @@ "7" ], "X-Sort": [ - 10 + 6 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导入教职工EXCEL", + "description": "调整教职工部门", "parameters": [ { - "description": "单位ID", + "description": "教职工ID,多个用逗号分隔", "in": "formData", - "name": "orgId", + "name": "personIds", "required": true, "type": "string" }, { - "description": "EXCEL文件", - "in": "formData", - "name": "excelFile", - "required": true, - "type": "file" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "导入教职工EXCEL", - "tags": [ - "教师信息" - ] - } - }, - "/base/teacher/DeleteTeacherMultipleBureauInfo": { - "post": { - "X-EmptyLimit": [ - "id" - ], - "X-LengthLimit": [ - { - "id": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "3", - "4" - ], - "X-Sort": [ - 13 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "删除教职工所在多单位信息", - "parameters": [ - { - "description": "ID", + "description": "调整后的部门ID", "in": "formData", - "name": "id", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除教职工所在多单位信息", - "tags": [ - "教师信息" - ] - } - }, - "/base/teacher/DownLoadTeacherTemplateExcel": { - "get": { - "X-EmptyLimit": [ - "orgId" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 9 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "下载教职工导入模板", - "parameters": [ - { - "description": "单位ID", - "in": "query", "name": "orgId", "required": true, "type": "string" @@ -3142,27 +2934,17 @@ } } }, - "summary": "下载教职工导入模板", + "summary": "调整教职工部门", "tags": [ "教师信息" ] } }, - "/base/teacher/GetTeacherInfo": { + "/base/teacher/PageTeacherMultipleBureauInfo": { "get": { "X-EmptyLimit": [ "personId" ], - "X-ExtendSwaggerField": [ - { - "column_comment": "部门名称", - "column_name": "org_name", - "sample_data": "语文组" - } - ], - "X-InterfaceName": [ - "GetBaseTeacher" - ], "X-LengthLimit": [ { "personId": "36,36" @@ -3180,23 +2962,16 @@ ], "X-RoleLimit": [ "1", - "2", "3", - "4", - "5", - "6", - "7" + "4" ], "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_teacher" + 12 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取教职工信息", + "description": "根据教职工ID获取该教职工所在多单位列表", "parameters": [ { "description": "教职工ID", @@ -3204,13 +2979,6 @@ "name": "personId", "required": true, "type": "string" - }, - { - "description": "单位ID", - "in": "query", - "name": "bureauId", - "required": true, - "type": "string" } ], "produces": [ @@ -3224,80 +2992,225 @@ } } }, - "summary": "获取教职工信息", + "summary": "根据教职工ID获取该教职工所在多单位列表", "tags": [ "教师信息" ] } }, - "/base/purview/PagePurviewInfoByBusinessCode": { - "get": { + "/base/teacher/UpdateTeacherInfo": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "businessCode" - ], - "X-IntLimit": [ - "page", - "limit" + "personId", + "xm", + "mzm", + "zzmmm", + "zcm", + "bzlbm", + "xlm", + "xwm" ], "X-IntRangeLimit": [ { - "page": "1,1000" + "sortId": "1,9999" }, { - "limit": "1,1000" + "sfzjlxm": "1,4" } ], "X-InterfaceName": [ - "PageBasePurview" + "UpdateBaseTeacher" ], "X-LengthLimit": [ { - "businessCode": "6,6" + "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_int", - "purview_type", - "menu_icon", - "b_use", - "last_updated_time" - ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "X-Sort": [ 5 ], - "X-TableName": [ - "t_base_purview" - ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据业务系统编码获取权限信息信息", + "description": "修改教职工信息", "parameters": [ { - "description": "第几页", - "in": "query", - "name": "page", + "description": "单位ID", + "in": "formData", + "name": "bureauId", "required": true, - "type": "integer" + "type": "string" }, { - "description": "一页显示多少条", - "in": "query", - "name": "limit", + "description": "教职工ID", + "in": "formData", + "name": "personId", "required": true, - "type": "integer" + "type": "string" }, { - "description": "业务系统编码", - "in": "query", - "name": "businessCode", + "description": "教职工姓名", + "in": "formData", + "name": "xm", + "required": true, + "type": "string" + }, + { + "description": "身份证件类型(字典:sfzjlxm)", + "in": "formData", + "name": "sfzjlxm", + "type": "string" + }, + { + "description": "证件号", + "in": "formData", + "name": "sfzjh", + "type": "string" + }, + { + "description": "性别(字典:xbm)", + "in": "formData", + "name": "xbm", + "required": true, + "type": "string" + }, + { + "description": "出生日期", + "in": "formData", + "name": "csrq", + "required": true, + "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": "职务ID,多个用逗号分隔", + "in": "formData", + "name": "positionIds", + "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": [ @@ -3311,17 +3224,18 @@ } } }, - "summary": "根据业务系统编码获取权限信息信息", + "summary": "修改教职工信息", "tags": [ - "权限" + "教师信息" ] } }, - "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { + "/base/purview/PagePurviewInfoByBusinessCode": { "get": { "X-EmptyLimit": [ "page", - "limit" + "limit", + "businessCode" ], "X-IntLimit": [ "page", @@ -3338,24 +3252,23 @@ "X-InterfaceName": [ "PageBasePurview" ], + "X-LengthLimit": [ + { + "businessCode": "6,6" + } + ], "X-RemoveSwaggerField": [ "id_int", "purview_type", - "business_code", + "menu_icon", "b_use", "last_updated_time" ], "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ], "X-Sort": [ - 6 + 5 ], "X-TableName": [ "t_base_purview" @@ -3363,7 +3276,7 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据人员ID和业务系统编码获取权限信息信息", + "description": "根据业务系统编码获取权限信息信息", "parameters": [ { "description": "第几页", @@ -3378,6 +3291,13 @@ "name": "limit", "required": true, "type": "integer" + }, + { + "description": "业务系统编码", + "in": "query", + "name": "businessCode", + "required": true, + "type": "string" } ], "produces": [ @@ -3391,20 +3311,69 @@ } } }, - "summary": "根据人员ID和业务系统编码获取权限信息信息", + "summary": "根据业务系统编码获取权限信息信息", "tags": [ "权限" ] } }, - "/base/purview/AddPurviewInfo": { + "/base/purview/DeletePurviewInfo": { + "post": { + "X-EmptyLimit": [ + "purviewIds" + ], + "X-InterfaceName": [ + "DeleteBasePurview" + ], + "X-LengthLimit": [ + { + "purviewIds": "36,1800" + } + ], + "X-RoleLimit": [ + "1" + ], + "X-Sort": [ + 2 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除权限信息", + "parameters": [ + { + "description": "权限ID,如果是多个用逗号分隔", + "in": "formData", + "name": "purviewIds", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "删除权限信息", + "tags": [ + "权限" + ] + } + }, + "/base/purview/UpdatePurviewInfo": { "post": { "X-EmptyLimit": [ + "purviewId", "purviewName", "businessCode", "purviewType", - "menuUrl", - "parentId" + "menuUrl" ], "X-IntLimit": [ "purviewType", @@ -3419,9 +3388,12 @@ } ], "X-InterfaceName": [ - "AddBasePurview" + "UpdateBasePurview" ], "X-LengthLimit": [ + { + "purviewId": "36,36" + }, { "purviewName": "1,100" }, @@ -3430,22 +3402,26 @@ }, { "menuUrl": "1,300" - }, - { - "parentId": "36,36" } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 1 + 3 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加权限信息", + "description": "修改权限信息", "parameters": [ + { + "description": "权限ID", + "in": "formData", + "name": "purviewId", + "required": true, + "type": "string" + }, { "description": "权限名称", "in": "formData", @@ -3474,13 +3450,6 @@ "required": true, "type": "string" }, - { - "description": "父节点ID", - "in": "formData", - "name": "parentId", - "required": true, - "type": "string" - }, { "description": "排序号", "in": "formData", @@ -3499,69 +3468,20 @@ } } }, - "summary": "增加权限信息", + "summary": "修改权限信息", "tags": [ "权限" ] } }, - "/base/purview/DeletePurviewInfo": { + "/base/purview/AddPurviewInfo": { "post": { "X-EmptyLimit": [ - "purviewIds" - ], - "X-InterfaceName": [ - "DeleteBasePurview" - ], - "X-LengthLimit": [ - { - "purviewIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 2 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "删除权限信息", - "parameters": [ - { - "description": "权限ID,如果是多个用逗号分隔", - "in": "formData", - "name": "purviewIds", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除权限信息", - "tags": [ - "权限" - ] - } - }, - "/base/purview/UpdatePurviewInfo": { - "post": { - "X-EmptyLimit": [ - "purviewId", - "purviewName", - "businessCode", - "purviewType", - "menuUrl" + "purviewName", + "businessCode", + "purviewType", + "menuUrl", + "parentId" ], "X-IntLimit": [ "purviewType", @@ -3576,12 +3496,9 @@ } ], "X-InterfaceName": [ - "UpdateBasePurview" + "AddBasePurview" ], "X-LengthLimit": [ - { - "purviewId": "36,36" - }, { "purviewName": "1,100" }, @@ -3590,26 +3507,22 @@ }, { "menuUrl": "1,300" + }, + { + "parentId": "36,36" } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 3 + 1 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改权限信息", + "description": "增加权限信息", "parameters": [ - { - "description": "权限ID", - "in": "formData", - "name": "purviewId", - "required": true, - "type": "string" - }, { "description": "权限名称", "in": "formData", @@ -3638,6 +3551,13 @@ "required": true, "type": "string" }, + { + "description": "父节点ID", + "in": "formData", + "name": "parentId", + "required": true, + "type": "string" + }, { "description": "排序号", "in": "formData", @@ -3656,7 +3576,7 @@ } } }, - "summary": "修改权限信息", + "summary": "增加权限信息", "tags": [ "权限" ] @@ -3721,125 +3641,67 @@ ] } }, - "/base/class/GetRxnfInfo": { + "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { "get": { - "X-InterfaceName": [ - "PageBaseClass" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 8 + "X-EmptyLimit": [ + "page", + "limit" ], - "consumes": [ - "application/x-www-form-urlencoded" + "X-IntLimit": [ + "page", + "limit" ], - "description": "根据学校ID和学部(学段)ID获取入学年份", - "parameters": [ + "X-IntRangeLimit": [ { - "description": "学校ID", - "in": "query", - "name": "orgId", - "required": true, - "type": "string" + "page": "1,1000" }, { - "description": "学部(学段)ID", - "in": "query", - "name": "stageId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "根据学校ID和学部(学段)ID获取入学年份", - "tags": [ - "班级信息" - ] - } - }, - "/base/class/ImportXJCSV": { - "post": { - "X-Sort": [ - 9 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导入学籍CSV文件", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } + "limit": "1,1000" } - }, - "summary": "导入学籍CSV文件", - "tags": [ - "班级信息" - ] - } - }, - "/base/class/DeleteClassInfo": { - "post": { - "X-EmptyLimit": [ - "classIds" ], "X-InterfaceName": [ - "DeleteBaseClass" + "PageBasePurview" ], - "X-LengthLimit": [ - { - "classId": "36,1800" - } + "X-RemoveSwaggerField": [ + "id_int", + "purview_type", + "business_code", + "b_use", + "last_updated_time" ], "X-RoleLimit": [ "1", "2", "3", "4", + "5", "6", "7" ], "X-Sort": [ - 4 + 6 + ], + "X-TableName": [ + "t_base_purview" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除班级信息", + "description": "根据人员ID和业务系统编码获取权限信息信息", "parameters": [ { - "description": "班级ID,多个用逗号分隔", - "in": "formData", - "name": "classIds", + "description": "第几页", + "in": "query", + "name": "page", "required": true, - "type": "string" + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" } ], "produces": [ @@ -3853,9 +3715,9 @@ } } }, - "summary": "删除班级信息", + "summary": "根据人员ID和业务系统编码获取权限信息信息", "tags": [ - "班级信息" + "权限" ] } }, @@ -3956,44 +3818,92 @@ ] } }, - "/base/class/AddClassInfo": { + "/base/class/ImportXJCSV": { "post": { + "X-Sort": [ + 9 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "导入学籍CSV文件", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "导入学籍CSV文件", + "tags": [ + "班级信息" + ] + } + }, + "/base/class/PageClassInfo": { + "get": { "X-EmptyLimit": [ + "page", + "limit", "orgId", "stageId", - "schoolingLength", - "rxnf", - "startBh", - "endBh" + "rxnf" ], - "X-IntRangeLimit": [ - { - "rxnf": "1990,2100" - }, + "X-ExtendSwaggerField": [ { - "schoolingLength": "1,10" + "column_comment": "学生人数", + "column_name": "student_count", + "sample_data": "41" }, { - "startBh": "1,999" - }, + "column_comment": "班主任", + "column_name": "teacher_name", + "sample_data": "李老师" + } + ], + "X-IntRangeLimit": [ { - "endBh": "1,999" + "page": "1,1000" + }, + { + "limit": "1,1000" + }, + { + "rxnf": "1990,2100" } ], "X-InterfaceName": [ - "AddBaseClass" + "PageBaseClass" ], "X-LengthLimit": [ { "orgId": "36,36" }, { - "xbm": "1,1" - }, - { - "classAlias": "1,30" + "removeClassId": "36,36" } ], + "X-RemoveSwaggerField": [ + "id_int", + "bh", + "class_code", + "rxnf", + "rxjj", + "schooling_length", + "stage_id", + "org_id", + "bureau_id", + "b_use", + "province_code", + "city_code", + "district_code", + "main_school_id", + "last_updated_time" + ], "X-RoleLimit": [ "1", "2", @@ -4003,57 +3913,55 @@ "7" ], "X-Sort": [ - 3 + 1 + ], + "X-TableName": [ + "t_base_class" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加班级信息", + "description": "获取班级列表", "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { "description": "学校ID", - "in": "formData", + "in": "query", "name": "orgId", "required": true, "type": "string" }, { "description": "学部ID", - "in": "formData", + "in": "query", "name": "stageId", "required": true, "type": "string" }, - { - "description": "学制", - "in": "formData", - "name": "schoolingLength", - "required": true, - "type": "integer" - }, { "description": "入学年份", - "in": "formData", + "in": "query", "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", + "description": "需要滤掉的班级ID", + "in": "query", + "name": "removeClassId", "type": "string" } ], @@ -4068,7 +3976,7 @@ } } }, - "summary": "增加班级信息", + "summary": "获取班级列表", "tags": [ "班级信息" ] @@ -4139,65 +4047,19 @@ ] } }, - "/base/class/PageClassInfo": { + "/base/class/GetStageInfo": { "get": { - "X-EmptyLimit": [ - "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-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - }, - { - "rxnf": "1990,2100" - } - ], "X-InterfaceName": [ "PageBaseClass" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "removeClassId": "36,36" } ], "X-RemoveSwaggerField": [ - "id_int", - "bh", - "class_code", - "rxnf", - "rxjj", - "schooling_length", - "stage_id", - "org_id", - "bureau_id", "b_use", - "province_code", - "city_code", - "district_code", - "main_school_id", - "last_updated_time" + "sort_id" ], "X-RoleLimit": [ "1", @@ -4208,56 +4070,22 @@ "7" ], "X-Sort": [ - 1 + 7 ], "X-TableName": [ - "t_base_class" + "t_dm_stage" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取班级列表", + "description": "获取学段信息", "parameters": [ - { - "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", - "name": "removeClassId", - "type": "string" } ], "produces": [ @@ -4271,26 +4099,29 @@ } } }, - "summary": "获取班级列表", + "summary": "获取学段信息", "tags": [ "班级信息" ] } }, - "/base/class/GetStageInfo": { - "get": { + "/base/class/UpdateClassInfo": { + "post": { + "X-EmptyLimit": [ + "classId", + "classAlias" + ], "X-InterfaceName": [ - "PageBaseClass" + "UpdateBaseClass" ], "X-LengthLimit": [ { - "orgId": "36,36" + "classId": "36,36" + }, + { + "classAlias": "1,30" } ], - "X-RemoveSwaggerField": [ - "b_use", - "sort_id" - ], "X-RoleLimit": [ "1", "2", @@ -4300,20 +4131,24 @@ "7" ], "X-Sort": [ - 7 - ], - "X-TableName": [ - "t_dm_stage" + 5 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取学段信息", + "description": "修改班级信息(只允许修改班级别名)", "parameters": [ { - "description": "学校ID", - "in": "query", - "name": "orgId", + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" + }, + { + "description": "班级别名", + "in": "formData", + "name": "classAlias", "required": true, "type": "string" } @@ -4329,27 +4164,23 @@ } } }, - "summary": "获取学段信息", + "summary": "修改班级信息(只允许修改班级别名)", "tags": [ "班级信息" ] } }, - "/base/class/UpdateClassInfo": { + "/base/class/DeleteClassInfo": { "post": { "X-EmptyLimit": [ - "classId", - "classAlias" + "classIds" ], "X-InterfaceName": [ - "UpdateBaseClass" + "DeleteBaseClass" ], "X-LengthLimit": [ { - "classId": "36,36" - }, - { - "classAlias": "1,30" + "classId": "36,1800" } ], "X-RoleLimit": [ @@ -4361,24 +4192,17 @@ "7" ], "X-Sort": [ - 5 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改班级信息(只允许修改班级别名)", + "description": "删除班级信息", "parameters": [ { - "description": "班级ID", - "in": "formData", - "name": "classId", - "required": true, - "type": "string" - }, - { - "description": "班级别名", + "description": "班级ID,多个用逗号分隔", "in": "formData", - "name": "classAlias", + "name": "classIds", "required": true, "type": "string" } @@ -4394,53 +4218,110 @@ } } }, - "summary": "修改班级信息(只允许修改班级别名)", + "summary": "删除班级信息", "tags": [ "班级信息" ] } }, - "/base/loginperson/RemoveCookie": { - "get": { - "X-Sort": [ - 10 + "/base/class/AddClassInfo": { + "post": { + "X-EmptyLimit": [ + "orgId", + "stageId", + "schoolingLength", + "rxnf", + "startBh", + "endBh" ], - "consumes": [ - "application/x-www-form-urlencoded" + "X-IntRangeLimit": [ + { + "rxnf": "1990,2100" + }, + { + "schoolingLength": "1,10" + }, + { + "startBh": "1,999" + }, + { + "endBh": "1,999" + } ], - "description": "移除Cookie", - "produces": [ - "application/json" + "X-InterfaceName": [ + "AddBaseClass" ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } + "X-LengthLimit": [ + { + "orgId": "36,36" + }, + { + "xbm": "1,1" + }, + { + "classAlias": "1,30" } - }, - "summary": "移除Cookie", - "tags": [ - "登录信息" - ] - } - }, - "/base/loginperson/UnbindAuthorizationInfo": { - "post": { + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" + ], "X-Sort": [ - 13 + 3 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "解除绑定第三方授权", + "description": "增加班级信息", "parameters": [ { - "description": "第三方授权类型名 qq:QQ wx:微信", + "description": "学校ID", "in": "formData", - "name": "typeName", + "name": "orgId", + "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" } ], @@ -4455,50 +4336,20 @@ } } }, - "summary": "解除绑定第三方授权", + "summary": "增加班级信息", "tags": [ - "登录信息" + "班级信息" ] } }, - "/base/loginperson/GetBindAuthorizationInfo": { + "/base/class/GetRxnfInfo": { "get": { - "X-Sort": [ - 12 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取已绑定的第三方授权", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取已绑定的第三方授权", - "tags": [ - "登录信息" - ] - } - }, - "/base/loginperson/UpdateLoginPassWordInfo": { - "post": { - "X-EmptyLimit": [ - "oldPassWord", - "newPassWord" + "X-InterfaceName": [ + "PageBaseClass" ], "X-LengthLimit": [ { - "oldPassWord": "6,18" - }, - { - "newPassWord": "6,18" + "orgId": "36,36" } ], "X-RoleLimit": [ @@ -4506,29 +4357,28 @@ "2", "3", "4", - "5", "6", "7" ], "X-Sort": [ - 11 + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改登录密码", + "description": "根据学校ID和学部(学段)ID获取入学年份", "parameters": [ { - "description": "原密码", - "in": "formData", - "name": "oldPassWord", + "description": "学校ID", + "in": "query", + "name": "orgId", "required": true, "type": "string" }, { - "description": "新密码", - "in": "formData", - "name": "newPassWord", + "description": "学部(学段)ID", + "in": "query", + "name": "stageId", "required": true, "type": "string" } @@ -4544,20 +4394,21 @@ } } }, - "summary": "修改登录密码", + "summary": "根据学校ID和学部(学段)ID获取入学年份", "tags": [ - "登录信息" + "班级信息" ] } }, - "/base/loginperson/ResetManagerPassWord": { - "post": { + "/base/loginperson/ExportBureauManagerInfoExcel": { + "get": { "X-EmptyLimit": [ - "ids" + "areaCode", + "orgType" ], "X-LengthLimit": [ { - "ids": "36,1800" + "areaCode": "6,6" } ], "X-RoleLimit": [ @@ -4565,24 +4416,29 @@ "2", "3", "4", - "5", - "6", "7" ], "X-Sort": [ - 7 + 6 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "重置管理员密码", + "description": "导出单位管理员的EXCEL", "parameters": [ { - "description": "一个或多个ID,多个用逗号分隔", - "in": "formData", - "name": "ids", + "description": "地区码", + "in": "query", + "name": "areaCode", "required": true, "type": "string" + }, + { + "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", + "in": "query", + "name": "orgType", + "required": true, + "type": "integer" } ], "produces": [ @@ -4596,43 +4452,42 @@ } } }, - "summary": "重置管理员密码", + "summary": "导出单位管理员的EXCEL", "tags": [ "登录信息" ] } }, - "/base/loginperson/EnableAccountInfo": { - "post": { + "/base/loginperson/ExportAreaManagerInfoExcel": { + "get": { "X-EmptyLimit": [ - "personIds" + "areaCode" + ], + "X-InterfaceName": [ + "PageSysLoginperson" ], "X-LengthLimit": [ { - "personIds": "36,1800" + "areaCode": "6,6" } ], "X-RoleLimit": [ "1", "2", - "3", - "4", - "5", - "6", - "7" + "3" ], "X-Sort": [ - 8 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "启用账号信息", + "description": "导出地区管理员到EXCEL(虚拟)", "parameters": [ { - "description": "一个或多个ID,多个用逗号分隔", - "in": "formData", - "name": "personIds", + "description": "地区码", + "in": "query", + "name": "areaCode", "required": true, "type": "string" } @@ -4648,13 +4503,13 @@ } } }, - "summary": "启用账号信息", + "summary": "导出地区管理员到EXCEL(虚拟)", "tags": [ "登录信息" ] } }, - "/base/loginperson/DisableAccountInfo": { + "/base/loginperson/EnableAccountInfo": { "post": { "X-EmptyLimit": [ "personIds" @@ -4674,12 +4529,12 @@ "7" ], "X-Sort": [ - 9 + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "禁用账号信息", + "description": "启用账号信息", "parameters": [ { "description": "一个或多个ID,多个用逗号分隔", @@ -4700,104 +4555,21 @@ } } }, - "summary": "禁用账号信息", + "summary": "启用账号信息", "tags": [ "登录信息" ] } }, - "/base/loginperson/ExportBureauManagerInfoExcel": { + "/base/loginperson/GetBindAuthorizationInfo": { "get": { - "X-EmptyLimit": [ - "areaCode", - "orgType" + "X-Sort": [ + 12 ], - "X-LengthLimit": [ - { - "areaCode": "6,6" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "7" - ], - "X-Sort": [ - 6 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导出单位管理员的EXCEL", - "parameters": [ - { - "description": "地区码", - "in": "query", - "name": "areaCode", - "required": true, - "type": "string" - }, - { - "description": "单位类型 1:教育局 2:学校 7:教辅单位 -1:全部", - "in": "query", - "name": "orgType", - "required": true, - "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "导出单位管理员的EXCEL", - "tags": [ - "登录信息" - ] - } - }, - "/base/loginperson/ExportAreaManagerInfoExcel": { - "get": { - "X-EmptyLimit": [ - "areaCode" - ], - "X-InterfaceName": [ - "PageSysLoginperson" - ], - "X-LengthLimit": [ - { - "areaCode": "6,6" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3" - ], - "X-Sort": [ - 4 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导出地区管理员到EXCEL(虚拟)", - "parameters": [ - { - "description": "地区码", - "in": "query", - "name": "areaCode", - "required": true, - "type": "string" - } + "consumes": [ + "application/x-www-form-urlencoded" ], + "description": "获取已绑定的第三方授权", "produces": [ "application/json" ], @@ -4809,7 +4581,7 @@ } } }, - "summary": "导出地区管理员到EXCEL(虚拟)", + "summary": "获取已绑定的第三方授权", "tags": [ "登录信息" ] @@ -4910,6 +4682,119 @@ ] } }, + "/base/loginperson/ResetManagerPassWord": { + "post": { + "X-EmptyLimit": [ + "ids" + ], + "X-LengthLimit": [ + { + "ids": "36,1800" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 7 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "重置管理员密码", + "parameters": [ + { + "description": "一个或多个ID,多个用逗号分隔", + "in": "formData", + "name": "ids", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "重置管理员密码", + "tags": [ + "登录信息" + ] + } + }, + "/base/loginperson/UnbindAuthorizationInfo": { + "post": { + "X-Sort": [ + 13 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "解除绑定第三方授权", + "parameters": [ + { + "description": "第三方授权类型名 qq:QQ wx:微信", + "in": "formData", + "name": "typeName", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "解除绑定第三方授权", + "tags": [ + "登录信息" + ] + } + }, + "/base/loginperson/RemoveCookie": { + "get": { + "X-Sort": [ + 10 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "移除Cookie", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "移除Cookie", + "tags": [ + "登录信息" + ] + } + }, "/base/loginperson/PageAreaManagerInfo": { "get": { "X-EmptyLimit": [ @@ -4998,57 +4883,16 @@ ] } }, - "/base/organization/GetOrgInfo": { - "get": { + "/base/loginperson/DisableAccountInfo": { + "post": { "X-EmptyLimit": [ - "orgId" - ], - "X-ExtendSwaggerField": [ - { - "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" + "personIds" ], "X-LengthLimit": [ { - "orgId": "36,36" + "personIds": "36,1800" } ], - "X-RemoveSwaggerField": [ - "id_int", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "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", @@ -5059,22 +4903,19 @@ "7" ], "X-Sort": [ - 18 - ], - "X-TableName": [ - "t_base_organization" + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取部门信息", + "description": "禁用账号信息", "parameters": [ { - "description": "部门ID", - "in": "query", - "name": "orgId", - "required": true, - "type": "string" + "description": "一个或多个ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" } ], "produces": [ @@ -5088,68 +4929,105 @@ } } }, - "summary": "获取部门信息", + "summary": "禁用账号信息", "tags": [ - "组织机构" + "登录信息" ] } }, - "/base/organization/GetEduAssistInfoById": { - "get": { + "/base/loginperson/UpdateLoginPassWordInfo": { + "post": { "X-EmptyLimit": [ - "orgId" + "oldPassWord", + "newPassWord" ], - "X-InterfaceName": [ - "GetBaseOrganization" + "X-LengthLimit": [ + { + "oldPassWord": "6,18" + }, + { + "newPassWord": "6,18" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 11 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "修改登录密码", + "parameters": [ + { + "description": "原密码", + "in": "formData", + "name": "oldPassWord", + "required": true, + "type": "string" + }, + { + "description": "新密码", + "in": "formData", + "name": "newPassWord", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改登录密码", + "tags": [ + "登录信息" + ] + } + }, + "/base/organization/ListOrgByOrgKeyWord": { + "get": { + "X-EmptyLimit": [ + "keyWord" ], "X-LengthLimit": [ { - "orgId": "36,36" + "keyWord": "2,30" } ], "X-RemoveSwaggerField": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "xxbbm", - "xxbxlxm", - "szdcxlxm", - "xxjbzm", - "fzr", - "org_lng", - "org_lat", - "b_use", - "province_code", - "city_code", - "district_code", - "last_updated_time" + "id_int" ], "X-RoleLimit": [ "1", - "2", "3", "4" ], "X-Sort": [ - 8 - ], - "X-TableName": [ - "t_base_organization" + 23 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据教辅单位ID获取教辅单位信息", + "description": "根据单位名称的关键字和管理员的人员ID查询单位列表", "parameters": [ { - "description": "教辅单位ID", + "description": "单位名称关键字", "in": "query", - "name": "orgId", + "name": "keyWord", "required": true, "type": "string" } @@ -5165,115 +5043,207 @@ } } }, - "summary": "根据教辅单位ID获取教辅单位信息", + "summary": "根据单位名称的关键字和管理员的人员ID查询单位列表", "tags": [ "组织机构" ] } }, - "/base/organization/PageEnableEduInfo": { - "get": { + "/base/organization/UpdateEduInfo": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "areaCode" + "orgId", + "orgCode", + "orgName" ], - "X-ExtendSwaggerField": [ + "X-IntRangeLimit": [ { - "column_comment": "登录账号", - "column_name": "login_name", - "sample_data": "sys001" + "sortId": "1,9999" + } + ], + "X-InterfaceName": [ + "UpdateBaseOrganization" + ], + "X-LengthLimit": [ + { + "orgId": "36,36" }, { - "column_comment": "初始密码", - "column_name": "login_pwd", - "sample_data": "741369" + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" + }, + { + "address": "2,100" + }, + { + "lxdh": "2,30" } ], - "X-IntRangeLimit": [ + "X-RoleLimit": [ + "1" + ], + "X-Sort": [ + 6 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "修改教育局信息", + "parameters": [ { - "page": "1,1000" + "description": "教育局ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" }, { - "limit": "1,1000" + "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", + "name": "sortId", + "type": "integer" } ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改教育局信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/UpdateOrgInfo": { + "post": { + "X-EmptyLimit": [ + "orgId", + "orgCode", + "orgName" + ], + "X-IntRangeLimit": [ + { + "sortId": "1,9999" + } + ], + "X-InterfaceName": [ + "UpdateBaseOrganization" + ], "X-LengthLimit": [ { - "areaCode": "6,6" + "orgId": "36,36" + }, + { + "orgCode": "2,20" }, { "orgName": "1,30" + }, + { + "orgManagerIds": "36,1800" } ], - "X-RemoveSwaggerField": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "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" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 1 - ], - "X-TableName": [ - "t_base_organization" + 20 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取已启用的教育局列表", + "description": "修改部门信息", "parameters": [ { - "description": "第几页", - "in": "query", - "name": "page", + "description": "部门ID", + "in": "formData", + "name": "orgId", "required": true, - "type": "integer" + "type": "string" }, { - "description": "一页显示多少条", - "in": "query", - "name": "limit", + "description": "部门编码", + "in": "formData", + "name": "orgCode", "required": true, - "type": "integer" + "type": "string" }, { - "description": "行政区划编码", - "in": "query", - "name": "areaCode", + "description": "部门名称", + "in": "formData", + "name": "orgName", "required": true, "type": "string" }, { - "description": "教育局名称", - "in": "query", - "name": "orgName", + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" + }, + { + "description": "部门领导的人员ID", + "in": "formData", + "name": "orgManagerIds", "type": "string" } ], @@ -5288,16 +5258,16 @@ } } }, - "summary": "获取已启用的教育局列表", + "summary": "修改部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/AddOrgInfo": { + "/base/organization/AddSchoolInfo": { "post": { "X-EmptyLimit": [ - "orgId", + "areaCode", "orgCode", "orgName" ], @@ -5311,7 +5281,7 @@ ], "X-LengthLimit": [ { - "orgId": "36,36" + "areaCode": "6,6" }, { "orgCode": "2,20" @@ -5320,10 +5290,13 @@ "orgName": "1,30" }, { - "parentId": "36,36" + "fddbr": "2,30" }, { - "orgManagerIds": "36,1800" + "fddbrdh": "2,30" + }, + { + "address": "2,100" } ], "X-RoleLimit": [ @@ -5331,57 +5304,113 @@ "2", "3", "4", - "5", - "6", "7" ], "X-Sort": [ - 19 + 14 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加部门信息", + "description": "增加学校信息", "parameters": [ { - "description": "单位ID", + "description": "行政区划编码", + "in": "formData", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "description": "学校编码", + "in": "formData", + "name": "orgCode", + "required": true, + "type": "string" + }, + { + "description": "学校名称", + "in": "formData", + "name": "orgName", + "required": true, + "type": "string" + }, + { + "description": "是否为分校 -1:非分校 1:是分校", + "in": "formData", + "name": "isBranchSchool", + "required": true, + "type": "integer" + }, + { + "description": "主校ID(是分校时才传)", "in": "formData", - "name": "orgId", + "name": "mainSchoolId", + "type": "string" + }, + { + "description": "上级管理单位行政区划编码", + "in": "formData", + "name": "managerAreaCode", "required": true, "type": "string" }, { - "description": "部门编码", + "description": "学校办学类型(字典:xxbxlxm)", "in": "formData", - "name": "orgCode", + "name": "xxbxlxm", "required": true, "type": "string" }, { - "description": "部门名称", + "description": "学校城乡类型(字典:szdcxlxm)", "in": "formData", - "name": "orgName", + "name": "szdcxlxm", "required": true, "type": "string" }, { - "description": "上级部门ID", + "description": "学校举办者(字典:xxjbzm)", "in": "formData", - "name": "parentId", + "name": "xxjbzm", "required": true, "type": "string" }, { - "description": "排序号", + "description": "附设班办学类型ID,多个用逗号分隔", "in": "formData", - "name": "sortId", - "type": "integer" + "name": "fsbIds", + "type": "string" }, { - "description": "部门领导的人员ID", + "description": "学校法定代表人", "in": "formData", - "name": "orgManagerIds", + "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": [ @@ -5395,19 +5424,31 @@ } } }, - "summary": "增加部门信息", + "summary": "增加学校信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageEduAssistInfo": { + "/base/organization/PageEnableEduInfo": { "get": { "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" + } + ], "X-IntRangeLimit": [ { "page": "1,1000" @@ -5453,12 +5494,11 @@ ], "X-RoleLimit": [ "1", - "2", "3", "4" ], "X-Sort": [ - 7 + 1 ], "X-TableName": [ "t_base_organization" @@ -5466,7 +5506,7 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取教辅单位列表", + "description": "获取已启用的教育局列表", "parameters": [ { "description": "第几页", @@ -5490,7 +5530,7 @@ "type": "string" }, { - "description": "教辅单位名称", + "description": "教育局名称", "in": "query", "name": "orgName", "type": "string" @@ -5507,7 +5547,7 @@ } } }, - "summary": "获取教辅单位列表", + "summary": "获取已启用的教育局列表", "tags": [ "组织机构" ] @@ -5565,36 +5605,81 @@ ] } }, - "/base/organization/ListOrgByOrgKeyWord": { + "/base/organization/GetOrgInfo": { "get": { "X-EmptyLimit": [ - "keyWord" + "orgId" + ], + "X-ExtendSwaggerField": [ + { + "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": [ { - "keyWord": "2,30" + "orgId": "36,36" } ], "X-RemoveSwaggerField": [ - "id_int" + "id_int", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "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" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 23 + 18 + ], + "X-TableName": [ + "t_base_organization" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据单位名称的关键字和管理员的人员ID查询单位列表", + "description": "获取部门信息", "parameters": [ { - "description": "单位名称关键字", + "description": "部门ID", "in": "query", - "name": "keyWord", + "name": "orgId", "required": true, "type": "string" } @@ -5610,111 +5695,111 @@ } } }, - "summary": "根据单位名称的关键字和管理员的人员ID查询单位列表", + "summary": "获取部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageMainSchoolInfo": { - "get": { + "/base/organization/EnableEdu": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "areaCode" - ], - "X-ExtendSwaggerField": [ - { - "column_comment": "学校办学类型名称", - "column_name": "xxbxlxm_name", - "sample_data": "小学" - } + "orgId", + "orgCode", + "orgName" ], "X-IntRangeLimit": [ { - "page": "1,1000" - }, - { - "limit": "1,1000" + "sortId": "1,9999" } ], "X-InterfaceName": [ - "PageBaseOrganization" + "UpdateBaseOrganization" ], "X-LengthLimit": [ { - "areaCode": "6,6" + "orgId": "36,36" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "fddbr": "2,30" + }, + { + "fddbrdh": "2,30" + }, + { + "address": "2,100" + }, + { + "lxdh": "2,30" } ], - "X-RemoveSwaggerField": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_id", - "manage_org_id", - "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" + "1" ], "X-Sort": [ - 12 - ], - "X-TableName": [ - "t_base_organization" + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取主校列表", + "description": "启用教育局", "parameters": [ { - "description": "第几页", - "in": "query", - "name": "page", + "description": "教育局ID", + "in": "formData", + "name": "orgId", "required": true, - "type": "integer" + "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": "query", - "name": "limit", - "required": true, - "type": "integer" + "description": "教育局法定代表人电话", + "in": "formData", + "name": "fddbrdh", + "type": "string" }, { - "description": "行政区划编码", - "in": "query", - "name": "areaCode", - "required": true, + "description": "教育局地址", + "in": "formData", + "name": "address", "type": "string" }, { - "description": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", - "in": "query", - "name": "orgId", + "description": "联系电话", + "in": "formData", + "name": "lxdh", "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], "produces": [ @@ -5728,13 +5813,13 @@ } } }, - "summary": "获取主校列表", + "summary": "启用教育局", "tags": [ "组织机构" ] } }, - "/base/organization/AddSchoolInfo": { + "/base/organization/AddEduAssistInfo": { "post": { "X-EmptyLimit": [ "areaCode", @@ -5767,22 +5852,24 @@ }, { "address": "2,100" + }, + { + "lxdh": "2,30" } ], "X-RoleLimit": [ "1", "2", "3", - "4", - "7" + "4" ], "X-Sort": [ - 14 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加学校信息", + "description": "增加教辅单位信息", "parameters": [ { "description": "行政区划编码", @@ -5792,80 +5879,33 @@ "type": "string" }, { - "description": "学校编码", + "description": "教辅单位编码", "in": "formData", "name": "orgCode", "required": true, "type": "string" }, { - "description": "学校名称", + "description": "教辅单位名称", "in": "formData", "name": "orgName", "required": true, "type": "string" }, { - "description": "是否为分校 -1:非分校 1:是分校", - "in": "formData", - "name": "isBranchSchool", - "required": true, - "type": "integer" - }, - { - "description": "主校ID(是分校时才传)", - "in": "formData", - "name": "mainSchoolId", - "type": "string" - }, - { - "description": "上级管理单位行政区划编码", - "in": "formData", - "name": "managerAreaCode", - "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": "附设班办学类型ID,多个用逗号分隔", - "in": "formData", - "name": "fsbIds", - "type": "string" - }, - { - "description": "学校法定代表人", + "description": "教辅单位法定代表人", "in": "formData", "name": "fddbr", "type": "string" }, { - "description": "学校法定代表人电话", + "description": "教辅单位法定代表人电话", "in": "formData", "name": "fddbrdh", "type": "string" }, { - "description": "学校地址", + "description": "教辅单位地址", "in": "formData", "name": "address", "type": "string" @@ -5894,111 +5934,164 @@ } } }, - "summary": "增加学校信息", + "summary": "增加教辅单位信息", "tags": [ "组织机构" ] } }, - "/base/organization/UpdateEduInfo": { - "post": { + "/base/organization/GetSchoolInfoById": { + "get": { "X-EmptyLimit": [ - "orgId", - "orgCode", - "orgName" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } + "orgId" ], "X-InterfaceName": [ - "UpdateBaseOrganization" + "GetBaseOrganization" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" - }, - { - "lxdh": "2,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", + "last_updated_time" + ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4", + "7" ], "X-Sort": [ - 6 + 13 + ], + "X-TableName": [ + "t_base_organization" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改教育局信息", + "description": "根据学校ID获取学校信息", "parameters": [ { - "description": "教育局ID", - "in": "formData", + "description": "学校ID", + "in": "query", "name": "orgId", "required": true, "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据学校ID获取学校信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/DeleteSchoolInfo": { + "post": { + "X-EmptyLimit": [ + "orgIds" + ], + "X-InterfaceName": [ + "DeleteBaseOrganization" + ], + "X-LengthLimit": [ { - "description": "教育局编码", - "in": "formData", - "name": "orgCode", - "required": true, - "type": "string" - }, + "orgIds": "36,1800" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "7" + ], + "X-Sort": [ + 16 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除学校信息", + "parameters": [ { - "description": "教育局名称", + "description": "学校ID,如果是多个用逗号分隔", "in": "formData", - "name": "orgName", + "name": "orgIds", "required": true, "type": "string" - }, - { - "description": "教育局法定代表人", - "in": "formData", - "name": "fddbr", - "type": "string" - }, - { - "description": "教育局法定代表人电话", - "in": "formData", - "name": "fddbrdh", - "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "删除学校信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/ListEduByCityCodeInfo": { + "get": { + "X-EmptyLimit": [ + "cityCode" + ], + "X-LengthLimit": [ { - "description": "教育局地址", - "in": "formData", - "name": "address", - "type": "string" - }, + "cityCode": "6,6" + } + ], + "X-RoleLimit": [ + "1", + "3", + "4" + ], + "X-Sort": [ + 24 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据市的行政区划码获取教育局列表", + "parameters": [ { - "description": "联系电话", - "in": "formData", - "name": "lxdh", + "description": "市的行政区划码", + "in": "query", + "name": "cityCode", + "required": true, "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" } ], "produces": [ @@ -6012,111 +6105,48 @@ } } }, - "summary": "修改教育局信息", + "summary": "根据市的行政区划码获取教育局列表", "tags": [ "组织机构" ] } }, - "/base/organization/EnableEdu": { + "/base/organization/DeleteOrgInfo": { "post": { "X-EmptyLimit": [ - "orgId", - "orgCode", - "orgName" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } + "orgId" ], "X-InterfaceName": [ - "UpdateBaseOrganization" + "DeleteBaseOrganization" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" - }, - { - "lxdh": "2,30" } ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "X-Sort": [ - 4 + 21 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "启用教育局", + "description": "删除部门信息", "parameters": [ { - "description": "教育局ID", + "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", - "name": "sortId", - "type": "integer" } ], "produces": [ @@ -6130,41 +6160,24 @@ } } }, - "summary": "启用教育局", + "summary": "删除部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageDisableEduInfo": { + "/base/organization/GetOrgTreeInfo": { "get": { "X-EmptyLimit": [ - "page", - "limit", - "areaCode" - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], - "X-InterfaceName": [ - "PageBaseOrganization" + "orgId" ], "X-LengthLimit": [ { - "areaCode": "6,6" - }, - { - "orgName": "1,50" + "orgId": "36,36" } ], "X-RemoveSwaggerField": [ "id_int", - "parent_id", "bureau_id", "org_type", "edu_assist_type", @@ -6182,53 +6195,85 @@ "lxdh", "org_lng", "org_lat", - "sort_id", "b_use", "province_code", "city_code", "district_code", + "area_code", "last_updated_time" ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_organization" + 22 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取未启用的教育局列表", + "description": "根据单位ID获取部门树", "parameters": [ { - "description": "第几页", + "description": "单位ID", "in": "query", - "name": "page", + "name": "orgId", "required": true, - "type": "integer" - }, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据单位ID获取部门树", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/DisableEdu": { + "post": { + "X-EmptyLimit": [ + "orgId" + ], + "X-InterfaceName": [ + "UpdateBaseOrganization" + ], + "X-LengthLimit": [ { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, + "orgId": "36,36" + } + ], + "X-RoleLimit": [ + "1" + ], + "X-Sort": [ + 5 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "禁用教育局", + "parameters": [ { - "description": "行政区划编码", - "in": "query", - "name": "areaCode", + "description": "教育局ID", + "in": "formData", + "name": "orgId", "required": true, "type": "string" - }, - { - "description": "教育局名称", - "in": "query", - "name": "orgName", - "type": "string" } ], "produces": [ @@ -6242,13 +6287,13 @@ } } }, - "summary": "获取未启用的教育局列表", + "summary": "禁用教育局", "tags": [ "组织机构" ] } }, - "/base/organization/GetEduInfoById": { + "/base/organization/GetEduAssistInfoById": { "get": { "X-EmptyLimit": [ "orgId" @@ -6284,10 +6329,13 @@ "last_updated_time" ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4" ], "X-Sort": [ - 3 + 8 ], "X-TableName": [ "t_base_organization" @@ -6295,10 +6343,10 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据教育局ID获取教育局信息", + "description": "根据教辅单位ID获取教辅单位信息", "parameters": [ { - "description": "教育局ID", + "description": "教辅单位ID", "in": "query", "name": "orgId", "required": true, @@ -6316,19 +6364,36 @@ } } }, - "summary": "根据教育局ID获取教育局信息", + "summary": "根据教辅单位ID获取教辅单位信息", "tags": [ "组织机构" ] } }, - "/base/organization/GetSchoolInfoById": { + "/base/organization/PageOrgInfo": { "get": { "X-EmptyLimit": [ - "orgId" + "page", + "limit", + "bureauId" + ], + "X-ExtendSwaggerField": [ + { + "column_comment": "部门领导", + "column_name": "org_manager_name", + "sample_data": "李老师" + } + ], + "X-IntRangeLimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "X-InterfaceName": [ - "GetBaseOrganization" + "PageBaseOrganization" ], "X-LengthLimit": [ { @@ -6337,16 +6402,29 @@ ], "X-RemoveSwaggerField": [ "id_int", - "parent_id", "bureau_id", "org_type", "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "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": [ @@ -6354,10 +6432,12 @@ "2", "3", "4", + "5", + "6", "7" ], "X-Sort": [ - 13 + 17 ], "X-TableName": [ "t_base_organization" @@ -6365,10 +6445,24 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据学校ID获取学校信息", + "description": "获取部门列表", "parameters": [ { - "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, @@ -6386,22 +6480,18 @@ } } }, - "summary": "根据学校ID获取学校信息", + "summary": "获取部门列表", "tags": [ "组织机构" ] } }, - "/base/organization/UpdateSchoolInfo": { + "/base/organization/UpdateEduAssistInfo": { "post": { "X-EmptyLimit": [ "orgId", "orgCode", - "orgName", - "isBranchSchool", - "xxbxlxm", - "szdcxlxm", - "xxjbzm" + "orgName" ], "X-IntRangeLimit": [ { @@ -6438,121 +6528,178 @@ "1", "2", "3", - "4", - "7" + "4" ], "X-Sort": [ - 15 + 10 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改学校信息", + "description": "修改教辅单位信息", "parameters": [ { - "description": "行政区划编码", - "in": "formData", - "name": "areaCode", - "required": true, - "type": "string" - }, - { - "description": "学校ID", + "description": "教辅单位ID", "in": "formData", "name": "orgId", "required": true, "type": "string" }, { - "description": "学校编码", + "description": "教辅单位编码", "in": "formData", "name": "orgCode", "required": true, "type": "string" }, { - "description": "学校名称", + "description": "教辅单位名称", "in": "formData", "name": "orgName", "required": true, "type": "string" }, { - "description": "是否为分校 -1:非分校 1:是分校", - "in": "formData", - "name": "isBranchSchool", - "required": true, - "type": "integer" - }, - { - "description": "主校ID(是分校时才传)", + "description": "教辅单位法定代表人", "in": "formData", - "name": "mainSchoolId", + "name": "fddbr", "type": "string" }, { - "description": "上级管理单位行政区划编码", + "description": "教辅单位法定代表人电话", "in": "formData", - "name": "managerAreaCode", - "required": true, + "name": "fddbrdh", "type": "string" }, { - "description": "学校办学类型(字典:xxbxlxm)", + "description": "教辅单位地址", "in": "formData", - "name": "xxbxlxm", - "required": true, + "name": "address", "type": "string" }, { - "description": "学校城乡类型(字典:szdcxlxm)", + "description": "联系电话", "in": "formData", - "name": "szdcxlxm", - "required": true, + "name": "lxdh", "type": "string" }, { - "description": "学校举办者(字典:xxjbzm)", + "description": "排序号", "in": "formData", - "name": "xxjbzm", - "required": true, - "type": "string" - }, + "name": "sortId", + "type": "integer" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改教辅单位信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/PageDisableEduInfo": { + "get": { + "X-EmptyLimit": [ + "page", + "limit", + "areaCode" + ], + "X-IntRangeLimit": [ { - "description": "附设班办学类型ID,多个用逗号分隔", - "in": "formData", - "name": "fsbIds", - "type": "string" + "page": "1,1000" }, { - "description": "学校法定代表人", - "in": "formData", - "name": "fddbr", - "type": "string" + "limit": "1,1000" + } + ], + "X-InterfaceName": [ + "PageBaseOrganization" + ], + "X-LengthLimit": [ + { + "areaCode": "6,6" }, { - "description": "学校法定代表人电话", - "in": "formData", - "name": "fddbrdh", - "type": "string" + "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", + "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" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取未启用的教育局列表", + "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" }, { - "description": "学校地址", - "in": "formData", - "name": "address", - "type": "string" + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" }, { - "description": "联系电话", - "in": "formData", - "name": "lxdh", + "description": "行政区划编码", + "in": "query", + "name": "areaCode", + "required": true, "type": "string" }, { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" + "description": "教育局名称", + "in": "query", + "name": "orgName", + "type": "string" } ], "produces": [ @@ -6566,48 +6713,105 @@ } } }, - "summary": "修改学校信息", + "summary": "获取未启用的教育局列表", "tags": [ "组织机构" ] } }, - "/base/organization/DeleteOrgInfo": { - "post": { + "/base/organization/PageEduAssistInfo": { + "get": { "X-EmptyLimit": [ - "orgId" + "page", + "limit", + "areaCode" ], - "X-InterfaceName": [ - "DeleteBaseOrganization" + "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_type", + "main_school_id", + "manage_org_id", + "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": [ - 21 + 7 + ], + "X-TableName": [ + "t_base_organization" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除部门信息", + "description": "获取教辅单位列表", "parameters": [ { - "description": "部门ID", - "in": "formData", - "name": "orgId", + "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": [ @@ -6621,16 +6825,16 @@ } } }, - "summary": "删除部门信息", + "summary": "获取教辅单位列表", "tags": [ "组织机构" ] } }, - "/base/organization/AddEduAssistInfo": { + "/base/organization/AddOrgInfo": { "post": { "X-EmptyLimit": [ - "areaCode", + "orgId", "orgCode", "orgName" ], @@ -6644,7 +6848,7 @@ ], "X-LengthLimit": [ { - "areaCode": "6,6" + "orgId": "36,36" }, { "orgCode": "2,20" @@ -6653,75 +6857,55 @@ "orgName": "1,30" }, { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" + "parentId": "36,36" }, { - "lxdh": "2,30" + "orgManagerIds": "36,1800" } ], "X-RoleLimit": [ "1", "2", "3", - "4" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 9 + 19 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加教辅单位信息", + "description": "增加部门信息", "parameters": [ { - "description": "行政区划编码", + "description": "单位ID", "in": "formData", - "name": "areaCode", + "name": "orgId", "required": true, "type": "string" }, { - "description": "教辅单位编码", + "description": "部门编码", "in": "formData", "name": "orgCode", "required": true, "type": "string" }, { - "description": "教辅单位名称", + "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": "联系电话", + "description": "上级部门ID", "in": "formData", - "name": "lxdh", + "name": "parentId", + "required": true, "type": "string" }, { @@ -6729,53 +6913,11 @@ "in": "formData", "name": "sortId", "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "增加教辅单位信息", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/ListEduByCityCodeInfo": { - "get": { - "X-EmptyLimit": [ - "cityCode" - ], - "X-LengthLimit": [ - { - "cityCode": "6,6" - } - ], - "X-RoleLimit": [ - "1", - "3", - "4" - ], - "X-Sort": [ - 24 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "根据市的行政区划码获取教育局列表", - "parameters": [ + }, { - "description": "市的行政区划码", - "in": "query", - "name": "cityCode", - "required": true, + "description": "部门领导的人员ID", + "in": "formData", + "name": "orgManagerIds", "type": "string" } ], @@ -6790,18 +6932,22 @@ } } }, - "summary": "根据市的行政区划码获取教育局列表", + "summary": "增加部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/UpdateEduAssistInfo": { + "/base/organization/UpdateSchoolInfo": { "post": { "X-EmptyLimit": [ "orgId", "orgCode", - "orgName" + "orgName", + "isBranchSchool", + "xxbxlxm", + "szdcxlxm", + "xxjbzm" ], "X-IntRangeLimit": [ { @@ -6838,51 +6984,106 @@ "1", "2", "3", - "4" + "4", + "7" ], "X-Sort": [ - 10 + 15 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改教辅单位信息", + "description": "修改学校信息", "parameters": [ { - "description": "教辅单位ID", + "description": "行政区划编码", + "in": "formData", + "name": "areaCode", + "required": true, + "type": "string" + }, + { + "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": "是否为分校 -1:非分校 1:是分校", + "in": "formData", + "name": "isBranchSchool", + "required": true, + "type": "integer" + }, + { + "description": "主校ID(是分校时才传)", + "in": "formData", + "name": "mainSchoolId", + "type": "string" + }, + { + "description": "上级管理单位行政区划编码", + "in": "formData", + "name": "managerAreaCode", + "required": true, + "type": "string" + }, + { + "description": "学校办学类型(字典:xxbxlxm)", "in": "formData", - "name": "orgId", + "name": "xxbxlxm", "required": true, "type": "string" }, { - "description": "教辅单位编码", + "description": "学校城乡类型(字典:szdcxlxm)", "in": "formData", - "name": "orgCode", + "name": "szdcxlxm", "required": true, "type": "string" }, { - "description": "教辅单位名称", + "description": "学校举办者(字典:xxjbzm)", "in": "formData", - "name": "orgName", + "name": "xxjbzm", "required": true, "type": "string" }, { - "description": "教辅单位法定代表人", + "description": "附设班办学类型ID,多个用逗号分隔", + "in": "formData", + "name": "fsbIds", + "type": "string" + }, + { + "description": "学校法定代表人", "in": "formData", "name": "fddbr", "type": "string" }, { - "description": "教辅单位法定代表人电话", + "description": "学校法定代表人电话", "in": "formData", "name": "fddbrdh", "type": "string" }, { - "description": "教辅单位地址", + "description": "学校地址", "in": "formData", "name": "address", "type": "string" @@ -6911,102 +7112,24 @@ } } }, - "summary": "修改教辅单位信息", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/GetOrgTreeInfo": { - "get": { - "X-EmptyLimit": [ - "orgId" - ], - "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", - "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 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "根据单位ID获取部门树", - "parameters": [ - { - "description": "单位ID", - "in": "query", - "name": "orgId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "根据单位ID获取部门树", + "summary": "修改学校信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageOrgInfo": { + "/base/organization/PageMainSchoolInfo": { "get": { "X-EmptyLimit": [ "page", "limit", - "bureauId" + "areaCode" ], "X-ExtendSwaggerField": [ { - "column_comment": "部门领导", - "column_name": "org_manager_name", - "sample_data": "李老师" + "column_comment": "学校办学类型名称", + "column_name": "xxbxlxm_name", + "sample_data": "小学" } ], "X-IntRangeLimit": [ @@ -7022,19 +7145,18 @@ ], "X-LengthLimit": [ { - "orgId": "36,36" + "areaCode": "6,6" } ], "X-RemoveSwaggerField": [ "id_int", + "parent_id", "bureau_id", "org_type", "edu_assist_type", - "main_school_type", "main_school_id", "manage_org_id", "xxbbm", - "xxbxlxm", "szdcxlxm", "xxjbzm", "fzr", @@ -7049,7 +7171,6 @@ "province_code", "city_code", "district_code", - "area_code", "last_updated_time" ], "X-RoleLimit": [ @@ -7057,12 +7178,10 @@ "2", "3", "4", - "5", - "6", "7" ], "X-Sort": [ - 17 + 12 ], "X-TableName": [ "t_base_organization" @@ -7070,7 +7189,7 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取部门列表", + "description": "获取主校列表", "parameters": [ { "description": "第几页", @@ -7087,59 +7206,16 @@ "type": "integer" }, { - "description": "单位ID", + "description": "行政区划编码", "in": "query", - "name": "orgId", + "name": "areaCode", "required": true, "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取部门列表", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/DisableEdu": { - "post": { - "X-EmptyLimit": [ - "orgId" - ], - "X-InterfaceName": [ - "UpdateBaseOrganization" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - } - ], - "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 5 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "禁用教育局", - "parameters": [ + }, { - "description": "教育局ID", - "in": "formData", + "description": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", + "in": "query", "name": "orgId", - "required": true, "type": "string" } ], @@ -7154,90 +7230,67 @@ } } }, - "summary": "禁用教育局", + "summary": "获取主校列表", "tags": [ "组织机构" ] } }, - "/base/organization/UpdateOrgInfo": { - "post": { + "/base/organization/GetEduInfoById": { + "get": { "X-EmptyLimit": [ - "orgId", - "orgCode", - "orgName" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } + "orgId" ], "X-InterfaceName": [ - "UpdateBaseOrganization" + "GetBaseOrganization" ], "X-LengthLimit": [ { "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "orgManagerIds": "36,1800" } ], + "X-RemoveSwaggerField": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "org_lng", + "org_lat", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ], "X-Sort": [ - 20 - ], - "consumes": [ - "application/x-www-form-urlencoded" + 3 ], - "description": "修改部门信息", - "parameters": [ - { - "description": "部门ID", - "in": "formData", - "name": "orgId", - "required": true, - "type": "string" - }, - { - "description": "部门编码", - "in": "formData", - "name": "orgCode", - "required": true, - "type": "string" - }, + "X-TableName": [ + "t_base_organization" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据教育局ID获取教育局信息", + "parameters": [ { - "description": "部门名称", - "in": "formData", - "name": "orgName", + "description": "教育局ID", + "in": "query", + "name": "orgId", "required": true, "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" - }, - { - "description": "部门领导的人员ID", - "in": "formData", - "name": "orgManagerIds", - "type": "string" } ], "produces": [ @@ -7251,7 +7304,7 @@ } } }, - "summary": "修改部门信息", + "summary": "根据教育局ID获取教育局信息", "tags": [ "组织机构" ] @@ -7385,164 +7438,35 @@ ] } }, - "/base/organization/DeleteSchoolInfo": { - "post": { + "/base/position/ListPositionByBureauId": { + "get": { "X-EmptyLimit": [ - "orgIds" - ], - "X-InterfaceName": [ - "DeleteBaseOrganization" + "bureauId" ], "X-LengthLimit": [ { - "orgIds": "36,1800" + "bureauId": "36,36" } ], "X-RoleLimit": [ "1", - "2", "3", - "4", - "7" - ], - "X-Sort": [ - 16 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "删除学校信息", - "parameters": [ - { - "description": "学校ID,如果是多个用逗号分隔", - "in": "formData", - "name": "orgIds", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除学校信息", - "tags": [ - "组织机构" - ] - } - }, - "/base/position/GetPositionInfoById": { - "get": { - "X-EmptyLimit": [ - "id" - ], - "X-LengthLimit": [ - { - "id": "36,36" - } - ], - "X-RemoveSwaggerField": [ - "id_int", - "b_use", - "last_updated_time" - ], - "X-RoleLimit": [ - "1" + "4" ], "X-Sort": [ - 4 + 6 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取职务信息(单条)", + "description": "根据单位ID获取职务列表信息", "parameters": [ { - "description": "职务ID", + "description": "单位ID", "in": "query", - "name": "id", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取职务信息(单条)", - "tags": [ - "职务" - ] - } - }, - "/base/position/UpdatePositionInfo": { - "post": { - "X-EmptyLimit": [ - "id", - "nodeName" - ], - "X-IntLimit": [ - "areaLevel", - "orgType", - "sortId" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } - ], - "X-LengthLimit": [ - { - "id": "36,36" - }, - { - "nodeName": "2,30" - } - ], - "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 3 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "修改职务信息", - "parameters": [ - { - "description": "职务ID", - "in": "formData", - "name": "id", - "required": true, - "type": "string" - }, - { - "description": "职务名称", - "in": "formData", - "name": "nodeName", + "name": "bureauId", "required": true, "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" } ], "produces": [ @@ -7556,7 +7480,7 @@ } } }, - "summary": "修改职务信息", + "summary": "根据单位ID获取职务列表信息", "tags": [ "职务" ] @@ -7659,26 +7583,40 @@ ] } }, - "/base/position/DeletePositionInfo": { + "/base/position/UpdatePositionInfo": { "post": { "X-EmptyLimit": [ - "id" + "id", + "nodeName" + ], + "X-IntLimit": [ + "areaLevel", + "orgType", + "sortId" + ], + "X-IntRangeLimit": [ + { + "sortId": "1,9999" + } ], "X-LengthLimit": [ { "id": "36,36" + }, + { + "nodeName": "2,30" } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 2 + 3 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除职务信息", + "description": "修改职务信息", "parameters": [ { "description": "职务ID", @@ -7686,6 +7624,19 @@ "name": "id", "required": true, "type": "string" + }, + { + "description": "职务名称", + "in": "formData", + "name": "nodeName", + "required": true, + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], "produces": [ @@ -7699,43 +7650,30 @@ } } }, - "summary": "删除职务信息", + "summary": "修改职务信息", "tags": [ "职务" ] } }, - "/base/position/ListPositionByBureauId": { + "/base/position/TreePositionInfo": { "get": { - "X-EmptyLimit": [ - "bureauId" - ], - "X-LengthLimit": [ - { - "bureauId": "36,36" - } + "X-RemoveSwaggerField": [ + "id_int", + "b_use", + "last_updated_time", + "postion_flag" ], "X-RoleLimit": [ - "1", - "3", - "4" + "1" ], "X-Sort": [ - 6 + 5 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据单位ID获取职务列表信息", - "parameters": [ - { - "description": "单位ID", - "in": "query", - "name": "bureauId", - "required": true, - "type": "string" - } - ], + "description": "获取职务所有的树形结构信息", "produces": [ "application/json" ], @@ -7747,30 +7685,41 @@ } } }, - "summary": "根据单位ID获取职务列表信息", + "summary": "获取职务所有的树形结构信息", "tags": [ "职务" ] } }, - "/base/position/TreePositionInfo": { - "get": { - "X-RemoveSwaggerField": [ - "id_int", - "b_use", - "last_updated_time", - "postion_flag" + "/base/position/DeletePositionInfo": { + "post": { + "X-EmptyLimit": [ + "id" + ], + "X-LengthLimit": [ + { + "id": "36,36" + } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 5 + 2 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取职务所有的树形结构信息", + "description": "删除职务信息", + "parameters": [ + { + "description": "职务ID", + "in": "formData", + "name": "id", + "required": true, + "type": "string" + } + ], "produces": [ "application/json" ], @@ -7782,43 +7731,42 @@ } } }, - "summary": "获取职务所有的树形结构信息", + "summary": "删除职务信息", "tags": [ "职务" ] } }, - "/base/area/GetGovArea": { + "/base/position/GetPositionInfoById": { "get": { "X-EmptyLimit": [ - "areaCode" - ], - "X-IntLimit": [ - "areaCode" + "id" ], "X-LengthLimit": [ { - "areaCode": "6,6" + "id": "36,36" } ], + "X-RemoveSwaggerField": [ + "id_int", + "b_use", + "last_updated_time" + ], "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" + ], + "X-Sort": [ + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取行政区划信息(单条)", + "description": "获取职务信息(单条)", "parameters": [ { - "description": "行政区划码", + "description": "职务ID", "in": "query", - "name": "areaCode", + "name": "id", "required": true, "type": "string" } @@ -7834,15 +7782,22 @@ } } }, - "summary": "获取行政区划信息(单条)", + "summary": "获取职务信息(单条)", "tags": [ - "行政区划" + "职务" ] } }, - "/base/area/DeleteGovArea": { - "post": { + "/base/area/PageGovArea": { + "get": { "X-EmptyLimit": [ + "page", + "limit", + "areaCode" + ], + "X-IntLimit": [ + "page", + "limit", "areaCode" ], "X-LengthLimit": [ @@ -7859,14 +7814,31 @@ "6", "7" ], + "X-TableName": [ + "t_gov_area" + ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除行政区划信息", + "description": "获取行政区划信息(列表)", "parameters": [ { - "description": "区域代码", - "in": "formData", + "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" @@ -7883,13 +7855,13 @@ } } }, - "summary": "删除行政区划信息", + "summary": "获取行政区划信息(列表)", "tags": [ "行政区划" ] } }, - "/base/area/AddGovArea": { + "/base/area/UpdateGovArea": { "post": { "X-EmptyLimit": [ "areaTypeId", @@ -7908,7 +7880,7 @@ "masterCode": "6,6" }, { - "areaName": "3,50" + "areaName": "3:50" } ], "X-RoleLimit": [ @@ -7923,7 +7895,7 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加行政区划信息", + "description": "修改行政区划信息", "parameters": [ { "description": "区域代码", @@ -7965,22 +7937,18 @@ } } }, - "summary": "增加行政区划信息", + "summary": "修改行政区划信息", "tags": [ "行政区划" ] } }, - "/base/area/PageGovArea": { + "/base/area/GetGovArea": { "get": { "X-EmptyLimit": [ - "page", - "limit", "areaCode" ], "X-IntLimit": [ - "page", - "limit", "areaCode" ], "X-LengthLimit": [ @@ -7997,31 +7965,63 @@ "6", "7" ], - "X-TableName": [ - "t_gov_area" - ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取行政区划信息(列表)", + "description": "获取行政区划信息(单条)", "parameters": [ { - "description": "第几页", + "description": "行政区划码", "in": "query", - "name": "page", + "name": "areaCode", "required": true, - "type": "integer" - }, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "获取行政区划信息(单条)", + "tags": [ + "行政区划" + ] + } + }, + "/base/area/DeleteGovArea": { + "post": { + "X-EmptyLimit": [ + "areaCode" + ], + "X-LengthLimit": [ { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, + "areaCode": "6,6" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除行政区划信息", + "parameters": [ { - "description": "行政区划码", - "in": "query", + "description": "区域代码", + "in": "formData", "name": "areaCode", "required": true, "type": "string" @@ -8038,13 +8038,13 @@ } } }, - "summary": "获取行政区划信息(列表)", + "summary": "删除行政区划信息", "tags": [ "行政区划" ] } }, - "/base/area/UpdateGovArea": { + "/base/area/AddGovArea": { "post": { "X-EmptyLimit": [ "areaTypeId", @@ -8063,7 +8063,7 @@ "masterCode": "6,6" }, { - "areaName": "3:50" + "areaName": "3,50" } ], "X-RoleLimit": [ @@ -8078,7 +8078,7 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改行政区划信息", + "description": "增加行政区划信息", "parameters": [ { "description": "区域代码", @@ -8120,12 +8120,50 @@ } } }, - "summary": "修改行政区划信息", + "summary": "增加行政区划信息", "tags": [ "行政区划" ] } }, + "/base/role/GetPersonRoleInfo": { + "get": { + "X-InterfaceName": [ + "GetBaseRolePerson" + ], + "X-RemoveSwaggerField": [ + "id", + "id_int", + "b_use", + "last_updated_time" + ], + "X-Sort": [ + 2 + ], + "X-TableName": [ + "t_base_role_person" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取人员角色信息", + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "获取人员角色信息", + "tags": [ + "角色信息" + ] + } + }, "/base/role/GetManageAreaInfo": { "get": { "X-EmptyLimit": [ @@ -8180,44 +8218,6 @@ "角色信息" ] } - }, - "/base/role/GetPersonRoleInfo": { - "get": { - "X-InterfaceName": [ - "GetBaseRolePerson" - ], - "X-RemoveSwaggerField": [ - "id", - "id_int", - "b_use", - "last_updated_time" - ], - "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_role_person" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取人员角色信息", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取人员角色信息", - "tags": [ - "角色信息" - ] - } } }, "swagger": "2.0" diff --git a/dsSso/Controller/ControllerOauth2/ControllerOauth2.go b/dsSso/Controller/ControllerOauth2/ControllerOauth2.go index cffdad70..8c92d5a9 100644 --- a/dsSso/Controller/ControllerOauth2/ControllerOauth2.go +++ b/dsSso/Controller/ControllerOauth2/ControllerOauth2.go @@ -191,7 +191,7 @@ func generateAuthCode(context *gin.Context, identityId string, personId string, }) return } else { //GET方式跳转回客户端的回调页 - context.Redirect(302, url) + context.Redirect(301, url) return } } diff --git a/dsSso/docs/docs.go b/dsSso/docs/docs.go index def41162..95bc25c0 100644 --- a/dsSso/docs/docs.go +++ b/dsSso/docs/docs.go @@ -19,7 +19,6 @@ var doc = `{ "description": "{{.Description}}", "title": "{{.Title}}", "contact": {}, - "license": {}, "version": "{{.Version}}" }, "host": "{{.Host}}", @@ -191,7 +190,7 @@ var doc = `{ } } }, - "x-emptylimit": [ + "X-EmptyLimit": [ "client_id", "redirect_uri", "device_id", @@ -267,13 +266,13 @@ var doc = `{ } } }, - "x-emptylimit": [ + "X-EmptyLimit": [ "username", "password", "captchaId", "value" ], - "x-intlimit": [ + "X-IntLimit": [ "device_id" ] } @@ -409,7 +408,7 @@ var doc = `{ } } }, - "x-lengthlimit": [ + "X-LengthLimit": [ { "captchaId": "20,20" } @@ -478,7 +477,7 @@ var doc = `{ } } }, - "x-emptylimit": [ + "X-EmptyLimit": [ "userName" ] } @@ -536,7 +535,7 @@ var doc = `{ } } }, - "x-emptylimit": [ + "X-EmptyLimit": [ "code" ] } @@ -571,7 +570,7 @@ var doc = `{ } } }, - "x-intlimit": [ + "X-IntLimit": [ "app_id" ] } @@ -664,7 +663,7 @@ type swaggerInfo struct { // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = swaggerInfo{ Version: "2.0", - Host: "127.0.0.1:8000", + Host: "10.10.14.187:8000", BasePath: "", Schemes: []string{}, Title: "东师理想统一认证中心(OAuth2+Sso)", diff --git a/dsSso/docs/swagger.json b/dsSso/docs/swagger.json index 6e58f796..8d86d57a 100644 --- a/dsSso/docs/swagger.json +++ b/dsSso/docs/swagger.json @@ -4,10 +4,9 @@ "description": "参考自xxl-sso", "title": "东师理想统一认证中心(OAuth2+Sso)", "contact": {}, - "license": {}, "version": "2.0" }, - "host": "127.0.0.1:8000", + "host": "10.10.14.187:8000", "paths": { "/oauth2/AddClient": { "post": { @@ -175,7 +174,7 @@ } } }, - "x-emptylimit": [ + "X-EmptyLimit": [ "client_id", "redirect_uri", "device_id", @@ -251,13 +250,13 @@ } } }, - "x-emptylimit": [ + "X-EmptyLimit": [ "username", "password", "captchaId", "value" ], - "x-intlimit": [ + "X-IntLimit": [ "device_id" ] } @@ -393,7 +392,7 @@ } } }, - "x-lengthlimit": [ + "X-LengthLimit": [ { "captchaId": "20,20" } @@ -462,7 +461,7 @@ } } }, - "x-emptylimit": [ + "X-EmptyLimit": [ "userName" ] } @@ -520,7 +519,7 @@ } } }, - "x-emptylimit": [ + "X-EmptyLimit": [ "code" ] } @@ -555,7 +554,7 @@ } } }, - "x-intlimit": [ + "X-IntLimit": [ "app_id" ] } diff --git a/dsSso/docs/swagger.yaml b/dsSso/docs/swagger.yaml index 25c585bd..81501496 100644 --- a/dsSso/docs/swagger.yaml +++ b/dsSso/docs/swagger.yaml @@ -32,11 +32,10 @@ definitions: description: 个数 type: object type: object -host: 127.0.0.1:8000 +host: 10.10.14.187:8000 info: contact: {} description: 参考自xxl-sso - license: {} title: 东师理想统一认证中心(OAuth2+Sso) version: "2.0" paths: @@ -118,6 +117,11 @@ paths: - 登录验证类 /oauth2/authorize: get: + X-EmptyLimit: + - client_id + - redirect_uri + - device_id + - oauth_callback consumes: - application/x-www-form-urlencoded description: 登录验证跳转路由 @@ -152,12 +156,14 @@ paths: summary: 登录验证跳转路由 tags: - 登录验证类 - x-emptylimit: - - client_id - - redirect_uri - - device_id - - oauth_callback post: + X-EmptyLimit: + - username + - password + - captchaId + - value + X-IntLimit: + - device_id consumes: - application/x-www-form-urlencoded description: 验证post @@ -205,13 +211,6 @@ paths: summary: 验证post tags: - 登录验证类 - x-emptylimit: - - username - - password - - captchaId - - value - x-intlimit: - - device_id /oauth2/bindWxUser: get: consumes: @@ -281,6 +280,8 @@ paths: - 登录验证类 /oauth2/getCaptchaPng: get: + X-LengthLimit: + - captchaId: 20,20 consumes: - application/x-www-form-urlencoded description: 获取验证码图片 @@ -300,8 +301,6 @@ paths: summary: 获取验证码图片 tags: - 登录验证类 - x-lengthlimit: - - captchaId: 20,20 /oauth2/logout: get: consumes: @@ -325,6 +324,8 @@ paths: - 登录验证类 /oauth2/resetRemainCount: get: + X-EmptyLimit: + - userName consumes: - application/x-www-form-urlencoded description: 重置错误重试次数限制 @@ -344,8 +345,6 @@ paths: summary: 重置错误重试次数限制 tags: - 登录验证类 - x-emptylimit: - - userName /oauth2/unBindWxUser: get: consumes: @@ -363,6 +362,8 @@ paths: - 解除登录验证类 /oauth2/wxLogin: post: + X-EmptyLimit: + - code consumes: - application/x-www-form-urlencoded description: 微信登录 @@ -382,10 +383,10 @@ paths: summary: 微信登录 tags: - 登录验证类 - x-emptylimit: - - code /sso/getAppInfoById: get: + X-IntLimit: + - app_id consumes: - application/x-www-form-urlencoded description: 根据appId获取接入第三方统一认证系统的信息 @@ -405,8 +406,6 @@ paths: summary: 根据appId获取接入第三方统一认证系统的信息 tags: - 接入系统维护类 - x-intlimit: - - app_id /sso/login: get: consumes: diff --git a/dsSso/main.go b/dsSso/main.go index 92e8a73d..b514a25e 100644 --- a/dsSso/main.go +++ b/dsSso/main.go @@ -56,7 +56,7 @@ func startOAuth2Server() { // @title 东师理想统一认证中心(OAuth2+Sso) // @version 2.0 // @description 参考自xxl-sso -// @host 127.0.0.1:8000 +// @host 10.10.14.187:8000 func main() { // 发布模式 //gin.SetMode(gin.ReleaseMode)