From faeaec757679847a2ea6f302bb3d60cdd0348fb9 Mon Sep 17 00:00:00 2001 From: dengyinhuan Date: Tue, 28 Feb 2023 16:27:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/1.0.3/schema/11.update_resource.sql | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 script/1.0.3/schema/11.update_resource.sql diff --git a/script/1.0.3/schema/11.update_resource.sql b/script/1.0.3/schema/11.update_resource.sql new file mode 100644 index 0000000..eed80bf --- /dev/null +++ b/script/1.0.3/schema/11.update_resource.sql @@ -0,0 +1,9 @@ +INSERT INTO public.resource (code, name, parent_resource) VALUES ('SHENHE', '审核', 'WENTICHULI'); +INSERT INTO public.resource (code, name, parent_resource) VALUES ('ZHIDINGJIHUA', '制定计划', 'WENTICHULI'); +INSERT INTO public.resource (code, name, parent_resource) VALUES ('CHAKANXIANGQING', '查看详情', 'WENTICHULI'); +DELETE FROM public.user_resource WHERE id = 16; +DELETE FROM public.user_resource WHERE id = 17; +DELETE FROM public.user_resource WHERE id = 18; +INSERT INTO public.user_resource (id,user_id,resource) VALUES (16, 1, 'SHENHE'); +INSERT INTO public.user_resource (id,user_id,resource) VALUES (17, 1, 'ZHIDINGJIHUA'); +INSERT INTO public.user_resource (id,user_id,resource) VALUES (18, 1, 'CHAKANXIANGQING'); \ No newline at end of file