diff --git a/dsBaseWeb/docs/docs.go b/dsBaseWeb/docs/docs.go index fe655b3d..8e2b6c81 100644 --- a/dsBaseWeb/docs/docs.go +++ b/dsBaseWeb/docs/docs.go @@ -31,7 +31,7 @@ var doc = `{ "type": "object" } }, - "host": "127.0.0.1:8002", + "host": "10.10.14.187:8002", "info": { "contact": { "email": "support@swagger.io", @@ -47,6 +47,92 @@ var doc = `{ "version": "1.0" }, "paths": { + "/base/business/DeleteBaseBusiness": { + "post": { + "X-EmptyLimit": [ + "businessCode" + ], + "X-LengthLimit": [ + { + "businessCode": "6,6" + } + ], + "X-RoleLimit": [ + "1" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除业务系统信息", + "parameters": [ + { + "description": "业务系统编码", + "in": "formData", + "name": "businessCode", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "删除业务系统信息", + "tags": [ + "业务系统维护" + ] + } + }, + "/base/business/GetBaseBusiness": { + "get": { + "X-EmptyLimit": [ + "businessCode" + ], + "X-LengthLimit": [ + { + "businessCode": "6,6" + } + ], + "X-RoleLimit": [ + "1" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取业务系统信息(单条)", + "parameters": [ + { + "description": "业务系统编码", + "in": "query", + "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": [ @@ -205,28 +291,37 @@ var doc = `{ ] } }, - "/base/business/DeleteBaseBusiness": { - "post": { + "/base/global/GetGlobalInfo": { + "get": { "X-EmptyLimit": [ - "businessCode" + "globalId" + ], + "X-InterfaceName": [ + "GetBaseGlobal" ], "X-LengthLimit": [ { - "businessCode": "6,6" + "globalId": "36,36" } ], "X-RoleLimit": [ "1" ], + "X-Sort": [ + 2 + ], + "X-TableName": [ + "t_base_global" + ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除业务系统信息", + "description": "获取全局变量信息", "parameters": [ { - "description": "业务系统编码", - "in": "formData", - "name": "businessCode", + "description": "全局变量ID", + "in": "query", + "name": "globalId", "required": true, "type": "string" } @@ -242,34 +337,37 @@ var doc = `{ } } }, - "summary": "删除业务系统信息", + "summary": "获取全局变量信息", "tags": [ - "业务系统维护" + "全局变量" ] } }, - "/base/business/GetBaseBusiness": { - "get": { + "/base/global/DeleteGlobalInfo": { + "post": { "X-EmptyLimit": [ - "businessCode" + "globalIds" ], "X-LengthLimit": [ { - "businessCode": "6,6" + "globalIds": "36,1800" } ], "X-RoleLimit": [ "1" ], + "X-Sort": [ + 5 + ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取业务系统信息(单条)", + "description": "删除全局变量", "parameters": [ { - "description": "业务系统编码", - "in": "query", - "name": "businessCode", + "description": "全局变量ID,多个用逗号分隔", + "in": "formData", + "name": "globalIds", "required": true, "type": "string" } @@ -285,77 +383,56 @@ var doc = `{ } } }, - "summary": "获取业务系统信息(单条)", + "summary": "删除全局变量", "tags": [ - "业务系统维护" + "全局变量" ] } }, - "/base/global/AddGlobalInfo": { - "post": { + "/base/global/PageGlobalInfo": { + "get": { "X-EmptyLimit": [ - "globalTypeId", - "globalCode", - "globalValue", - "sortId" + "page", + "limit", + "globalTypeId" ], "X-IntLimit": [ - "globalTypeId", - "sortId" - ], - "X-LengthLimit": [ - { - "globalCode": "2,50" - }, - { - "globalValue": "1,255" - }, - { - "globalRemarks": "1,500" - } + "page", + "limit", + "globalTypeId" ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 4 + 1 + ], + "X-TableName": [ + "t_base_global" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加全局变量", + "description": "获取全局变量列表", "parameters": [ { - "description": "全局变量分类", - "in": "formData", - "name": "globalTypeId", + "description": "第几页", + "in": "query", + "name": "page", "required": true, "type": "integer" }, { - "description": "全局变量代码", - "in": "formData", - "name": "globalCode", - "required": true, - "type": "string" - }, - { - "description": "全局变量值", - "in": "formData", - "name": "globalValue", + "description": "一页显示多少条", + "in": "query", + "name": "limit", "required": true, - "type": "string" - }, - { - "description": "全局变量备注", - "in": "formData", - "name": "globalRemarks", - "type": "string" + "type": "integer" }, { - "description": "排序号", - "in": "formData", - "name": "sortId", + "description": "全局变量分类(全部传-1)", + "in": "query", + "name": "globalTypeId", "required": true, "type": "integer" } @@ -371,53 +448,7 @@ var doc = `{ } } }, - "summary": "增加全局变量", - "tags": [ - "全局变量" - ] - } - }, - "/base/global/DeleteGlobalInfo": { - "post": { - "X-EmptyLimit": [ - "globalIds" - ], - "X-LengthLimit": [ - { - "globalIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 5 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "删除全局变量", - "parameters": [ - { - "description": "全局变量ID,多个用逗号分隔", - "in": "formData", - "name": "globalIds", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除全局变量", + "summary": "获取全局变量列表", "tags": [ "全局变量" ] @@ -521,39 +552,73 @@ var doc = `{ ] } }, - "/base/global/GetGlobalInfo": { - "get": { - "X-EmptyLimit": [ - "globalId" + "/base/global/AddGlobalInfo": { + "post": { + "X-EmptyLimit": [ + "globalTypeId", + "globalCode", + "globalValue", + "sortId" ], - "X-InterfaceName": [ - "GetBaseGlobal" + "X-IntLimit": [ + "globalTypeId", + "sortId" ], "X-LengthLimit": [ { - "globalId": "36,36" + "globalCode": "2,50" + }, + { + "globalValue": "1,255" + }, + { + "globalRemarks": "1,500" } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_global" + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取全局变量信息", + "description": "增加全局变量", "parameters": [ { - "description": "全局变量ID", - "in": "query", - "name": "globalId", + "description": "全局变量分类", + "in": "formData", + "name": "globalTypeId", + "required": true, + "type": "integer" + }, + { + "description": "全局变量代码", + "in": "formData", + "name": "globalCode", + "required": true, + "type": "string" + }, + { + "description": "全局变量值", + "in": "formData", + "name": "globalValue", "required": true, "type": "string" + }, + { + "description": "全局变量备注", + "in": "formData", + "name": "globalRemarks", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "required": true, + "type": "integer" } ], "produces": [ @@ -567,7 +632,7 @@ var doc = `{ } } }, - "summary": "获取全局变量信息", + "summary": "增加全局变量", "tags": [ "全局变量" ] @@ -622,94 +687,22 @@ var doc = `{ ] } }, - "/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" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, - { - "description": "全局变量分类(全部传-1)", - "in": "query", - "name": "globalTypeId", - "required": true, - "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取全局变量列表", - "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", @@ -721,28 +714,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": [ @@ -756,7 +743,7 @@ var doc = `{ } } }, - "summary": "根据字典分类、上级字典编码获取字典信息", + "summary": "根据学段ID获取学科信息", "tags": [ "字典" ] @@ -807,21 +794,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": [ @@ -842,7 +828,7 @@ var doc = `{ "7" ], "X-Sort": [ - 1 + 2 ], "X-TableName": [ "t_sys_dict" @@ -850,7 +836,7 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据字典分类和字典编码获取字典信息", + "description": "根据字典分类、上级字典编码获取字典信息", "parameters": [ { "description": "字典分类", @@ -860,10 +846,9 @@ var doc = `{ "type": "string" }, { - "description": "字典编码", + "description": "上级字典编码", "in": "query", - "name": "dictCode", - "required": true, + "name": "dictParent", "type": "string" } ], @@ -878,7 +863,7 @@ var doc = `{ } } }, - "summary": "根据字典分类和字典编码获取字典信息", + "summary": "根据字典分类、上级字典编码获取字典信息", "tags": [ "字典" ] @@ -936,22 +921,30 @@ var doc = `{ ] } }, - "/base/dict/GetSubjectInfo": { + "/base/dict/GetDictInfo": { "get": { "X-EmptyLimit": [ - "stageId" + "dictKind", + "dictCode" ], "X-InterfaceName": [ - "PageSysDict" + "GetSysDict" ], "X-LengthLimit": [ { - "stageId": "1,1" + "dictKind": "1,20" + }, + { + "dictCode": "1,10" } ], "X-RemoveSwaggerField": [ - "b_use", - "sort_id" + "dict_id", + "dict_kind", + "dict_remark", + "dict_parent", + "sort_id", + "b_use" ], "X-RoleLimit": [ "1", @@ -963,20 +956,27 @@ var doc = `{ "7" ], "X-Sort": [ - 4 + 1 ], "X-TableName": [ - "t_dm_subject" + "t_sys_dict" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据学段ID获取学科信息", + "description": "根据字典分类和字典编码获取字典信息", "parameters": [ { - "description": "学段ID", + "description": "字典分类", "in": "query", - "name": "stageId", + "name": "dictKind", + "required": true, + "type": "string" + }, + { + "description": "字典编码", + "in": "query", + "name": "dictCode", "required": true, "type": "string" } @@ -992,48 +992,51 @@ var doc = `{ } } }, - "summary": "根据学段ID获取学科信息", + "summary": "根据字典分类和字典编码获取字典信息", "tags": [ "字典" ] } }, - "/base/student/DownLoadStudentTemplateExcel": { - "get": { + "/base/student/StudentTransferInfo": { + "post": { "X-EmptyLimit": [ - "orgId" + "classId", + "personId" ], "X-LengthLimit": [ { - "orgId": "36,36" + "classId": "36,36" + }, + { + "personId": "36,36" } ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], "X-Sort": [ - 8 + 10 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "下载学生导入模板", + "description": "学生调转", "parameters": [ { - "description": "学校ID", - "in": "query", - "name": "orgId", + "description": "学生ID", + "in": "formData", + "name": "personId", "required": true, "type": "string" - } - ], - "produces": [ - "application/json" + }, + { + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" ], "responses": { "200": { @@ -1043,194 +1046,85 @@ var doc = `{ } } }, - "summary": "下载学生导入模板", + "summary": "学生调转", "tags": [ "学生信息" ] } }, - "/base/student/AddStudentInfo": { - "post": { + "/base/student/PageStudentInfo": { + "get": { "X-EmptyLimit": [ - "xm", - "mzm", - "zzmmm", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz", + "page", + "limit", "classId" ], - "X-IntRangeLimit": [ - { - "sfzjlxm": "1,4" - } - ], - "X-InterfaceName": [ - "AddBaseStudent" - ], - "X-LengthLimit": [ - { - "classId": "36,36" - }, + "X-ExtendSwaggerField": [ { - "xm": "2,30" + "column_comment": "性别", + "column_name": "xb_name", + "sample_data": "男" }, { - "xbm": "1,1" + "column_comment": "登录名", + "column_name": "login_name", + "sample_data": "stu001" }, { - "mzm": "2,2" + "column_comment": "初始密码", + "column_name": "original_pwd", + "sample_data": "159357" }, { - "zzmmm": "2,2" + "column_comment": "账号状态", + "column_name": "login_status", + "sample_data": "已启用" } ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 3 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "增加学生信息", - "parameters": [ - { - "description": "学生姓名", - "in": "formData", - "name": "xm", - "required": true, - "type": "string" - }, - { - "description": "身份证件类型代码(字典:sfzjlxm)", - "in": "formData", - "name": "sfzjlxm", - "type": "string" - }, - { - "description": "身份证件号", - "in": "formData", - "name": "sfzjh", - "type": "integer" - }, - { - "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": "独生子女标志 -1:不是 1:是", - "in": "formData", - "name": "dszybz", - "required": true, - "type": "integer" - }, - { - "description": "随迁子女标志 -1:不是 1:是", - "in": "formData", - "name": "sqznbz", - "required": true, - "type": "integer" - }, - { - "description": "进城务工人员随迁子女标志 -1:不是 1:是", - "in": "formData", - "name": "jcwgrysqznbz", - "required": true, - "type": "integer" - }, - { - "description": "孤儿标志 -1:不是 1:是", - "in": "formData", - "name": "gebz", - "required": true, - "type": "integer" - }, - { - "description": "留守儿童标志 -1:不是 1:是", - "in": "formData", - "name": "lsetbz", - "required": true, - "type": "integer" - }, + "X-IntRangeLimit": [ { - "description": "残疾标志 -1:不是 1:是", - "in": "formData", - "name": "cjbz", - "required": true, - "type": "integer" + "page": "1,1000" }, { - "description": "班级ID", - "in": "formData", - "name": "classId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } + "limit": "1,1000" } - }, - "summary": "增加学生信息", - "tags": [ - "学生信息" - ] - } - }, - "/base/student/DeleteStudentInfo": { - "post": { - "X-EmptyLimit": [ - "personIds" ], "X-InterfaceName": [ - "DeleteBaseStudent" + "PageBaseStudent" ], "X-LengthLimit": [ { - "personIds": "36,1800" + "classId": "36,36" + }, + { + "xm": "1,30" } ], + "X-RemoveSwaggerField": [ + "id_int", + "xmpy", + "cym", + "csrq", + "mzm", + "zzmmm", + "sfzjlxm", + "sfzjh", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz", + "class_id", + "bureau_id", + "b_use", + "state_id", + "province_code", + "city_code", + "district_code", + "main_school_id", + "last_updated_time" + ], "X-RoleLimit": [ "1", "2", @@ -1240,75 +1134,41 @@ var doc = `{ "7" ], "X-Sort": [ - 4 + 1 + ], + "X-TableName": [ + "t_base_student" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除学生信息", + "description": "获取学生列表", "parameters": [ { - "description": "学生ID,多个用逗号分隔", - "in": "formData", - "name": "personIds", + "description": "第几页", + "in": "query", + "name": "page", "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除学生信息", - "tags": [ - "学生信息" - ] - } - }, - "/base/student/ExportStudentAccountExcel": { - "get": { - "X-EmptyLimit": [ - "orgId" - ], - "X-LengthLimit": [ + "type": "integer" + }, { - "orgId": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 7 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导出本校学生账号信息到EXCEL", - "parameters": [ + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { - "description": "学校ID", + "description": "班级ID", "in": "query", - "name": "orgId", + "name": "classId", "required": true, "type": "string" }, { - "description": "班级ID,不传为导出全校,传为导出班级", + "description": "学生姓名", "in": "query", - "name": "classId", + "name": "xm", "type": "string" } ], @@ -1323,7 +1183,7 @@ var doc = `{ } } }, - "summary": "导出本校学生账号信息到EXCEL", + "summary": "获取学生列表", "tags": [ "学生信息" ] @@ -1400,14 +1260,17 @@ var doc = `{ ] } }, - "/base/student/ExportStudentExcel": { - "get": { + "/base/student/DeleteStudentInfo": { + "post": { "X-EmptyLimit": [ - "orgId" + "personIds" + ], + "X-InterfaceName": [ + "DeleteBaseStudent" ], "X-LengthLimit": [ { - "orgId": "36,36" + "personIds": "36,1800" } ], "X-RoleLimit": [ @@ -1419,25 +1282,19 @@ var doc = `{ "7" ], "X-Sort": [ - 7 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导出本校学生信息到EXCEL", + "description": "删除学生信息", "parameters": [ { - "description": "学校ID", - "in": "query", - "name": "orgId", + "description": "学生ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", "required": true, "type": "string" - }, - { - "description": "班级ID,不传为导出全校,传为导出班级", - "in": "query", - "name": "classId", - "type": "string" } ], "produces": [ @@ -1451,130 +1308,162 @@ var doc = `{ } } }, - "summary": "导出本校学生信息到EXCEL", + "summary": "删除学生信息", "tags": [ "学生信息" ] } }, - "/base/student/PageStudentInfo": { - "get": { + "/base/student/UpdateStudentInfo": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "classId" + "personId", + "xm", + "mzm", + "zzmmm", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz" ], - "X-ExtendSwaggerField": [ + "X-IntRangeLimit": [ { - "column_comment": "性别", - "column_name": "xb_name", - "sample_data": "男" - }, + "sfzjlxm": "1,4" + } + ], + "X-InterfaceName": [ + "UpdateBaseStudent" + ], + "X-LengthLimit": [ { - "column_comment": "登录名", - "column_name": "login_name", - "sample_data": "stu001" + "personId": "36,36" }, { - "column_comment": "初始密码", - "column_name": "original_pwd", - "sample_data": "159357" + "xm": "2,30" }, { - "column_comment": "账号状态", - "column_name": "login_status", - "sample_data": "已启用" - } - ], - "X-IntRangeLimit": [ + "xbm": "1,1" + }, { - "page": "1,1000" + "mzm": "2,2" }, { - "limit": "1,1000" + "zzmmm": "2,2" } ], - "X-InterfaceName": [ - "PageBaseStudent" + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" ], - "X-LengthLimit": [ + "X-Sort": [ + 5 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "修改学生信息", + "parameters": [ { - "classId": "36,36" + "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" + }, + { + "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": "独生子女标志 -1:不是 1:是", + "in": "formData", + "name": "dszybz", + "required": true, + "type": "integer" }, { - "xm": "1,30" - } - ], - "X-RemoveSwaggerField": [ - "id_int", - "xmpy", - "cym", - "csrq", - "mzm", - "zzmmm", - "sfzjlxm", - "sfzjh", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz", - "class_id", - "bureau_id", - "b_use", - "state_id", - "province_code", - "city_code", - "district_code", - "main_school_id", - "last_updated_time" - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 1 - ], - "X-TableName": [ - "t_base_student" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取学生列表", - "parameters": [ + "description": "随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "sqznbz", + "required": true, + "type": "integer" + }, { - "description": "第几页", - "in": "query", - "name": "page", + "description": "进城务工人员随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "jcwgrysqznbz", "required": true, "type": "integer" }, { - "description": "一页显示多少条", - "in": "query", - "name": "limit", + "description": "孤儿标志 -1:不是 1:是", + "in": "formData", + "name": "gebz", "required": true, "type": "integer" }, { - "description": "班级ID", - "in": "query", - "name": "classId", + "description": "留守儿童标志 -1:不是 1:是", + "in": "formData", + "name": "lsetbz", "required": true, - "type": "string" + "type": "integer" }, { - "description": "学生姓名", - "in": "query", - "name": "xm", - "type": "string" + "description": "残疾标志 -1:不是 1:是", + "in": "formData", + "name": "cjbz", + "required": true, + "type": "integer" } ], "produces": [ @@ -1588,43 +1477,50 @@ var doc = `{ } } }, - "summary": "获取学生列表", + "summary": "修改学生信息", "tags": [ "学生信息" ] } }, - "/base/student/StudentTransferInfo": { + "/base/student/ReviseStudentClass": { "post": { "X-EmptyLimit": [ - "classId", - "personId" + "personIds" ], "X-LengthLimit": [ { - "classId": "36,36" + "personIds": "36,1800" }, { - "personId": "36,36" + "classId": "36,36" } ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" + ], "X-Sort": [ - 10 + 6 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "学生调转", + "description": "学生调整班级", "parameters": [ { - "description": "学生ID", + "description": "学生ID,多个用逗号分隔", "in": "formData", - "name": "personId", + "name": "personIds", "required": true, "type": "string" }, { - "description": "班级ID", + "description": "调整后的班级ID", "in": "formData", "name": "classId", "required": true, @@ -1642,14 +1538,14 @@ var doc = `{ } } }, - "summary": "学生调转", + "summary": "学生调整班级", "tags": [ "学生信息" ] } }, - "/base/student/ImportStudentExcel": { - "post": { + "/base/student/ExportStudentAccountExcel": { + "get": { "X-EmptyLimit": [ "orgId" ], @@ -1667,26 +1563,25 @@ var doc = `{ "7" ], "X-Sort": [ - 9 + 7 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导入学生EXCEL", + "description": "导出本校学生账号信息到EXCEL", "parameters": [ { - "description": "单位ID", - "in": "formData", + "description": "学校ID", + "in": "query", "name": "orgId", "required": true, "type": "string" }, { - "description": "EXCEL文件", - "in": "formData", - "name": "excelFile", - "required": true, - "type": "file" + "description": "班级ID,不传为导出全校,传为导出班级", + "in": "query", + "name": "classId", + "type": "string" } ], "produces": [ @@ -1700,23 +1595,20 @@ var doc = `{ } } }, - "summary": "导入学生EXCEL", + "summary": "导出本校学生账号信息到EXCEL", "tags": [ "学生信息" ] } }, - "/base/student/ReviseStudentClass": { - "post": { + "/base/student/DownLoadStudentTemplateExcel": { + "get": { "X-EmptyLimit": [ - "personIds" + "orgId" ], "X-LengthLimit": [ { - "personIds": "36,1800" - }, - { - "classId": "36,36" + "orgId": "36,36" } ], "X-RoleLimit": [ @@ -1728,24 +1620,17 @@ var doc = `{ "7" ], "X-Sort": [ - 6 + 8 ], "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": "orgId", "required": true, "type": "string" } @@ -1761,16 +1646,15 @@ var doc = `{ } } }, - "summary": "学生调整班级", + "summary": "下载学生导入模板", "tags": [ "学生信息" ] } }, - "/base/student/UpdateStudentInfo": { + "/base/student/AddStudentInfo": { "post": { "X-EmptyLimit": [ - "personId", "xm", "mzm", "zzmmm", @@ -1779,7 +1663,8 @@ var doc = `{ "jcwgrysqznbz", "gebz", "lsetbz", - "cjbz" + "cjbz", + "classId" ], "X-IntRangeLimit": [ { @@ -1787,11 +1672,11 @@ var doc = `{ } ], "X-InterfaceName": [ - "UpdateBaseStudent" + "AddBaseStudent" ], "X-LengthLimit": [ { - "personId": "36,36" + "classId": "36,36" }, { "xm": "2,30" @@ -1815,20 +1700,13 @@ var doc = `{ "7" ], "X-Sort": [ - 5 + 3 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改学生信息", + "description": "增加学生信息", "parameters": [ - { - "description": "学生ID", - "in": "formData", - "name": "personId", - "required": true, - "type": "string" - }, { "description": "学生姓名", "in": "formData", @@ -1909,14 +1787,78 @@ var doc = `{ "in": "formData", "name": "lsetbz", "required": true, - "type": "integer" + "type": "integer" + }, + { + "description": "残疾标志 -1:不是 1:是", + "in": "formData", + "name": "cjbz", + "required": true, + "type": "integer" + }, + { + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "增加学生信息", + "tags": [ + "学生信息" + ] + } + }, + "/base/student/ExportStudentExcel": { + "get": { + "X-EmptyLimit": [ + "orgId" + ], + "X-LengthLimit": [ + { + "orgId": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" + ], + "X-Sort": [ + 7 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "导出本校学生信息到EXCEL", + "parameters": [ + { + "description": "学校ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" }, { - "description": "残疾标志 -1:不是 1:是", - "in": "formData", - "name": "cjbz", - "required": true, - "type": "integer" + "description": "班级ID,不传为导出全校,传为导出班级", + "in": "query", + "name": "classId", + "type": "string" } ], "produces": [ @@ -1930,14 +1872,14 @@ var doc = `{ } } }, - "summary": "修改学生信息", + "summary": "导出本校学生信息到EXCEL", "tags": [ "学生信息" ] } }, - "/base/teacher/ExportTeacherAccountExcel": { - "get": { + "/base/student/ImportStudentExcel": { + "post": { "X-EmptyLimit": [ "orgId" ], @@ -1951,24 +1893,30 @@ var doc = `{ "2", "3", "4", - "5", "6", "7" ], "X-Sort": [ - 7 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导出本单位教职工账号信息到EXCEL", + "description": "导入学生EXCEL", "parameters": [ { "description": "单位ID", - "in": "query", + "in": "formData", "name": "orgId", "required": true, "type": "string" + }, + { + "description": "EXCEL文件", + "in": "formData", + "name": "excelFile", + "required": true, + "type": "file" } ], "produces": [ @@ -1982,9 +1930,9 @@ var doc = `{ } } }, - "summary": "导出本单位教职工账号信息到EXCEL", + "summary": "导入学生EXCEL", "tags": [ - "教师信息" + "学生信息" ] } }, @@ -2099,37 +2047,40 @@ var doc = `{ ] } }, - "/base/teacher/DownLoadTeacherTemplateExcel": { - "get": { + "/base/teacher/SettingMainOrgInfo": { + "post": { "X-EmptyLimit": [ - "orgId" + "id" ], "X-LengthLimit": [ { - "orgId": "36,36" + "id": "36,36" } ], "X-RoleLimit": [ "1", - "2", "3", - "4", - "5", - "6", - "7" + "4" ], "X-Sort": [ - 9 + 14 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "下载教职工导入模板", + "description": "设置主单位", "parameters": [ { - "description": "单位ID", - "in": "query", - "name": "orgId", + "description": "ID", + "in": "formData", + "name": "id", + "required": true, + "type": "string" + }, + { + "description": "人员ID", + "in": "formData", + "name": "personId", "required": true, "type": "string" } @@ -2145,52 +2096,45 @@ var doc = `{ } } }, - "summary": "下载教职工导入模板", + "summary": "设置主单位", "tags": [ "教师信息" ] } }, - "/base/teacher/SettingTeacherMultipleBureauInfo": { - "post": { + "/base/teacher/DownLoadTeacherTemplateExcel": { + "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": [ - 11 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "设置教师多单位", + "description": "下载教职工导入模板", "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": [ @@ -2204,46 +2148,49 @@ var doc = `{ } } }, - "summary": "设置教师多单位", + "summary": "下载教职工导入模板", "tags": [ "教师信息" ] } }, - "/base/teacher/DeleteTeacherInfo": { - "post": { + "/base/teacher/PageTeacherMultipleBureauInfo": { + "get": { "X-EmptyLimit": [ - "personIds" - ], - "X-InterfaceName": [ - "DeleteBaseTeacher" + "personId" ], "X-LengthLimit": [ { - "personIds": "36,1800" + "personId": "36,36" } ], + "X-RemoveSwaggerField": [ + "identity_id", + "id_int", + "xmpy", + "cym", + "gwzym", + "b_use", + "state_id", + "last_updated_time" + ], "X-RoleLimit": [ "1", - "2", "3", - "4", - "5", - "6", - "7" + "4" ], "X-Sort": [ - 4 + 12 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除教职工信息", + "description": "根据教职工ID获取该教职工所在多单位列表", "parameters": [ { - "description": "教职工ID,多个用逗号分隔", - "in": "formData", - "name": "personIds", + "description": "教职工ID", + "in": "query", + "name": "personId", "required": true, "type": "string" } @@ -2259,20 +2206,24 @@ var doc = `{ } } }, - "summary": "删除教职工信息", + "summary": "根据教职工ID获取该教职工所在多单位列表", "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": [ @@ -2281,22 +2232,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, @@ -2314,41 +2265,149 @@ var doc = `{ } } }, - "summary": "设置主单位", + "summary": "设置教师多单位", "tags": [ "教师信息" ] } }, - "/base/teacher/DeleteTeacherMultipleBureauInfo": { - "post": { + "/base/teacher/PageTeacherInfo": { + "get": { "X-EmptyLimit": [ - "id" + "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": [ { - "id": "36,36" + "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", "3", - "4" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 13 + 1 + ], + "X-TableName": [ + "t_base_teacher" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除教职工所在多单位信息", + "description": "获取教职工列表", "parameters": [ { - "description": "ID", - "in": "formData", - "name": "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": [ @@ -2362,7 +2421,7 @@ var doc = `{ } } }, - "summary": "删除教职工所在多单位信息", + "summary": "获取教职工列表", "tags": [ "教师信息" ] @@ -2707,235 +2766,14 @@ var doc = `{ { "description": "电子信箱", "in": "formData", - "name": "dzxx", - "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "增加教职工信息", - "tags": [ - "教师信息" - ] - } - }, - "/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", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 1 - ], - "X-TableName": [ - "t_base_teacher" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "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": "教职工姓名", - "in": "query", - "name": "xm", - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取教职工列表", - "tags": [ - "教师信息" - ] - } - }, - "/base/teacher/ReviseTeacherOrg": { - "post": { - "X-EmptyLimit": [ - "personIds" - ], - "X-LengthLimit": [ - { - "personIds": "36,1800" - }, - { - "sourceOrgId": "36,36" - }, - { - "targetOrgId": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 6 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "调整教职工部门", - "parameters": [ - { - "description": "教职工ID,多个用逗号分隔", - "in": "formData", - "name": "personIds", - "required": true, + "name": "dzxx", "type": "string" }, { - "description": "调整后的部门ID", + "description": "排序号", "in": "formData", - "name": "orgId", - "required": true, - "type": "string" + "name": "sortId", + "type": "integer" } ], "produces": [ @@ -2949,49 +2787,39 @@ var doc = `{ } } }, - "summary": "调整教职工部门", + "summary": "增加教职工信息", "tags": [ "教师信息" ] } }, - "/base/teacher/PageTeacherMultipleBureauInfo": { - "get": { + "/base/teacher/DeleteTeacherMultipleBureauInfo": { + "post": { "X-EmptyLimit": [ - "personId" + "id" ], "X-LengthLimit": [ { - "personId": "36,36" + "id": "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 + 13 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据教职工ID获取该教职工所在多单位列表", + "description": "删除教职工所在多单位信息", "parameters": [ { - "description": "教职工ID", - "in": "query", - "name": "personId", + "description": "ID", + "in": "formData", + "name": "id", "required": true, "type": "string" } @@ -3007,7 +2835,7 @@ var doc = `{ } } }, - "summary": "根据教职工ID获取该教职工所在多单位列表", + "summary": "删除教职工所在多单位信息", "tags": [ "教师信息" ] @@ -3216,16 +3044,237 @@ var doc = `{ "type": "string" }, { - "description": "电子信箱", + "description": "电子信箱", + "in": "formData", + "name": "dzxx", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改教职工信息", + "tags": [ + "教师信息" + ] + } + }, + "/base/teacher/ReviseTeacherOrg": { + "post": { + "X-EmptyLimit": [ + "personIds" + ], + "X-LengthLimit": [ + { + "personIds": "36,1800" + }, + { + "sourceOrgId": "36,36" + }, + { + "targetOrgId": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 6 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "调整教职工部门", + "parameters": [ + { + "description": "教职工ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" + }, + { + "description": "调整后的部门ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "调整教职工部门", + "tags": [ + "教师信息" + ] + } + }, + "/base/teacher/DeleteTeacherInfo": { + "post": { + "X-EmptyLimit": [ + "personIds" + ], + "X-InterfaceName": [ + "DeleteBaseTeacher" + ], + "X-LengthLimit": [ + { + "personIds": "36,1800" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 4 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除教职工信息", + "parameters": [ + { + "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/ExportTeacherAccountExcel": { + "get": { + "X-EmptyLimit": [ + "orgId" + ], + "X-LengthLimit": [ + { + "orgId": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 7 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "导出本单位教职工账号信息到EXCEL", + "parameters": [ + { + "description": "单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "导出本单位教职工账号信息到EXCEL", + "tags": [ + "教师信息" + ] + } + }, + "/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": "dzxx", + "name": "purviewIds", + "required": true, "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" } ], "produces": [ @@ -3239,9 +3288,9 @@ var doc = `{ } } }, - "summary": "修改教职工信息", + "summary": "删除权限信息", "tags": [ - "教师信息" + "权限" ] } }, @@ -3332,34 +3381,44 @@ var doc = `{ ] } }, - "/base/purview/DeletePurviewInfo": { - "post": { + "/base/purview/GetPurviewInfoById": { + "get": { "X-EmptyLimit": [ - "purviewIds" + "purviewId" ], "X-InterfaceName": [ - "DeleteBasePurview" + "GetBasePurview" ], "X-LengthLimit": [ { - "purviewIds": "36,1800" + "purviewId": "36,36" } ], + "X-RemoveSwaggerField": [ + "id_int", + "purview_type", + "menu_icon", + "b_use", + "last_updated_time" + ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 2 + 4 + ], + "X-TableName": [ + "t_base_purview" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除权限信息", + "description": "获取权限信息(单条)", "parameters": [ { - "description": "权限ID,如果是多个用逗号分隔", - "in": "formData", - "name": "purviewIds", + "description": "权限ID", + "in": "query", + "name": "purviewId", "required": true, "type": "string" } @@ -3375,7 +3434,7 @@ var doc = `{ } } }, - "summary": "删除权限信息", + "summary": "获取权限信息(单条)", "tags": [ "权限" ] @@ -3489,6 +3548,86 @@ var doc = `{ ] } }, + "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { + "get": { + "X-EmptyLimit": [ + "page", + "limit" + ], + "X-IntLimit": [ + "page", + "limit" + ], + "X-IntRangeLimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } + ], + "X-InterfaceName": [ + "PageBasePurview" + ], + "X-RemoveSwaggerField": [ + "id_int", + "purview_type", + "business_code", + "b_use", + "last_updated_time" + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 6 + ], + "X-TableName": [ + "t_base_purview" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据人员ID和业务系统编码获取权限信息信息", + "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据人员ID和业务系统编码获取权限信息信息", + "tags": [ + "权限" + ] + } + }, "/base/purview/AddPurviewInfo": { "post": { "X-EmptyLimit": [ @@ -3597,126 +3736,41 @@ var doc = `{ ] } }, - "/base/purview/GetPurviewInfoById": { - "get": { + "/base/class/DeleteClassInfo": { + "post": { "X-EmptyLimit": [ - "purviewId" + "classIds" ], "X-InterfaceName": [ - "GetBasePurview" + "DeleteBaseClass" ], "X-LengthLimit": [ { - "purviewId": "36,36" - } - ], - "X-RemoveSwaggerField": [ - "id_int", - "purview_type", - "menu_icon", - "b_use", - "last_updated_time" - ], - "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 4 - ], - "X-TableName": [ - "t_base_purview" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取权限信息(单条)", - "parameters": [ - { - "description": "权限ID", - "in": "query", - "name": "purviewId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取权限信息(单条)", - "tags": [ - "权限" - ] - } - }, - "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { - "get": { - "X-EmptyLimit": [ - "page", - "limit" - ], - "X-IntLimit": [ - "page", - "limit" - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" + "classId": "36,1800" } ], - "X-InterfaceName": [ - "PageBasePurview" - ], - "X-RemoveSwaggerField": [ - "id_int", - "purview_type", - "business_code", - "b_use", - "last_updated_time" - ], "X-RoleLimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "X-Sort": [ - 6 - ], - "X-TableName": [ - "t_base_purview" + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据人员ID和业务系统编码获取权限信息信息", + "description": "删除班级信息", "parameters": [ { - "description": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", + "description": "班级ID,多个用逗号分隔", + "in": "formData", + "name": "classIds", "required": true, - "type": "integer" + "type": "string" } ], "produces": [ @@ -3730,38 +3784,25 @@ var doc = `{ } } }, - "summary": "根据人员ID和业务系统编码获取权限信息信息", + "summary": "删除班级信息", "tags": [ - "权限" + "班级信息" ] } }, - "/base/class/GetClassInfo": { + "/base/class/GetStageInfo": { "get": { - "X-EmptyLimit": [ - "classId" - ], "X-InterfaceName": [ - "GetBaseClass" + "PageBaseClass" ], "X-LengthLimit": [ { - "classId": "36,36" + "orgId": "36,36" } ], "X-RemoveSwaggerField": [ - "id_int", - "class_code", - "rxjj", - "teacher_id", - "org_id", - "bureau_id", "b_use", - "province_code", - "city_code", - "district_code", - "main_school_id", - "last_updated_time" + "sort_id" ], "X-RoleLimit": [ "1", @@ -3772,20 +3813,20 @@ var doc = `{ "7" ], "X-Sort": [ - 2 + 7 ], "X-TableName": [ - "t_base_class" + "t_dm_stage" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取班级信息", + "description": "获取学段信息", "parameters": [ { - "description": "班级ID", + "description": "学校ID", "in": "query", - "name": "classId", + "name": "orgId", "required": true, "type": "string" } @@ -3801,7 +3842,7 @@ var doc = `{ } } }, - "summary": "获取班级信息", + "summary": "获取学段信息", "tags": [ "班级信息" ] @@ -3833,92 +3874,16 @@ var doc = `{ ] } }, - "/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": { + "/base/class/GetRxnfInfo": { "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" - ], "X-RoleLimit": [ "1", "2", @@ -3928,30 +3893,13 @@ var doc = `{ "7" ], "X-Sort": [ - 1 - ], - "X-TableName": [ - "t_base_class" + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取班级列表", + "description": "根据学校ID和学部(学段)ID获取入学年份", "parameters": [ - { - "description": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, { "description": "学校ID", "in": "query", @@ -3960,24 +3908,11 @@ var doc = `{ "type": "string" }, { - "description": "学部ID", + "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": [ @@ -3991,7 +3926,7 @@ var doc = `{ } } }, - "summary": "获取班级列表", + "summary": "根据学校ID和学部(学段)ID获取入学年份", "tags": [ "班级信息" ] @@ -4062,64 +3997,6 @@ var doc = `{ ] } }, - "/base/class/GetStageInfo": { - "get": { - "X-InterfaceName": [ - "PageBaseClass" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - } - ], - "X-RemoveSwaggerField": [ - "b_use", - "sort_id" - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 7 - ], - "X-TableName": [ - "t_dm_stage" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取学段信息", - "parameters": [ - { - "description": "学校ID", - "in": "query", - "name": "orgId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取学段信息", - "tags": [ - "班级信息" - ] - } - }, "/base/class/UpdateClassInfo": { "post": { "X-EmptyLimit": [ @@ -4185,19 +4062,33 @@ var doc = `{ ] } }, - "/base/class/DeleteClassInfo": { - "post": { + "/base/class/GetClassInfo": { + "get": { "X-EmptyLimit": [ - "classIds" + "classId" ], "X-InterfaceName": [ - "DeleteBaseClass" + "GetBaseClass" ], "X-LengthLimit": [ { - "classId": "36,1800" + "classId": "36,36" } ], + "X-RemoveSwaggerField": [ + "id_int", + "class_code", + "rxjj", + "teacher_id", + "org_id", + "bureau_id", + "b_use", + "province_code", + "city_code", + "district_code", + "main_school_id", + "last_updated_time" + ], "X-RoleLimit": [ "1", "2", @@ -4207,17 +4098,20 @@ var doc = `{ "7" ], "X-Sort": [ - 4 + 2 + ], + "X-TableName": [ + "t_base_class" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除班级信息", + "description": "获取班级信息", "parameters": [ { - "description": "班级ID,多个用逗号分隔", - "in": "formData", - "name": "classIds", + "description": "班级ID", + "in": "query", + "name": "classId", "required": true, "type": "string" } @@ -4233,7 +4127,33 @@ var doc = `{ } } }, - "summary": "删除班级信息", + "summary": "获取班级信息", + "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" + } + } + }, + "summary": "导入学籍CSV文件", "tags": [ "班级信息" ] @@ -4357,16 +4277,66 @@ var doc = `{ ] } }, - "/base/class/GetRxnfInfo": { + "/base/class/PageClassInfo": { "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" + ], "X-RoleLimit": [ "1", "2", @@ -4376,13 +4346,30 @@ var doc = `{ "7" ], "X-Sort": [ - 8 + 1 + ], + "X-TableName": [ + "t_base_class" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据学校ID和学部(学段)ID获取入学年份", + "description": "获取班级列表", "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { "description": "学校ID", "in": "query", @@ -4391,11 +4378,24 @@ var doc = `{ "type": "string" }, { - "description": "学部(学段)ID", + "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": [ @@ -4409,74 +4409,33 @@ var doc = `{ } } }, - "summary": "根据学校ID和学部(学段)ID获取入学年份", + "summary": "获取班级列表", "tags": [ "班级信息" ] } }, - "/base/loginperson/ExportBureauManagerInfoExcel": { + "/base/loginperson/PageAreaManagerInfo": { "get": { "X-EmptyLimit": [ - "areaCode", - "orgType" + "page", + "limit", + "areaCode" ], - "X-LengthLimit": [ + "X-ExtendSwaggerField": [ { - "areaCode": "6,6" + "column_comment": "地区名称", + "column_name": "area_name", + "sample_data": "长春市" } ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "7" - ], - "X-Sort": [ - 6 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导出单位管理员的EXCEL", - "parameters": [ + "X-IntRangeLimit": [ { - "description": "地区码", - "in": "query", - "name": "areaCode", - "required": true, - "type": "string" + "page": "1,1000" }, { - "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" - } + "limit": "1,1000" } - }, - "summary": "导出单位管理员的EXCEL", - "tags": [ - "登录信息" - ] - } - }, - "/base/loginperson/ExportAreaManagerInfoExcel": { - "get": { - "X-EmptyLimit": [ - "areaCode" ], "X-InterfaceName": [ "PageSysLoginperson" @@ -4486,19 +4445,39 @@ var doc = `{ "areaCode": "6,6" } ], + "X-RemoveSwaggerField": [ + "last_updated_time" + ], "X-RoleLimit": [ "1", "2", "3" ], "X-Sort": [ - 4 + 3 + ], + "X-TableName": [ + "t_sys_loginperson" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导出地区管理员到EXCEL(虚拟)", + "description": "获取地区管理员列表(虚拟)", "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { "description": "地区码", "in": "query", @@ -4518,43 +4497,26 @@ var doc = `{ } } }, - "summary": "导出地区管理员到EXCEL(虚拟)", + "summary": "获取地区管理员列表(虚拟)", "tags": [ "登录信息" ] } }, - "/base/loginperson/EnableAccountInfo": { + "/base/loginperson/UnbindAuthorizationInfo": { "post": { - "X-EmptyLimit": [ - "personIds" - ], - "X-LengthLimit": [ - { - "personIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], "X-Sort": [ - 8 + 13 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "启用账号信息", + "description": "解除绑定第三方授权", "parameters": [ { - "description": "一个或多个ID,多个用逗号分隔", + "description": "第三方授权类型名 qq:QQ wx:微信", "in": "formData", - "name": "personIds", + "name": "typeName", "required": true, "type": "string" } @@ -4570,33 +4532,7 @@ var doc = `{ } } }, - "summary": "启用账号信息", - "tags": [ - "登录信息" - ] - } - }, - "/base/loginperson/GetBindAuthorizationInfo": { - "get": { - "X-Sort": [ - 12 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取已绑定的第三方授权", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取已绑定的第三方授权", + "summary": "解除绑定第三方授权", "tags": [ "登录信息" ] @@ -4697,39 +4633,45 @@ var doc = `{ ] } }, - "/base/loginperson/ResetManagerPassWord": { - "post": { + "/base/loginperson/ExportBureauManagerInfoExcel": { + "get": { "X-EmptyLimit": [ - "ids" + "areaCode", + "orgType" ], "X-LengthLimit": [ { - "ids": "36,1800" + "areaCode": "6,6" } ], "X-RoleLimit": [ "1", "2", "3", - "4", - "5", - "6", + "4", "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": [ @@ -4743,26 +4685,43 @@ var doc = `{ } } }, - "summary": "重置管理员密码", + "summary": "导出单位管理员的EXCEL", "tags": [ "登录信息" ] } }, - "/base/loginperson/UnbindAuthorizationInfo": { + "/base/loginperson/DisableAccountInfo": { "post": { + "X-EmptyLimit": [ + "personIds" + ], + "X-LengthLimit": [ + { + "personIds": "36,1800" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], "X-Sort": [ - 13 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "解除绑定第三方授权", + "description": "禁用账号信息", "parameters": [ { - "description": "第三方授权类型名 qq:QQ wx:微信", + "description": "一个或多个ID,多个用逗号分隔", "in": "formData", - "name": "typeName", + "name": "personIds", "required": true, "type": "string" } @@ -4778,7 +4737,7 @@ var doc = `{ } } }, - "summary": "解除绑定第三方授权", + "summary": "禁用账号信息", "tags": [ "登录信息" ] @@ -4810,28 +4769,11 @@ var doc = `{ ] } }, - "/base/loginperson/PageAreaManagerInfo": { + "/base/loginperson/ExportAreaManagerInfoExcel": { "get": { "X-EmptyLimit": [ - "page", - "limit", "areaCode" ], - "X-ExtendSwaggerField": [ - { - "column_comment": "地区名称", - "column_name": "area_name", - "sample_data": "长春市" - } - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], "X-InterfaceName": [ "PageSysLoginperson" ], @@ -4840,39 +4782,19 @@ var doc = `{ "areaCode": "6,6" } ], - "X-RemoveSwaggerField": [ - "last_updated_time" - ], "X-RoleLimit": [ "1", "2", "3" ], "X-Sort": [ - 3 - ], - "X-TableName": [ - "t_sys_loginperson" + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取地区管理员列表(虚拟)", + "description": "导出地区管理员到EXCEL(虚拟)", "parameters": [ - { - "description": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, { "description": "地区码", "in": "query", @@ -4892,13 +4814,39 @@ var doc = `{ } } }, - "summary": "获取地区管理员列表(虚拟)", + "summary": "导出地区管理员到EXCEL(虚拟)", "tags": [ "登录信息" ] } }, - "/base/loginperson/DisableAccountInfo": { + "/base/loginperson/GetBindAuthorizationInfo": { + "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/EnableAccountInfo": { "post": { "X-EmptyLimit": [ "personIds" @@ -4918,12 +4866,12 @@ var doc = `{ "7" ], "X-Sort": [ - 9 + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "禁用账号信息", + "description": "启用账号信息", "parameters": [ { "description": "一个或多个ID,多个用逗号分隔", @@ -4944,7 +4892,7 @@ var doc = `{ } } }, - "summary": "禁用账号信息", + "summary": "启用账号信息", "tags": [ "登录信息" ] @@ -4989,9 +4937,138 @@ var doc = `{ "type": "string" }, { - "description": "新密码", - "in": "formData", - "name": "newPassWord", + "description": "新密码", + "in": "formData", + "name": "newPassWord", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改登录密码", + "tags": [ + "登录信息" + ] + } + }, + "/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/organization/GetEduAssistInfoById": { + "get": { + "X-EmptyLimit": [ + "orgId" + ], + "X-InterfaceName": [ + "GetBaseOrganization" + ], + "X-LengthLimit": [ + { + "orgId": "36,36" + } + ], + "X-RemoveSwaggerField": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "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" + ], + "X-Sort": [ + 8 + ], + "X-TableName": [ + "t_base_organization" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据教辅单位ID获取教辅单位信息", + "parameters": [ + { + "description": "教辅单位ID", + "in": "query", + "name": "orgId", "required": true, "type": "string" } @@ -5007,44 +5084,111 @@ var doc = `{ } } }, - "summary": "修改登录密码", + "summary": "根据教辅单位ID获取教辅单位信息", "tags": [ - "登录信息" + "组织机构" ] } }, - "/base/organization/ListOrgByOrgKeyWord": { + "/base/organization/PageMainSchoolInfo": { "get": { "X-EmptyLimit": [ - "keyWord" + "page", + "limit", + "areaCode" + ], + "X-ExtendSwaggerField": [ + { + "column_comment": "学校办学类型名称", + "column_name": "xxbxlxm_name", + "sample_data": "小学" + } + ], + "X-IntRangeLimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } + ], + "X-InterfaceName": [ + "PageBaseOrganization" ], "X-LengthLimit": [ { - "keyWord": "2,30" + "areaCode": "6,6" } ], "X-RemoveSwaggerField": [ - "id_int" + "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" + "4", + "7" ], "X-Sort": [ - 23 + 12 + ], + "X-TableName": [ + "t_base_organization" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据单位名称的关键字和管理员的人员ID查询单位列表", + "description": "获取主校列表", "parameters": [ { - "description": "单位名称关键字", + "description": "第几页", "in": "query", - "name": "keyWord", + "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": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", + "in": "query", + "name": "orgId", + "type": "string" } ], "produces": [ @@ -5058,7 +5202,7 @@ var doc = `{ } } }, - "summary": "根据单位名称的关键字和管理员的人员ID查询单位列表", + "summary": "获取主校列表", "tags": [ "组织机构" ] @@ -5182,103 +5326,6 @@ var doc = `{ ] } }, - "/base/organization/UpdateOrgInfo": { - "post": { - "X-EmptyLimit": [ - "orgId", - "orgCode", - "orgName" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } - ], - "X-InterfaceName": [ - "UpdateBaseOrganization" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "orgManagerIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 20 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "修改部门信息", - "parameters": [ - { - "description": "部门ID", - "in": "formData", - "name": "orgId", - "required": true, - "type": "string" - }, - { - "description": "部门编码", - "in": "formData", - "name": "orgCode", - "required": true, - "type": "string" - }, - { - "description": "部门名称", - "in": "formData", - "name": "orgName", - "required": true, - "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" - }, - { - "description": "部门领导的人员ID", - "in": "formData", - "name": "orgManagerIds", - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "修改部门信息", - "tags": [ - "组织机构" - ] - } - }, "/base/organization/AddSchoolInfo": { "post": { "X-EmptyLimit": [ @@ -5445,6 +5492,59 @@ var doc = `{ ] } }, + "/base/organization/DeleteSchoolInfo": { + "post": { + "X-EmptyLimit": [ + "orgIds" + ], + "X-InterfaceName": [ + "DeleteBaseOrganization" + ], + "X-LengthLimit": [ + { + "orgIds": "36,1800" + } + ], + "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/organization/PageEnableEduInfo": { "get": { "X-EmptyLimit": [ @@ -5568,39 +5668,94 @@ var doc = `{ ] } }, - "/base/organization/DeleteEduAssistInfo": { + "/base/organization/AddOrgInfo": { "post": { "X-EmptyLimit": [ - "orgIds" + "orgId", + "orgCode", + "orgName" + ], + "X-IntRangeLimit": [ + { + "sortId": "1,9999" + } ], "X-InterfaceName": [ - "DeleteBaseOrganization" + "AddBaseOrganization" ], "X-LengthLimit": [ { - "orgIds": "36,1800" + "orgId": "36,36" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "parentId": "36,36" + }, + { + "orgManagerIds": "36,1800" } ], "X-RoleLimit": [ "1", "2", "3", - "4" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 11 + 19 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除教辅单位信息", + "description": "增加部门信息", "parameters": [ { - "description": "教辅单位ID,如果是多个用逗号分隔", + "description": "单位ID", "in": "formData", - "name": "orgIds", + "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": "上级部门ID", + "in": "formData", + "name": "parentId", + "required": true, + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" + }, + { + "description": "部门领导的人员ID", + "in": "formData", + "name": "orgManagerIds", + "type": "string" } ], "produces": [ @@ -5614,86 +5769,39 @@ var doc = `{ } } }, - "summary": "删除教辅单位信息", + "summary": "增加部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/GetOrgInfo": { - "get": { + "/base/organization/DisableEdu": { + "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" + "UpdateBaseOrganization" ], "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" + "1" ], "X-Sort": [ - 18 - ], - "X-TableName": [ - "t_base_organization" + 5 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取部门信息", + "description": "禁用教育局", "parameters": [ { - "description": "部门ID", - "in": "query", + "description": "教育局ID", + "in": "formData", "name": "orgId", "required": true, "type": "string" @@ -5710,13 +5818,13 @@ var doc = `{ } } }, - "summary": "获取部门信息", + "summary": "禁用教育局", "tags": [ "组织机构" ] } }, - "/base/organization/EnableEdu": { + "/base/organization/UpdateOrgInfo": { "post": { "X-EmptyLimit": [ "orgId", @@ -5742,79 +5850,128 @@ var doc = `{ "orgName": "1,30" }, { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" - }, - { - "lxdh": "2,30" + "orgManagerIds": "36,1800" } ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "X-Sort": [ - 4 + 20 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "启用教育局", + "description": "修改部门信息", "parameters": [ { - "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": "教育局法定代表人", - "in": "formData", - "name": "fddbr", - "type": "string" - }, - { - "description": "教育局法定代表人电话", + "description": "排序号", "in": "formData", - "name": "fddbrdh", - "type": "string" + "name": "sortId", + "type": "integer" }, { - "description": "教育局地址", + "description": "部门领导的人员ID", "in": "formData", - "name": "address", + "name": "orgManagerIds", "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改部门信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/GetSchoolInfoById": { + "get": { + "X-EmptyLimit": [ + "orgId" + ], + "X-InterfaceName": [ + "GetBaseOrganization" + ], + "X-LengthLimit": [ { - "description": "联系电话", - "in": "formData", - "name": "lxdh", - "type": "string" - }, + "orgId": "36,36" + } + ], + "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", + "2", + "3", + "4", + "7" + ], + "X-Sort": [ + 13 + ], + "X-TableName": [ + "t_base_organization" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据学校ID获取学校信息", + "parameters": [ { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" + "description": "学校ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], "produces": [ @@ -5828,16 +5985,16 @@ var doc = `{ } } }, - "summary": "启用教育局", + "summary": "根据学校ID获取学校信息", "tags": [ "组织机构" ] } }, - "/base/organization/AddEduAssistInfo": { + "/base/organization/UpdateEduAssistInfo": { "post": { "X-EmptyLimit": [ - "areaCode", + "orgId", "orgCode", "orgName" ], @@ -5847,9 +6004,12 @@ var doc = `{ } ], "X-InterfaceName": [ - "AddBaseOrganization" + "UpdateBaseOrganization" ], "X-LengthLimit": [ + { + "orgId": "36,36" + }, { "areaCode": "6,6" }, @@ -5867,9 +6027,6 @@ var doc = `{ }, { "address": "2,100" - }, - { - "lxdh": "2,30" } ], "X-RoleLimit": [ @@ -5879,17 +6036,17 @@ var doc = `{ "4" ], "X-Sort": [ - 9 + 10 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加教辅单位信息", + "description": "修改教辅单位信息", "parameters": [ { - "description": "行政区划编码", + "description": "教辅单位ID", "in": "formData", - "name": "areaCode", + "name": "orgId", "required": true, "type": "string" }, @@ -5949,23 +6106,36 @@ var doc = `{ } } }, - "summary": "增加教辅单位信息", + "summary": "修改教辅单位信息", "tags": [ "组织机构" ] } }, - "/base/organization/GetSchoolInfoById": { + "/base/organization/PageDisableEduInfo": { "get": { "X-EmptyLimit": [ - "orgId" + "page", + "limit", + "areaCode" + ], + "X-IntRangeLimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "X-InterfaceName": [ - "GetBaseOrganization" + "PageBaseOrganization" ], "X-LengthLimit": [ { - "orgId": "36,36" + "areaCode": "6,6" + }, + { + "orgName": "1,50" } ], "X-RemoveSwaggerField": [ @@ -5974,8 +6144,21 @@ var doc = `{ "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", @@ -5983,14 +6166,10 @@ var doc = `{ "last_updated_time" ], "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "7" + "1" ], "X-Sort": [ - 13 + 2 ], "X-TableName": [ "t_base_organization" @@ -5998,67 +6177,34 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据学校ID获取学校信息", + "description": "获取未启用的教育局列表", "parameters": [ { - "description": "学校ID", + "description": "第几页", "in": "query", - "name": "orgId", + "name": "page", "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": [ + "type": "integer" + }, { - "orgIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "7" - ], - "X-Sort": [ - 16 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "删除学校信息", - "parameters": [ + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { - "description": "学校ID,如果是多个用逗号分隔", - "in": "formData", - "name": "orgIds", + "description": "行政区划编码", + "in": "query", + "name": "areaCode", "required": true, "type": "string" + }, + { + "description": "教育局名称", + "in": "query", + "name": "orgName", + "type": "string" } ], "produces": [ @@ -6072,96 +6218,105 @@ var doc = `{ } } }, - "summary": "删除学校信息", + "summary": "获取未启用的教育局列表", "tags": [ "组织机构" ] } }, - "/base/organization/ListEduByCityCodeInfo": { + "/base/organization/PageEduAssistInfo": { "get": { "X-EmptyLimit": [ - "cityCode" + "page", + "limit", + "areaCode" ], - "X-LengthLimit": [ + "X-IntRangeLimit": [ { - "cityCode": "6,6" - } - ], - "X-RoleLimit": [ - "1", - "3", - "4" - ], - "X-Sort": [ - 24 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "根据市的行政区划码获取教育局列表", - "parameters": [ + "page": "1,1000" + }, { - "description": "市的行政区划码", - "in": "query", - "name": "cityCode", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } + "limit": "1,1000" } - }, - "summary": "根据市的行政区划码获取教育局列表", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/DeleteOrgInfo": { - "post": { - "X-EmptyLimit": [ - "orgId" - ], - "X-InterfaceName": [ - "DeleteBaseOrganization" ], "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": [ @@ -6175,16 +6330,36 @@ var doc = `{ } } }, - "summary": "删除部门信息", + "summary": "获取教辅单位列表", "tags": [ "组织机构" ] } }, - "/base/organization/GetOrgTreeInfo": { + "/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": [ + "PageBaseOrganization" ], "X-LengthLimit": [ { @@ -6210,6 +6385,7 @@ var doc = `{ "lxdh", "org_lng", "org_lat", + "sort_id", "b_use", "province_code", "city_code", @@ -6227,13 +6403,30 @@ var doc = `{ "7" ], "X-Sort": [ - 22 + 17 + ], + "X-TableName": [ + "t_base_organization" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据单位ID获取部门树", + "description": "获取部门列表", "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { "description": "单位ID", "in": "query", @@ -6253,40 +6446,42 @@ var doc = `{ } } }, - "summary": "根据单位ID获取部门树", + "summary": "获取部门列表", "tags": [ "组织机构" ] } }, - "/base/organization/DisableEdu": { - "post": { + "/base/organization/ListOrgByOrgKeyWord": { + "get": { "X-EmptyLimit": [ - "orgId" - ], - "X-InterfaceName": [ - "UpdateBaseOrganization" + "keyWord" ], "X-LengthLimit": [ { - "orgId": "36,36" + "keyWord": "2,30" } ], + "X-RemoveSwaggerField": [ + "id_int" + ], "X-RoleLimit": [ - "1" + "1", + "3", + "4" ], "X-Sort": [ - 5 + 23 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "禁用教育局", + "description": "根据单位名称的关键字和管理员的人员ID查询单位列表", "parameters": [ { - "description": "教育局ID", - "in": "formData", - "name": "orgId", + "description": "单位名称关键字", + "in": "query", + "name": "keyWord", "required": true, "type": "string" } @@ -6302,67 +6497,45 @@ var doc = `{ } } }, - "summary": "禁用教育局", + "summary": "根据单位名称的关键字和管理员的人员ID查询单位列表", "tags": [ "组织机构" ] } }, - "/base/organization/GetEduAssistInfoById": { - "get": { + "/base/organization/DeleteOrgInfo": { + "post": { "X-EmptyLimit": [ "orgId" ], "X-InterfaceName": [ - "GetBaseOrganization" + "DeleteBaseOrganization" ], "X-LengthLimit": [ { "orgId": "36,36" } ], - "X-RemoveSwaggerField": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "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" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 8 - ], - "X-TableName": [ - "t_base_organization" + 21 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据教辅单位ID获取教辅单位信息", + "description": "删除部门信息", "parameters": [ { - "description": "教辅单位ID", - "in": "query", + "description": "部门ID", + "in": "formData", "name": "orgId", "required": true, "type": "string" @@ -6379,109 +6552,159 @@ var doc = `{ } } }, - "summary": "根据教辅单位ID获取教辅单位信息", + "summary": "删除部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageOrgInfo": { + "/base/organization/ListEduByCityCodeInfo": { "get": { "X-EmptyLimit": [ - "page", - "limit", - "bureauId" + "cityCode" ], - "X-ExtendSwaggerField": [ + "X-LengthLimit": [ { - "column_comment": "部门领导", - "column_name": "org_manager_name", - "sample_data": "李老师" + "cityCode": "6,6" } ], - "X-IntRangeLimit": [ + "X-RoleLimit": [ + "1", + "3", + "4" + ], + "X-Sort": [ + 24 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据市的行政区划码获取教育局列表", + "parameters": [ { - "page": "1,1000" - }, + "description": "市的行政区划码", + "in": "query", + "name": "cityCode", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据市的行政区划码获取教育局列表", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/EnableEdu": { + "post": { + "X-EmptyLimit": [ + "orgId", + "orgCode", + "orgName" + ], + "X-IntRangeLimit": [ { - "limit": "1,1000" + "sortId": "1,9999" } ], "X-InterfaceName": [ - "PageBaseOrganization" + "UpdateBaseOrganization" ], "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", - "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": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ], "X-Sort": [ - 17 - ], - "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": "query", - "name": "limit", + "description": "教育局编码", + "in": "formData", + "name": "orgCode", "required": true, - "type": "integer" + "type": "string" }, { - "description": "单位ID", - "in": "query", - "name": "orgId", + "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": [ @@ -6495,16 +6718,16 @@ var doc = `{ } } }, - "summary": "获取部门列表", + "summary": "启用教育局", "tags": [ "组织机构" ] } }, - "/base/organization/UpdateEduAssistInfo": { + "/base/organization/AddEduAssistInfo": { "post": { "X-EmptyLimit": [ - "orgId", + "areaCode", "orgCode", "orgName" ], @@ -6514,12 +6737,9 @@ var doc = `{ } ], "X-InterfaceName": [ - "UpdateBaseOrganization" + "AddBaseOrganization" ], "X-LengthLimit": [ - { - "orgId": "36,36" - }, { "areaCode": "6,6" }, @@ -6537,6 +6757,9 @@ var doc = `{ }, { "address": "2,100" + }, + { + "lxdh": "2,30" } ], "X-RoleLimit": [ @@ -6546,17 +6769,17 @@ var doc = `{ "4" ], "X-Sort": [ - 10 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改教辅单位信息", + "description": "增加教辅单位信息", "parameters": [ { - "description": "教辅单位ID", + "description": "行政区划编码", "in": "formData", - "name": "orgId", + "name": "areaCode", "required": true, "type": "string" }, @@ -6616,41 +6839,76 @@ var doc = `{ } } }, - "summary": "修改教辅单位信息", + "summary": "增加教辅单位信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageDisableEduInfo": { - "get": { + "/base/organization/DeleteEduAssistInfo": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "areaCode" + "orgIds" ], - "X-IntRangeLimit": [ + "X-InterfaceName": [ + "DeleteBaseOrganization" + ], + "X-LengthLimit": [ { - "page": "1,1000" - }, + "orgIds": "36,1800" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4" + ], + "X-Sort": [ + 11 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除教辅单位信息", + "parameters": [ { - "limit": "1,1000" + "description": "教辅单位ID,如果是多个用逗号分隔", + "in": "formData", + "name": "orgIds", + "required": true, + "type": "string" } ], - "X-InterfaceName": [ - "PageBaseOrganization" + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "删除教辅单位信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/GetOrgTreeInfo": { + "get": { + "X-EmptyLimit": [ + "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", @@ -6668,52 +6926,109 @@ 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": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, - { - "description": "行政区划编码", + "description": "单位ID", "in": "query", - "name": "areaCode", + "name": "orgId", "required": true, "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据单位ID获取部门树", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/GetEduInfoById": { + "get": { + "X-EmptyLimit": [ + "orgId" + ], + "X-InterfaceName": [ + "GetBaseOrganization" + ], + "X-LengthLimit": [ { - "description": "教育局名称", + "orgId": "36,36" + } + ], + "X-RemoveSwaggerField": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "org_lng", + "org_lat", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], + "X-RoleLimit": [ + "1" + ], + "X-Sort": [ + 3 + ], + "X-TableName": [ + "t_base_organization" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据教育局ID获取教育局信息", + "parameters": [ + { + "description": "教育局ID", "in": "query", - "name": "orgName", + "name": "orgId", + "required": true, "type": "string" } ], @@ -6728,19 +7043,26 @@ var doc = `{ } } }, - "summary": "获取未启用的教育局列表", + "summary": "根据教育局ID获取教育局信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageEduAssistInfo": { + "/base/organization/PageSchoolInfo": { "get": { "X-EmptyLimit": [ "page", "limit", "areaCode" ], + "X-ExtendSwaggerField": [ + { + "column_comment": "学校办学类型名称", + "column_name": "xxbxlxm_name", + "sample_data": "小学" + } + ], "X-IntRangeLimit": [ { "page": "1,1000" @@ -6749,6 +7071,9 @@ var doc = `{ "limit": "1,1000" } ], + "X-InterfaceName": [ + "PageBaseOrganization" + ], "X-LengthLimit": [ { "areaCode": "6,6" @@ -6763,11 +7088,9 @@ var doc = `{ "bureau_id", "org_type", "edu_assist_type", - "main_school_type", "main_school_id", "manage_org_id", "xxbbm", - "xxbxlxm", "szdcxlxm", "xxjbzm", "fzr", @@ -6788,10 +7111,11 @@ var doc = `{ "1", "2", "3", - "4" + "4", + "7" ], "X-Sort": [ - 7 + 12 ], "X-TableName": [ "t_base_organization" @@ -6799,7 +7123,7 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取教辅单位列表", + "description": "获取学校列表", "parameters": [ { "description": "第几页", @@ -6823,116 +7147,16 @@ var doc = `{ "type": "string" }, { - "description": "教辅单位名称", + "description": "学校办学类型 -1:全部", "in": "query", - "name": "orgName", - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取教辅单位列表", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/AddOrgInfo": { - "post": { - "X-EmptyLimit": [ - "orgId", - "orgCode", - "orgName" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } - ], - "X-InterfaceName": [ - "AddBaseOrganization" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "parentId": "36,36" - }, - { - "orgManagerIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 19 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "增加部门信息", - "parameters": [ - { - "description": "单位ID", - "in": "formData", - "name": "orgId", - "required": true, - "type": "string" - }, - { - "description": "部门编码", - "in": "formData", - "name": "orgCode", + "name": "xxbxlxm", "required": true, "type": "string" }, { - "description": "部门名称", - "in": "formData", + "description": "学校名称", + "in": "query", "name": "orgName", - "required": true, - "type": "string" - }, - { - "description": "上级部门ID", - "in": "formData", - "name": "parentId", - "required": true, - "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" - }, - { - "description": "部门领导的人员ID", - "in": "formData", - "name": "orgManagerIds", "type": "string" } ], @@ -6947,7 +7171,7 @@ var doc = `{ } } }, - "summary": "增加部门信息", + "summary": "获取学校列表", "tags": [ "组织机构" ] @@ -7112,126 +7336,8 @@ var doc = `{ { "description": "排序号", "in": "formData", - "name": "sortId", - "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "修改学校信息", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/PageMainSchoolInfo": { - "get": { - "X-EmptyLimit": [ - "page", - "limit", - "areaCode" - ], - "X-ExtendSwaggerField": [ - { - "column_comment": "学校办学类型名称", - "column_name": "xxbxlxm_name", - "sample_data": "小学" - } - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], - "X-InterfaceName": [ - "PageBaseOrganization" - ], - "X-LengthLimit": [ - { - "areaCode": "6,6" - } - ], - "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" - ], - "X-Sort": [ - 12 - ], - "X-TableName": [ - "t_base_organization" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取主校列表", - "parameters": [ - { - "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": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", - "in": "query", - "name": "orgId", - "type": "string" + "name": "sortId", + "type": "integer" } ], "produces": [ @@ -7245,17 +7351,29 @@ var doc = `{ } } }, - "summary": "获取主校列表", + "summary": "修改学校信息", "tags": [ "组织机构" ] } }, - "/base/organization/GetEduInfoById": { + "/base/organization/GetOrgInfo": { "get": { "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" ], @@ -7266,7 +7384,6 @@ var doc = `{ ], "X-RemoveSwaggerField": [ "id_int", - "parent_id", "bureau_id", "org_type", "edu_assist_type", @@ -7278,19 +7395,30 @@ var doc = `{ "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" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "X-Sort": [ - 3 + 18 ], "X-TableName": [ "t_base_organization" @@ -7298,10 +7426,10 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据教育局ID获取教育局信息", + "description": "获取部门信息", "parameters": [ { - "description": "教育局ID", + "description": "部门ID", "in": "query", "name": "orgId", "required": true, @@ -7319,121 +7447,39 @@ var doc = `{ } } }, - "summary": "根据教育局ID获取教育局信息", + "summary": "获取部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageSchoolInfo": { - "get": { + "/base/position/DeletePositionInfo": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "areaCode" - ], - "X-ExtendSwaggerField": [ - { - "column_comment": "学校办学类型名称", - "column_name": "xxbxlxm_name", - "sample_data": "小学" - } - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], - "X-InterfaceName": [ - "PageBaseOrganization" + "id" ], "X-LengthLimit": [ { - "areaCode": "6,6" - }, - { - "orgName": "1,30" + "id": "36,36" } ], - "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" + 2 ], "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": "行政区划编码", - "in": "query", - "name": "areaCode", - "required": true, - "type": "string" - }, - { - "description": "学校办学类型 -1:全部", - "in": "query", - "name": "xxbxlxm", + "description": "职务ID", + "in": "formData", + "name": "id", "required": true, "type": "string" - }, - { - "description": "学校名称", - "in": "query", - "name": "orgName", - "type": "string" } ], "produces": [ @@ -7447,9 +7493,9 @@ var doc = `{ } } }, - "summary": "获取学校列表", + "summary": "删除职务信息", "tags": [ - "组织机构" + "职务" ] } }, @@ -7501,84 +7547,38 @@ var doc = `{ ] } }, - "/base/position/AddPositionInfo": { - "post": { + "/base/position/GetPositionInfoById": { + "get": { "X-EmptyLimit": [ - "nodeName", - "parentId", - "areaLevel", - "orgType", - "xxbxlxm" - ], - "X-IntLimit": [ - "areaLevel", - "orgType", - "sortId" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } + "id" ], "X-LengthLimit": [ { - "parentId": "36,36" - }, - { - "nodeName": "2,30" + "id": "36,36" } ], + "X-RemoveSwaggerField": [ + "id_int", + "b_use", + "last_updated_time" + ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 1 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加职务信息", + "description": "获取职务信息(单条)", "parameters": [ { - "description": "职务名称", - "in": "formData", - "name": "nodeName", - "required": true, - "type": "string" - }, - { - "description": "上级节点ID", - "in": "formData", - "name": "parentId", - "required": true, - "type": "string" - }, - { - "description": "区域级别,传上一级节点的area_level", - "in": "formData", - "name": "areaLevel", - "required": true, - "type": "integer" - }, - { - "description": "单位类型,传上一级节点的org_type", - "in": "formData", - "name": "orgType", - "required": true, - "type": "integer" - }, - { - "description": "学校办学类型,传上一级节点的xxbxlxm", - "in": "formData", - "name": "xxbxlxm", + "description": "职务ID", + "in": "query", + "name": "id", "required": true, "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" } ], "produces": [ @@ -7592,17 +7592,20 @@ var doc = `{ } } }, - "summary": "增加职务信息", + "summary": "获取职务信息(单条)", "tags": [ "职务" ] } }, - "/base/position/UpdatePositionInfo": { + "/base/position/AddPositionInfo": { "post": { "X-EmptyLimit": [ - "id", - "nodeName" + "nodeName", + "parentId", + "areaLevel", + "orgType", + "xxbxlxm" ], "X-IntLimit": [ "areaLevel", @@ -7616,7 +7619,7 @@ var doc = `{ ], "X-LengthLimit": [ { - "id": "36,36" + "parentId": "36,36" }, { "nodeName": "2,30" @@ -7626,24 +7629,45 @@ var doc = `{ "1" ], "X-Sort": [ - 3 + 1 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改职务信息", + "description": "增加职务信息", "parameters": [ { - "description": "职务ID", + "description": "职务名称", + "in": "formData", + "name": "nodeName", + "required": true, + "type": "string" + }, + { + "description": "上级节点ID", + "in": "formData", + "name": "parentId", + "required": true, + "type": "string" + }, + { + "description": "区域级别,传上一级节点的area_level", + "in": "formData", + "name": "areaLevel", + "required": true, + "type": "integer" + }, + { + "description": "单位类型,传上一级节点的org_type", "in": "formData", - "name": "id", + "name": "orgType", "required": true, - "type": "string" + "type": "integer" }, { - "description": "职务名称", + "description": "学校办学类型,传上一级节点的xxbxlxm", "in": "formData", - "name": "nodeName", + "name": "xxbxlxm", "required": true, "type": "string" }, @@ -7665,7 +7689,7 @@ var doc = `{ } } }, - "summary": "修改职务信息", + "summary": "增加职务信息", "tags": [ "职务" ] @@ -7706,26 +7730,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", @@ -7733,6 +7771,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": [ @@ -7746,42 +7797,43 @@ var doc = `{ } } }, - "summary": "删除职务信息", + "summary": "修改职务信息", "tags": [ "职务" ] } }, - "/base/position/GetPositionInfoById": { + "/base/area/GetGovArea": { "get": { "X-EmptyLimit": [ - "id" + "areaCode" + ], + "X-IntLimit": [ + "areaCode" ], "X-LengthLimit": [ { - "id": "36,36" + "areaCode": "6,6" } ], - "X-RemoveSwaggerField": [ - "id_int", - "b_use", - "last_updated_time" - ], "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 4 + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取职务信息(单条)", + "description": "获取行政区划信息(单条)", "parameters": [ { - "description": "职务ID", + "description": "行政区划码", "in": "query", - "name": "id", + "name": "areaCode", "required": true, "type": "string" } @@ -7797,9 +7849,9 @@ var doc = `{ } } }, - "summary": "获取职务信息(单条)", + "summary": "获取行政区划信息(单条)", "tags": [ - "职务" + "行政区划" ] } }, @@ -7876,7 +7928,7 @@ var doc = `{ ] } }, - "/base/area/UpdateGovArea": { + "/base/area/AddGovArea": { "post": { "X-EmptyLimit": [ "areaTypeId", @@ -7895,7 +7947,7 @@ var doc = `{ "masterCode": "6,6" }, { - "areaName": "3:50" + "areaName": "3,50" } ], "X-RoleLimit": [ @@ -7910,7 +7962,7 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改行政区划信息", + "description": "增加行政区划信息", "parameters": [ { "description": "区域代码", @@ -7952,23 +8004,32 @@ var doc = `{ } } }, - "summary": "修改行政区划信息", + "summary": "增加行政区划信息", "tags": [ "行政区划" ] } }, - "/base/area/GetGovArea": { - "get": { + "/base/area/UpdateGovArea": { + "post": { "X-EmptyLimit": [ - "areaCode" + "areaTypeId", + "areaCode", + "areaName", + "masterCode" ], "X-IntLimit": [ - "areaCode" + "areaTypeId" ], "X-LengthLimit": [ { "areaCode": "6,6" + }, + { + "masterCode": "6,6" + }, + { + "areaName": "3:50" } ], "X-RoleLimit": [ @@ -7983,14 +8044,35 @@ var doc = `{ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取行政区划信息(单条)", + "description": "修改行政区划信息", "parameters": [ { - "description": "行政区划码", - "in": "query", + "description": "区域代码", + "in": "formData", "name": "areaCode", "required": true, "type": "string" + }, + { + "description": "区域名称", + "in": "formData", + "name": "areaName", + "required": true, + "type": "string" + }, + { + "description": "上级代码", + "in": "formData", + "name": "masterCode", + "required": true, + "type": "string" + }, + { + "description": "区域类型", + "in": "formData", + "name": "areaTypeId", + "required": true, + "type": "integer" } ], "produces": [ @@ -8004,7 +8086,7 @@ var doc = `{ } } }, - "summary": "获取行政区划信息(单条)", + "summary": "修改行政区划信息", "tags": [ "行政区划" ] @@ -8059,28 +8141,19 @@ var doc = `{ ] } }, - "/base/area/AddGovArea": { - "post": { + "/base/role/GetManageAreaInfo": { + "get": { "X-EmptyLimit": [ - "areaTypeId", - "areaCode", - "areaName", - "masterCode" - ], - "X-IntLimit": [ - "areaTypeId" + "areaType" ], - "X-LengthLimit": [ - { - "areaCode": "6,6" - }, - { - "masterCode": "6,6" - }, + "X-IntRangeLimit": [ { - "areaName": "3,50" + "areaType": "1,2" } ], + "X-InterfaceName": [ + "GetBaseRolePerson" + ], "X-RoleLimit": [ "1", "2", @@ -8090,36 +8163,18 @@ var doc = `{ "6", "7" ], + "X-Sort": [ + 1 + ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加行政区划信息", + "description": "根据人员ID获取所管辖的地区信息", "parameters": [ { - "description": "区域代码", - "in": "formData", - "name": "areaCode", - "required": true, - "type": "string" - }, - { - "description": "区域名称", - "in": "formData", - "name": "areaName", - "required": true, - "type": "string" - }, - { - "description": "上级代码", - "in": "formData", - "name": "masterCode", - "required": true, - "type": "string" - }, - { - "description": "区域类型", - "in": "formData", - "name": "areaTypeId", + "description": "地区类型 1:市 2:区", + "in": "query", + "name": "areaType", "required": true, "type": "integer" } @@ -8135,9 +8190,9 @@ var doc = `{ } } }, - "summary": "增加行政区划信息", + "summary": "根据人员ID获取所管辖的地区信息", "tags": [ - "行政区划" + "角色信息" ] } }, @@ -8178,61 +8233,6 @@ var doc = `{ "角色信息" ] } - }, - "/base/role/GetManageAreaInfo": { - "get": { - "X-EmptyLimit": [ - "areaType" - ], - "X-IntRangeLimit": [ - { - "areaType": "1,2" - } - ], - "X-InterfaceName": [ - "GetBaseRolePerson" - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 1 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "根据人员ID获取所管辖的地区信息", - "parameters": [ - { - "description": "地区类型 1:市 2:区", - "in": "query", - "name": "areaType", - "required": true, - "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "根据人员ID获取所管辖的地区信息", - "tags": [ - "角色信息" - ] - } } }, "swagger": "2.0" diff --git a/dsBaseWeb/docs/swagger.json b/dsBaseWeb/docs/swagger.json index d3b12cd6..efc34615 100644 --- a/dsBaseWeb/docs/swagger.json +++ b/dsBaseWeb/docs/swagger.json @@ -16,7 +16,7 @@ "type": "object" } }, - "host": "127.0.0.1:8002", + "host": "10.10.14.187:8002", "info": { "contact": { "email": "support@swagger.io", @@ -32,6 +32,92 @@ "version": "1.0" }, "paths": { + "/base/business/DeleteBaseBusiness": { + "post": { + "X-EmptyLimit": [ + "businessCode" + ], + "X-LengthLimit": [ + { + "businessCode": "6,6" + } + ], + "X-RoleLimit": [ + "1" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除业务系统信息", + "parameters": [ + { + "description": "业务系统编码", + "in": "formData", + "name": "businessCode", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "删除业务系统信息", + "tags": [ + "业务系统维护" + ] + } + }, + "/base/business/GetBaseBusiness": { + "get": { + "X-EmptyLimit": [ + "businessCode" + ], + "X-LengthLimit": [ + { + "businessCode": "6,6" + } + ], + "X-RoleLimit": [ + "1" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "获取业务系统信息(单条)", + "parameters": [ + { + "description": "业务系统编码", + "in": "query", + "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": [ @@ -190,28 +276,37 @@ ] } }, - "/base/business/DeleteBaseBusiness": { - "post": { + "/base/global/GetGlobalInfo": { + "get": { "X-EmptyLimit": [ - "businessCode" + "globalId" + ], + "X-InterfaceName": [ + "GetBaseGlobal" ], "X-LengthLimit": [ { - "businessCode": "6,6" + "globalId": "36,36" } ], "X-RoleLimit": [ "1" ], + "X-Sort": [ + 2 + ], + "X-TableName": [ + "t_base_global" + ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除业务系统信息", + "description": "获取全局变量信息", "parameters": [ { - "description": "业务系统编码", - "in": "formData", - "name": "businessCode", + "description": "全局变量ID", + "in": "query", + "name": "globalId", "required": true, "type": "string" } @@ -227,34 +322,37 @@ } } }, - "summary": "删除业务系统信息", + "summary": "获取全局变量信息", "tags": [ - "业务系统维护" + "全局变量" ] } }, - "/base/business/GetBaseBusiness": { - "get": { + "/base/global/DeleteGlobalInfo": { + "post": { "X-EmptyLimit": [ - "businessCode" + "globalIds" ], "X-LengthLimit": [ { - "businessCode": "6,6" + "globalIds": "36,1800" } ], "X-RoleLimit": [ "1" ], + "X-Sort": [ + 5 + ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取业务系统信息(单条)", + "description": "删除全局变量", "parameters": [ { - "description": "业务系统编码", - "in": "query", - "name": "businessCode", + "description": "全局变量ID,多个用逗号分隔", + "in": "formData", + "name": "globalIds", "required": true, "type": "string" } @@ -270,77 +368,56 @@ } } }, - "summary": "获取业务系统信息(单条)", + "summary": "删除全局变量", "tags": [ - "业务系统维护" + "全局变量" ] } }, - "/base/global/AddGlobalInfo": { - "post": { + "/base/global/PageGlobalInfo": { + "get": { "X-EmptyLimit": [ - "globalTypeId", - "globalCode", - "globalValue", - "sortId" + "page", + "limit", + "globalTypeId" ], "X-IntLimit": [ - "globalTypeId", - "sortId" - ], - "X-LengthLimit": [ - { - "globalCode": "2,50" - }, - { - "globalValue": "1,255" - }, - { - "globalRemarks": "1,500" - } + "page", + "limit", + "globalTypeId" ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 4 + 1 + ], + "X-TableName": [ + "t_base_global" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加全局变量", + "description": "获取全局变量列表", "parameters": [ { - "description": "全局变量分类", - "in": "formData", - "name": "globalTypeId", + "description": "第几页", + "in": "query", + "name": "page", "required": true, "type": "integer" }, { - "description": "全局变量代码", - "in": "formData", - "name": "globalCode", - "required": true, - "type": "string" - }, - { - "description": "全局变量值", - "in": "formData", - "name": "globalValue", + "description": "一页显示多少条", + "in": "query", + "name": "limit", "required": true, - "type": "string" - }, - { - "description": "全局变量备注", - "in": "formData", - "name": "globalRemarks", - "type": "string" + "type": "integer" }, { - "description": "排序号", - "in": "formData", - "name": "sortId", + "description": "全局变量分类(全部传-1)", + "in": "query", + "name": "globalTypeId", "required": true, "type": "integer" } @@ -356,53 +433,7 @@ } } }, - "summary": "增加全局变量", - "tags": [ - "全局变量" - ] - } - }, - "/base/global/DeleteGlobalInfo": { - "post": { - "X-EmptyLimit": [ - "globalIds" - ], - "X-LengthLimit": [ - { - "globalIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 5 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "删除全局变量", - "parameters": [ - { - "description": "全局变量ID,多个用逗号分隔", - "in": "formData", - "name": "globalIds", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除全局变量", + "summary": "获取全局变量列表", "tags": [ "全局变量" ] @@ -506,39 +537,73 @@ ] } }, - "/base/global/GetGlobalInfo": { - "get": { - "X-EmptyLimit": [ - "globalId" + "/base/global/AddGlobalInfo": { + "post": { + "X-EmptyLimit": [ + "globalTypeId", + "globalCode", + "globalValue", + "sortId" ], - "X-InterfaceName": [ - "GetBaseGlobal" + "X-IntLimit": [ + "globalTypeId", + "sortId" ], "X-LengthLimit": [ { - "globalId": "36,36" + "globalCode": "2,50" + }, + { + "globalValue": "1,255" + }, + { + "globalRemarks": "1,500" } ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 2 - ], - "X-TableName": [ - "t_base_global" + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取全局变量信息", + "description": "增加全局变量", "parameters": [ { - "description": "全局变量ID", - "in": "query", - "name": "globalId", + "description": "全局变量分类", + "in": "formData", + "name": "globalTypeId", + "required": true, + "type": "integer" + }, + { + "description": "全局变量代码", + "in": "formData", + "name": "globalCode", + "required": true, + "type": "string" + }, + { + "description": "全局变量值", + "in": "formData", + "name": "globalValue", "required": true, "type": "string" + }, + { + "description": "全局变量备注", + "in": "formData", + "name": "globalRemarks", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "required": true, + "type": "integer" } ], "produces": [ @@ -552,7 +617,7 @@ } } }, - "summary": "获取全局变量信息", + "summary": "增加全局变量", "tags": [ "全局变量" ] @@ -607,94 +672,22 @@ ] } }, - "/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" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, - { - "description": "全局变量分类(全部传-1)", - "in": "query", - "name": "globalTypeId", - "required": true, - "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取全局变量列表", - "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", @@ -706,28 +699,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": [ @@ -741,7 +728,7 @@ } } }, - "summary": "根据字典分类、上级字典编码获取字典信息", + "summary": "根据学段ID获取学科信息", "tags": [ "字典" ] @@ -792,21 +779,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": [ @@ -827,7 +813,7 @@ "7" ], "X-Sort": [ - 1 + 2 ], "X-TableName": [ "t_sys_dict" @@ -835,7 +821,7 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据字典分类和字典编码获取字典信息", + "description": "根据字典分类、上级字典编码获取字典信息", "parameters": [ { "description": "字典分类", @@ -845,10 +831,9 @@ "type": "string" }, { - "description": "字典编码", + "description": "上级字典编码", "in": "query", - "name": "dictCode", - "required": true, + "name": "dictParent", "type": "string" } ], @@ -863,7 +848,7 @@ } } }, - "summary": "根据字典分类和字典编码获取字典信息", + "summary": "根据字典分类、上级字典编码获取字典信息", "tags": [ "字典" ] @@ -921,22 +906,30 @@ ] } }, - "/base/dict/GetSubjectInfo": { + "/base/dict/GetDictInfo": { "get": { "X-EmptyLimit": [ - "stageId" + "dictKind", + "dictCode" ], "X-InterfaceName": [ - "PageSysDict" + "GetSysDict" ], "X-LengthLimit": [ { - "stageId": "1,1" + "dictKind": "1,20" + }, + { + "dictCode": "1,10" } ], "X-RemoveSwaggerField": [ - "b_use", - "sort_id" + "dict_id", + "dict_kind", + "dict_remark", + "dict_parent", + "sort_id", + "b_use" ], "X-RoleLimit": [ "1", @@ -948,20 +941,27 @@ "7" ], "X-Sort": [ - 4 + 1 ], "X-TableName": [ - "t_dm_subject" + "t_sys_dict" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据学段ID获取学科信息", + "description": "根据字典分类和字典编码获取字典信息", "parameters": [ { - "description": "学段ID", + "description": "字典分类", "in": "query", - "name": "stageId", + "name": "dictKind", + "required": true, + "type": "string" + }, + { + "description": "字典编码", + "in": "query", + "name": "dictCode", "required": true, "type": "string" } @@ -977,48 +977,51 @@ } } }, - "summary": "根据学段ID获取学科信息", + "summary": "根据字典分类和字典编码获取字典信息", "tags": [ "字典" ] } }, - "/base/student/DownLoadStudentTemplateExcel": { - "get": { + "/base/student/StudentTransferInfo": { + "post": { "X-EmptyLimit": [ - "orgId" + "classId", + "personId" ], "X-LengthLimit": [ { - "orgId": "36,36" + "classId": "36,36" + }, + { + "personId": "36,36" } ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], "X-Sort": [ - 8 + 10 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "下载学生导入模板", + "description": "学生调转", "parameters": [ { - "description": "学校ID", - "in": "query", - "name": "orgId", + "description": "学生ID", + "in": "formData", + "name": "personId", "required": true, "type": "string" - } - ], - "produces": [ - "application/json" + }, + { + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" ], "responses": { "200": { @@ -1028,194 +1031,85 @@ } } }, - "summary": "下载学生导入模板", + "summary": "学生调转", "tags": [ "学生信息" ] } }, - "/base/student/AddStudentInfo": { - "post": { + "/base/student/PageStudentInfo": { + "get": { "X-EmptyLimit": [ - "xm", - "mzm", - "zzmmm", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz", + "page", + "limit", "classId" ], - "X-IntRangeLimit": [ - { - "sfzjlxm": "1,4" - } - ], - "X-InterfaceName": [ - "AddBaseStudent" - ], - "X-LengthLimit": [ - { - "classId": "36,36" - }, + "X-ExtendSwaggerField": [ { - "xm": "2,30" + "column_comment": "性别", + "column_name": "xb_name", + "sample_data": "男" }, { - "xbm": "1,1" + "column_comment": "登录名", + "column_name": "login_name", + "sample_data": "stu001" }, { - "mzm": "2,2" + "column_comment": "初始密码", + "column_name": "original_pwd", + "sample_data": "159357" }, { - "zzmmm": "2,2" + "column_comment": "账号状态", + "column_name": "login_status", + "sample_data": "已启用" } ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 3 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "增加学生信息", - "parameters": [ - { - "description": "学生姓名", - "in": "formData", - "name": "xm", - "required": true, - "type": "string" - }, - { - "description": "身份证件类型代码(字典:sfzjlxm)", - "in": "formData", - "name": "sfzjlxm", - "type": "string" - }, - { - "description": "身份证件号", - "in": "formData", - "name": "sfzjh", - "type": "integer" - }, - { - "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": "独生子女标志 -1:不是 1:是", - "in": "formData", - "name": "dszybz", - "required": true, - "type": "integer" - }, - { - "description": "随迁子女标志 -1:不是 1:是", - "in": "formData", - "name": "sqznbz", - "required": true, - "type": "integer" - }, - { - "description": "进城务工人员随迁子女标志 -1:不是 1:是", - "in": "formData", - "name": "jcwgrysqznbz", - "required": true, - "type": "integer" - }, - { - "description": "孤儿标志 -1:不是 1:是", - "in": "formData", - "name": "gebz", - "required": true, - "type": "integer" - }, - { - "description": "留守儿童标志 -1:不是 1:是", - "in": "formData", - "name": "lsetbz", - "required": true, - "type": "integer" - }, + "X-IntRangeLimit": [ { - "description": "残疾标志 -1:不是 1:是", - "in": "formData", - "name": "cjbz", - "required": true, - "type": "integer" + "page": "1,1000" }, { - "description": "班级ID", - "in": "formData", - "name": "classId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } + "limit": "1,1000" } - }, - "summary": "增加学生信息", - "tags": [ - "学生信息" - ] - } - }, - "/base/student/DeleteStudentInfo": { - "post": { - "X-EmptyLimit": [ - "personIds" ], "X-InterfaceName": [ - "DeleteBaseStudent" + "PageBaseStudent" ], "X-LengthLimit": [ { - "personIds": "36,1800" + "classId": "36,36" + }, + { + "xm": "1,30" } ], + "X-RemoveSwaggerField": [ + "id_int", + "xmpy", + "cym", + "csrq", + "mzm", + "zzmmm", + "sfzjlxm", + "sfzjh", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz", + "class_id", + "bureau_id", + "b_use", + "state_id", + "province_code", + "city_code", + "district_code", + "main_school_id", + "last_updated_time" + ], "X-RoleLimit": [ "1", "2", @@ -1225,75 +1119,41 @@ "7" ], "X-Sort": [ - 4 + 1 + ], + "X-TableName": [ + "t_base_student" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除学生信息", + "description": "获取学生列表", "parameters": [ { - "description": "学生ID,多个用逗号分隔", - "in": "formData", - "name": "personIds", + "description": "第几页", + "in": "query", + "name": "page", "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "删除学生信息", - "tags": [ - "学生信息" - ] - } - }, - "/base/student/ExportStudentAccountExcel": { - "get": { - "X-EmptyLimit": [ - "orgId" - ], - "X-LengthLimit": [ + "type": "integer" + }, { - "orgId": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 7 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导出本校学生账号信息到EXCEL", - "parameters": [ + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { - "description": "学校ID", + "description": "班级ID", "in": "query", - "name": "orgId", + "name": "classId", "required": true, "type": "string" }, { - "description": "班级ID,不传为导出全校,传为导出班级", + "description": "学生姓名", "in": "query", - "name": "classId", + "name": "xm", "type": "string" } ], @@ -1308,7 +1168,7 @@ } } }, - "summary": "导出本校学生账号信息到EXCEL", + "summary": "获取学生列表", "tags": [ "学生信息" ] @@ -1385,14 +1245,17 @@ ] } }, - "/base/student/ExportStudentExcel": { - "get": { + "/base/student/DeleteStudentInfo": { + "post": { "X-EmptyLimit": [ - "orgId" + "personIds" + ], + "X-InterfaceName": [ + "DeleteBaseStudent" ], "X-LengthLimit": [ { - "orgId": "36,36" + "personIds": "36,1800" } ], "X-RoleLimit": [ @@ -1404,25 +1267,19 @@ "7" ], "X-Sort": [ - 7 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导出本校学生信息到EXCEL", + "description": "删除学生信息", "parameters": [ { - "description": "学校ID", - "in": "query", - "name": "orgId", + "description": "学生ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", "required": true, "type": "string" - }, - { - "description": "班级ID,不传为导出全校,传为导出班级", - "in": "query", - "name": "classId", - "type": "string" } ], "produces": [ @@ -1436,130 +1293,162 @@ } } }, - "summary": "导出本校学生信息到EXCEL", + "summary": "删除学生信息", "tags": [ "学生信息" ] } }, - "/base/student/PageStudentInfo": { - "get": { + "/base/student/UpdateStudentInfo": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "classId" + "personId", + "xm", + "mzm", + "zzmmm", + "dszybz", + "sqznbz", + "jcwgrysqznbz", + "gebz", + "lsetbz", + "cjbz" ], - "X-ExtendSwaggerField": [ + "X-IntRangeLimit": [ { - "column_comment": "性别", - "column_name": "xb_name", - "sample_data": "男" - }, + "sfzjlxm": "1,4" + } + ], + "X-InterfaceName": [ + "UpdateBaseStudent" + ], + "X-LengthLimit": [ { - "column_comment": "登录名", - "column_name": "login_name", - "sample_data": "stu001" + "personId": "36,36" }, { - "column_comment": "初始密码", - "column_name": "original_pwd", - "sample_data": "159357" + "xm": "2,30" }, { - "column_comment": "账号状态", - "column_name": "login_status", - "sample_data": "已启用" - } - ], - "X-IntRangeLimit": [ + "xbm": "1,1" + }, { - "page": "1,1000" + "mzm": "2,2" }, { - "limit": "1,1000" + "zzmmm": "2,2" } ], - "X-InterfaceName": [ - "PageBaseStudent" + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" ], - "X-LengthLimit": [ + "X-Sort": [ + 5 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "修改学生信息", + "parameters": [ { - "classId": "36,36" + "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" + }, + { + "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": "独生子女标志 -1:不是 1:是", + "in": "formData", + "name": "dszybz", + "required": true, + "type": "integer" }, { - "xm": "1,30" - } - ], - "X-RemoveSwaggerField": [ - "id_int", - "xmpy", - "cym", - "csrq", - "mzm", - "zzmmm", - "sfzjlxm", - "sfzjh", - "dszybz", - "sqznbz", - "jcwgrysqznbz", - "gebz", - "lsetbz", - "cjbz", - "class_id", - "bureau_id", - "b_use", - "state_id", - "province_code", - "city_code", - "district_code", - "main_school_id", - "last_updated_time" - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 1 - ], - "X-TableName": [ - "t_base_student" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取学生列表", - "parameters": [ + "description": "随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "sqznbz", + "required": true, + "type": "integer" + }, { - "description": "第几页", - "in": "query", - "name": "page", + "description": "进城务工人员随迁子女标志 -1:不是 1:是", + "in": "formData", + "name": "jcwgrysqznbz", "required": true, "type": "integer" }, { - "description": "一页显示多少条", - "in": "query", - "name": "limit", + "description": "孤儿标志 -1:不是 1:是", + "in": "formData", + "name": "gebz", "required": true, "type": "integer" }, { - "description": "班级ID", - "in": "query", - "name": "classId", + "description": "留守儿童标志 -1:不是 1:是", + "in": "formData", + "name": "lsetbz", "required": true, - "type": "string" + "type": "integer" }, { - "description": "学生姓名", - "in": "query", - "name": "xm", - "type": "string" + "description": "残疾标志 -1:不是 1:是", + "in": "formData", + "name": "cjbz", + "required": true, + "type": "integer" } ], "produces": [ @@ -1573,43 +1462,50 @@ } } }, - "summary": "获取学生列表", + "summary": "修改学生信息", "tags": [ "学生信息" ] } }, - "/base/student/StudentTransferInfo": { + "/base/student/ReviseStudentClass": { "post": { "X-EmptyLimit": [ - "classId", - "personId" + "personIds" ], "X-LengthLimit": [ { - "classId": "36,36" + "personIds": "36,1800" }, { - "personId": "36,36" + "classId": "36,36" } ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" + ], "X-Sort": [ - 10 + 6 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "学生调转", + "description": "学生调整班级", "parameters": [ { - "description": "学生ID", + "description": "学生ID,多个用逗号分隔", "in": "formData", - "name": "personId", + "name": "personIds", "required": true, "type": "string" }, { - "description": "班级ID", + "description": "调整后的班级ID", "in": "formData", "name": "classId", "required": true, @@ -1627,14 +1523,14 @@ } } }, - "summary": "学生调转", + "summary": "学生调整班级", "tags": [ "学生信息" ] } }, - "/base/student/ImportStudentExcel": { - "post": { + "/base/student/ExportStudentAccountExcel": { + "get": { "X-EmptyLimit": [ "orgId" ], @@ -1652,26 +1548,25 @@ "7" ], "X-Sort": [ - 9 + 7 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导入学生EXCEL", + "description": "导出本校学生账号信息到EXCEL", "parameters": [ { - "description": "单位ID", - "in": "formData", + "description": "学校ID", + "in": "query", "name": "orgId", "required": true, "type": "string" }, { - "description": "EXCEL文件", - "in": "formData", - "name": "excelFile", - "required": true, - "type": "file" + "description": "班级ID,不传为导出全校,传为导出班级", + "in": "query", + "name": "classId", + "type": "string" } ], "produces": [ @@ -1685,23 +1580,20 @@ } } }, - "summary": "导入学生EXCEL", + "summary": "导出本校学生账号信息到EXCEL", "tags": [ "学生信息" ] } }, - "/base/student/ReviseStudentClass": { - "post": { + "/base/student/DownLoadStudentTemplateExcel": { + "get": { "X-EmptyLimit": [ - "personIds" + "orgId" ], "X-LengthLimit": [ { - "personIds": "36,1800" - }, - { - "classId": "36,36" + "orgId": "36,36" } ], "X-RoleLimit": [ @@ -1713,24 +1605,17 @@ "7" ], "X-Sort": [ - 6 + 8 ], "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": "orgId", "required": true, "type": "string" } @@ -1746,16 +1631,15 @@ } } }, - "summary": "学生调整班级", + "summary": "下载学生导入模板", "tags": [ "学生信息" ] } }, - "/base/student/UpdateStudentInfo": { + "/base/student/AddStudentInfo": { "post": { "X-EmptyLimit": [ - "personId", "xm", "mzm", "zzmmm", @@ -1764,7 +1648,8 @@ "jcwgrysqznbz", "gebz", "lsetbz", - "cjbz" + "cjbz", + "classId" ], "X-IntRangeLimit": [ { @@ -1772,11 +1657,11 @@ } ], "X-InterfaceName": [ - "UpdateBaseStudent" + "AddBaseStudent" ], "X-LengthLimit": [ { - "personId": "36,36" + "classId": "36,36" }, { "xm": "2,30" @@ -1800,20 +1685,13 @@ "7" ], "X-Sort": [ - 5 + 3 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改学生信息", + "description": "增加学生信息", "parameters": [ - { - "description": "学生ID", - "in": "formData", - "name": "personId", - "required": true, - "type": "string" - }, { "description": "学生姓名", "in": "formData", @@ -1894,14 +1772,78 @@ "in": "formData", "name": "lsetbz", "required": true, - "type": "integer" + "type": "integer" + }, + { + "description": "残疾标志 -1:不是 1:是", + "in": "formData", + "name": "cjbz", + "required": true, + "type": "integer" + }, + { + "description": "班级ID", + "in": "formData", + "name": "classId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "增加学生信息", + "tags": [ + "学生信息" + ] + } + }, + "/base/student/ExportStudentExcel": { + "get": { + "X-EmptyLimit": [ + "orgId" + ], + "X-LengthLimit": [ + { + "orgId": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "6", + "7" + ], + "X-Sort": [ + 7 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "导出本校学生信息到EXCEL", + "parameters": [ + { + "description": "学校ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" }, { - "description": "残疾标志 -1:不是 1:是", - "in": "formData", - "name": "cjbz", - "required": true, - "type": "integer" + "description": "班级ID,不传为导出全校,传为导出班级", + "in": "query", + "name": "classId", + "type": "string" } ], "produces": [ @@ -1915,14 +1857,14 @@ } } }, - "summary": "修改学生信息", + "summary": "导出本校学生信息到EXCEL", "tags": [ "学生信息" ] } }, - "/base/teacher/ExportTeacherAccountExcel": { - "get": { + "/base/student/ImportStudentExcel": { + "post": { "X-EmptyLimit": [ "orgId" ], @@ -1936,24 +1878,30 @@ "2", "3", "4", - "5", "6", "7" ], "X-Sort": [ - 7 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导出本单位教职工账号信息到EXCEL", + "description": "导入学生EXCEL", "parameters": [ { "description": "单位ID", - "in": "query", + "in": "formData", "name": "orgId", "required": true, "type": "string" + }, + { + "description": "EXCEL文件", + "in": "formData", + "name": "excelFile", + "required": true, + "type": "file" } ], "produces": [ @@ -1967,9 +1915,9 @@ } } }, - "summary": "导出本单位教职工账号信息到EXCEL", + "summary": "导入学生EXCEL", "tags": [ - "教师信息" + "学生信息" ] } }, @@ -2084,37 +2032,40 @@ ] } }, - "/base/teacher/DownLoadTeacherTemplateExcel": { - "get": { + "/base/teacher/SettingMainOrgInfo": { + "post": { "X-EmptyLimit": [ - "orgId" + "id" ], "X-LengthLimit": [ { - "orgId": "36,36" + "id": "36,36" } ], "X-RoleLimit": [ "1", - "2", "3", - "4", - "5", - "6", - "7" + "4" ], "X-Sort": [ - 9 + 14 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "下载教职工导入模板", + "description": "设置主单位", "parameters": [ { - "description": "单位ID", - "in": "query", - "name": "orgId", + "description": "ID", + "in": "formData", + "name": "id", + "required": true, + "type": "string" + }, + { + "description": "人员ID", + "in": "formData", + "name": "personId", "required": true, "type": "string" } @@ -2130,52 +2081,45 @@ } } }, - "summary": "下载教职工导入模板", + "summary": "设置主单位", "tags": [ "教师信息" ] } }, - "/base/teacher/SettingTeacherMultipleBureauInfo": { - "post": { + "/base/teacher/DownLoadTeacherTemplateExcel": { + "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": [ - 11 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "设置教师多单位", + "description": "下载教职工导入模板", "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": [ @@ -2189,46 +2133,49 @@ } } }, - "summary": "设置教师多单位", + "summary": "下载教职工导入模板", "tags": [ "教师信息" ] } }, - "/base/teacher/DeleteTeacherInfo": { - "post": { + "/base/teacher/PageTeacherMultipleBureauInfo": { + "get": { "X-EmptyLimit": [ - "personIds" - ], - "X-InterfaceName": [ - "DeleteBaseTeacher" + "personId" ], "X-LengthLimit": [ { - "personIds": "36,1800" + "personId": "36,36" } ], + "X-RemoveSwaggerField": [ + "identity_id", + "id_int", + "xmpy", + "cym", + "gwzym", + "b_use", + "state_id", + "last_updated_time" + ], "X-RoleLimit": [ "1", - "2", "3", - "4", - "5", - "6", - "7" + "4" ], "X-Sort": [ - 4 + 12 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除教职工信息", + "description": "根据教职工ID获取该教职工所在多单位列表", "parameters": [ { - "description": "教职工ID,多个用逗号分隔", - "in": "formData", - "name": "personIds", + "description": "教职工ID", + "in": "query", + "name": "personId", "required": true, "type": "string" } @@ -2244,20 +2191,24 @@ } } }, - "summary": "删除教职工信息", + "summary": "根据教职工ID获取该教职工所在多单位列表", "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": [ @@ -2266,22 +2217,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, @@ -2299,41 +2250,149 @@ } } }, - "summary": "设置主单位", + "summary": "设置教师多单位", "tags": [ "教师信息" ] } }, - "/base/teacher/DeleteTeacherMultipleBureauInfo": { - "post": { + "/base/teacher/PageTeacherInfo": { + "get": { "X-EmptyLimit": [ - "id" + "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": [ { - "id": "36,36" + "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", "3", - "4" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 13 + 1 + ], + "X-TableName": [ + "t_base_teacher" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除教职工所在多单位信息", + "description": "获取教职工列表", "parameters": [ { - "description": "ID", - "in": "formData", - "name": "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": [ @@ -2347,7 +2406,7 @@ } } }, - "summary": "删除教职工所在多单位信息", + "summary": "获取教职工列表", "tags": [ "教师信息" ] @@ -2692,235 +2751,14 @@ { "description": "电子信箱", "in": "formData", - "name": "dzxx", - "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "增加教职工信息", - "tags": [ - "教师信息" - ] - } - }, - "/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", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 1 - ], - "X-TableName": [ - "t_base_teacher" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "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": "教职工姓名", - "in": "query", - "name": "xm", - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取教职工列表", - "tags": [ - "教师信息" - ] - } - }, - "/base/teacher/ReviseTeacherOrg": { - "post": { - "X-EmptyLimit": [ - "personIds" - ], - "X-LengthLimit": [ - { - "personIds": "36,1800" - }, - { - "sourceOrgId": "36,36" - }, - { - "targetOrgId": "36,36" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 6 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "调整教职工部门", - "parameters": [ - { - "description": "教职工ID,多个用逗号分隔", - "in": "formData", - "name": "personIds", - "required": true, + "name": "dzxx", "type": "string" }, { - "description": "调整后的部门ID", + "description": "排序号", "in": "formData", - "name": "orgId", - "required": true, - "type": "string" + "name": "sortId", + "type": "integer" } ], "produces": [ @@ -2934,49 +2772,39 @@ } } }, - "summary": "调整教职工部门", + "summary": "增加教职工信息", "tags": [ "教师信息" ] } }, - "/base/teacher/PageTeacherMultipleBureauInfo": { - "get": { + "/base/teacher/DeleteTeacherMultipleBureauInfo": { + "post": { "X-EmptyLimit": [ - "personId" + "id" ], "X-LengthLimit": [ { - "personId": "36,36" + "id": "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 + 13 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据教职工ID获取该教职工所在多单位列表", + "description": "删除教职工所在多单位信息", "parameters": [ { - "description": "教职工ID", - "in": "query", - "name": "personId", + "description": "ID", + "in": "formData", + "name": "id", "required": true, "type": "string" } @@ -2992,7 +2820,7 @@ } } }, - "summary": "根据教职工ID获取该教职工所在多单位列表", + "summary": "删除教职工所在多单位信息", "tags": [ "教师信息" ] @@ -3201,16 +3029,237 @@ "type": "string" }, { - "description": "电子信箱", + "description": "电子信箱", + "in": "formData", + "name": "dzxx", + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改教职工信息", + "tags": [ + "教师信息" + ] + } + }, + "/base/teacher/ReviseTeacherOrg": { + "post": { + "X-EmptyLimit": [ + "personIds" + ], + "X-LengthLimit": [ + { + "personIds": "36,1800" + }, + { + "sourceOrgId": "36,36" + }, + { + "targetOrgId": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 6 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "调整教职工部门", + "parameters": [ + { + "description": "教职工ID,多个用逗号分隔", + "in": "formData", + "name": "personIds", + "required": true, + "type": "string" + }, + { + "description": "调整后的部门ID", + "in": "formData", + "name": "orgId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "调整教职工部门", + "tags": [ + "教师信息" + ] + } + }, + "/base/teacher/DeleteTeacherInfo": { + "post": { + "X-EmptyLimit": [ + "personIds" + ], + "X-InterfaceName": [ + "DeleteBaseTeacher" + ], + "X-LengthLimit": [ + { + "personIds": "36,1800" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 4 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除教职工信息", + "parameters": [ + { + "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/ExportTeacherAccountExcel": { + "get": { + "X-EmptyLimit": [ + "orgId" + ], + "X-LengthLimit": [ + { + "orgId": "36,36" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 7 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "导出本单位教职工账号信息到EXCEL", + "parameters": [ + { + "description": "单位ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "导出本单位教职工账号信息到EXCEL", + "tags": [ + "教师信息" + ] + } + }, + "/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": "dzxx", + "name": "purviewIds", + "required": true, "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" } ], "produces": [ @@ -3224,9 +3273,9 @@ } } }, - "summary": "修改教职工信息", + "summary": "删除权限信息", "tags": [ - "教师信息" + "权限" ] } }, @@ -3317,34 +3366,44 @@ ] } }, - "/base/purview/DeletePurviewInfo": { - "post": { + "/base/purview/GetPurviewInfoById": { + "get": { "X-EmptyLimit": [ - "purviewIds" + "purviewId" ], "X-InterfaceName": [ - "DeleteBasePurview" + "GetBasePurview" ], "X-LengthLimit": [ { - "purviewIds": "36,1800" + "purviewId": "36,36" } ], + "X-RemoveSwaggerField": [ + "id_int", + "purview_type", + "menu_icon", + "b_use", + "last_updated_time" + ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 2 + 4 + ], + "X-TableName": [ + "t_base_purview" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除权限信息", + "description": "获取权限信息(单条)", "parameters": [ { - "description": "权限ID,如果是多个用逗号分隔", - "in": "formData", - "name": "purviewIds", + "description": "权限ID", + "in": "query", + "name": "purviewId", "required": true, "type": "string" } @@ -3360,7 +3419,7 @@ } } }, - "summary": "删除权限信息", + "summary": "获取权限信息(单条)", "tags": [ "权限" ] @@ -3474,6 +3533,86 @@ ] } }, + "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { + "get": { + "X-EmptyLimit": [ + "page", + "limit" + ], + "X-IntLimit": [ + "page", + "limit" + ], + "X-IntRangeLimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } + ], + "X-InterfaceName": [ + "PageBasePurview" + ], + "X-RemoveSwaggerField": [ + "id_int", + "purview_type", + "business_code", + "b_use", + "last_updated_time" + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], + "X-Sort": [ + 6 + ], + "X-TableName": [ + "t_base_purview" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据人员ID和业务系统编码获取权限信息信息", + "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据人员ID和业务系统编码获取权限信息信息", + "tags": [ + "权限" + ] + } + }, "/base/purview/AddPurviewInfo": { "post": { "X-EmptyLimit": [ @@ -3582,126 +3721,41 @@ ] } }, - "/base/purview/GetPurviewInfoById": { - "get": { + "/base/class/DeleteClassInfo": { + "post": { "X-EmptyLimit": [ - "purviewId" + "classIds" ], "X-InterfaceName": [ - "GetBasePurview" + "DeleteBaseClass" ], "X-LengthLimit": [ { - "purviewId": "36,36" - } - ], - "X-RemoveSwaggerField": [ - "id_int", - "purview_type", - "menu_icon", - "b_use", - "last_updated_time" - ], - "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 4 - ], - "X-TableName": [ - "t_base_purview" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取权限信息(单条)", - "parameters": [ - { - "description": "权限ID", - "in": "query", - "name": "purviewId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取权限信息(单条)", - "tags": [ - "权限" - ] - } - }, - "/base/purview/PagePurviewInfoByPersonIdBusinessCode": { - "get": { - "X-EmptyLimit": [ - "page", - "limit" - ], - "X-IntLimit": [ - "page", - "limit" - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" + "classId": "36,1800" } ], - "X-InterfaceName": [ - "PageBasePurview" - ], - "X-RemoveSwaggerField": [ - "id_int", - "purview_type", - "business_code", - "b_use", - "last_updated_time" - ], "X-RoleLimit": [ "1", "2", "3", "4", - "5", "6", "7" ], "X-Sort": [ - 6 - ], - "X-TableName": [ - "t_base_purview" + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据人员ID和业务系统编码获取权限信息信息", + "description": "删除班级信息", "parameters": [ { - "description": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", + "description": "班级ID,多个用逗号分隔", + "in": "formData", + "name": "classIds", "required": true, - "type": "integer" + "type": "string" } ], "produces": [ @@ -3715,38 +3769,25 @@ } } }, - "summary": "根据人员ID和业务系统编码获取权限信息信息", + "summary": "删除班级信息", "tags": [ - "权限" + "班级信息" ] } }, - "/base/class/GetClassInfo": { + "/base/class/GetStageInfo": { "get": { - "X-EmptyLimit": [ - "classId" - ], "X-InterfaceName": [ - "GetBaseClass" + "PageBaseClass" ], "X-LengthLimit": [ { - "classId": "36,36" + "orgId": "36,36" } ], "X-RemoveSwaggerField": [ - "id_int", - "class_code", - "rxjj", - "teacher_id", - "org_id", - "bureau_id", "b_use", - "province_code", - "city_code", - "district_code", - "main_school_id", - "last_updated_time" + "sort_id" ], "X-RoleLimit": [ "1", @@ -3757,20 +3798,20 @@ "7" ], "X-Sort": [ - 2 + 7 ], "X-TableName": [ - "t_base_class" + "t_dm_stage" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取班级信息", + "description": "获取学段信息", "parameters": [ { - "description": "班级ID", + "description": "学校ID", "in": "query", - "name": "classId", + "name": "orgId", "required": true, "type": "string" } @@ -3786,7 +3827,7 @@ } } }, - "summary": "获取班级信息", + "summary": "获取学段信息", "tags": [ "班级信息" ] @@ -3818,92 +3859,16 @@ ] } }, - "/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": { + "/base/class/GetRxnfInfo": { "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" - ], "X-RoleLimit": [ "1", "2", @@ -3913,30 +3878,13 @@ "7" ], "X-Sort": [ - 1 - ], - "X-TableName": [ - "t_base_class" + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取班级列表", + "description": "根据学校ID和学部(学段)ID获取入学年份", "parameters": [ - { - "description": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, { "description": "学校ID", "in": "query", @@ -3945,24 +3893,11 @@ "type": "string" }, { - "description": "学部ID", + "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": [ @@ -3976,7 +3911,7 @@ } } }, - "summary": "获取班级列表", + "summary": "根据学校ID和学部(学段)ID获取入学年份", "tags": [ "班级信息" ] @@ -4047,64 +3982,6 @@ ] } }, - "/base/class/GetStageInfo": { - "get": { - "X-InterfaceName": [ - "PageBaseClass" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - } - ], - "X-RemoveSwaggerField": [ - "b_use", - "sort_id" - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "6", - "7" - ], - "X-Sort": [ - 7 - ], - "X-TableName": [ - "t_dm_stage" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取学段信息", - "parameters": [ - { - "description": "学校ID", - "in": "query", - "name": "orgId", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取学段信息", - "tags": [ - "班级信息" - ] - } - }, "/base/class/UpdateClassInfo": { "post": { "X-EmptyLimit": [ @@ -4170,19 +4047,33 @@ ] } }, - "/base/class/DeleteClassInfo": { - "post": { + "/base/class/GetClassInfo": { + "get": { "X-EmptyLimit": [ - "classIds" + "classId" ], "X-InterfaceName": [ - "DeleteBaseClass" + "GetBaseClass" ], "X-LengthLimit": [ { - "classId": "36,1800" + "classId": "36,36" } ], + "X-RemoveSwaggerField": [ + "id_int", + "class_code", + "rxjj", + "teacher_id", + "org_id", + "bureau_id", + "b_use", + "province_code", + "city_code", + "district_code", + "main_school_id", + "last_updated_time" + ], "X-RoleLimit": [ "1", "2", @@ -4192,17 +4083,20 @@ "7" ], "X-Sort": [ - 4 + 2 + ], + "X-TableName": [ + "t_base_class" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除班级信息", + "description": "获取班级信息", "parameters": [ { - "description": "班级ID,多个用逗号分隔", - "in": "formData", - "name": "classIds", + "description": "班级ID", + "in": "query", + "name": "classId", "required": true, "type": "string" } @@ -4218,7 +4112,33 @@ } } }, - "summary": "删除班级信息", + "summary": "获取班级信息", + "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" + } + } + }, + "summary": "导入学籍CSV文件", "tags": [ "班级信息" ] @@ -4342,16 +4262,66 @@ ] } }, - "/base/class/GetRxnfInfo": { + "/base/class/PageClassInfo": { "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" + ], "X-RoleLimit": [ "1", "2", @@ -4361,13 +4331,30 @@ "7" ], "X-Sort": [ - 8 + 1 + ], + "X-TableName": [ + "t_base_class" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据学校ID和学部(学段)ID获取入学年份", + "description": "获取班级列表", "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { "description": "学校ID", "in": "query", @@ -4376,11 +4363,24 @@ "type": "string" }, { - "description": "学部(学段)ID", + "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": [ @@ -4394,74 +4394,33 @@ } } }, - "summary": "根据学校ID和学部(学段)ID获取入学年份", + "summary": "获取班级列表", "tags": [ "班级信息" ] } }, - "/base/loginperson/ExportBureauManagerInfoExcel": { + "/base/loginperson/PageAreaManagerInfo": { "get": { "X-EmptyLimit": [ - "areaCode", - "orgType" + "page", + "limit", + "areaCode" ], - "X-LengthLimit": [ + "X-ExtendSwaggerField": [ { - "areaCode": "6,6" + "column_comment": "地区名称", + "column_name": "area_name", + "sample_data": "长春市" } ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "7" - ], - "X-Sort": [ - 6 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "导出单位管理员的EXCEL", - "parameters": [ + "X-IntRangeLimit": [ { - "description": "地区码", - "in": "query", - "name": "areaCode", - "required": true, - "type": "string" + "page": "1,1000" }, { - "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" - } + "limit": "1,1000" } - }, - "summary": "导出单位管理员的EXCEL", - "tags": [ - "登录信息" - ] - } - }, - "/base/loginperson/ExportAreaManagerInfoExcel": { - "get": { - "X-EmptyLimit": [ - "areaCode" ], "X-InterfaceName": [ "PageSysLoginperson" @@ -4471,19 +4430,39 @@ "areaCode": "6,6" } ], + "X-RemoveSwaggerField": [ + "last_updated_time" + ], "X-RoleLimit": [ "1", "2", "3" ], "X-Sort": [ - 4 + 3 + ], + "X-TableName": [ + "t_sys_loginperson" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "导出地区管理员到EXCEL(虚拟)", + "description": "获取地区管理员列表(虚拟)", "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { "description": "地区码", "in": "query", @@ -4503,43 +4482,26 @@ } } }, - "summary": "导出地区管理员到EXCEL(虚拟)", + "summary": "获取地区管理员列表(虚拟)", "tags": [ "登录信息" ] } }, - "/base/loginperson/EnableAccountInfo": { + "/base/loginperson/UnbindAuthorizationInfo": { "post": { - "X-EmptyLimit": [ - "personIds" - ], - "X-LengthLimit": [ - { - "personIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], "X-Sort": [ - 8 + 13 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "启用账号信息", + "description": "解除绑定第三方授权", "parameters": [ { - "description": "一个或多个ID,多个用逗号分隔", + "description": "第三方授权类型名 qq:QQ wx:微信", "in": "formData", - "name": "personIds", + "name": "typeName", "required": true, "type": "string" } @@ -4555,33 +4517,7 @@ } } }, - "summary": "启用账号信息", - "tags": [ - "登录信息" - ] - } - }, - "/base/loginperson/GetBindAuthorizationInfo": { - "get": { - "X-Sort": [ - 12 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取已绑定的第三方授权", - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取已绑定的第三方授权", + "summary": "解除绑定第三方授权", "tags": [ "登录信息" ] @@ -4682,39 +4618,45 @@ ] } }, - "/base/loginperson/ResetManagerPassWord": { - "post": { + "/base/loginperson/ExportBureauManagerInfoExcel": { + "get": { "X-EmptyLimit": [ - "ids" + "areaCode", + "orgType" ], "X-LengthLimit": [ { - "ids": "36,1800" + "areaCode": "6,6" } ], "X-RoleLimit": [ "1", "2", "3", - "4", - "5", - "6", + "4", "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": [ @@ -4728,26 +4670,43 @@ } } }, - "summary": "重置管理员密码", + "summary": "导出单位管理员的EXCEL", "tags": [ "登录信息" ] } }, - "/base/loginperson/UnbindAuthorizationInfo": { + "/base/loginperson/DisableAccountInfo": { "post": { + "X-EmptyLimit": [ + "personIds" + ], + "X-LengthLimit": [ + { + "personIds": "36,1800" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4", + "5", + "6", + "7" + ], "X-Sort": [ - 13 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "解除绑定第三方授权", + "description": "禁用账号信息", "parameters": [ { - "description": "第三方授权类型名 qq:QQ wx:微信", + "description": "一个或多个ID,多个用逗号分隔", "in": "formData", - "name": "typeName", + "name": "personIds", "required": true, "type": "string" } @@ -4763,7 +4722,7 @@ } } }, - "summary": "解除绑定第三方授权", + "summary": "禁用账号信息", "tags": [ "登录信息" ] @@ -4795,28 +4754,11 @@ ] } }, - "/base/loginperson/PageAreaManagerInfo": { + "/base/loginperson/ExportAreaManagerInfoExcel": { "get": { "X-EmptyLimit": [ - "page", - "limit", "areaCode" ], - "X-ExtendSwaggerField": [ - { - "column_comment": "地区名称", - "column_name": "area_name", - "sample_data": "长春市" - } - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], "X-InterfaceName": [ "PageSysLoginperson" ], @@ -4825,39 +4767,19 @@ "areaCode": "6,6" } ], - "X-RemoveSwaggerField": [ - "last_updated_time" - ], "X-RoleLimit": [ "1", "2", "3" ], "X-Sort": [ - 3 - ], - "X-TableName": [ - "t_sys_loginperson" + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取地区管理员列表(虚拟)", + "description": "导出地区管理员到EXCEL(虚拟)", "parameters": [ - { - "description": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, { "description": "地区码", "in": "query", @@ -4877,13 +4799,39 @@ } } }, - "summary": "获取地区管理员列表(虚拟)", + "summary": "导出地区管理员到EXCEL(虚拟)", "tags": [ "登录信息" ] } }, - "/base/loginperson/DisableAccountInfo": { + "/base/loginperson/GetBindAuthorizationInfo": { + "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/EnableAccountInfo": { "post": { "X-EmptyLimit": [ "personIds" @@ -4903,12 +4851,12 @@ "7" ], "X-Sort": [ - 9 + 8 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "禁用账号信息", + "description": "启用账号信息", "parameters": [ { "description": "一个或多个ID,多个用逗号分隔", @@ -4929,7 +4877,7 @@ } } }, - "summary": "禁用账号信息", + "summary": "启用账号信息", "tags": [ "登录信息" ] @@ -4974,9 +4922,138 @@ "type": "string" }, { - "description": "新密码", - "in": "formData", - "name": "newPassWord", + "description": "新密码", + "in": "formData", + "name": "newPassWord", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改登录密码", + "tags": [ + "登录信息" + ] + } + }, + "/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/organization/GetEduAssistInfoById": { + "get": { + "X-EmptyLimit": [ + "orgId" + ], + "X-InterfaceName": [ + "GetBaseOrganization" + ], + "X-LengthLimit": [ + { + "orgId": "36,36" + } + ], + "X-RemoveSwaggerField": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "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" + ], + "X-Sort": [ + 8 + ], + "X-TableName": [ + "t_base_organization" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据教辅单位ID获取教辅单位信息", + "parameters": [ + { + "description": "教辅单位ID", + "in": "query", + "name": "orgId", "required": true, "type": "string" } @@ -4992,44 +5069,111 @@ } } }, - "summary": "修改登录密码", + "summary": "根据教辅单位ID获取教辅单位信息", "tags": [ - "登录信息" + "组织机构" ] } }, - "/base/organization/ListOrgByOrgKeyWord": { + "/base/organization/PageMainSchoolInfo": { "get": { "X-EmptyLimit": [ - "keyWord" + "page", + "limit", + "areaCode" + ], + "X-ExtendSwaggerField": [ + { + "column_comment": "学校办学类型名称", + "column_name": "xxbxlxm_name", + "sample_data": "小学" + } + ], + "X-IntRangeLimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } + ], + "X-InterfaceName": [ + "PageBaseOrganization" ], "X-LengthLimit": [ { - "keyWord": "2,30" + "areaCode": "6,6" } ], "X-RemoveSwaggerField": [ - "id_int" + "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" + "4", + "7" ], "X-Sort": [ - 23 + 12 + ], + "X-TableName": [ + "t_base_organization" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据单位名称的关键字和管理员的人员ID查询单位列表", + "description": "获取主校列表", "parameters": [ { - "description": "单位名称关键字", + "description": "第几页", "in": "query", - "name": "keyWord", + "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": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", + "in": "query", + "name": "orgId", + "type": "string" } ], "produces": [ @@ -5043,7 +5187,7 @@ } } }, - "summary": "根据单位名称的关键字和管理员的人员ID查询单位列表", + "summary": "获取主校列表", "tags": [ "组织机构" ] @@ -5167,103 +5311,6 @@ ] } }, - "/base/organization/UpdateOrgInfo": { - "post": { - "X-EmptyLimit": [ - "orgId", - "orgCode", - "orgName" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } - ], - "X-InterfaceName": [ - "UpdateBaseOrganization" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "orgManagerIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 20 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "修改部门信息", - "parameters": [ - { - "description": "部门ID", - "in": "formData", - "name": "orgId", - "required": true, - "type": "string" - }, - { - "description": "部门编码", - "in": "formData", - "name": "orgCode", - "required": true, - "type": "string" - }, - { - "description": "部门名称", - "in": "formData", - "name": "orgName", - "required": true, - "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" - }, - { - "description": "部门领导的人员ID", - "in": "formData", - "name": "orgManagerIds", - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "修改部门信息", - "tags": [ - "组织机构" - ] - } - }, "/base/organization/AddSchoolInfo": { "post": { "X-EmptyLimit": [ @@ -5430,6 +5477,59 @@ ] } }, + "/base/organization/DeleteSchoolInfo": { + "post": { + "X-EmptyLimit": [ + "orgIds" + ], + "X-InterfaceName": [ + "DeleteBaseOrganization" + ], + "X-LengthLimit": [ + { + "orgIds": "36,1800" + } + ], + "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/organization/PageEnableEduInfo": { "get": { "X-EmptyLimit": [ @@ -5553,39 +5653,94 @@ ] } }, - "/base/organization/DeleteEduAssistInfo": { + "/base/organization/AddOrgInfo": { "post": { "X-EmptyLimit": [ - "orgIds" + "orgId", + "orgCode", + "orgName" + ], + "X-IntRangeLimit": [ + { + "sortId": "1,9999" + } ], "X-InterfaceName": [ - "DeleteBaseOrganization" + "AddBaseOrganization" ], "X-LengthLimit": [ { - "orgIds": "36,1800" + "orgId": "36,36" + }, + { + "orgCode": "2,20" + }, + { + "orgName": "1,30" + }, + { + "parentId": "36,36" + }, + { + "orgManagerIds": "36,1800" } ], "X-RoleLimit": [ "1", "2", "3", - "4" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 11 + 19 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "删除教辅单位信息", + "description": "增加部门信息", "parameters": [ { - "description": "教辅单位ID,如果是多个用逗号分隔", + "description": "单位ID", "in": "formData", - "name": "orgIds", + "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": "上级部门ID", + "in": "formData", + "name": "parentId", + "required": true, + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" + }, + { + "description": "部门领导的人员ID", + "in": "formData", + "name": "orgManagerIds", + "type": "string" } ], "produces": [ @@ -5599,86 +5754,39 @@ } } }, - "summary": "删除教辅单位信息", + "summary": "增加部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/GetOrgInfo": { - "get": { + "/base/organization/DisableEdu": { + "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" + "UpdateBaseOrganization" ], "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" + "1" ], "X-Sort": [ - 18 - ], - "X-TableName": [ - "t_base_organization" + 5 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取部门信息", + "description": "禁用教育局", "parameters": [ { - "description": "部门ID", - "in": "query", + "description": "教育局ID", + "in": "formData", "name": "orgId", "required": true, "type": "string" @@ -5695,13 +5803,13 @@ } } }, - "summary": "获取部门信息", + "summary": "禁用教育局", "tags": [ "组织机构" ] } }, - "/base/organization/EnableEdu": { + "/base/organization/UpdateOrgInfo": { "post": { "X-EmptyLimit": [ "orgId", @@ -5727,79 +5835,128 @@ "orgName": "1,30" }, { - "fddbr": "2,30" - }, - { - "fddbrdh": "2,30" - }, - { - "address": "2,100" - }, - { - "lxdh": "2,30" + "orgManagerIds": "36,1800" } ], "X-RoleLimit": [ - "1" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "X-Sort": [ - 4 + 20 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "启用教育局", + "description": "修改部门信息", "parameters": [ { - "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": "教育局法定代表人", - "in": "formData", - "name": "fddbr", - "type": "string" - }, - { - "description": "教育局法定代表人电话", + "description": "排序号", "in": "formData", - "name": "fddbrdh", - "type": "string" + "name": "sortId", + "type": "integer" }, { - "description": "教育局地址", + "description": "部门领导的人员ID", "in": "formData", - "name": "address", + "name": "orgManagerIds", "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "修改部门信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/GetSchoolInfoById": { + "get": { + "X-EmptyLimit": [ + "orgId" + ], + "X-InterfaceName": [ + "GetBaseOrganization" + ], + "X-LengthLimit": [ { - "description": "联系电话", - "in": "formData", - "name": "lxdh", - "type": "string" - }, + "orgId": "36,36" + } + ], + "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", + "2", + "3", + "4", + "7" + ], + "X-Sort": [ + 13 + ], + "X-TableName": [ + "t_base_organization" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据学校ID获取学校信息", + "parameters": [ { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" + "description": "学校ID", + "in": "query", + "name": "orgId", + "required": true, + "type": "string" } ], "produces": [ @@ -5813,16 +5970,16 @@ } } }, - "summary": "启用教育局", + "summary": "根据学校ID获取学校信息", "tags": [ "组织机构" ] } }, - "/base/organization/AddEduAssistInfo": { + "/base/organization/UpdateEduAssistInfo": { "post": { "X-EmptyLimit": [ - "areaCode", + "orgId", "orgCode", "orgName" ], @@ -5832,9 +5989,12 @@ } ], "X-InterfaceName": [ - "AddBaseOrganization" + "UpdateBaseOrganization" ], "X-LengthLimit": [ + { + "orgId": "36,36" + }, { "areaCode": "6,6" }, @@ -5852,9 +6012,6 @@ }, { "address": "2,100" - }, - { - "lxdh": "2,30" } ], "X-RoleLimit": [ @@ -5864,17 +6021,17 @@ "4" ], "X-Sort": [ - 9 + 10 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加教辅单位信息", + "description": "修改教辅单位信息", "parameters": [ { - "description": "行政区划编码", + "description": "教辅单位ID", "in": "formData", - "name": "areaCode", + "name": "orgId", "required": true, "type": "string" }, @@ -5934,23 +6091,36 @@ } } }, - "summary": "增加教辅单位信息", + "summary": "修改教辅单位信息", "tags": [ "组织机构" ] } }, - "/base/organization/GetSchoolInfoById": { + "/base/organization/PageDisableEduInfo": { "get": { "X-EmptyLimit": [ - "orgId" + "page", + "limit", + "areaCode" + ], + "X-IntRangeLimit": [ + { + "page": "1,1000" + }, + { + "limit": "1,1000" + } ], "X-InterfaceName": [ - "GetBaseOrganization" + "PageBaseOrganization" ], "X-LengthLimit": [ { - "orgId": "36,36" + "areaCode": "6,6" + }, + { + "orgName": "1,50" } ], "X-RemoveSwaggerField": [ @@ -5959,8 +6129,21 @@ "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", @@ -5968,14 +6151,10 @@ "last_updated_time" ], "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "7" + "1" ], "X-Sort": [ - 13 + 2 ], "X-TableName": [ "t_base_organization" @@ -5983,67 +6162,34 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据学校ID获取学校信息", + "description": "获取未启用的教育局列表", "parameters": [ { - "description": "学校ID", + "description": "第几页", "in": "query", - "name": "orgId", + "name": "page", "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": [ + "type": "integer" + }, { - "orgIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "7" - ], - "X-Sort": [ - 16 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "删除学校信息", - "parameters": [ + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { - "description": "学校ID,如果是多个用逗号分隔", - "in": "formData", - "name": "orgIds", + "description": "行政区划编码", + "in": "query", + "name": "areaCode", "required": true, "type": "string" + }, + { + "description": "教育局名称", + "in": "query", + "name": "orgName", + "type": "string" } ], "produces": [ @@ -6057,96 +6203,105 @@ } } }, - "summary": "删除学校信息", + "summary": "获取未启用的教育局列表", "tags": [ "组织机构" ] } }, - "/base/organization/ListEduByCityCodeInfo": { + "/base/organization/PageEduAssistInfo": { "get": { "X-EmptyLimit": [ - "cityCode" + "page", + "limit", + "areaCode" ], - "X-LengthLimit": [ + "X-IntRangeLimit": [ { - "cityCode": "6,6" - } - ], - "X-RoleLimit": [ - "1", - "3", - "4" - ], - "X-Sort": [ - 24 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "根据市的行政区划码获取教育局列表", - "parameters": [ + "page": "1,1000" + }, { - "description": "市的行政区划码", - "in": "query", - "name": "cityCode", - "required": true, - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } + "limit": "1,1000" } - }, - "summary": "根据市的行政区划码获取教育局列表", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/DeleteOrgInfo": { - "post": { - "X-EmptyLimit": [ - "orgId" - ], - "X-InterfaceName": [ - "DeleteBaseOrganization" ], "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": [ @@ -6160,16 +6315,36 @@ } } }, - "summary": "删除部门信息", + "summary": "获取教辅单位列表", "tags": [ "组织机构" ] } }, - "/base/organization/GetOrgTreeInfo": { + "/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": [ + "PageBaseOrganization" ], "X-LengthLimit": [ { @@ -6195,6 +6370,7 @@ "lxdh", "org_lng", "org_lat", + "sort_id", "b_use", "province_code", "city_code", @@ -6212,13 +6388,30 @@ "7" ], "X-Sort": [ - 22 + 17 + ], + "X-TableName": [ + "t_base_organization" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据单位ID获取部门树", + "description": "获取部门列表", "parameters": [ + { + "description": "第几页", + "in": "query", + "name": "page", + "required": true, + "type": "integer" + }, + { + "description": "一页显示多少条", + "in": "query", + "name": "limit", + "required": true, + "type": "integer" + }, { "description": "单位ID", "in": "query", @@ -6238,40 +6431,42 @@ } } }, - "summary": "根据单位ID获取部门树", + "summary": "获取部门列表", "tags": [ "组织机构" ] } }, - "/base/organization/DisableEdu": { - "post": { + "/base/organization/ListOrgByOrgKeyWord": { + "get": { "X-EmptyLimit": [ - "orgId" - ], - "X-InterfaceName": [ - "UpdateBaseOrganization" + "keyWord" ], "X-LengthLimit": [ { - "orgId": "36,36" + "keyWord": "2,30" } ], + "X-RemoveSwaggerField": [ + "id_int" + ], "X-RoleLimit": [ - "1" + "1", + "3", + "4" ], "X-Sort": [ - 5 + 23 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "禁用教育局", + "description": "根据单位名称的关键字和管理员的人员ID查询单位列表", "parameters": [ { - "description": "教育局ID", - "in": "formData", - "name": "orgId", + "description": "单位名称关键字", + "in": "query", + "name": "keyWord", "required": true, "type": "string" } @@ -6287,67 +6482,45 @@ } } }, - "summary": "禁用教育局", + "summary": "根据单位名称的关键字和管理员的人员ID查询单位列表", "tags": [ "组织机构" ] } }, - "/base/organization/GetEduAssistInfoById": { - "get": { + "/base/organization/DeleteOrgInfo": { + "post": { "X-EmptyLimit": [ "orgId" ], "X-InterfaceName": [ - "GetBaseOrganization" + "DeleteBaseOrganization" ], "X-LengthLimit": [ { "orgId": "36,36" } ], - "X-RemoveSwaggerField": [ - "id_int", - "parent_id", - "bureau_id", - "org_type", - "edu_assist_type", - "main_school_type", - "main_school_id", - "manage_org_id", - "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" + "4", + "5", + "6", + "7" ], "X-Sort": [ - 8 - ], - "X-TableName": [ - "t_base_organization" + 21 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据教辅单位ID获取教辅单位信息", + "description": "删除部门信息", "parameters": [ { - "description": "教辅单位ID", - "in": "query", + "description": "部门ID", + "in": "formData", "name": "orgId", "required": true, "type": "string" @@ -6364,109 +6537,159 @@ } } }, - "summary": "根据教辅单位ID获取教辅单位信息", + "summary": "删除部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageOrgInfo": { + "/base/organization/ListEduByCityCodeInfo": { "get": { "X-EmptyLimit": [ - "page", - "limit", - "bureauId" + "cityCode" ], - "X-ExtendSwaggerField": [ + "X-LengthLimit": [ { - "column_comment": "部门领导", - "column_name": "org_manager_name", - "sample_data": "李老师" + "cityCode": "6,6" } ], - "X-IntRangeLimit": [ + "X-RoleLimit": [ + "1", + "3", + "4" + ], + "X-Sort": [ + 24 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据市的行政区划码获取教育局列表", + "parameters": [ { - "page": "1,1000" - }, + "description": "市的行政区划码", + "in": "query", + "name": "cityCode", + "required": true, + "type": "string" + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据市的行政区划码获取教育局列表", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/EnableEdu": { + "post": { + "X-EmptyLimit": [ + "orgId", + "orgCode", + "orgName" + ], + "X-IntRangeLimit": [ { - "limit": "1,1000" + "sortId": "1,9999" } ], "X-InterfaceName": [ - "PageBaseOrganization" + "UpdateBaseOrganization" ], "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", - "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": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" + "1" ], "X-Sort": [ - 17 - ], - "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": "query", - "name": "limit", + "description": "教育局编码", + "in": "formData", + "name": "orgCode", "required": true, - "type": "integer" + "type": "string" }, { - "description": "单位ID", - "in": "query", - "name": "orgId", + "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": [ @@ -6480,16 +6703,16 @@ } } }, - "summary": "获取部门列表", + "summary": "启用教育局", "tags": [ "组织机构" ] } }, - "/base/organization/UpdateEduAssistInfo": { + "/base/organization/AddEduAssistInfo": { "post": { "X-EmptyLimit": [ - "orgId", + "areaCode", "orgCode", "orgName" ], @@ -6499,12 +6722,9 @@ } ], "X-InterfaceName": [ - "UpdateBaseOrganization" + "AddBaseOrganization" ], "X-LengthLimit": [ - { - "orgId": "36,36" - }, { "areaCode": "6,6" }, @@ -6522,6 +6742,9 @@ }, { "address": "2,100" + }, + { + "lxdh": "2,30" } ], "X-RoleLimit": [ @@ -6531,17 +6754,17 @@ "4" ], "X-Sort": [ - 10 + 9 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改教辅单位信息", + "description": "增加教辅单位信息", "parameters": [ { - "description": "教辅单位ID", + "description": "行政区划编码", "in": "formData", - "name": "orgId", + "name": "areaCode", "required": true, "type": "string" }, @@ -6601,41 +6824,76 @@ } } }, - "summary": "修改教辅单位信息", + "summary": "增加教辅单位信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageDisableEduInfo": { - "get": { + "/base/organization/DeleteEduAssistInfo": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "areaCode" + "orgIds" ], - "X-IntRangeLimit": [ + "X-InterfaceName": [ + "DeleteBaseOrganization" + ], + "X-LengthLimit": [ { - "page": "1,1000" - }, + "orgIds": "36,1800" + } + ], + "X-RoleLimit": [ + "1", + "2", + "3", + "4" + ], + "X-Sort": [ + 11 + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "删除教辅单位信息", + "parameters": [ { - "limit": "1,1000" + "description": "教辅单位ID,如果是多个用逗号分隔", + "in": "formData", + "name": "orgIds", + "required": true, + "type": "string" } ], - "X-InterfaceName": [ - "PageBaseOrganization" + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "删除教辅单位信息", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/GetOrgTreeInfo": { + "get": { + "X-EmptyLimit": [ + "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", @@ -6653,52 +6911,109 @@ "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": "第几页", - "in": "query", - "name": "page", - "required": true, - "type": "integer" - }, - { - "description": "一页显示多少条", - "in": "query", - "name": "limit", - "required": true, - "type": "integer" - }, - { - "description": "行政区划编码", + "description": "单位ID", "in": "query", - "name": "areaCode", + "name": "orgId", "required": true, "type": "string" - }, + } + ], + "produces": [ + "application/json" + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Model.Res" + } + } + }, + "summary": "根据单位ID获取部门树", + "tags": [ + "组织机构" + ] + } + }, + "/base/organization/GetEduInfoById": { + "get": { + "X-EmptyLimit": [ + "orgId" + ], + "X-InterfaceName": [ + "GetBaseOrganization" + ], + "X-LengthLimit": [ { - "description": "教育局名称", + "orgId": "36,36" + } + ], + "X-RemoveSwaggerField": [ + "id_int", + "parent_id", + "bureau_id", + "org_type", + "edu_assist_type", + "main_school_type", + "main_school_id", + "manage_org_id", + "xxbbm", + "xxbxlxm", + "szdcxlxm", + "xxjbzm", + "fzr", + "org_lng", + "org_lat", + "b_use", + "province_code", + "city_code", + "district_code", + "last_updated_time" + ], + "X-RoleLimit": [ + "1" + ], + "X-Sort": [ + 3 + ], + "X-TableName": [ + "t_base_organization" + ], + "consumes": [ + "application/x-www-form-urlencoded" + ], + "description": "根据教育局ID获取教育局信息", + "parameters": [ + { + "description": "教育局ID", "in": "query", - "name": "orgName", + "name": "orgId", + "required": true, "type": "string" } ], @@ -6713,19 +7028,26 @@ } } }, - "summary": "获取未启用的教育局列表", + "summary": "根据教育局ID获取教育局信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageEduAssistInfo": { + "/base/organization/PageSchoolInfo": { "get": { "X-EmptyLimit": [ "page", "limit", "areaCode" ], + "X-ExtendSwaggerField": [ + { + "column_comment": "学校办学类型名称", + "column_name": "xxbxlxm_name", + "sample_data": "小学" + } + ], "X-IntRangeLimit": [ { "page": "1,1000" @@ -6734,6 +7056,9 @@ "limit": "1,1000" } ], + "X-InterfaceName": [ + "PageBaseOrganization" + ], "X-LengthLimit": [ { "areaCode": "6,6" @@ -6748,11 +7073,9 @@ "bureau_id", "org_type", "edu_assist_type", - "main_school_type", "main_school_id", "manage_org_id", "xxbbm", - "xxbxlxm", "szdcxlxm", "xxjbzm", "fzr", @@ -6773,10 +7096,11 @@ "1", "2", "3", - "4" + "4", + "7" ], "X-Sort": [ - 7 + 12 ], "X-TableName": [ "t_base_organization" @@ -6784,7 +7108,7 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取教辅单位列表", + "description": "获取学校列表", "parameters": [ { "description": "第几页", @@ -6808,116 +7132,16 @@ "type": "string" }, { - "description": "教辅单位名称", + "description": "学校办学类型 -1:全部", "in": "query", - "name": "orgName", - "type": "string" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "获取教辅单位列表", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/AddOrgInfo": { - "post": { - "X-EmptyLimit": [ - "orgId", - "orgCode", - "orgName" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } - ], - "X-InterfaceName": [ - "AddBaseOrganization" - ], - "X-LengthLimit": [ - { - "orgId": "36,36" - }, - { - "orgCode": "2,20" - }, - { - "orgName": "1,30" - }, - { - "parentId": "36,36" - }, - { - "orgManagerIds": "36,1800" - } - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 19 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "增加部门信息", - "parameters": [ - { - "description": "单位ID", - "in": "formData", - "name": "orgId", - "required": true, - "type": "string" - }, - { - "description": "部门编码", - "in": "formData", - "name": "orgCode", + "name": "xxbxlxm", "required": true, "type": "string" }, { - "description": "部门名称", - "in": "formData", + "description": "学校名称", + "in": "query", "name": "orgName", - "required": true, - "type": "string" - }, - { - "description": "上级部门ID", - "in": "formData", - "name": "parentId", - "required": true, - "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" - }, - { - "description": "部门领导的人员ID", - "in": "formData", - "name": "orgManagerIds", "type": "string" } ], @@ -6932,7 +7156,7 @@ } } }, - "summary": "增加部门信息", + "summary": "获取学校列表", "tags": [ "组织机构" ] @@ -7097,126 +7321,8 @@ { "description": "排序号", "in": "formData", - "name": "sortId", - "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "修改学校信息", - "tags": [ - "组织机构" - ] - } - }, - "/base/organization/PageMainSchoolInfo": { - "get": { - "X-EmptyLimit": [ - "page", - "limit", - "areaCode" - ], - "X-ExtendSwaggerField": [ - { - "column_comment": "学校办学类型名称", - "column_name": "xxbxlxm_name", - "sample_data": "小学" - } - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], - "X-InterfaceName": [ - "PageBaseOrganization" - ], - "X-LengthLimit": [ - { - "areaCode": "6,6" - } - ], - "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" - ], - "X-Sort": [ - 12 - ], - "X-TableName": [ - "t_base_organization" - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "获取主校列表", - "parameters": [ - { - "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": "学校ID,增加学校时无需传,修改学校时需要传被修改学校的ID", - "in": "query", - "name": "orgId", - "type": "string" + "name": "sortId", + "type": "integer" } ], "produces": [ @@ -7230,17 +7336,29 @@ } } }, - "summary": "获取主校列表", + "summary": "修改学校信息", "tags": [ "组织机构" ] } }, - "/base/organization/GetEduInfoById": { + "/base/organization/GetOrgInfo": { "get": { "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" ], @@ -7251,7 +7369,6 @@ ], "X-RemoveSwaggerField": [ "id_int", - "parent_id", "bureau_id", "org_type", "edu_assist_type", @@ -7263,19 +7380,30 @@ "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" + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "X-Sort": [ - 3 + 18 ], "X-TableName": [ "t_base_organization" @@ -7283,10 +7411,10 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "根据教育局ID获取教育局信息", + "description": "获取部门信息", "parameters": [ { - "description": "教育局ID", + "description": "部门ID", "in": "query", "name": "orgId", "required": true, @@ -7304,121 +7432,39 @@ } } }, - "summary": "根据教育局ID获取教育局信息", + "summary": "获取部门信息", "tags": [ "组织机构" ] } }, - "/base/organization/PageSchoolInfo": { - "get": { + "/base/position/DeletePositionInfo": { + "post": { "X-EmptyLimit": [ - "page", - "limit", - "areaCode" - ], - "X-ExtendSwaggerField": [ - { - "column_comment": "学校办学类型名称", - "column_name": "xxbxlxm_name", - "sample_data": "小学" - } - ], - "X-IntRangeLimit": [ - { - "page": "1,1000" - }, - { - "limit": "1,1000" - } - ], - "X-InterfaceName": [ - "PageBaseOrganization" + "id" ], "X-LengthLimit": [ { - "areaCode": "6,6" - }, - { - "orgName": "1,30" + "id": "36,36" } ], - "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" + 2 ], "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": "行政区划编码", - "in": "query", - "name": "areaCode", - "required": true, - "type": "string" - }, - { - "description": "学校办学类型 -1:全部", - "in": "query", - "name": "xxbxlxm", + "description": "职务ID", + "in": "formData", + "name": "id", "required": true, "type": "string" - }, - { - "description": "学校名称", - "in": "query", - "name": "orgName", - "type": "string" } ], "produces": [ @@ -7432,9 +7478,9 @@ } } }, - "summary": "获取学校列表", + "summary": "删除职务信息", "tags": [ - "组织机构" + "职务" ] } }, @@ -7486,84 +7532,38 @@ ] } }, - "/base/position/AddPositionInfo": { - "post": { + "/base/position/GetPositionInfoById": { + "get": { "X-EmptyLimit": [ - "nodeName", - "parentId", - "areaLevel", - "orgType", - "xxbxlxm" - ], - "X-IntLimit": [ - "areaLevel", - "orgType", - "sortId" - ], - "X-IntRangeLimit": [ - { - "sortId": "1,9999" - } + "id" ], "X-LengthLimit": [ { - "parentId": "36,36" - }, - { - "nodeName": "2,30" + "id": "36,36" } ], + "X-RemoveSwaggerField": [ + "id_int", + "b_use", + "last_updated_time" + ], "X-RoleLimit": [ "1" ], "X-Sort": [ - 1 + 4 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加职务信息", + "description": "获取职务信息(单条)", "parameters": [ { - "description": "职务名称", - "in": "formData", - "name": "nodeName", - "required": true, - "type": "string" - }, - { - "description": "上级节点ID", - "in": "formData", - "name": "parentId", - "required": true, - "type": "string" - }, - { - "description": "区域级别,传上一级节点的area_level", - "in": "formData", - "name": "areaLevel", - "required": true, - "type": "integer" - }, - { - "description": "单位类型,传上一级节点的org_type", - "in": "formData", - "name": "orgType", - "required": true, - "type": "integer" - }, - { - "description": "学校办学类型,传上一级节点的xxbxlxm", - "in": "formData", - "name": "xxbxlxm", + "description": "职务ID", + "in": "query", + "name": "id", "required": true, "type": "string" - }, - { - "description": "排序号", - "in": "formData", - "name": "sortId", - "type": "integer" } ], "produces": [ @@ -7577,17 +7577,20 @@ } } }, - "summary": "增加职务信息", + "summary": "获取职务信息(单条)", "tags": [ "职务" ] } }, - "/base/position/UpdatePositionInfo": { + "/base/position/AddPositionInfo": { "post": { "X-EmptyLimit": [ - "id", - "nodeName" + "nodeName", + "parentId", + "areaLevel", + "orgType", + "xxbxlxm" ], "X-IntLimit": [ "areaLevel", @@ -7601,7 +7604,7 @@ ], "X-LengthLimit": [ { - "id": "36,36" + "parentId": "36,36" }, { "nodeName": "2,30" @@ -7611,24 +7614,45 @@ "1" ], "X-Sort": [ - 3 + 1 ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改职务信息", + "description": "增加职务信息", "parameters": [ { - "description": "职务ID", + "description": "职务名称", + "in": "formData", + "name": "nodeName", + "required": true, + "type": "string" + }, + { + "description": "上级节点ID", + "in": "formData", + "name": "parentId", + "required": true, + "type": "string" + }, + { + "description": "区域级别,传上一级节点的area_level", + "in": "formData", + "name": "areaLevel", + "required": true, + "type": "integer" + }, + { + "description": "单位类型,传上一级节点的org_type", "in": "formData", - "name": "id", + "name": "orgType", "required": true, - "type": "string" + "type": "integer" }, { - "description": "职务名称", + "description": "学校办学类型,传上一级节点的xxbxlxm", "in": "formData", - "name": "nodeName", + "name": "xxbxlxm", "required": true, "type": "string" }, @@ -7650,7 +7674,7 @@ } } }, - "summary": "修改职务信息", + "summary": "增加职务信息", "tags": [ "职务" ] @@ -7691,26 +7715,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", @@ -7718,6 +7756,19 @@ "name": "id", "required": true, "type": "string" + }, + { + "description": "职务名称", + "in": "formData", + "name": "nodeName", + "required": true, + "type": "string" + }, + { + "description": "排序号", + "in": "formData", + "name": "sortId", + "type": "integer" } ], "produces": [ @@ -7731,42 +7782,43 @@ } } }, - "summary": "删除职务信息", + "summary": "修改职务信息", "tags": [ "职务" ] } }, - "/base/position/GetPositionInfoById": { + "/base/area/GetGovArea": { "get": { "X-EmptyLimit": [ - "id" + "areaCode" + ], + "X-IntLimit": [ + "areaCode" ], "X-LengthLimit": [ { - "id": "36,36" + "areaCode": "6,6" } ], - "X-RemoveSwaggerField": [ - "id_int", - "b_use", - "last_updated_time" - ], "X-RoleLimit": [ - "1" - ], - "X-Sort": [ - 4 + "1", + "2", + "3", + "4", + "5", + "6", + "7" ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取职务信息(单条)", + "description": "获取行政区划信息(单条)", "parameters": [ { - "description": "职务ID", + "description": "行政区划码", "in": "query", - "name": "id", + "name": "areaCode", "required": true, "type": "string" } @@ -7782,9 +7834,9 @@ } } }, - "summary": "获取职务信息(单条)", + "summary": "获取行政区划信息(单条)", "tags": [ - "职务" + "行政区划" ] } }, @@ -7861,7 +7913,7 @@ ] } }, - "/base/area/UpdateGovArea": { + "/base/area/AddGovArea": { "post": { "X-EmptyLimit": [ "areaTypeId", @@ -7880,7 +7932,7 @@ "masterCode": "6,6" }, { - "areaName": "3:50" + "areaName": "3,50" } ], "X-RoleLimit": [ @@ -7895,7 +7947,7 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "修改行政区划信息", + "description": "增加行政区划信息", "parameters": [ { "description": "区域代码", @@ -7937,23 +7989,32 @@ } } }, - "summary": "修改行政区划信息", + "summary": "增加行政区划信息", "tags": [ "行政区划" ] } }, - "/base/area/GetGovArea": { - "get": { + "/base/area/UpdateGovArea": { + "post": { "X-EmptyLimit": [ - "areaCode" + "areaTypeId", + "areaCode", + "areaName", + "masterCode" ], "X-IntLimit": [ - "areaCode" + "areaTypeId" ], "X-LengthLimit": [ { "areaCode": "6,6" + }, + { + "masterCode": "6,6" + }, + { + "areaName": "3:50" } ], "X-RoleLimit": [ @@ -7968,14 +8029,35 @@ "consumes": [ "application/x-www-form-urlencoded" ], - "description": "获取行政区划信息(单条)", + "description": "修改行政区划信息", "parameters": [ { - "description": "行政区划码", - "in": "query", + "description": "区域代码", + "in": "formData", "name": "areaCode", "required": true, "type": "string" + }, + { + "description": "区域名称", + "in": "formData", + "name": "areaName", + "required": true, + "type": "string" + }, + { + "description": "上级代码", + "in": "formData", + "name": "masterCode", + "required": true, + "type": "string" + }, + { + "description": "区域类型", + "in": "formData", + "name": "areaTypeId", + "required": true, + "type": "integer" } ], "produces": [ @@ -7989,7 +8071,7 @@ } } }, - "summary": "获取行政区划信息(单条)", + "summary": "修改行政区划信息", "tags": [ "行政区划" ] @@ -8044,28 +8126,19 @@ ] } }, - "/base/area/AddGovArea": { - "post": { + "/base/role/GetManageAreaInfo": { + "get": { "X-EmptyLimit": [ - "areaTypeId", - "areaCode", - "areaName", - "masterCode" - ], - "X-IntLimit": [ - "areaTypeId" + "areaType" ], - "X-LengthLimit": [ - { - "areaCode": "6,6" - }, - { - "masterCode": "6,6" - }, + "X-IntRangeLimit": [ { - "areaName": "3,50" + "areaType": "1,2" } ], + "X-InterfaceName": [ + "GetBaseRolePerson" + ], "X-RoleLimit": [ "1", "2", @@ -8075,36 +8148,18 @@ "6", "7" ], + "X-Sort": [ + 1 + ], "consumes": [ "application/x-www-form-urlencoded" ], - "description": "增加行政区划信息", + "description": "根据人员ID获取所管辖的地区信息", "parameters": [ { - "description": "区域代码", - "in": "formData", - "name": "areaCode", - "required": true, - "type": "string" - }, - { - "description": "区域名称", - "in": "formData", - "name": "areaName", - "required": true, - "type": "string" - }, - { - "description": "上级代码", - "in": "formData", - "name": "masterCode", - "required": true, - "type": "string" - }, - { - "description": "区域类型", - "in": "formData", - "name": "areaTypeId", + "description": "地区类型 1:市 2:区", + "in": "query", + "name": "areaType", "required": true, "type": "integer" } @@ -8120,9 +8175,9 @@ } } }, - "summary": "增加行政区划信息", + "summary": "根据人员ID获取所管辖的地区信息", "tags": [ - "行政区划" + "角色信息" ] } }, @@ -8163,61 +8218,6 @@ "角色信息" ] } - }, - "/base/role/GetManageAreaInfo": { - "get": { - "X-EmptyLimit": [ - "areaType" - ], - "X-IntRangeLimit": [ - { - "areaType": "1,2" - } - ], - "X-InterfaceName": [ - "GetBaseRolePerson" - ], - "X-RoleLimit": [ - "1", - "2", - "3", - "4", - "5", - "6", - "7" - ], - "X-Sort": [ - 1 - ], - "consumes": [ - "application/x-www-form-urlencoded" - ], - "description": "根据人员ID获取所管辖的地区信息", - "parameters": [ - { - "description": "地区类型 1:市 2:区", - "in": "query", - "name": "areaType", - "required": true, - "type": "integer" - } - ], - "produces": [ - "application/json" - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/Model.Res" - } - } - }, - "summary": "根据人员ID获取所管辖的地区信息", - "tags": [ - "角色信息" - ] - } } }, "swagger": "2.0" diff --git a/dsBaseWeb/docs/swagger.yaml b/dsBaseWeb/docs/swagger.yaml index d4972bb2..2d6278e4 100644 --- a/dsBaseWeb/docs/swagger.yaml +++ b/dsBaseWeb/docs/swagger.yaml @@ -10,7 +10,7 @@ definitions: example: "true" type: boolean type: object -host: 127.0.0.1:8002 +host: 10.10.14.187:8002 info: contact: email: support@swagger.io diff --git a/dsBaseWeb/main.go b/dsBaseWeb/main.go index 71f24c64..3a523cac 100644 --- a/dsBaseWeb/main.go +++ b/dsBaseWeb/main.go @@ -31,7 +31,7 @@ import ( // @contact.email support@swagger.io // @license.name Apache 2.0 // @license.url http://www.apache.org/licenses/LICENSE-2.0.html -// @host 127.0.0.1:8002 +// @host 10.10.14.187:8002 func main() { // 发布模式 //gin.SetMode(gin.ReleaseMode) diff --git a/dsSso/Controller/ControllerOauth2/ControllerOauth2.go b/dsSso/Controller/ControllerOauth2/ControllerOauth2.go index 8c92d5a9..cffdad70 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(301, url) + context.Redirect(302, url) return } } diff --git a/dsSso/Tools/Distribute.go b/dsSso/Tools/Distribute.go index 4fb36e39..3f77dece 100644 --- a/dsSso/Tools/Distribute.go +++ b/dsSso/Tools/Distribute.go @@ -35,6 +35,7 @@ func main() { cli.Run("chmod +x /usr/local/dsMin/dsSso/start.sh") cli.Run("chmod +x /usr/local/dsMin/dsSso/debug.sh") cli.Run("chmod +x /usr/local/dsMin/dsSso/stop.sh") + cli.Run("cd /usr/local/dsMin/dsSso/ && dos2unix *.sh") //启动 cli.Run("cd /usr/local/dsMin/dsSso && ./start.sh") log.Println("恭喜,统一认证服务上传并启动成功!") diff --git a/dsSso/docs/docs.go b/dsSso/docs/docs.go index 95bc25c0..082d847f 100644 --- a/dsSso/docs/docs.go +++ b/dsSso/docs/docs.go @@ -663,7 +663,7 @@ type swaggerInfo struct { // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = swaggerInfo{ Version: "2.0", - Host: "10.10.14.187:8000", + Host: "127.0.0.1:8000", BasePath: "", Schemes: []string{}, Title: "东师理想统一认证中心(OAuth2+Sso)", diff --git a/dsSso/docs/swagger.json b/dsSso/docs/swagger.json index 8d86d57a..a06edb04 100644 --- a/dsSso/docs/swagger.json +++ b/dsSso/docs/swagger.json @@ -6,7 +6,7 @@ "contact": {}, "version": "2.0" }, - "host": "10.10.14.187:8000", + "host": "127.0.0.1:8000", "paths": { "/oauth2/AddClient": { "post": { diff --git a/dsSso/docs/swagger.yaml b/dsSso/docs/swagger.yaml index 81501496..5832322d 100644 --- a/dsSso/docs/swagger.yaml +++ b/dsSso/docs/swagger.yaml @@ -32,7 +32,7 @@ definitions: description: 个数 type: object type: object -host: 10.10.14.187:8000 +host: 127.0.0.1:8000 info: contact: {} description: 参考自xxl-sso diff --git a/dsSso/main.go b/dsSso/main.go index b514a25e..92e8a73d 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 10.10.14.187:8000 +// @host 127.0.0.1:8000 func main() { // 发布模式 //gin.SetMode(gin.ReleaseMode)