浏览代码

添加系统模块相关表

asmalltownboy 3 年之前
父节点
当前提交
baadaf2500

+ 186 - 76
数据库/PDMAN/.back_GuangZuan/GuangZuan-backup-2022622144916.pdma.json → 数据库/PDMAN/.back_GuangZuan/GuangZuan-backup-2022622152859.pdma.json

@@ -4,7 +4,7 @@
   "avatar": "",
   "version": "4.1.1",
   "createdTime": "2022-6-17 13:12:04",
-  "updatedTime": "2022-6-22 14:48:33",
+  "updatedTime": "2022-6-22 15:28:57",
   "dbConns": [],
   "profile": {
     "default": {
@@ -762,7 +762,7 @@
           "notNull": false,
           "autoIncrement": false,
           "defaultValue": "",
-          "hideInGraph": true,
+          "hideInGraph": false,
           "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
           "refDict": "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D",
           "extProps": {},
@@ -779,7 +779,7 @@
           "notNull": false,
           "autoIncrement": false,
           "defaultValue": "",
-          "hideInGraph": true,
+          "hideInGraph": false,
           "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
           "refDict": "",
           "extProps": {},
@@ -922,6 +922,91 @@
           "id": "CB2399AC-46A9-4950-B363-36EB99917D50"
         },
         {
+          "defKey": "country_id",
+          "defName": "国家",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "E8BAAA41-B99D-4561-A35A-5EB3900D2BB7"
+        },
+        {
+          "defKey": "province_id",
+          "defName": "省",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "6EB54534-9293-4A4A-8789-B0BCD39B99FB"
+        },
+        {
+          "defKey": "city_id",
+          "defName": "市",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "B080E742-2077-4329-869B-590BDE5087D9"
+        },
+        {
+          "defKey": "district_id",
+          "defName": "地区",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "4A100BA8-C948-4E76-B55F-B4F0025CA38A"
+        },
+        {
+          "defKey": "address",
+          "defName": "地址",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "441522E8-1307-45E7-B265-3AED4DA401C7",
+          "refDict": "",
+          "extProps": {},
+          "id": "3A671C90-6D9E-4179-97EC-3A02B7ADB612"
+        },
+        {
           "defKey": "created_ip",
           "defName": "注册IP",
           "comment": "",
@@ -990,23 +1075,6 @@
           "id": "E64D8D1B-23CA-4625-ADD0-F105C0675E00"
         },
         {
-          "defKey": "area",
-          "defName": "地区",
-          "comment": "",
-          "type": "",
-          "len": "",
-          "scale": "",
-          "primaryKey": false,
-          "notNull": false,
-          "autoIncrement": false,
-          "defaultValue": "",
-          "hideInGraph": true,
-          "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
-          "refDict": "",
-          "extProps": {},
-          "id": "D0226B5A-431B-4199-A9C2-80728036ED32"
-        },
-        {
           "defKey": "role",
           "defName": "角色",
           "comment": "1-核心会员 2-普通会员 3-终端用户",
@@ -1075,16 +1143,7 @@
           "id": "CC0712A8-9D60-4252-82E4-6D04CA50A0BA"
         }
       ],
-      "correlations": [
-        {
-          "myField": "531C970B-62CC-464D-BA93-6A7E24369482",
-          "refEntity": "B6E3D1C6-BDB9-4866-BA12-8D6BDBB54922",
-          "refField": "CDB03EAC-6131-4F34-A8CB-D66A167BC37B",
-          "myRows": "n",
-          "refRows": "1",
-          "innerType": ""
-        }
-      ],
+      "correlations": [],
       "indexes": []
     },
     {
@@ -2264,7 +2323,58 @@
           "id": "7682A0EB-BB9A-4ED2-BABF-2299186A5F29"
         },
         {
-          "defKey": "area",
+          "defKey": "country_id",
+          "defName": "国家",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "BDF565B7-0471-4C3E-A439-FCB98A2E0180"
+        },
+        {
+          "defKey": "province_id",
+          "defName": "省",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "269D21DA-57BC-4117-B763-E6234146D804"
+        },
+        {
+          "defKey": "city_id",
+          "defName": "市",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "28E401C6-0F7C-48EB-B3B0-53D1DA577484"
+        },
+        {
+          "defKey": "district_id",
           "defName": "地区",
           "comment": "",
           "type": "",
@@ -2275,10 +2385,10 @@
           "autoIncrement": false,
           "defaultValue": "",
           "hideInGraph": false,
-          "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
           "refDict": "",
           "extProps": {},
-          "id": "5ADF2019-D974-467F-92AC-3114BEAA1885"
+          "id": "E152BC28-4500-45D1-A11F-31A91CF9B2C2"
         },
         {
           "defKey": "address",
@@ -2299,8 +2409,8 @@
         },
         {
           "defKey": "default_flag",
-          "defName": "默认地址",
-          "comment": "默认地址:0-否1-是",
+          "defName": "是否默认",
+          "comment": "0-否1-是",
           "type": "",
           "len": "",
           "scale": "",
@@ -3879,7 +3989,7 @@
         }
       },
       "defKey": "member_role_menu",
-      "defName": "角色菜单表",
+      "defName": "会员角色菜单表",
       "comment": "脚本初始化 1:核心会员 2:普通会员",
       "properties": {
         "partitioned by": "(date string)",
@@ -8465,46 +8575,6 @@
       "canvasData": {
         "cells": [
           {
-            "id": "240a95e1-6682-46e1-aaa0-cf1b77fb24de",
-            "shape": "table",
-            "position": {
-              "x": -490,
-              "y": -640
-            },
-            "count": 0,
-            "originKey": "DA07AECF-B098-44F6-8D39-F02849692F08"
-          },
-          {
-            "id": "219e689e-7599-4305-87bf-078d7dec737f",
-            "shape": "table",
-            "position": {
-              "x": 80,
-              "y": -620
-            },
-            "count": 0,
-            "originKey": "C592C7E6-24F0-4986-AD76-617BD01C0541"
-          },
-          {
-            "id": "74609355-2e7d-4b79-a2cb-bbed0f578968",
-            "shape": "table",
-            "position": {
-              "x": -531.5,
-              "y": -370
-            },
-            "count": 0,
-            "originKey": "E3AF68EA-95EC-49FF-8BE5-F83525ABED2D"
-          },
-          {
-            "id": "d83e5ccf-936e-4bf3-9719-78320424ef45",
-            "shape": "table",
-            "position": {
-              "x": 20,
-              "y": -142
-            },
-            "count": 0,
-            "originKey": "DEFB16E2-1761-489E-A477-E5719163D764"
-          },
-          {
             "id": "a252e7f2-5269-4ec2-997d-939d7081ce5f",
             "shape": "erdRelation",
             "source": {
@@ -8656,6 +8726,46 @@
             },
             "count": 0,
             "originKey": "679980B7-B33B-4E51-A984-F09B1CA37C2F"
+          },
+          {
+            "id": "219e689e-7599-4305-87bf-078d7dec737f",
+            "shape": "table",
+            "position": {
+              "x": 80,
+              "y": -620
+            },
+            "count": 0,
+            "originKey": "C592C7E6-24F0-4986-AD76-617BD01C0541"
+          },
+          {
+            "id": "d83e5ccf-936e-4bf3-9719-78320424ef45",
+            "shape": "table",
+            "position": {
+              "x": 20,
+              "y": -140
+            },
+            "count": 0,
+            "originKey": "DEFB16E2-1761-489E-A477-E5719163D764"
+          },
+          {
+            "id": "74609355-2e7d-4b79-a2cb-bbed0f578968",
+            "shape": "table",
+            "position": {
+              "x": -531.5,
+              "y": -370
+            },
+            "count": 0,
+            "originKey": "E3AF68EA-95EC-49FF-8BE5-F83525ABED2D"
+          },
+          {
+            "id": "240a95e1-6682-46e1-aaa0-cf1b77fb24de",
+            "shape": "table",
+            "position": {
+              "x": -528.5,
+              "y": -720
+            },
+            "count": 0,
+            "originKey": "DA07AECF-B098-44F6-8D39-F02849692F08"
           }
         ]
       },

+ 194 - 84
数据库/PDMAN/.back_GuangZuan/GuangZuan-backup-2022622144833.pdma.json → 数据库/PDMAN/.back_GuangZuan/GuangZuan-backup-2022622152932.pdma.json

@@ -4,7 +4,7 @@
   "avatar": "",
   "version": "4.1.1",
   "createdTime": "2022-6-17 13:12:04",
-  "updatedTime": "2022-6-22 14:47:53",
+  "updatedTime": "2022-6-22 15:28:59",
   "dbConns": [],
   "profile": {
     "default": {
@@ -762,7 +762,7 @@
           "notNull": false,
           "autoIncrement": false,
           "defaultValue": "",
-          "hideInGraph": true,
+          "hideInGraph": false,
           "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
           "refDict": "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D",
           "extProps": {},
@@ -779,7 +779,7 @@
           "notNull": false,
           "autoIncrement": false,
           "defaultValue": "",
-          "hideInGraph": true,
+          "hideInGraph": false,
           "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
           "refDict": "",
           "extProps": {},
@@ -922,6 +922,91 @@
           "id": "CB2399AC-46A9-4950-B363-36EB99917D50"
         },
         {
+          "defKey": "country_id",
+          "defName": "国家",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "E8BAAA41-B99D-4561-A35A-5EB3900D2BB7"
+        },
+        {
+          "defKey": "province_id",
+          "defName": "省",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "6EB54534-9293-4A4A-8789-B0BCD39B99FB"
+        },
+        {
+          "defKey": "city_id",
+          "defName": "市",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "B080E742-2077-4329-869B-590BDE5087D9"
+        },
+        {
+          "defKey": "district_id",
+          "defName": "地区",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "4A100BA8-C948-4E76-B55F-B4F0025CA38A"
+        },
+        {
+          "defKey": "address",
+          "defName": "地址",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "441522E8-1307-45E7-B265-3AED4DA401C7",
+          "refDict": "",
+          "extProps": {},
+          "id": "3A671C90-6D9E-4179-97EC-3A02B7ADB612"
+        },
+        {
           "defKey": "created_ip",
           "defName": "注册IP",
           "comment": "",
@@ -990,23 +1075,6 @@
           "id": "E64D8D1B-23CA-4625-ADD0-F105C0675E00"
         },
         {
-          "defKey": "area",
-          "defName": "地区",
-          "comment": "",
-          "type": "",
-          "len": "",
-          "scale": "",
-          "primaryKey": false,
-          "notNull": false,
-          "autoIncrement": false,
-          "defaultValue": "",
-          "hideInGraph": true,
-          "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
-          "refDict": "",
-          "extProps": {},
-          "id": "D0226B5A-431B-4199-A9C2-80728036ED32"
-        },
-        {
           "defKey": "role",
           "defName": "角色",
           "comment": "1-核心会员 2-普通会员 3-终端用户",
@@ -1075,16 +1143,7 @@
           "id": "CC0712A8-9D60-4252-82E4-6D04CA50A0BA"
         }
       ],
-      "correlations": [
-        {
-          "myField": "531C970B-62CC-464D-BA93-6A7E24369482",
-          "refEntity": "B6E3D1C6-BDB9-4866-BA12-8D6BDBB54922",
-          "refField": "CDB03EAC-6131-4F34-A8CB-D66A167BC37B",
-          "myRows": "n",
-          "refRows": "1",
-          "innerType": ""
-        }
-      ],
+      "correlations": [],
       "indexes": []
     },
     {
@@ -2264,7 +2323,58 @@
           "id": "7682A0EB-BB9A-4ED2-BABF-2299186A5F29"
         },
         {
-          "defKey": "area",
+          "defKey": "country_id",
+          "defName": "国家",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "BDF565B7-0471-4C3E-A439-FCB98A2E0180"
+        },
+        {
+          "defKey": "province_id",
+          "defName": "省",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "269D21DA-57BC-4117-B763-E6234146D804"
+        },
+        {
+          "defKey": "city_id",
+          "defName": "市",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "28E401C6-0F7C-48EB-B3B0-53D1DA577484"
+        },
+        {
+          "defKey": "district_id",
           "defName": "地区",
           "comment": "",
           "type": "",
@@ -2275,10 +2385,10 @@
           "autoIncrement": false,
           "defaultValue": "",
           "hideInGraph": false,
-          "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
           "refDict": "",
           "extProps": {},
-          "id": "5ADF2019-D974-467F-92AC-3114BEAA1885"
+          "id": "E152BC28-4500-45D1-A11F-31A91CF9B2C2"
         },
         {
           "defKey": "address",
@@ -2299,8 +2409,8 @@
         },
         {
           "defKey": "default_flag",
-          "defName": "默认地址",
-          "comment": "默认地址:0-否1-是",
+          "defName": "是否默认",
+          "comment": "0-否1-是",
           "type": "",
           "len": "",
           "scale": "",
@@ -3879,7 +3989,7 @@
         }
       },
       "defKey": "member_role_menu",
-      "defName": "角色菜单表",
+      "defName": "会员角色菜单表",
       "comment": "脚本初始化 1:核心会员 2:普通会员",
       "properties": {
         "partitioned by": "(date string)",
@@ -8465,46 +8575,6 @@
       "canvasData": {
         "cells": [
           {
-            "id": "240a95e1-6682-46e1-aaa0-cf1b77fb24de",
-            "shape": "table",
-            "position": {
-              "x": -490,
-              "y": -640
-            },
-            "count": 0,
-            "originKey": "DA07AECF-B098-44F6-8D39-F02849692F08"
-          },
-          {
-            "id": "219e689e-7599-4305-87bf-078d7dec737f",
-            "shape": "table",
-            "position": {
-              "x": 80,
-              "y": -620
-            },
-            "count": 0,
-            "originKey": "C592C7E6-24F0-4986-AD76-617BD01C0541"
-          },
-          {
-            "id": "74609355-2e7d-4b79-a2cb-bbed0f578968",
-            "shape": "table",
-            "position": {
-              "x": -531.5,
-              "y": -370
-            },
-            "count": 0,
-            "originKey": "E3AF68EA-95EC-49FF-8BE5-F83525ABED2D"
-          },
-          {
-            "id": "d83e5ccf-936e-4bf3-9719-78320424ef45",
-            "shape": "table",
-            "position": {
-              "x": 20,
-              "y": -142
-            },
-            "count": 0,
-            "originKey": "DEFB16E2-1761-489E-A477-E5719163D764"
-          },
-          {
             "id": "a252e7f2-5269-4ec2-997d-939d7081ce5f",
             "shape": "erdRelation",
             "source": {
@@ -8656,6 +8726,46 @@
             },
             "count": 0,
             "originKey": "679980B7-B33B-4E51-A984-F09B1CA37C2F"
+          },
+          {
+            "id": "219e689e-7599-4305-87bf-078d7dec737f",
+            "shape": "table",
+            "position": {
+              "x": 80,
+              "y": -620
+            },
+            "count": 0,
+            "originKey": "C592C7E6-24F0-4986-AD76-617BD01C0541"
+          },
+          {
+            "id": "d83e5ccf-936e-4bf3-9719-78320424ef45",
+            "shape": "table",
+            "position": {
+              "x": 20,
+              "y": -140
+            },
+            "count": 0,
+            "originKey": "DEFB16E2-1761-489E-A477-E5719163D764"
+          },
+          {
+            "id": "74609355-2e7d-4b79-a2cb-bbed0f578968",
+            "shape": "table",
+            "position": {
+              "x": -531.5,
+              "y": -370
+            },
+            "count": 0,
+            "originKey": "E3AF68EA-95EC-49FF-8BE5-F83525ABED2D"
+          },
+          {
+            "id": "240a95e1-6682-46e1-aaa0-cf1b77fb24de",
+            "shape": "table",
+            "position": {
+              "x": -528.5,
+              "y": -720
+            },
+            "count": 0,
+            "originKey": "DA07AECF-B098-44F6-8D39-F02849692F08"
           }
         ]
       },
@@ -8695,14 +8805,14 @@
             "originKey": "DEFB16E2-1761-489E-A477-E5719163D764"
           },
           {
-            "id": "ccd4d865-5db8-41d4-b9ea-77b251cacaff",
+            "id": "0fa69e1f-0ae8-4723-8337-a86e876dfaba",
             "shape": "table",
             "position": {
-              "x": -610,
-              "y": -280
+              "x": -192.5,
+              "y": -552
             },
             "count": 0,
-            "originKey": "B6E3D1C6-BDB9-4866-BA12-8D6BDBB54922"
+            "originKey": "E0C6BBE4-5E2C-4B2F-A794-2FDA1B4E9108"
           },
           {
             "id": "287cb5f9-cdc1-489a-95e7-56da008503e4",
@@ -8715,14 +8825,14 @@
             "originKey": "696DE7B6-49A6-40BA-8A8E-CFAE08A118C3"
           },
           {
-            "id": "0fa69e1f-0ae8-4723-8337-a86e876dfaba",
+            "id": "ccd4d865-5db8-41d4-b9ea-77b251cacaff",
             "shape": "table",
             "position": {
-              "x": -192.5,
-              "y": -552
+              "x": -622,
+              "y": -251
             },
             "count": 0,
-            "originKey": "E0C6BBE4-5E2C-4B2F-A794-2FDA1B4E9108"
+            "originKey": "B6E3D1C6-BDB9-4866-BA12-8D6BDBB54922"
           }
         ]
       },

+ 200 - 90
数据库/PDMAN/.back_GuangZuan/GuangZuan-backup-2022622144753.pdma.json → 数据库/PDMAN/.back_GuangZuan/GuangZuan-backup-2022622152943.pdma.json

@@ -4,7 +4,7 @@
   "avatar": "",
   "version": "4.1.1",
   "createdTime": "2022-6-17 13:12:04",
-  "updatedTime": "2022-6-22 14:47:39",
+  "updatedTime": "2022-6-22 15:29:32",
   "dbConns": [],
   "profile": {
     "default": {
@@ -762,7 +762,7 @@
           "notNull": false,
           "autoIncrement": false,
           "defaultValue": "",
-          "hideInGraph": true,
+          "hideInGraph": false,
           "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
           "refDict": "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D",
           "extProps": {},
@@ -779,7 +779,7 @@
           "notNull": false,
           "autoIncrement": false,
           "defaultValue": "",
-          "hideInGraph": true,
+          "hideInGraph": false,
           "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
           "refDict": "",
           "extProps": {},
@@ -922,6 +922,91 @@
           "id": "CB2399AC-46A9-4950-B363-36EB99917D50"
         },
         {
+          "defKey": "country_id",
+          "defName": "国家",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "E8BAAA41-B99D-4561-A35A-5EB3900D2BB7"
+        },
+        {
+          "defKey": "province_id",
+          "defName": "省",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "6EB54534-9293-4A4A-8789-B0BCD39B99FB"
+        },
+        {
+          "defKey": "city_id",
+          "defName": "市",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "B080E742-2077-4329-869B-590BDE5087D9"
+        },
+        {
+          "defKey": "district_id",
+          "defName": "地区",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "4A100BA8-C948-4E76-B55F-B4F0025CA38A"
+        },
+        {
+          "defKey": "address",
+          "defName": "地址",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "441522E8-1307-45E7-B265-3AED4DA401C7",
+          "refDict": "",
+          "extProps": {},
+          "id": "3A671C90-6D9E-4179-97EC-3A02B7ADB612"
+        },
+        {
           "defKey": "created_ip",
           "defName": "注册IP",
           "comment": "",
@@ -990,23 +1075,6 @@
           "id": "E64D8D1B-23CA-4625-ADD0-F105C0675E00"
         },
         {
-          "defKey": "area",
-          "defName": "地区",
-          "comment": "",
-          "type": "",
-          "len": "",
-          "scale": "",
-          "primaryKey": false,
-          "notNull": false,
-          "autoIncrement": false,
-          "defaultValue": "",
-          "hideInGraph": true,
-          "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
-          "refDict": "",
-          "extProps": {},
-          "id": "D0226B5A-431B-4199-A9C2-80728036ED32"
-        },
-        {
           "defKey": "role",
           "defName": "角色",
           "comment": "1-核心会员 2-普通会员 3-终端用户",
@@ -1075,16 +1143,7 @@
           "id": "CC0712A8-9D60-4252-82E4-6D04CA50A0BA"
         }
       ],
-      "correlations": [
-        {
-          "myField": "531C970B-62CC-464D-BA93-6A7E24369482",
-          "refEntity": "B6E3D1C6-BDB9-4866-BA12-8D6BDBB54922",
-          "refField": "CDB03EAC-6131-4F34-A8CB-D66A167BC37B",
-          "myRows": "n",
-          "refRows": "1",
-          "innerType": ""
-        }
-      ],
+      "correlations": [],
       "indexes": []
     },
     {
@@ -2264,7 +2323,58 @@
           "id": "7682A0EB-BB9A-4ED2-BABF-2299186A5F29"
         },
         {
-          "defKey": "area",
+          "defKey": "country_id",
+          "defName": "国家",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "BDF565B7-0471-4C3E-A439-FCB98A2E0180"
+        },
+        {
+          "defKey": "province_id",
+          "defName": "省",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "269D21DA-57BC-4117-B763-E6234146D804"
+        },
+        {
+          "defKey": "city_id",
+          "defName": "市",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "28E401C6-0F7C-48EB-B3B0-53D1DA577484"
+        },
+        {
+          "defKey": "district_id",
           "defName": "地区",
           "comment": "",
           "type": "",
@@ -2275,10 +2385,10 @@
           "autoIncrement": false,
           "defaultValue": "",
           "hideInGraph": false,
-          "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
           "refDict": "",
           "extProps": {},
-          "id": "5ADF2019-D974-467F-92AC-3114BEAA1885"
+          "id": "E152BC28-4500-45D1-A11F-31A91CF9B2C2"
         },
         {
           "defKey": "address",
@@ -2299,8 +2409,8 @@
         },
         {
           "defKey": "default_flag",
-          "defName": "默认地址",
-          "comment": "默认地址:0-否1-是",
+          "defName": "是否默认",
+          "comment": "0-否1-是",
           "type": "",
           "len": "",
           "scale": "",
@@ -3879,7 +3989,7 @@
         }
       },
       "defKey": "member_role_menu",
-      "defName": "角色菜单表",
+      "defName": "会员角色菜单表",
       "comment": "脚本初始化 1:核心会员 2:普通会员",
       "properties": {
         "partitioned by": "(date string)",
@@ -8465,46 +8575,6 @@
       "canvasData": {
         "cells": [
           {
-            "id": "240a95e1-6682-46e1-aaa0-cf1b77fb24de",
-            "shape": "table",
-            "position": {
-              "x": -490,
-              "y": -640
-            },
-            "count": 0,
-            "originKey": "DA07AECF-B098-44F6-8D39-F02849692F08"
-          },
-          {
-            "id": "219e689e-7599-4305-87bf-078d7dec737f",
-            "shape": "table",
-            "position": {
-              "x": 80,
-              "y": -620
-            },
-            "count": 0,
-            "originKey": "C592C7E6-24F0-4986-AD76-617BD01C0541"
-          },
-          {
-            "id": "74609355-2e7d-4b79-a2cb-bbed0f578968",
-            "shape": "table",
-            "position": {
-              "x": -531.5,
-              "y": -370
-            },
-            "count": 0,
-            "originKey": "E3AF68EA-95EC-49FF-8BE5-F83525ABED2D"
-          },
-          {
-            "id": "d83e5ccf-936e-4bf3-9719-78320424ef45",
-            "shape": "table",
-            "position": {
-              "x": 20,
-              "y": -142
-            },
-            "count": 0,
-            "originKey": "DEFB16E2-1761-489E-A477-E5719163D764"
-          },
-          {
             "id": "a252e7f2-5269-4ec2-997d-939d7081ce5f",
             "shape": "erdRelation",
             "source": {
@@ -8656,6 +8726,46 @@
             },
             "count": 0,
             "originKey": "679980B7-B33B-4E51-A984-F09B1CA37C2F"
+          },
+          {
+            "id": "219e689e-7599-4305-87bf-078d7dec737f",
+            "shape": "table",
+            "position": {
+              "x": 80,
+              "y": -620
+            },
+            "count": 0,
+            "originKey": "C592C7E6-24F0-4986-AD76-617BD01C0541"
+          },
+          {
+            "id": "d83e5ccf-936e-4bf3-9719-78320424ef45",
+            "shape": "table",
+            "position": {
+              "x": 20,
+              "y": -140
+            },
+            "count": 0,
+            "originKey": "DEFB16E2-1761-489E-A477-E5719163D764"
+          },
+          {
+            "id": "74609355-2e7d-4b79-a2cb-bbed0f578968",
+            "shape": "table",
+            "position": {
+              "x": -531.5,
+              "y": -370
+            },
+            "count": 0,
+            "originKey": "E3AF68EA-95EC-49FF-8BE5-F83525ABED2D"
+          },
+          {
+            "id": "240a95e1-6682-46e1-aaa0-cf1b77fb24de",
+            "shape": "table",
+            "position": {
+              "x": -528.5,
+              "y": -720
+            },
+            "count": 0,
+            "originKey": "DA07AECF-B098-44F6-8D39-F02849692F08"
           }
         ]
       },
@@ -8685,16 +8795,6 @@
             }
           },
           {
-            "id": "ccd4d865-5db8-41d4-b9ea-77b251cacaff",
-            "shape": "table",
-            "position": {
-              "x": -610,
-              "y": -280
-            },
-            "count": 0,
-            "originKey": "B6E3D1C6-BDB9-4866-BA12-8D6BDBB54922"
-          },
-          {
             "id": "f8b9e3e6-eec3-43c3-b549-d7a2ab65488c",
             "shape": "table",
             "position": {
@@ -8708,8 +8808,8 @@
             "id": "0fa69e1f-0ae8-4723-8337-a86e876dfaba",
             "shape": "table",
             "position": {
-              "x": -129,
-              "y": -280
+              "x": -192.5,
+              "y": -552
             },
             "count": 0,
             "originKey": "E0C6BBE4-5E2C-4B2F-A794-2FDA1B4E9108"
@@ -8718,11 +8818,21 @@
             "id": "287cb5f9-cdc1-489a-95e7-56da008503e4",
             "shape": "table",
             "position": {
-              "x": -129,
-              "y": -100
+              "x": -192.5,
+              "y": -320
             },
             "count": 0,
             "originKey": "696DE7B6-49A6-40BA-8A8E-CFAE08A118C3"
+          },
+          {
+            "id": "ccd4d865-5db8-41d4-b9ea-77b251cacaff",
+            "shape": "table",
+            "position": {
+              "x": -622,
+              "y": -251
+            },
+            "count": 0,
+            "originKey": "B6E3D1C6-BDB9-4866-BA12-8D6BDBB54922"
           }
         ]
       },

+ 186 - 76
数据库/PDMAN/GuangZuan.pdma.json

@@ -4,7 +4,7 @@
   "avatar": "",
   "version": "4.1.1",
   "createdTime": "2022-6-17 13:12:04",
-  "updatedTime": "2022-6-22 14:49:16",
+  "updatedTime": "2022-6-22 15:29:43",
   "dbConns": [],
   "profile": {
     "default": {
@@ -762,7 +762,7 @@
           "notNull": false,
           "autoIncrement": false,
           "defaultValue": "",
-          "hideInGraph": true,
+          "hideInGraph": false,
           "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
           "refDict": "BF9E20E0-80D3-486D-BD58-5FADCF3E4A1D",
           "extProps": {},
@@ -779,7 +779,7 @@
           "notNull": false,
           "autoIncrement": false,
           "defaultValue": "",
-          "hideInGraph": true,
+          "hideInGraph": false,
           "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
           "refDict": "",
           "extProps": {},
@@ -922,6 +922,91 @@
           "id": "CB2399AC-46A9-4950-B363-36EB99917D50"
         },
         {
+          "defKey": "country_id",
+          "defName": "国家",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "E8BAAA41-B99D-4561-A35A-5EB3900D2BB7"
+        },
+        {
+          "defKey": "province_id",
+          "defName": "省",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "6EB54534-9293-4A4A-8789-B0BCD39B99FB"
+        },
+        {
+          "defKey": "city_id",
+          "defName": "市",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "B080E742-2077-4329-869B-590BDE5087D9"
+        },
+        {
+          "defKey": "district_id",
+          "defName": "地区",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "4A100BA8-C948-4E76-B55F-B4F0025CA38A"
+        },
+        {
+          "defKey": "address",
+          "defName": "地址",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": true,
+          "domain": "441522E8-1307-45E7-B265-3AED4DA401C7",
+          "refDict": "",
+          "extProps": {},
+          "id": "3A671C90-6D9E-4179-97EC-3A02B7ADB612"
+        },
+        {
           "defKey": "created_ip",
           "defName": "注册IP",
           "comment": "",
@@ -990,23 +1075,6 @@
           "id": "E64D8D1B-23CA-4625-ADD0-F105C0675E00"
         },
         {
-          "defKey": "area",
-          "defName": "地区",
-          "comment": "",
-          "type": "",
-          "len": "",
-          "scale": "",
-          "primaryKey": false,
-          "notNull": false,
-          "autoIncrement": false,
-          "defaultValue": "",
-          "hideInGraph": true,
-          "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
-          "refDict": "",
-          "extProps": {},
-          "id": "D0226B5A-431B-4199-A9C2-80728036ED32"
-        },
-        {
           "defKey": "role",
           "defName": "角色",
           "comment": "1-核心会员 2-普通会员 3-终端用户",
@@ -1075,16 +1143,7 @@
           "id": "CC0712A8-9D60-4252-82E4-6D04CA50A0BA"
         }
       ],
-      "correlations": [
-        {
-          "myField": "531C970B-62CC-464D-BA93-6A7E24369482",
-          "refEntity": "B6E3D1C6-BDB9-4866-BA12-8D6BDBB54922",
-          "refField": "CDB03EAC-6131-4F34-A8CB-D66A167BC37B",
-          "myRows": "n",
-          "refRows": "1",
-          "innerType": ""
-        }
-      ],
+      "correlations": [],
       "indexes": []
     },
     {
@@ -2264,7 +2323,58 @@
           "id": "7682A0EB-BB9A-4ED2-BABF-2299186A5F29"
         },
         {
-          "defKey": "area",
+          "defKey": "country_id",
+          "defName": "国家",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "BDF565B7-0471-4C3E-A439-FCB98A2E0180"
+        },
+        {
+          "defKey": "province_id",
+          "defName": "省",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "269D21DA-57BC-4117-B763-E6234146D804"
+        },
+        {
+          "defKey": "city_id",
+          "defName": "市",
+          "comment": "",
+          "type": "",
+          "len": "",
+          "scale": "",
+          "primaryKey": false,
+          "notNull": false,
+          "autoIncrement": false,
+          "defaultValue": "",
+          "hideInGraph": false,
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
+          "refDict": "",
+          "extProps": {},
+          "id": "28E401C6-0F7C-48EB-B3B0-53D1DA577484"
+        },
+        {
+          "defKey": "district_id",
           "defName": "地区",
           "comment": "",
           "type": "",
@@ -2275,10 +2385,10 @@
           "autoIncrement": false,
           "defaultValue": "",
           "hideInGraph": false,
-          "domain": "9092C4E0-1A54-4859-ABBB-5B62DBC27573",
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
           "refDict": "",
           "extProps": {},
-          "id": "5ADF2019-D974-467F-92AC-3114BEAA1885"
+          "id": "E152BC28-4500-45D1-A11F-31A91CF9B2C2"
         },
         {
           "defKey": "address",
@@ -2299,8 +2409,8 @@
         },
         {
           "defKey": "default_flag",
-          "defName": "默认地址",
-          "comment": "默认地址:0-否1-是",
+          "defName": "是否默认",
+          "comment": "0-否1-是",
           "type": "",
           "len": "",
           "scale": "",
@@ -3879,7 +3989,7 @@
         }
       },
       "defKey": "member_role_menu",
-      "defName": "角色菜单表",
+      "defName": "会员角色菜单表",
       "comment": "脚本初始化 1:核心会员 2:普通会员",
       "properties": {
         "partitioned by": "(date string)",
@@ -8465,46 +8575,6 @@
       "canvasData": {
         "cells": [
           {
-            "id": "240a95e1-6682-46e1-aaa0-cf1b77fb24de",
-            "shape": "table",
-            "position": {
-              "x": -490,
-              "y": -640
-            },
-            "count": 0,
-            "originKey": "DA07AECF-B098-44F6-8D39-F02849692F08"
-          },
-          {
-            "id": "219e689e-7599-4305-87bf-078d7dec737f",
-            "shape": "table",
-            "position": {
-              "x": 80,
-              "y": -620
-            },
-            "count": 0,
-            "originKey": "C592C7E6-24F0-4986-AD76-617BD01C0541"
-          },
-          {
-            "id": "74609355-2e7d-4b79-a2cb-bbed0f578968",
-            "shape": "table",
-            "position": {
-              "x": -531.5,
-              "y": -370
-            },
-            "count": 0,
-            "originKey": "E3AF68EA-95EC-49FF-8BE5-F83525ABED2D"
-          },
-          {
-            "id": "d83e5ccf-936e-4bf3-9719-78320424ef45",
-            "shape": "table",
-            "position": {
-              "x": 20,
-              "y": -142
-            },
-            "count": 0,
-            "originKey": "DEFB16E2-1761-489E-A477-E5719163D764"
-          },
-          {
             "id": "a252e7f2-5269-4ec2-997d-939d7081ce5f",
             "shape": "erdRelation",
             "source": {
@@ -8656,6 +8726,46 @@
             },
             "count": 0,
             "originKey": "679980B7-B33B-4E51-A984-F09B1CA37C2F"
+          },
+          {
+            "id": "219e689e-7599-4305-87bf-078d7dec737f",
+            "shape": "table",
+            "position": {
+              "x": 80,
+              "y": -620
+            },
+            "count": 0,
+            "originKey": "C592C7E6-24F0-4986-AD76-617BD01C0541"
+          },
+          {
+            "id": "d83e5ccf-936e-4bf3-9719-78320424ef45",
+            "shape": "table",
+            "position": {
+              "x": 20,
+              "y": -140
+            },
+            "count": 0,
+            "originKey": "DEFB16E2-1761-489E-A477-E5719163D764"
+          },
+          {
+            "id": "74609355-2e7d-4b79-a2cb-bbed0f578968",
+            "shape": "table",
+            "position": {
+              "x": -531.5,
+              "y": -370
+            },
+            "count": 0,
+            "originKey": "E3AF68EA-95EC-49FF-8BE5-F83525ABED2D"
+          },
+          {
+            "id": "240a95e1-6682-46e1-aaa0-cf1b77fb24de",
+            "shape": "table",
+            "position": {
+              "x": -528.5,
+              "y": -720
+            },
+            "count": 0,
+            "originKey": "DA07AECF-B098-44F6-8D39-F02849692F08"
           }
         ]
       },