From f9e6c208ce433cf1e91b4dff65268a788b26292e Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Mon, 22 Aug 2022 12:23:00 +0000 Subject: [PATCH] member is modified --- migrations/202208011200_initial_data/up.sql | 1384 ++++++++--------- .../member_game_setting/models.rs | 8 + .../member_game_setting/repository.rs | 13 + .../member_settlement_setting/models.rs | 8 + .../member_settlement_setting/repository.rs | 13 + src/services/member/service.rs | 160 +- 6 files changed, 832 insertions(+), 754 deletions(-) diff --git a/migrations/202208011200_initial_data/up.sql b/migrations/202208011200_initial_data/up.sql index 37510a2..29c9b88 100644 --- a/migrations/202208011200_initial_data/up.sql +++ b/migrations/202208011200_initial_data/up.sql @@ -126,367 +126,367 @@ INSERT INTO members( 'normal' ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - 'd2e0c759-ea4c-426b-ad2a-f8ff4750c859', - '8429a7ab-b9de-400b-a209-28ff46e22bec', '4b014ef5-3bab-4413-aaf9-b0040a70ec77', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', - 'bonsa0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '본사0레벨1', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- 'd2e0c759-ea4c-426b-ad2a-f8ff4750c859', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', '4b014ef5-3bab-4413-aaf9-b0040a70ec77', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', +-- 'bonsa0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '본사0레벨1', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - 'ef20589c-3405-4e77-9fd0-2068248b7673', - '8429a7ab-b9de-400b-a209-28ff46e22bec', '4b014ef5-3bab-4413-aaf9-b0040a70ec77', 'df49d067-d554-43b1-87f4-82fb246cec5f', - 'bonsa0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '본사0레벨2', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- 'ef20589c-3405-4e77-9fd0-2068248b7673', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', '4b014ef5-3bab-4413-aaf9-b0040a70ec77', 'df49d067-d554-43b1-87f4-82fb246cec5f', +-- 'bonsa0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '본사0레벨2', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '608c74a0-7397-48d5-9be9-db95e758f7a1', - '8429a7ab-b9de-400b-a209-28ff46e22bec', '4b014ef5-3bab-4413-aaf9-b0040a70ec77', '0cce35ee-9668-495e-8840-e3d7b5b01b76', - 'bonsa0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '본사0레벨3', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '608c74a0-7397-48d5-9be9-db95e758f7a1', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', '4b014ef5-3bab-4413-aaf9-b0040a70ec77', '0cce35ee-9668-495e-8840-e3d7b5b01b76', +-- 'bonsa0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '본사0레벨3', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '661a656a-56e7-4549-b5ca-05c517ae31f1', - '8429a7ab-b9de-400b-a209-28ff46e22bec', '4b014ef5-3bab-4413-aaf9-b0040a70ec77', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', - 'bonsa0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '본사0레벨4', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '661a656a-56e7-4549-b5ca-05c517ae31f1', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', '4b014ef5-3bab-4413-aaf9-b0040a70ec77', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', +-- 'bonsa0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '본사0레벨4', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '67910e4b-e31e-41a1-b45c-54b38faea032', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'ae9b874e-5d0e-4c4d-8432-f45f02691ceb', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', - 'daebon0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '대본0레벨1', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '67910e4b-e31e-41a1-b45c-54b38faea032', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'ae9b874e-5d0e-4c4d-8432-f45f02691ceb', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', +-- 'daebon0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '대본0레벨1', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '3b6832c3-1e5f-4135-8756-7dd20d38cb5a', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'ae9b874e-5d0e-4c4d-8432-f45f02691ceb', 'df49d067-d554-43b1-87f4-82fb246cec5f', - 'daebon0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '대본0레벨2', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '3b6832c3-1e5f-4135-8756-7dd20d38cb5a', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'ae9b874e-5d0e-4c4d-8432-f45f02691ceb', 'df49d067-d554-43b1-87f4-82fb246cec5f', +-- 'daebon0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '대본0레벨2', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'ae9b874e-5d0e-4c4d-8432-f45f02691ceb', '0cce35ee-9668-495e-8840-e3d7b5b01b76', - 'daebon0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '대본0레벨3', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'ae9b874e-5d0e-4c4d-8432-f45f02691ceb', '0cce35ee-9668-495e-8840-e3d7b5b01b76', +-- 'daebon0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '대본0레벨3', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '62ba1a59-3a3c-447a-a249-769233f4010d', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'ae9b874e-5d0e-4c4d-8432-f45f02691ceb', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', - 'daebon0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '대본0레벨4', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '62ba1a59-3a3c-447a-a249-769233f4010d', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'ae9b874e-5d0e-4c4d-8432-f45f02691ceb', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', +-- 'daebon0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '대본0레벨4', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - 'c305d2e1-8242-433e-9f2d-782012e080ae', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'f25a17e9-5c5f-4e9c-bf80-92a9cedf829c', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', - 'bubon0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '부본0레벨1', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- 'c305d2e1-8242-433e-9f2d-782012e080ae', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'f25a17e9-5c5f-4e9c-bf80-92a9cedf829c', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', +-- 'bubon0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '부본0레벨1', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - 'bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'f25a17e9-5c5f-4e9c-bf80-92a9cedf829c', 'df49d067-d554-43b1-87f4-82fb246cec5f', - 'bubon0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '부본0레벨2', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- 'bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'f25a17e9-5c5f-4e9c-bf80-92a9cedf829c', 'df49d067-d554-43b1-87f4-82fb246cec5f', +-- 'bubon0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '부본0레벨2', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'f25a17e9-5c5f-4e9c-bf80-92a9cedf829c', '0cce35ee-9668-495e-8840-e3d7b5b01b76', - 'bubon0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '부본0레벨3', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'f25a17e9-5c5f-4e9c-bf80-92a9cedf829c', '0cce35ee-9668-495e-8840-e3d7b5b01b76', +-- 'bubon0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '부본0레벨3', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - 'fdccd68f-772f-456e-9f5a-b63f0220ea51', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'f25a17e9-5c5f-4e9c-bf80-92a9cedf829c', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', - 'bubon0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '부본0레벨4', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- 'fdccd68f-772f-456e-9f5a-b63f0220ea51', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'f25a17e9-5c5f-4e9c-bf80-92a9cedf829c', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', +-- 'bubon0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '부본0레벨4', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - 'ab25afb2-3564-491e-82d8-7a0b6ee19d4a', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'cac7b897-2549-4f04-8415-8868f1dcb1da', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', - 'chongpan0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '총판0레벨1', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- 'ab25afb2-3564-491e-82d8-7a0b6ee19d4a', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'cac7b897-2549-4f04-8415-8868f1dcb1da', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', +-- 'chongpan0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '총판0레벨1', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - 'd509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'cac7b897-2549-4f04-8415-8868f1dcb1da', 'df49d067-d554-43b1-87f4-82fb246cec5f', - 'chongpan0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '총판0레벨2', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- 'd509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'cac7b897-2549-4f04-8415-8868f1dcb1da', 'df49d067-d554-43b1-87f4-82fb246cec5f', +-- 'chongpan0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '총판0레벨2', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'cac7b897-2549-4f04-8415-8868f1dcb1da', '0cce35ee-9668-495e-8840-e3d7b5b01b76', - 'chongpan0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '총판0레벨3', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'cac7b897-2549-4f04-8415-8868f1dcb1da', '0cce35ee-9668-495e-8840-e3d7b5b01b76', +-- 'chongpan0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '총판0레벨3', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '98022947-634e-478c-b214-bc593835af0f', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'cac7b897-2549-4f04-8415-8868f1dcb1da', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', - 'chongpan0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '총판0레벨4', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '98022947-634e-478c-b214-bc593835af0f', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'cac7b897-2549-4f04-8415-8868f1dcb1da', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', +-- 'chongpan0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '총판0레벨4', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '0655556a-2de5-4cc3-a0ea-b29336d57eb0', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'e11cac11-3825-4f4e-9cd5-39367f23f973', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', - 'maejang0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '매장0레벨1', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '0655556a-2de5-4cc3-a0ea-b29336d57eb0', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'e11cac11-3825-4f4e-9cd5-39367f23f973', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', +-- 'maejang0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '매장0레벨1', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'e11cac11-3825-4f4e-9cd5-39367f23f973', 'df49d067-d554-43b1-87f4-82fb246cec5f', - 'maejang0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '매장0레벨2', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'e11cac11-3825-4f4e-9cd5-39367f23f973', 'df49d067-d554-43b1-87f4-82fb246cec5f', +-- 'maejang0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '매장0레벨2', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - 'd4a15304-cd04-4983-a3bf-49aa5dcd6bc1', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'e11cac11-3825-4f4e-9cd5-39367f23f973', '0cce35ee-9668-495e-8840-e3d7b5b01b76', - 'maejang0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '매장0레벨3', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- 'd4a15304-cd04-4983-a3bf-49aa5dcd6bc1', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'e11cac11-3825-4f4e-9cd5-39367f23f973', '0cce35ee-9668-495e-8840-e3d7b5b01b76', +-- 'maejang0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '매장0레벨3', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '7293b9e0-8309-43d7-bf41-602f4d441085', - '8429a7ab-b9de-400b-a209-28ff46e22bec', 'e11cac11-3825-4f4e-9cd5-39367f23f973', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', - 'maejang0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '매장0레벨4', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '7293b9e0-8309-43d7-bf41-602f4d441085', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', 'e11cac11-3825-4f4e-9cd5-39367f23f973', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', +-- 'maejang0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '매장0레벨4', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', - '8429a7ab-b9de-400b-a209-28ff46e22bec', '4598f07a-86d1-42a4-b038-25706683a7cd', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', - 'user0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '회원0레벨1', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', '4598f07a-86d1-42a4-b038-25706683a7cd', 'c56231ac-2120-4a81-a30a-5d41fafb6c57', +-- 'user0lvl1', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '회원0레벨1', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - 'fce23cc0-8300-44cd-bf10-b72bd3d38bd6', - '8429a7ab-b9de-400b-a209-28ff46e22bec', '4598f07a-86d1-42a4-b038-25706683a7cd', 'df49d067-d554-43b1-87f4-82fb246cec5f', - 'user0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '회원0레벨2', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- 'fce23cc0-8300-44cd-bf10-b72bd3d38bd6', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', '4598f07a-86d1-42a4-b038-25706683a7cd', 'df49d067-d554-43b1-87f4-82fb246cec5f', +-- 'user0lvl2', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '회원0레벨2', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - '6157b835-1f23-49de-8330-e003ddf7b58e', - '8429a7ab-b9de-400b-a209-28ff46e22bec', '4598f07a-86d1-42a4-b038-25706683a7cd', '0cce35ee-9668-495e-8840-e3d7b5b01b76', - 'user0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '회원0레벨3', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- '6157b835-1f23-49de-8330-e003ddf7b58e', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', '4598f07a-86d1-42a4-b038-25706683a7cd', '0cce35ee-9668-495e-8840-e3d7b5b01b76', +-- 'user0lvl3', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '회원0레벨3', '', +-- 'normal' +-- ); -INSERT INTO members( - id, - site_id, member_class_id, member_level_id, - username, password, nickname, mobile_phone_number, - state - ) VALUES ( - 'eafcf73c-c98b-44a2-847b-751a3aebbaa6', - '8429a7ab-b9de-400b-a209-28ff46e22bec', '4598f07a-86d1-42a4-b038-25706683a7cd', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', - 'user0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '회원0레벨4', '', - 'normal' - ); +-- INSERT INTO members( +-- id, +-- site_id, member_class_id, member_level_id, +-- username, password, nickname, mobile_phone_number, +-- state +-- ) VALUES ( +-- 'eafcf73c-c98b-44a2-847b-751a3aebbaa6', +-- '8429a7ab-b9de-400b-a209-28ff46e22bec', '4598f07a-86d1-42a4-b038-25706683a7cd', 'e7e768d7-1d3d-4ae1-866d-4db1c1f0d9a5', +-- 'user0lvl4', '$argon2i$v=19$m=4096,t=3,p=1$QCReKikxMzU3OXdyeWlwUUVUVU8$jruoYOS29M2SwAyQNVre/ND4kNWcIg3++24uGl9+2BI', '회원0레벨4', '', +-- 'normal' +-- ); -- member role of administrator INSERT INTO member_roles (member_id, role_id) VALUES ('8239f500-ebf7-4900-9fa9-4a9368a409e4', '96993de5-d628-434d-a6cb-55a84a35db1a'); --- member role of partner --- 본사0레벨1 -INSERT INTO member_roles (member_id, role_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 본사0레벨2 -INSERT INTO member_roles (member_id, role_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 본사0레벨3 -INSERT INTO member_roles (member_id, role_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 본사0레벨4 -INSERT INTO member_roles (member_id, role_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 대본0레벨1 -INSERT INTO member_roles (member_id, role_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 대본0레벨2 -INSERT INTO member_roles (member_id, role_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 대본0레벨3 -INSERT INTO member_roles (member_id, role_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 대본0레벨4 -INSERT INTO member_roles (member_id, role_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 부본0레벨1 -INSERT INTO member_roles (member_id, role_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 부본0레벨2 -INSERT INTO member_roles (member_id, role_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 부본0레벨3 -INSERT INTO member_roles (member_id, role_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 부본0레벨4 -INSERT INTO member_roles (member_id, role_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 총판0레벨1 -INSERT INTO member_roles (member_id, role_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 총판0레벨2 -INSERT INTO member_roles (member_id, role_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 총판0레벨3 -INSERT INTO member_roles (member_id, role_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 총판0레벨4 -INSERT INTO member_roles (member_id, role_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 매장0레벨1 -INSERT INTO member_roles (member_id, role_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 매장0레벨2 -INSERT INTO member_roles (member_id, role_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 매장0레벨3 -INSERT INTO member_roles (member_id, role_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- 매장0레벨4 -INSERT INTO member_roles (member_id, role_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- member role of partner +-- -- 본사0레벨1 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 본사0레벨2 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 본사0레벨3 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 본사0레벨4 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 대본0레벨1 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 대본0레벨2 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 대본0레벨3 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 대본0레벨4 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 부본0레벨1 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 부본0레벨2 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 부본0레벨3 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 부본0레벨4 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 총판0레벨1 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 총판0레벨2 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 총판0레벨3 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 총판0레벨4 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 매장0레벨1 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 매장0레벨2 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 매장0레벨3 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); +-- -- 매장0레벨4 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', 'ac1c4ea4-1de8-46b6-8239-4fd67a1ba205'); --- member role of user --- 회원0레벨1 -INSERT INTO member_roles (member_id, role_id) VALUES ('1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', 'b6a2b662-e21e-44e7-a96c-dacd86f9d6b8'); --- 회원0레벨2 -INSERT INTO member_roles (member_id, role_id) VALUES ('fce23cc0-8300-44cd-bf10-b72bd3d38bd6', 'b6a2b662-e21e-44e7-a96c-dacd86f9d6b8'); --- 회원0레벨3 -INSERT INTO member_roles (member_id, role_id) VALUES ('6157b835-1f23-49de-8330-e003ddf7b58e', 'b6a2b662-e21e-44e7-a96c-dacd86f9d6b8'); --- 회원0레벨4 -INSERT INTO member_roles (member_id, role_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', 'b6a2b662-e21e-44e7-a96c-dacd86f9d6b8'); +-- -- member role of user +-- -- 회원0레벨1 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', 'b6a2b662-e21e-44e7-a96c-dacd86f9d6b8'); +-- -- 회원0레벨2 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('fce23cc0-8300-44cd-bf10-b72bd3d38bd6', 'b6a2b662-e21e-44e7-a96c-dacd86f9d6b8'); +-- -- 회원0레벨3 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('6157b835-1f23-49de-8330-e003ddf7b58e', 'b6a2b662-e21e-44e7-a96c-dacd86f9d6b8'); +-- -- 회원0레벨4 +-- INSERT INTO member_roles (member_id, role_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', 'b6a2b662-e21e-44e7-a96c-dacd86f9d6b8'); -- permission of administrator @@ -508,409 +508,409 @@ INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('8239f500 INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('8239f500-ebf7-4900-9fa9-4a9368a409e4', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- permission of partner --- 본사0레벨1 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- permission of partner +-- -- 본사0레벨1 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d2e0c759-ea4c-426b-ad2a-f8ff4750c859', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 본사0레벨2 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 본사0레벨2 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ef20589c-3405-4e77-9fd0-2068248b7673', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 본사0레벨3 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 본사0레벨3 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('608c74a0-7397-48d5-9be9-db95e758f7a1', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 본사0레벨4 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 본사0레벨4 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('661a656a-56e7-4549-b5ca-05c517ae31f1', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 대본0레벨1 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 대본0레벨1 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('67910e4b-e31e-41a1-b45c-54b38faea032', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 대본0레벨2 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 대본0레벨2 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('3b6832c3-1e5f-4135-8756-7dd20d38cb5a', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 대본0레벨3 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 대본0레벨3 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('9c60a6c0-704b-4231-8e3f-fbd17e2ecf3e', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 대본0레벨4 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 대본0레벨4 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('62ba1a59-3a3c-447a-a249-769233f4010d', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 부본0레벨1 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 부본0레벨1 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('c305d2e1-8242-433e-9f2d-782012e080ae', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 부본0레벨2 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 부본0레벨2 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('bf4a673c-5cd5-49e5-81e5-f5afaf4a270a', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 부본0레벨3 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 부본0레벨3 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('40fa38e8-b47e-4ccc-bb2f-16dd9fb9e2e4', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 부본0레벨4 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 부본0레벨4 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fdccd68f-772f-456e-9f5a-b63f0220ea51', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 총판0레벨1 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 총판0레벨1 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('ab25afb2-3564-491e-82d8-7a0b6ee19d4a', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 총판0레벨2 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 총판0레벨2 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d509bb82-35e9-4bd6-81d0-0f0bdd5fdf2f', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 총판0레벨3 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 총판0레벨3 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('125fe2e8-7fe1-425b-81f8-8d0bd4d8a117', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 총판0레벨4 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 총판0레벨4 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('98022947-634e-478c-b214-bc593835af0f', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 매장0레벨1 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 매장0레벨1 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('0655556a-2de5-4cc3-a0ea-b29336d57eb0', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 매장0레벨2 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 매장0레벨2 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('011e28af-d2c8-4c9a-ae64-45ea8a8e6e5d', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 매장0레벨3 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 매장0레벨3 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('d4a15304-cd04-4983-a3bf-49aa5dcd6bc1', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- 매장0레벨4 --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '37b99823-188b-4b30-afb7-815a7e79662b'); --- member.create -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); --- member.delete -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '83304e75-6760-497e-b25f-3ebd6586af34'); --- member.read -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); --- member.report -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); --- member.search -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); --- member.update -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); +-- -- 매장0레벨4 +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- member.create +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '9d1afd68-bf25-4e0b-8e85-c064d1d0b33f'); +-- -- member.delete +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '83304e75-6760-497e-b25f-3ebd6586af34'); +-- -- member.read +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '0966592e-a7ff-434d-86cf-17b5fc6dbde8'); +-- -- member.report +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', 'f29ecfb6-a3f9-46f5-85d9-8a44a1c8df66'); +-- -- member.search +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', '45d4b3ce-5b1f-487c-a40b-ecb209b58046'); +-- -- member.update +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('7293b9e0-8309-43d7-bf41-602f4d441085', 'd8165ce7-4135-41ba-b022-c2e7b1346ea6'); --- permission of user --- 회원0레벨1 --- identity.signup -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', 'e71bbb2b-d3f5-43a3-82a1-b5485a65bbbf'); --- identity.withdraw -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', '68181eee-0b44-4cfa-8cd9-6c95d4369fd5'); --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- permission of user +-- -- 회원0레벨1 +-- -- identity.signup +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', 'e71bbb2b-d3f5-43a3-82a1-b5485a65bbbf'); +-- -- identity.withdraw +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', '68181eee-0b44-4cfa-8cd9-6c95d4369fd5'); +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('1dfbb52c-7c88-4cce-89b5-36c71a5a17ff', '37b99823-188b-4b30-afb7-815a7e79662b'); --- 회원0레벨2 --- identity.signup -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fce23cc0-8300-44cd-bf10-b72bd3d38bd6', 'e71bbb2b-d3f5-43a3-82a1-b5485a65bbbf'); --- identity.withdraw -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fce23cc0-8300-44cd-bf10-b72bd3d38bd6', '68181eee-0b44-4cfa-8cd9-6c95d4369fd5'); --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fce23cc0-8300-44cd-bf10-b72bd3d38bd6', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fce23cc0-8300-44cd-bf10-b72bd3d38bd6', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- 회원0레벨2 +-- -- identity.signup +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fce23cc0-8300-44cd-bf10-b72bd3d38bd6', 'e71bbb2b-d3f5-43a3-82a1-b5485a65bbbf'); +-- -- identity.withdraw +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fce23cc0-8300-44cd-bf10-b72bd3d38bd6', '68181eee-0b44-4cfa-8cd9-6c95d4369fd5'); +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fce23cc0-8300-44cd-bf10-b72bd3d38bd6', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('fce23cc0-8300-44cd-bf10-b72bd3d38bd6', '37b99823-188b-4b30-afb7-815a7e79662b'); --- 회원0레벨3 --- identity.signup -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('6157b835-1f23-49de-8330-e003ddf7b58e', 'e71bbb2b-d3f5-43a3-82a1-b5485a65bbbf'); --- identity.withdraw -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('6157b835-1f23-49de-8330-e003ddf7b58e', '68181eee-0b44-4cfa-8cd9-6c95d4369fd5'); --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('6157b835-1f23-49de-8330-e003ddf7b58e', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('6157b835-1f23-49de-8330-e003ddf7b58e', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- 회원0레벨3 +-- -- identity.signup +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('6157b835-1f23-49de-8330-e003ddf7b58e', 'e71bbb2b-d3f5-43a3-82a1-b5485a65bbbf'); +-- -- identity.withdraw +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('6157b835-1f23-49de-8330-e003ddf7b58e', '68181eee-0b44-4cfa-8cd9-6c95d4369fd5'); +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('6157b835-1f23-49de-8330-e003ddf7b58e', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('6157b835-1f23-49de-8330-e003ddf7b58e', '37b99823-188b-4b30-afb7-815a7e79662b'); --- 회원0레벨4 --- identity.signup -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', 'e71bbb2b-d3f5-43a3-82a1-b5485a65bbbf'); --- identity.withdraw -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', '68181eee-0b44-4cfa-8cd9-6c95d4369fd5'); --- identity.signin -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); --- identity.signout -INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', '37b99823-188b-4b30-afb7-815a7e79662b'); +-- -- 회원0레벨4 +-- -- identity.signup +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', 'e71bbb2b-d3f5-43a3-82a1-b5485a65bbbf'); +-- -- identity.withdraw +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', '68181eee-0b44-4cfa-8cd9-6c95d4369fd5'); +-- -- identity.signin +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', '75588b0c-ee9e-4af1-a183-c43f67b5aa9b'); +-- -- identity.signout +-- INSERT INTO member_permissions (member_id, resource_action_id) VALUES ('eafcf73c-c98b-44a2-847b-751a3aebbaa6', '37b99823-188b-4b30-afb7-815a7e79662b'); diff --git a/src/repositories/member_game_setting/models.rs b/src/repositories/member_game_setting/models.rs index 7ed69ef..e677a22 100644 --- a/src/repositories/member_game_setting/models.rs +++ b/src/repositories/member_game_setting/models.rs @@ -47,6 +47,14 @@ pub struct NewMemberGameSetting { pub can_bet_bogglepowerball: bool, } +/// +#[derive(Insertable, Debug, Clone)] +#[table_name = "member_game_settings"] +pub struct NewMemberGameSettingForDefault { + /// + pub member_id: uuid::Uuid, +} + /// #[derive(AsChangeset, Debug, Clone)] #[table_name = "member_game_settings"] diff --git a/src/repositories/member_game_setting/repository.rs b/src/repositories/member_game_setting/repository.rs index 3536f7a..af14c00 100644 --- a/src/repositories/member_game_setting/repository.rs +++ b/src/repositories/member_game_setting/repository.rs @@ -40,6 +40,19 @@ impl Repository { Ok(inserted) } + /// + pub fn insert_with_default( + &self, + conn: &diesel::PgConnection, + new_resource: &models::NewMemberGameSettingForDefault, + ) -> Result { + let inserted = diesel::insert_into(member_game_settings::table) + .values(new_resource) + .get_result::(conn)?; + + Ok(inserted) + } + /// pub fn select( &self, diff --git a/src/repositories/member_settlement_setting/models.rs b/src/repositories/member_settlement_setting/models.rs index 9c388d8..6d4253f 100644 --- a/src/repositories/member_settlement_setting/models.rs +++ b/src/repositories/member_settlement_setting/models.rs @@ -103,6 +103,14 @@ pub struct NewMemberSettlementSetting { pub rate_bogglepowerball_combo: f64, } +/// +#[derive(Insertable, Debug, Clone)] +#[table_name = "member_settlement_settings"] +pub struct NewMemberSettlementSettingForDefault { + /// + pub member_id: uuid::Uuid, +} + /// #[derive(AsChangeset, Debug, Clone)] #[table_name = "member_settlement_settings"] diff --git a/src/repositories/member_settlement_setting/repository.rs b/src/repositories/member_settlement_setting/repository.rs index 37e2425..9ea5a7c 100644 --- a/src/repositories/member_settlement_setting/repository.rs +++ b/src/repositories/member_settlement_setting/repository.rs @@ -40,6 +40,19 @@ impl Repository { Ok(inserted) } + /// + pub fn insert_with_default( + &self, + conn: &diesel::PgConnection, + new_resource: &models::NewMemberSettlementSettingForDefault, + ) -> Result { + let inserted = diesel::insert_into(member_settlement_settings::table) + .values(new_resource) + .get_result::(conn)?; + + Ok(inserted) + } + /// pub fn select( &self, diff --git a/src/services/member/service.rs b/src/services/member/service.rs index 728bc20..084134c 100644 --- a/src/services/member/service.rs +++ b/src/services/member/service.rs @@ -391,70 +391,106 @@ impl Service<'_> { })?; } - if let Some(a) = request.game_setting { - let new_member_game_setting = - repositories::member_game_setting::models::NewMemberGameSetting { - member_id: m.id, - can_bet_casino: a.can_bet_casino, - can_bet_slot: a.can_bet_slot, - can_bet_powerball: a.can_bet_powerball, - can_bet_powerladder: a.can_bet_powerladder, - can_bet_eos: a.can_bet_eos, - can_bet_bogglepowerball: a.can_bet_bogglepowerball, - }; - self - .member_game_setting_repository - .insert(&conn, &new_member_game_setting) - .map_err(|e| { - bcr::error::rpc::Error::Server(bcr::error::rpc::Server { - code: bpr::protobuf::rpc::Error::SERVER_00, - message: format!("server {}", e), - data: None, - }) - })?; + match request.game_setting { + Some(a) => { + let new_member_game_setting = + repositories::member_game_setting::models::NewMemberGameSetting { + member_id: m.id, + can_bet_casino: a.can_bet_casino, + can_bet_slot: a.can_bet_slot, + can_bet_powerball: a.can_bet_powerball, + can_bet_powerladder: a.can_bet_powerladder, + can_bet_eos: a.can_bet_eos, + can_bet_bogglepowerball: a.can_bet_bogglepowerball, + }; + self + .member_game_setting_repository + .insert(&conn, &new_member_game_setting) + .map_err(|e| { + bcr::error::rpc::Error::Server(bcr::error::rpc::Server { + code: bpr::protobuf::rpc::Error::SERVER_00, + message: format!("server {}", e), + data: None, + }) + })?; + } + None => { + let new_member_game_setting = + repositories::member_game_setting::models::NewMemberGameSettingForDefault { + member_id: m.id, + }; + self + .member_game_setting_repository + .insert_with_default(&conn, &new_member_game_setting) + .map_err(|e| { + bcr::error::rpc::Error::Server(bcr::error::rpc::Server { + code: bpr::protobuf::rpc::Error::SERVER_00, + message: format!("server {}", e), + data: None, + }) + })?; + } } - if let Some(a) = request.settlement_setting { - let new_member_settlement_setting = - repositories::member_settlement_setting::models::NewMemberSettlementSetting { - member_id: m.id, - can_exchange: a.can_exchange, - can_first_charge_comp: a.can_first_charge_comp, - can_per_charge_comp: a.can_per_charge_comp, - manual_payment_type_for_partner: - repositories::member_settlement_setting::schema::ManualPaymentType::from( - a.manual_payment_type_for_partner, - ), - settlement_type: - repositories::member_settlement_setting::schema::SettlementType::from( - a.settlement_type, - ), - rate_casino: a.rate_casino, - rate_casino_loosing: a.rate_casino_loosing, - rate_casino_bacara: a.rate_casino_bacara, - rate_casino_roulette: a.rate_casino_roulette, - rate_casino_dragon_tiger: a.rate_casino_dragon_tiger, - rate_slot: a.rate_slot, - rate_slot_loosing: a.rate_slot_loosing, - rate_powerball_single: a.rate_powerball_single, - rate_powerball_combo: a.rate_powerball_combo, - rate_powerladder_single: a.rate_powerladder_single, - rate_powerladder_combo: a.rate_powerladder_combo, - rate_eos_single: a.rate_eos_single, - rate_eos_combo: a.rate_eos_combo, - rate_bogglepowerball_single: a.rate_bogglepowerball_single, - rate_bogglepowerball_combo: a.rate_bogglepowerball_combo, - }; - self - .member_settlement_setting_repository - .insert(&conn, &new_member_settlement_setting) - .map_err(|e| { - bcr::error::rpc::Error::Server(bcr::error::rpc::Server { - code: bpr::protobuf::rpc::Error::SERVER_00, - message: format!("server {}", e), - data: None, - }) - })?; + match request.settlement_setting { + Some(a) => { + let new_member_settlement_setting = + repositories::member_settlement_setting::models::NewMemberSettlementSetting { + member_id: m.id, + can_exchange: a.can_exchange, + can_first_charge_comp: a.can_first_charge_comp, + can_per_charge_comp: a.can_per_charge_comp, + manual_payment_type_for_partner: + repositories::member_settlement_setting::schema::ManualPaymentType::from( + a.manual_payment_type_for_partner, + ), + settlement_type: + repositories::member_settlement_setting::schema::SettlementType::from( + a.settlement_type, + ), + rate_casino: a.rate_casino, + rate_casino_loosing: a.rate_casino_loosing, + rate_casino_bacara: a.rate_casino_bacara, + rate_casino_roulette: a.rate_casino_roulette, + rate_casino_dragon_tiger: a.rate_casino_dragon_tiger, + rate_slot: a.rate_slot, + rate_slot_loosing: a.rate_slot_loosing, + rate_powerball_single: a.rate_powerball_single, + rate_powerball_combo: a.rate_powerball_combo, + rate_powerladder_single: a.rate_powerladder_single, + rate_powerladder_combo: a.rate_powerladder_combo, + rate_eos_single: a.rate_eos_single, + rate_eos_combo: a.rate_eos_combo, + rate_bogglepowerball_single: a.rate_bogglepowerball_single, + rate_bogglepowerball_combo: a.rate_bogglepowerball_combo, + }; + self + .member_settlement_setting_repository + .insert(&conn, &new_member_settlement_setting) + .map_err(|e| { + bcr::error::rpc::Error::Server(bcr::error::rpc::Server { + code: bpr::protobuf::rpc::Error::SERVER_00, + message: format!("server {}", e), + data: None, + }) + })?; + } + None => { + let new_member_settlement_setting = + repositories::member_settlement_setting::models::NewMemberSettlementSettingForDefault { + member_id: m.id, + }; + self + .member_settlement_setting_repository + .insert_with_default(&conn, &new_member_settlement_setting) + .map_err(|e| { + bcr::error::rpc::Error::Server(bcr::error::rpc::Server { + code: bpr::protobuf::rpc::Error::SERVER_00, + message: format!("server {}", e), + data: None, + }) + })?; + } } let member = self.member_composition.select(&conn, m.id).map_err(|e| {