巴林闲侠 2 years ago
parent
commit
0adf633ecd
  1. 38
      scripts/1.2.2/schema/4.insert_resource.sql
  2. 0
      scripts/1.2.2/schema/5.update_user_resource.sql

38
scripts/1.2.2/schema/4.insert_resource.sql

@ -1,19 +1,19 @@
INSERT INTO public.resource (code, name, parent_resource) VALUES ('ALLSELECT', '全选', null);
INSERT INTO public.resource (code, name, parent_resource) VALUES ('USERMANAGE', '用户管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('AUTHORIMANAGE', '权限管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('OVERLOADMANAGE', '治超管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('ROADMANAGE', '道路管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('BRIDGEMANAGE', '桥梁管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('MAINTENANCEMANAGE', '管养管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('TRANSPORTATIONMANAGE', '运政管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('CONSERVATIONMANAGE', '养护管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('PATROLMANAGE', '巡查管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('PUBLICTRANSPORTMANAGE', '公交管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('FILEMANAGE', '档案管理', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('PUBLICITYVIDEO', '宣传视频', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('FEEDBACKMANAGE', '异常反馈', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('REPORTMANAGE', '建设上报', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('WXPATROLREPORT', '小程序巡查上报', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('WXMAINTENANCEREPORT', '小程序养护上报', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('WXFEEDBACKMANAGE', '小程序异常反馈', 'ALLSELECT');
INSERT INTO public.resource (code, name, parent_resource) VALUES ('WXBUILDINGROAD', '小程序在建道路', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('ALLSELECT', '全选', null);
INSERT INTO resource (code, name, parent_resource) VALUES ('USERMANAGE', '用户管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('AUTHORIMANAGE', '权限管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('OVERLOADMANAGE', '治超管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('ROADMANAGE', '道路管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('BRIDGEMANAGE', '桥梁管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('MAINTENANCEMANAGE', '管养管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('TRANSPORTATIONMANAGE', '运政管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('CONSERVATIONMANAGE', '养护管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('PATROLMANAGE', '巡查管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('PUBLICTRANSPORTMANAGE', '公交管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('FILEMANAGE', '档案管理', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('PUBLICITYVIDEO', '宣传视频', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('FEEDBACKMANAGE', '异常反馈', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('REPORTMANAGE', '建设上报', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('WXPATROLREPORT', '小程序巡查上报', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('WXMAINTENANCEREPORT', '小程序养护上报', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('WXFEEDBACKMANAGE', '小程序异常反馈', 'ALLSELECT');
INSERT INTO resource (code, name, parent_resource) VALUES ('WXBUILDINGROAD', '小程序在建道路', 'ALLSELECT');

0
scripts/1.2.2/5.update_user_resource.sql → scripts/1.2.2/schema/5.update_user_resource.sql

Loading…
Cancel
Save