序号 | 列名 | 数据类型 | 长度 | 小数位 | 标识 | 主键 | 外键 | 允许空 | 默认值 | 说明 |
1 | ID | int | 4 | 0 | 是 | 否 | ||||
2 | Rid | int | 4 | 0 | 是 | 角色ID | ||||
3 | model | varchar | 3000 | 0 | 是 | 模型&节点 | ||||
4 | content | varchar | 3000 | 0 | 是 | 内容 | ||||
5 | crm | varchar | 3000 | 0 | 是 | CRM | ||||
6 | label | varchar | 3000 | 0 | 是 | 模板&标签 | ||||
7 | shop | varchar | 3000 | 0 | 是 | 商城 | ||||
8 | store | varchar | 3000 | 0 | 是 | 店铺 | ||||
9 | page | varchar | 3000 | 0 | 是 | 黄页 | ||||
10 | user | varchar | 3000 | 0 | 是 | 用户 | ||||
11 | other | varchar | 3000 | 0 | 是 | 其它 | ||||
12 | edu | varchar | 3000 | 0 | 是 | 教育模块 | ||||
13 | extend | varchar | 3000 | 0 | 是 | 扩展功能 | ||||
14 | system | varchar | 3000 | 0 | 是 | 系统配置 | ||||
15 | oa | varchar | 3000 | 0 | 是 | 企业办公 | ||||
16 | mobile | varchar | 3000 | 0 | 是 | 移动管理 | ||||
17 | bar | varchar | 3000 | 0 | 是 | 贴吧问答 | ||||
18 | site | varchar | 3000 | 0 | 是 | 站群配置 | ||||
19 | pub | varchar | 3000 | 0 | 是 |
APP权限表
GO
CREATE TABLE [dbo].[ZL_ARoleAuth](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Rid] [int] NULL,
[model] [varchar](3000) NULL,
[content] [varchar](3000) NULL,
[crm] [varchar](3000) NULL,
[label] [varchar](3000) NULL,
[shop] [varchar](3000) NULL,
[store] [varchar](3000) NULL,
[page] [varchar](3000) NULL,
[user] [varchar](3000) NULL,
[other] [varchar](3000) NULL,
[edu] [varchar](3000) NULL,
[extend] [varchar](3000) NULL,
[system] [varchar](3000) NULL,
[oa] [varchar](3000) NULL,
[mobile] [varchar](3000) NULL,
[bar] [varchar](3000) NULL,
[site] [varchar](3000) NULL
) ON [PRIMARY]
SET ANSI_PADDING ON
ALTER TABLE [dbo].[ZL_ARoleAuth] ADD [pub] [varchar](3000) NULL
SET ANSI_PADDING OFF
SET IDENTITY_INSERT [ZL_ARoleAuth] ON
INSERT [ZL_ARoleAuth] ([ID],[Rid],[model],[content],[shop]) VALUES ( 1,2,N'ModelManage,ModelEdit,ShopModelManage,ShopModelEdit,PageModelManage,AddPageModel,NodeManage,NodeEdit,SpecManage',N'ContentMange,ContentSpec,ContentRecycle,ComentManage,CreateHtmL,OnlyMe,VideoManage,BarManage,AskManage,BaikeManage,GuestManage',N'ProductManage,StockManage,AddStock,CartManage,OrderList,BankRollList,SaleList,PayList,InvoiceList,TotalSale,ProductSale,CategotySale,UserOrders,UserExpenditure,DeliverType')
INSERT [ZL_ARoleAuth] ([ID],[Rid],[shop],[store],[user]) VALUES ( 2,3,N'ProductManage,StockManage,AddStock,CartManage,OrderList,BankRollList,SaleList,PayList,InvoiceList,TotalSale,ProductSale,CategotySale,UserOrders,UserExpenditure,DeliverType',N'ApplyStoreStyle,ApplyStoreStyleAdd,StoreManage,StoreExamine,StoreStyleManage,StoreStyleAdd,StoreProductManage,StoreinfoManage',N'AdminManage,AdminEdit,RoleMange,RoleEdit,UserManage,UserGroup,UserModel,UserModelField,UserRoleMange,UserRoleEdit,MessManage,EmailManage')
INSERT [ZL_ARoleAuth] ([ID],[Rid],[shop],[store]) VALUES ( 3,4,N'ProductManage,StockManage,AddStock,CartManage,OrderList,BankRollList,SaleList,PayList,InvoiceList,TotalSale,ProductSale,CategotySale,UserOrders,UserExpenditure,DeliverType',N'ApplyStoreStyle,ApplyStoreStyleAdd,StoreManage,StoreExamine,StoreStyleManage,StoreStyleAdd,StoreProductManage,StoreinfoManage')
INSERT [ZL_ARoleAuth] ([ID],[Rid],[user]) VALUES ( 4,5,N'AdminManage,AdminEdit,RoleMange,RoleEdit,UserManage,UserGroup,UserModel,UserModelField,UserRoleMange,UserRoleEdit,MessManage,EmailManage')
INSERT [ZL_ARoleAuth] ([ID],[Rid],[model],[label]) VALUES ( 5,6,N'ModelManage,ModelEdit,ShopModelManage,ShopModelEdit,PageModelManage,AddPageModel,NodeManage,NodeEdit,SpecManage',N'TemplateManage,TemplateEdit,CssManage,CssEdit,LabelManage,LabelEdit,LabelImport,LabelExport')
INSERT [ZL_ARoleAuth] ([ID],[Rid],[crm],[other]) VALUES ( 6,8,N'AllowOption,AllowOptionValue,AllowExcel,AllowAddClient,AllCustomer,AssignFPMan',N'PayManage,ADManage,StatInfoListReport,CorrectManage,LogManage,SourceManage,SurveyManage,GuestCateMana,DownServerManage,DictionaryManage,CustomerService,GameManage,DevCenter')
INSERT [ZL_ARoleAuth] ([ID],[Rid],[page]) VALUES ( 7,7,N'PageModelManage,PageModel,PageManage,PageAudit,PageContent,PageStyle,AddPageStyle')
SET IDENTITY_INSERT [ZL_ARoleAuth] OFF
detele from ZL_ARoleAuth
drop table ZL_ARoleAuth
TRUNCATE table ZL_ARoleAuth