表名:ZL_ARoleAuth












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40    
2Ridint40    角色ID
3modelvarchar30000    模型&节点
4contentvarchar30000    内容
5crmvarchar30000    CRM
6labelvarchar30000    模板&标签
7shopvarchar30000    商城
8storevarchar30000    店铺
9pagevarchar30000    黄页
10uservarchar30000    用户
11othervarchar30000    其它
12eduvarchar30000    教育模块
13extendvarchar30000    扩展功能
14systemvarchar30000    系统配置
15oavarchar30000    企业办公
16mobilevarchar30000    移动管理
17barvarchar30000    贴吧问答
18sitevarchar30000    站群配置
19pubvarchar30000     

简要说明:

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

--注意:清空且复位表ID序列为初始值

TRUNCATE table ZL_ARoleAuth