常量
12114常量总览
_constant结构
CREATE TABLE `_constant` (`id` int(11) NOT NULL AUTO_INCREMENT,`constantKey` varchar(255) DEFAULT NULL,`constantType` varchar(255) DEFAULT NULL COMMENT '常量类型; object, array',`desc` varchar(255) DEFAULT NULL COMMENT '描述',`constantValue` text COMMENT '常量内容; object, array',`operation` varchar(255) DEFAULT 'insert' COMMENT '操作; insert, update, jhInsert, jhUpdate, jhDelete jhRestore',`operationByUserId` varchar(255) DEFAULT NULL COMMENT '操作者userId',`operationByUser` varchar(255) DEFAULT NULL COMMENT '操作者用户名',`operationAt` varchar(255) DEFAULT NULL COMMENT '操作时间; E.g: 2021-05-28T10:24:54+08:00 ',PRIMARY KEY (`id`) USING BTREE) ENGINE = InnoDB AUTO_INCREMENT = 5 DEFAULT CHARSET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = DYNAMIC COMMENT = '常量表; 软删除未启用;'
_constant 表数据
通用权限配置
constantKey:commonAuthList
constantType:array
[{"appId": "directory","user": "*","group": "login","role": "*","pageIdList": ["directory","changePassword"]},{"appId": "task","user": "*","group": "login","role": "*","pageIdList": ["*"]},{"appId": "student_admin","user": "*","group": "login","role": "*","pageIdList": ["enrollment","workflowPrintPreview","logisticsAssignment","updatePaymentStatus","classManagement","studentManagementOfOneClass","classManagementOfOneStudent","enrollmentApproved","approvalAcknowledgementPrintPreview","studentUpgrade","quitApproved","studentManagement","quitRequest","changeLevelRequest","approvalChangeLevel","quitAssignment","quitPayment"]},{"appId": "mentor","user": "*","group": "login","role": "*","pageIdList": ["studentList","studentNewStructureList","studentContactList","studentEducationBackgroundList","studentFinancialAidList","studentGuardianList","studentHometownList","studentLogisticsList","studentCommentList","appraisalStudentManagementOfOneAppraisal","appraisalView"]},{"appId": "recruitment","user": "*","group": "login","role": "*","pageIdList": ["followUpStudent"]},{"appId": "recruitment","user": "*","group": "public","role": "*","pageIdList": ["studentRecruitment"]},{"appId": "notice","user": "*","group": "public","role": "*","pageIdList": ["bindStudent","messageList","otherBrowser","noticeTemplate/*"]},{"appId": "calendar","user": "*","group": "public","role": "*","pageIdList": ["calendarEventView"]},{"appId": "work_order","user": "*","group": "login","role": "*","pageIdList": ["workflowEditor","createTask","todo","taskHistory"]},{"appId": "hostel","user": "*","group": "login","role": "*","pageIdList": ["studentHostelManagement","studentBedAllocation"]},{"appId": "restaurant","user": "*","group": "public","role": "*","pageIdList": ["restaurantManagement","oneBatchStudentAllocation","twoBatchStudentAllocation"]},{"appId": "public_hygiene","user": "*","group": "login","role": "*","pageIdList": ["areaView","areaMonth","classMonth"]}]
临时期限日期
constantKey:roleDeadlineItem
constantType:array
[{"value": "0","text": "非公共"},{"value": "1","text": "阳光公寓公共"},{"value": "2","text": "商业中心公共"}]
待创建的用户列表,每12小时更新一次
constantKey:userToBeCreatedList
constantType:array
[{"userid": "ChuBing","name": "储兵","department": [223],"position": "","status": 1,"extattr": {},"telephone": "","order": [268435456],"external_profile": {"wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 223,"alias": "","is_leader_in_dept": [0]},{"userid": "WangXiaoChen","name": "王晓晨","department": [81],"position": "销售顾问","status": 1,"extattr": {},"telephone": "","order": [0],"external_profile": {"external_corp_name": "","wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 81,"alias": "","is_leader_in_dept": [0]},{"userid": "LuoLongFei","name": "罗龙飞","department": [76],"position": "销售总监","status": 1,"extattr": {},"telephone": "","order": [0],"external_profile": {"external_corp_name": "","wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 76,"alias": "","is_leader_in_dept": [0]},{"userid": "QinXiuJun","name": "秦修军","department": [16],"position": "","status": 1,"extattr": {},"telephone": "","order": [268472320],"external_profile": {"wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 16,"alias": "","is_leader_in_dept": [0]},{"userid": "CuiNingDong","name": "崔宁栋","department": [16],"position": "","status": 1,"extattr": {},"telephone": "","order": [268480512],"external_profile": {"wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 16,"alias": "","is_leader_in_dept": [0]},{"userid": "lixingbin","name": "李兴斌","department": [216],"position": "维修技师","status": 1,"extattr": {},"telephone": "","order": [268439552],"external_profile": {"external_corp_name": "","wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 216,"alias": "","is_leader_in_dept": [0]},{"userid": "ZiYuanZhengHeYunYingShang-QiXion","name": "资源整合运营商-齐兄","department": [270],"position": "","status": 4,"extattr": {},"telephone": "","order": [0],"main_department": 270,"alias": "","is_leader_in_dept": [0]},{"userid": "PanJiaLin","name": "潘嘉林钣喷主管18366562892","department": [40],"position": "喷漆工","status": 1,"extattr": {},"telephone": "","order": [268484608],"external_profile": {"external_corp_name": ""},"main_department": 40,"alias": "","is_leader_in_dept": [0]},{"userid": "kaleb","name": "伽勒","department": [223],"position": "","status": 1,"extattr": {},"telephone": "","order": [268480512],"external_profile": {"external_corp_name": "","wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 223,"alias": "","is_leader_in_dept": [0]},{"userid": "colin","name": "colin","department": [223],"position": "","status": 1,"extattr": {},"telephone": "","order": [268439552],"external_profile": {"external_corp_name": "","wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 223,"alias": "","is_leader_in_dept": [0]},{"userid": "qujiang","name": "屈江","department": [44,3],"position": "副总裁","status": 1,"extattr": {},"telephone": "","order": [268439552,268439552],"external_profile": {"external_corp_name": "","wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 44,"alias": "","is_leader_in_dept": [0,0]},{"userid": "YinWenXin","name": "尹文鑫","department": [81],"position": "销售信息员","status": 1,"extattr": {},"telephone": "","order": [0],"external_profile": {"external_corp_name": "","wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 81,"alias": "","is_leader_in_dept": [0]},{"userid": "liuwenhui","name": "刘文辉","department": [177],"position": "主管","status": 4,"extattr": {},"telephone": "","order": [268439552],"external_profile": {"external_corp_name": "","wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 177,"alias": "","is_leader_in_dept": [1],"direct_leader": ["HRAG000041"]},{"userid": "lixinli","name": "李蕊莉","department": [171],"position": "仓管员","status": 4,"extattr": {},"telephone": "","order": [268439552],"external_profile": {"external_corp_name": "","wechat_channels": {"nickname": "风神集团","status": 0}},"main_department": 171,"alias": "","is_leader_in_dept": [0],"direct_leader": ["HRAG000003","HRAG000043"]}]
_constant语句
INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (2, 'commonAuthList', 'array', '通用权限配置', '[{"appId": "directory","user": "*", "group": "login", "role": "*", "pageIdList": ["directory","changePassword"]},{"appId": "task","user": "*", "group": "login", "role": "*", "pageIdList": ["*"]},{"appId": "student_admin","user": "*", "group": "login", "role": "*", "pageIdList": ["enrollment","workflowPrintPreview","logisticsAssignment","updatePaymentStatus","classManagement","studentManagementOfOneClass","classManagementOfOneStudent","enrollmentApproved","approvalAcknowledgementPrintPreview","studentUpgrade","quitApproved","studentManagement","quitRequest","changeLevelRequest","approvalChangeLevel","quitAssignment","quitPayment"]},{"appId": "mentor","user": "*", "group": "login", "role": "*", "pageIdList": ["studentList","studentNewStructureList","studentContactList","studentEducationBackgroundList","studentFinancialAidList","studentGuardianList","studentHometownList","studentLogisticsList","studentCommentList","appraisalStudentManagementOfOneAppraisal","appraisalView"]},{"appId": "recruitment","user": "*", "group": "login", "role": "*", "pageIdList": ["followUpStudent"]},{"appId": "recruitment","user": "*", "group": "public", "role": "*", "pageIdList": ["studentRecruitment"]},{"appId": "notice","user": "*", "group": "public", "role": "*", "pageIdList": ["bindStudent","messageList","otherBrowser","noticeTemplate/*"]},{"appId": "calendar","user": "*", "group": "public", "role": "*", "pageIdList": ["calendarEventView"]},{"appId": "work_order","user": "*", "group": "login", "role": "*", "pageIdList": ["workflowEditor","createTask","todo","taskHistory"]},{"appId": "hostel","user": "*", "group": "login", "role": "*", "pageIdList": ["studentHostelManagement","studentBedAllocation"]},{"appId": "restaurant","user": "*", "group": "public", "role": "*", "pageIdList": ["restaurantManagement", "oneBatchStudentAllocation", "twoBatchStudentAllocation"]},{"appId": "public_hygiene","user": "*", "group": "login", "role": "*", "pageIdList": ["areaView", "areaMonth", "classMonth"]}]', 'update', NULL, NULL, '2023-03-07T15:17:37+08:00');INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (3, 'roleDeadlineItem', 'array', '临时期限日期', '[{"value": "0","text": "非公共"},{"value": "1","text": "阳光公寓公共"},{"value": "2","text": "商业中心公共"}]', 'insert', '[{ "text":"7天", "days":7 },{ "text":"14天", "days":14 },{ "text":"30天", "days":30 }]', NULL, NULL);INSERT INTO _constant (id, constantKey, constantType, desc, constantValue, operation, operationByUserId, operationByUser, operationAt) VALUES (4, 'userToBeCreatedList', 'array', '待创建的用户列表,每12小时更新一次', '[{"userid":"ChuBing","name":"储兵","department":[223],"position":"","status":1,"extattr":{},"telephone":"","order":[268435456],"external_profile":{"wechat_channels":{"nickname":"风神集团","status":0}},"main_department":223,"alias":"","is_leader_in_dept":[0]},{"userid":"WangXiaoChen","name":"王晓晨","department":[81],"position":"销售顾问","status":1,"extattr":{},"telephone":"","order":[0],"external_profile":{"external_corp_name":"","wechat_channels":{"nickname":"风神集团","status":0}},"main_department":81,"alias":"","is_leader_in_dept":[0]},{"userid":"LuoLongFei","name":"罗龙飞","department":[76],"position":"销售总监","status":1,"extattr":{},"telephone":"","order":[0],"external_profile":{"external_corp_name":"","wechat_channels":{"nickname":"风神集团","status":0}},"main_department":76,"alias":"","is_leader_in_dept":[0]},{"userid":"QinXiuJun","name":"秦修军","department":[16],"position":"","status":1,"extattr":{},"telephone":"","order":[268472320],"external_profile":{"wechat_channels":{"nickname":"风神集团","status":0}},"main_department":16,"alias":"","is_leader_in_dept":[0]},{"userid":"CuiNingDong","name":"崔宁栋","department":[16],"position":"","status":1,"extattr":{},"telephone":"","order":[268480512],"external_profile":{"wechat_channels":{"nickname":"风神集团","status":0}},"main_department":16,"alias":"","is_leader_in_dept":[0]},{"userid":"lixingbin","name":"李兴斌","department":[216],"position":"维修技师","status":1,"extattr":{},"telephone":"","order":[268439552],"external_profile":{"external_corp_name":"","wechat_channels":{"nickname":"风神集团","status":0}},"main_department":216,"alias":"","is_leader_in_dept":[0]},{"userid":"ZiYuanZhengHeYunYingShang-QiXion","name":"资源整合运营商-齐兄","department":[270],"position":"","status":4,"extattr":{},"telephone":"","order":[0],"main_department":270,"alias":"","is_leader_in_dept":[0]},{"userid":"PanJiaLin","name":"潘嘉林钣喷主管18366562892","department":[40],"position":"喷漆工","status":1,"extattr":{},"telephone":"","order":[268484608],"external_profile":{"external_corp_name":""},"main_department":40,"alias":"","is_leader_in_dept":[0]},{"userid":"kaleb","name":"伽勒","department":[223],"position":"","status":1,"extattr":{},"telephone":"","order":[268480512],"external_profile":{"external_corp_name":"","wechat_channels":{"nickname":"风神集团","status":0}},"main_department":223,"alias":"","is_leader_in_dept":[0]},{"userid":"colin","name":"colin","department":[223],"position":"","status":1,"extattr":{},"telephone":"","order":[268439552],"external_profile":{"external_corp_name":"","wechat_channels":{"nickname":"风神集团","status":0}},"main_department":223,"alias":"","is_leader_in_dept":[0]},{"userid":"qujiang","name":"屈江","department":[44,3],"position":"副总裁","status":1,"extattr":{},"telephone":"","order":[268439552,268439552],"external_profile":{"external_corp_name":"","wechat_channels":{"nickname":"风神集团","status":0}},"main_department":44,"alias":"","is_leader_in_dept":[0,0]},{"userid":"YinWenXin","name":"尹文鑫","department":[81],"position":"销售信息员","status":1,"extattr":{},"telephone":"","order":[0],"external_profile":{"external_corp_name":"","wechat_channels":{"nickname":"风神集团","status":0}},"main_department":81,"alias":"","is_leader_in_dept":[0]},{"userid":"liuwenhui","name":"刘文辉","department":[177],"position":"主管","status":4,"extattr":{},"telephone":"","order":[268439552],"external_profile":{"external_corp_name":"","wechat_channels":{"nickname":"风神集团","status":0}},"main_department":177,"alias":"","is_leader_in_dept":[1],"direct_leader":["HRAG000041"]},{"userid":"lixinli","name":"李蕊莉","department":[171],"position":"仓管员","status":4,"extattr":{},"telephone":"","order":[268439552],"external_profile":{"external_corp_name":"","wechat_channels":{"nickname":"风神集团","status":0}},"main_department":171,"alias":"","is_leader_in_dept":[0],"direct_leader":["HRAG000003","HRAG000043"]}]', 'update', 'F00998', '李世钦', '2024-03-13T09:15:50+08:00');