CREATE TABLE [dbo].[ZL_Guest_BarAuth](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BarID] [int] NULL,
[Uid] [int] NULL,
[UName] [nvarchar](200) NULL,
[Look] [int] NULL,
[Send] [int] NULL,
[Reply] [int] NULL,
CONSTRAINT [PK_ZL_Bar_Auth] PRIMARY KEY CLUSTERED ([ID] ASC)WITH (PAD_INDEX  = OFF) ON [PRIMARY]) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_Publish_Node](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Pid] [int] NOT NULL,
[NodeName] [nvarchar](200) NULL,
[Describe] [nvarchar](500) NULL,
[CDate] [datetime] NULL,
[CAdmin] [int] NULL,
[Auth] [nvarchar](500) NULL,) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_Content_Publish](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ImgPath] [nvarchar](300) NULL,
[Json] [nvarchar](4000) NULL,
[Title] [nvarchar](200) NULL,
[CUser] [int] NULL,
[CDate] [datetime] NULL,
[Pid] [int] NULL,
[NewsName] [nvarchar](200) NULL,
[AttachFile] [nvarchar](1000) NULL,
[Nid] [int] NULL) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_Guest_Bar](
[ID] [int] IDENTITY(1,1) NOT NULL,
[CateID] [int] NOT NULL,
[Pid] [int] NOT NULL,
[ReplyID] [int] NULL,
[ReplyUserID] [int] NULL,
[Title] [nvarchar](200) NULL,
[MsgContent] [ntext] NULL,
[IP] [nvarchar](200) NULL,
[ColledIDS] [nvarchar](4000) NULL,
[MsgType] [int] NULL,
[HitCount] [int] NULL,
[Status] [int] NULL,
[CUser] [int] NULL,
[CUName] [nvarchar](50) NULL,
[CDate] [datetime] NULL,
[Subtitle] [nvarchar](3000) NULL,
[PostFlag] [nvarchar](300) NULL,
[Style] [nvarchar](200) NULL,
[OrderFlag] [int] NOT NULL,
[IDCode] [nvarchar](200) NULL,) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[ZL_Guest_Bar] ADD  CONSTRAINT [DF_ZL_Guest_Bar_OrderFlag]  DEFAULT ((0)) FOR [OrderFlag]
GO
CREATE TABLE [dbo].[ZL_Temp](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[UseType] [int] NULL,
[CDate] [datetime] NULL,
[Describe] [nvarchar](500) NULL,
[Str1] [nvarchar](500) NULL,
[Str2] [nvarchar](500) NULL,
[Str3] [nvarchar](500) NULL,
[Str4] [nvarchar](500) NULL,
[Str5] [nvarchar](500) NULL,
[Str6] [nvarchar](500) NULL) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_File](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int],
[DownUrl] [nvarchar](100),
[ExtractionCode] [nvarchar](8),
[FileName] [nvarchar](100),
[State] [int],
[FileMD5] [nvarchar](500) NULL
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_CpsClick] (
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[UserID] [int] NULL ,
[PromotionCode] [nvarchar](10) NULL ,
[Traffic] [int] NULL ,
[IP] [nvarchar](50) NULL ,
[CreateTime] [datetime]
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_CallNote](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserName] [nchar](255) NULL,
[CallSession] [nchar](255) NULL,
[SessionMD5] [nchar](255) NULL,
[IP] [nchar](225) NULL,
[CallArea] [bit] NULL,
[CallTime] [datetime] NULL,
[CallSystem] [nchar](255) NULL,
[CallBrowser] [nchar](255) NULL,
[CallScreen] [nchar](50) NULL,
[CallScreenColor] [nchar](50) NULL,
[CallYear] [int] NULL,
[CallMonth] [int] NULL,
[CallDay] [int] NULL,
[CallWeek] [int] NULL,
[CallHour] [int] NULL,
[CallLike] [nchar](255) NULL,
[CallNode] [int] NULL,
CONSTRAINT [PK_ZL_CallNote] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_Messageboard](
[ID] [uniqueidentifier] NULL,
[SendID] [int] NULL,
[InceptID] [int] NULL,
[Mcontent] [text] NULL,
[Addtime] [datetime] NULL,
[RestoreID] [uniqueidentifier] NULL,
[State] [int] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_MyCar](
[Pmid] [int] IDENTITY(1,1) NOT NULL,
[P_uid] [int] NULL,
[Pid] [int] NULL,
[P_buy_time] [datetime] NULL,
[P_last_time] [datetime] NULL,
[P_last_uid] [int] NULL CONSTRAINT [DF_ZL_Sns_MyCar_P_last_uid]  DEFAULT (0),
[P_last_user] [varchar](20) NULL,
[P_action] [int] NULL,
CONSTRAINT [PK_ZL_Sns_MyCar] PRIMARY KEY NONCLUSTERED 
(
[Pmid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Card](
[Card_ID] [int] IDENTITY(1,1) NOT NULL,
[CardNum] [nvarchar](50) NULL,
[CardPwd] [nvarchar](50) NULL,
[PutUserID] [int] NULL,
[AssociateUserID] [int] NULL CONSTRAINT [DF_ZL_Card_AssociateUserID]  DEFAULT (0),
[VIPType] [int] NULL,
[StartTime] [datetime] NULL,
[CircumscribeTime] [datetime] NULL,
[PlyNum] [int] NULL CONSTRAINT [DF_ZL_Card_PlyNum]  DEFAULT (0),
[AddTime] [datetime] NULL CONSTRAINT [DF_ZL_Card_AddTime]  DEFAULT (getdate()),
[CardState] [int] NULL,
CONSTRAINT [PK_ZL_Card] PRIMARY KEY CLUSTERED 
(
[Card_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卡片编号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Card', @level2type=N'COLUMN', @level2name=N'CardNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卡片密码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Card', @level2type=N'COLUMN', @level2name=N'CardPwd'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发放卡片加盟商' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Card', @level2type=N'COLUMN', @level2name=N'PutUserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'关联用户' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Card', @level2type=N'COLUMN', @level2name=N'AssociateUserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'VIP类型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Card', @level2type=N'COLUMN', @level2name=N'VIPType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'第一次使用时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Card', @level2type=N'COLUMN', @level2name=N'StartTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'使用年限' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Card', @level2type=N'COLUMN', @level2name=N'CircumscribeTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'使用次数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Card', @level2type=N'COLUMN', @level2name=N'PlyNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卡片创建时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Card', @level2type=N'COLUMN', @level2name=N'AddTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卡片状态 1：未开启，2：开启，3：停用' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Card', @level2type=N'COLUMN', @level2name=N'CardState'

GO
CREATE TABLE [dbo].[ZL_Sns_MyPose](
[P_uid] [int] NOT NULL,
[P_pose_uid_1] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_uid_1]  DEFAULT (0),
[P_pose_user_1] [varchar](20) NULL,
[P_pose_Pmid_1] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_Pmid_1]  DEFAULT (0),
[P_pose_Pid_1] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_Pid_1]  DEFAULT (0),
[P_pose_uid_2] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_uid_2]  DEFAULT (0),
[P_pose_user_2] [varchar](20) NULL,
[P_pose_Pmid_2] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_Pmid_2]  DEFAULT (0),
[P_pose_Pid_2] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_Pid_2]  DEFAULT (0),
[P_pose_uid_3] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_uid_3]  DEFAULT (0),
[P_pose_user_3] [varchar](20) NULL,
[P_pose_Pmid_3] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_Pmid_3]  DEFAULT (0),
[P_pose_Pid_3] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_Pid_3]  DEFAULT (0),
[P_pose_uid_4] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_uid_4]  DEFAULT (0),
[P_pose_user_4] [varchar](20) NULL,
[P_pose_Pmid_4] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_Pmid_4]  DEFAULT (0),
[P_pose_Pid_4] [int] NULL CONSTRAINT [DF_ZL_Sns_MyPose_P_pose_Pid_4]  DEFAULT (0),
CONSTRAINT [PK_ZL_Sns_MyPose] PRIMARY KEY NONCLUSTERED 
(
[P_uid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_CardType](
[c_id] [int] IDENTITY(1,1) NOT NULL,
[typename] [nvarchar](100) NULL,
[iscount] [float] NULL,
CONSTRAINT [PK_cardtype] PRIMARY KEY CLUSTERED 
(
[c_id] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'折扣' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CardType', @level2type=N'COLUMN', @level2name=N'iscount'

GO
CREATE TABLE [dbo].[ZL_Sns_PicCateg](
[ID] [uniqueidentifier] NOT NULL,
[PicCategTitle] [varchar](20) NOT NULL,
[PicCategUserID] [int] NOT NULL,
[TitlePIc] [uniqueidentifier] NULL,
[State] [int] NOT NULL,
[CategTime] [datetime] NOT NULL,
[PicCategPws][nvarchar](50)NULL,
[Video][nvarchar](255)Null
CONSTRAINT [PK_ZL_Sns_PicCateg] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Cart](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Cartid] [varchar](255) NULL,
[userid] [int] NULL,
[Username] [varchar](255) NULL,
[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_Cart_Addtime]  DEFAULT (getdate()),
[StoreID] [int] NULL,
[ProID] [int] NULL,
[Pronum] [int] NULL,
[AllMoney] [money] NULL,
[Getip] [varchar](50) NULL,
[AllIntegral] [money] NULL,
[FarePrice] [nvarchar](400) NULL,
[Additional] [ntext] NULL,
CONSTRAINT [PK_ZL_Cart] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'购物车识别ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cart', @level2type=N'COLUMN', @level2name=N'Cartid'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'购买者' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cart', @level2type=N'COLUMN', @level2name=N'Username'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'购买时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cart', @level2type=N'COLUMN', @level2name=N'Addtime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所有商品数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cart', @level2type=N'COLUMN', @level2name=N'Pronum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'总价' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cart', @level2type=N'COLUMN', @level2name=N'AllMoney'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'提交IP' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cart', @level2type=N'COLUMN', @level2name=N'Getip'

GO
CREATE TABLE [dbo].[ZL_Sns_PicCritique](
[ID] [uniqueidentifier] NOT NULL,
[CritiqueContent] [text] NOT NULL,
[PicID] [uniqueidentifier] NOT NULL,
[UserID] [int] NOT NULL,
[CritiqueTime] [datetime] NOT NULL,
 CONSTRAINT [PK_ZL_Sns_PicCritique] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_CartPro](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Orderlistid] [int] NULL CONSTRAINT [DF_ZL_CartPro_Orderlistid]  DEFAULT (0),
[CartID] [int] NULL,
[ProID] [int] NULL,
[Pronum] [int] NULL,
[Username] [varchar](255) NULL,
[Proname] [varchar](255) NULL,
[Danwei] [varchar](50) NULL,
[Shijia] [money] NULL,
[AllMoney] [money] NULL,
[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_CartPro_Addtime]  DEFAULT (getdate()),
[Bindpro] [nvarchar](50) NULL,
[ProSeller] [nvarchar](255) NULL,
[PerID] [nvarchar](50) NULL,
[city] [nvarchar](50) NULL,
[type] [int] NULL CONSTRAINT [DF_ZL_CartPro_type]  DEFAULT (0),
[Attribute] [nvarchar](1000) NULL,
[FarePrice] [nvarchar](400) NULL,
[EndTime][datetime] NULL,
[Additional] [ntext] NULL,
 CONSTRAINT [PK_ZL_CartPro] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_PicTure](
[ID] [uniqueidentifier] NOT NULL,
[PicName] [varchar](50) NULL,
[PicUrl] [varchar](200) NOT NULL,
[Remark] [text] NULL,
[PicCategID] [uniqueidentifier] NOT NULL,
[PicSize] [int] NOT NULL,
[PicUpTime] [datetime] NOT NULL,
 CONSTRAINT [PK_ZL_Sns_PicTure] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Cash](
[Y_ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[YName] [nvarchar](100) NULL,
[money] [money] NULL,
[sTime] [datetime] NULL CONSTRAINT [DF_ZL_Cash_sTime]  DEFAULT (getdate()),
[Account] [nvarchar](500) NULL,
[Bank] [nvarchar](100) NULL,
[eTime] [datetime] NULL,
[yState] [int] NULL,
[Classes][int] Null,
 CONSTRAINT [PK_ZL_Cash] PRIMARY KEY CLUSTERED 
(
[Y_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cash', @level2type=N'COLUMN', @level2name=N'UserID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'开户人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cash', @level2type=N'COLUMN', @level2name=N'YName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请金额' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cash', @level2type=N'COLUMN', @level2name=N'money'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cash', @level2type=N'COLUMN', @level2name=N'sTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'帐号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cash', @level2type=N'COLUMN', @level2name=N'Account'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'银行' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cash', @level2type=N'COLUMN', @level2name=N'Bank'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'结束时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cash', @level2type=N'COLUMN', @level2name=N'eTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态1处理0没处理' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Cash', @level2type=N'COLUMN', @level2name=N'yState'

GO
CREATE TABLE [dbo].[ZL_Sns_ProductTable](
[ID] [uniqueidentifier] NOT NULL,
[ProductName] [varchar](100) NULL,
[TypeID] [uniqueidentifier] NULL,
[ProductContent] [ntext] NULL,
[Price] [int] NULL,
[VipPrice] [int] NULL,
[ProductPic] [varchar](255) NULL,
[Addtime] [datetime] NULL,
CONSTRAINT [PK_ZL_Sns_ProductTable] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_ChangeProduct](
[P_ID] [int] IDENTITY(1,1) NOT NULL,
[prodID] [int] NULL,
[ExChangeID] [int] NULL,
[PState] [int] NULL,
[num] [int] NULL,
CONSTRAINT [PK_ZL_ChangeProduct] PRIMARY KEY CLUSTERED 
(
[P_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ChangeProduct', @level2type=N'COLUMN', @level2name=N'prodID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'交易表ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ChangeProduct', @level2type=N'COLUMN', @level2name=N'ExChangeID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态0为申请者商品1为被申请者' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ChangeProduct', @level2type=N'COLUMN', @level2name=N'PState'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ChangeProduct', @level2type=N'COLUMN', @level2name=N'num'

GO
CREATE TABLE [dbo].[ZL_Sns_ProductTypetable](
[ID] [uniqueidentifier] NULL,
[Name] [varchar](100) NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_ChangeTalk](
[T_ID] [int] IDENTITY(1,1) NOT NULL,
[ExChangeID] [int] NULL,
[TContent] [ntext] NULL,
[UserID] [int] NULL,
[ETime] [smalldatetime] NULL CONSTRAINT [DF_ZL_ChangeTalk_ETime]  DEFAULT (getdate()),
CONSTRAINT [PK_ZL_ChangeTalk] PRIMARY KEY CLUSTERED 
(
[T_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'交易表ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ChangeTalk', @level2type=N'COLUMN', @level2name=N'ExChangeID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'对话内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ChangeTalk', @level2type=N'COLUMN', @level2name=N'TContent'

GO
CREATE TABLE [dbo].[ZL_ClassRoom](
[RoomID] [int] IDENTITY(1,1) NOT NULL,
[RoomName] [nvarchar](255) NULL,
[SchoolID] [int] NULL,
[ClassName] [nvarchar](50) NULL,
[Room] [nvarchar](10) NULL,
[Teacher] [nvarchar](255) NULL,
[Adviser] [nvarchar](255) NULL,
[Monitor] [nvarchar](255) NULL,
[Creation] [datetime] NULL,
[CreateUser] [int] NULL,
[Integral] [int] NULL CONSTRAINT [DF_ZL_ClassRoom_Integral]  DEFAULT (0),
[Classinfo] [ntext] NULL,
[Grade] [int] NULL,
[IsTrue] [int] NULL CONSTRAINT [DF_ZL_ClassRoom_IsTrue]  DEFAULT (0),
CONSTRAINT [PK_ZL_ClassRoom] PRIMARY KEY CLUSTERED 
(
	[RoomID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'RoomID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'RoomName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学校ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'SchoolID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'年级' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'ClassName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'Room'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'老师' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'Teacher'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'副管理员' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'Adviser'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班长' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'Monitor'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'Creation'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建人(管理员)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'CreateUser'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'积分' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'Integral'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级介绍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'Classinfo'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'入学时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'Grade'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ClassRoom', @level2type=N'COLUMN', @level2name=N'IsTrue'

GO
CREATE TABLE [dbo].[ZL_Sns_ReplayLog](
[ID] [uniqueidentifier] NOT NULL,
[ReplayLpgContext] [text] NULL,
[LogID] [uniqueidentifier] NULL,
[ReplayUserID] [int] NULL,
[ReplayLogTime] [datetime] NULL,
[ReplayFlag] [bit] NULL,
CONSTRAINT [PK_ZL_Sns_ReplayLog] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_Report](
[PRid] [int] IDENTITY(1,1) NOT NULL,
[Pmid] [int] NULL CONSTRAINT [DF_ZL_Sns_Report_Pmid]  DEFAULT (null),
[Pid] [int] NULL CONSTRAINT [DF_ZL_Sns_Report_Pid]  DEFAULT (null),
[Puid] [int] NULL CONSTRAINT [DF_ZL_Sns_Report_Puid]  DEFAULT (null),
[R_to_uid] [int] NULL CONSTRAINT [DF_ZL_Sns_Report_R_to_uid]  DEFAULT (null),
[R_to_time] [datetime] NULL CONSTRAINT [DF_ZL_Sns_Report_R_to_time]  DEFAULT (null),
[R_type] [int] NULL CONSTRAINT [DF_ZL_Sns_Report_R_type]  DEFAULT (null),
CONSTRAINT [PK_ZL_Sns_Report] PRIMARY KEY NONCLUSTERED 
(
[PRid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_SystemBannerTable](
[ID] [int] IDENTITY(1,1) NOT NULL,
[BannerName] [varchar](50) NULL,
[BannerStyle] [varchar](255) NULL,
[BannerIndex] [int] NULL,
[BannerOrder] [int] NULL,
[BannerShow] [int] NULL,
CONSTRAINT [PK_ZL_Sns_SystemBannerTable] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Sns_SystemBannerTable', @level2type=N'COLUMN', @level2name=N'ID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'栏目名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Sns_SystemBannerTable', @level2type=N'COLUMN', @level2name=N'BannerName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'栏目模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Sns_SystemBannerTable', @level2type=N'COLUMN', @level2name=N'BannerStyle'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'(1为首页栏目 0为分栏目)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Sns_SystemBannerTable', @level2type=N'COLUMN', @level2name=N'BannerIndex'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Sns_SystemBannerTable', @level2type=N'COLUMN', @level2name=N'BannerOrder'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否显示(0为不显示 1为显示)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Sns_SystemBannerTable', @level2type=N'COLUMN', @level2name=N'BannerShow'

GO
CREATE TABLE [dbo].[ZL_CollectionInfo](
[C_IID] [int] IDENTITY(1,1) NOT NULL,
[ModeID] [int] NULL,
[NodeID] [int] NULL,
[ItemID] [int] NULL,
[CollID] [int] NULL,
[OldUrl] [nvarchar](500) NULL,
[NewUrl] [nvarchar](500) NULL,
[State] [int] NULL,
[AddTime] [nvarchar](50) NULL,
[Remark] [nvarchar](500) NULL,
CONSTRAINT [PK_ZL_CollectionInfo] PRIMARY KEY CLUSTERED 
(
[C_IID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionInfo', @level2type=N'COLUMN', @level2name=N'ModeID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionInfo', @level2type=N'COLUMN', @level2name=N'NodeID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionInfo', @level2type=N'COLUMN', @level2name=N'ItemID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'采集ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionInfo', @level2type=N'COLUMN', @level2name=N'CollID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'原网页地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionInfo', @level2type=N'COLUMN', @level2name=N'OldUrl'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'新地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionInfo', @level2type=N'COLUMN', @level2name=N'NewUrl'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionInfo', @level2type=N'COLUMN', @level2name=N'State'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionInfo', @level2type=N'COLUMN', @level2name=N'AddTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionInfo', @level2type=N'COLUMN', @level2name=N'Remark'

GO
CREATE TABLE [dbo].[ZL_Sns_SystemLog](
[ID] [uniqueidentifier] NOT NULL,
[UserID] [int] NULL,
[ContentID] [uniqueidentifier] NULL,
[LogType] [varchar](20) NULL,
[ModelUrl] [varchar](100) NULL,
[CreateTime] [datetime] NULL,
[LogContent] [varchar](1000) NULL,
[LogTitle] [varchar](100) NULL,
CONSTRAINT [PK_ZL_Sns_SystemLog] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_CollectionItem](
[CItem_ID] [int] IDENTITY(1,1) NOT NULL,
[ItemName] [nvarchar](500) NULL,
[ModeID] [int] NULL,
[NodeID] [nvarchar](200) NULL,
[SpecialID] [nvarchar](200) NULL,
[SiteName] [nvarchar](100) NULL,
[CollUrl] [nvarchar](200) NULL,
[CodinChoice] [int] NULL,
[CollNum] [int] NULL,
[CollOrder] [int] NULL,
[CollContext] [nvarchar](4000) NULL,
[ListSettings] [nvarchar](1000) NULL,
[PageSettings] [nvarchar](1000) NULL,
[InfoPageSettings] [nvarchar](4000) NULL,
[AddTime] [datetime] NULL,
[LastTime] [nvarchar](50) NULL,
[Switch] [int] NULL,
[State] [int] NULL,
[LinkList][ntext] NULL
CONSTRAINT [PK_ZL_CollectionItem] PRIMARY KEY CLUSTERED 
(
[CItem_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'ItemName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'ModeID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点ID(多节点使用，隔开）' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'NodeID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题ID（多专题用，隔开）' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'SpecialID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'采集网站' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'SiteName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'采集URL' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'CollUrl'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编码选择' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'CodinChoice'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'指定采集数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'CollNum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'采集排序' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'CollOrder'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'采集简介' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'CollContext'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'列表设置' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'ListSettings'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分页设置' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'PageSettings'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容页采集设置' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'InfoPageSettings'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'AddTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最后采集时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'LastTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'采集开关，1开始，2停止' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'Switch'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'采集状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CollectionItem', @level2type=N'COLUMN', @level2name=N'State'

GO
CREATE TABLE [dbo].[ZL_Sns_UserLog](
[ID] [uniqueidentifier] NOT NULL,
[UserID] [int] NULL,
[LogContext] [text] NULL,
[CreatDate] [datetime] NULL,
[UpdateLogDate] [datetime] NULL,
[LogTypeID] [uniqueidentifier] NULL,
[LogState] [int] NULL,
[LogTitle] [varchar](50) NULL,
[ReadCount] [int] NULL CONSTRAINT [DF_ZL_Sns_UserLog_ReadCount]  DEFAULT (0),
[CriticismCount] [int] NULL CONSTRAINT [DF_ZL_Sns_UserLog_CriticismCount]  DEFAULT (0),
CONSTRAINT [PK_ZL_Sns_UserLog] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Comment](
[CommentID] [int] IDENTITY(1,1) NOT NULL,
[GeneralID] [int] NOT NULL,
[Title] [nvarchar](255) NULL,
[Contents] [nvarchar](300) NOT NULL,
[Audited] [bit] NOT NULL CONSTRAINT [DF_ZL_Comment_Audited]  DEFAULT (0),
[UserID] [int] NOT NULL,
[CommentTime] [datetime] NOT NULL CONSTRAINT [DF_ZL_Comment_CommentTime]  DEFAULT (getdate()),
[Score] [int] NOT NULL CONSTRAINT [DF_ZL_Comment_Score]  DEFAULT (0),
[PK] [bit] NULL CONSTRAINT [DF_ZL_Comment_PK]  DEFAULT (0),
[files] [nvarchar](200) NULL,
[status] [int] NULL CONSTRAINT [DF_ZL_Comment_status]  DEFAULT (0),
[pid] [int] NULL CONSTRAINT [DF_ZL_Comment_pid]  DEFAULT (0),
[Type] [int] NULL CONSTRAINT [DF_ZL_Comment_Type]  DEFAULT (0),
 CONSTRAINT [PK_ZL_Comment] PRIMARY KEY CLUSTERED 
(
	[CommentID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'评论的标题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Comment', @level2type=N'COLUMN', @level2name=N'Title'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0=反对 1=支持' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Comment', @level2type=N'COLUMN', @level2name=N'PK'

GO
CREATE TABLE [dbo].[ZL_Sns_UserLogType](
[ID] [uniqueidentifier] NOT NULL,
[LogTypeName] [varchar](50) NULL,
[CreateTime] [datetime] NULL,
[LogArea] [int] NULL,
[UserID] [int] NULL,
[LogTypePWD] [varchar](32) NULL,
CONSTRAINT [PK_ZL_Sns_UserLogType] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Commodities](
[ID] [int] IDENTITY(1,1) NOT NULL,
[OrderID] [int] NULL CONSTRAINT [DF_ZL_Commodities_OrderID]  DEFAULT (1),
[ItemID] [int] NULL,
[Class] [int] NULL CONSTRAINT [DF_ZL_Commodities_Class]  DEFAULT (0),
[Nodeid] [int] NULL CONSTRAINT [DF_ZL_Commodities_Nodeid]  DEFAULT (0),
[ModelID] [int] NULL,
[Categoryid] [int] NULL CONSTRAINT [DF_ZL_Commodities_Categoryid]  DEFAULT (0),
[ProCode] [varchar](50) NULL,
[BarCode] [varchar](50) NULL,
[Proname] [varchar](255) NULL,
[Kayword] [varchar](255) NULL,
[ProUnit] [varchar](50) NULL,
[Weight] [int] NULL CONSTRAINT [DF_ZL_Commodities_Weight]  DEFAULT (0),
[ServerPeriod] [int] NULL CONSTRAINT [DF_ZL_Commodities_ServerPeriod]  DEFAULT (0),
[ServerType] [int] NULL CONSTRAINT [DF_ZL_Commodities_ServerType]  DEFAULT (0),
[ProClass] [int] NULL CONSTRAINT [DF_ZL_Commodities_ProClass]  DEFAULT (0),
[Properties] [int] NULL CONSTRAINT [DF_ZL_Commodities_Properties]  DEFAULT (0),
[Sales] [int] NULL CONSTRAINT [DF_ZL_Commodities_Sales]  DEFAULT (0),
[Proinfo] [text] NULL,
[Procontent] [text] NULL,
[Clearimg] [varchar](255) NULL,
[Thumbnails] [varchar](255) NULL,
[Producer] [varchar](255) NULL,
[Brand] [varchar](50) NULL,
[Allowed] [int] NULL CONSTRAINT [DF_ZL_Commodities_Allowed]  DEFAULT (0),
[Quota] [int] NULL CONSTRAINT [DF_ZL_Commodities_Quota]  DEFAULT (0),
[DownQuota] [int] NULL CONSTRAINT [DF_ZL_Commodities_DownQuota]  DEFAULT (0),
[Stock] [int] NULL CONSTRAINT [DF_ZL_Commodities_Stock]  DEFAULT (0),
[StockDown] [int] NULL CONSTRAINT [DF_ZL_Commodities_StockDown]  DEFAULT (0),
[JisuanFs] [int] NULL CONSTRAINT [DF_ZL_Commodities_JisuanFs]  DEFAULT (0),
[Rate] [money] NULL CONSTRAINT [DF_ZL_Commodities_Rate]  DEFAULT (0),
[Rateset] [int] NULL,
[Dengji] [int] NULL CONSTRAINT [DF_ZL_Commodities_Dengji]  DEFAULT (0),
[ShiPrice] [money] NULL CONSTRAINT [DF_ZL_Commodities_ShiPrice]  DEFAULT (0),
[LinPrice] [money] NULL CONSTRAINT [DF_ZL_Commodities_LinPrice]  DEFAULT (0),
[MemberPrice] [varchar](255) NULL CONSTRAINT [DF_ZL_Commodities_MemberPrice]  DEFAULT (0 | 0),
[ActPrice] [varchar](255) NULL CONSTRAINT [DF_ZL_Commodities_ActPrice]  DEFAULT (0 | 0),
[Wholesales] [int] NULL CONSTRAINT [DF_ZL_Commodities_Wholesales]  DEFAULT (0),
[Wholesaleone] [int] NULL CONSTRAINT [DF_ZL_Commodities_Wholesaleone]  DEFAULT (0),
[Wholesalesinfo] [varchar](255) NULL CONSTRAINT [DF_ZL_Commodities_Wholesalesinfo]  DEFAULT ('0|0,0|0,0|0'),
[Preset] [varchar](255) NULL,
[Integral] [int] NULL CONSTRAINT [DF_ZL_Commodities_Integral]  DEFAULT (0),
[Propeid] [int] NULL CONSTRAINT [DF_ZL_Commodities_Propeid]  DEFAULT (0),
[Recommend] [int] NULL CONSTRAINT [DF_ZL_Commodities_Recommend]  DEFAULT (0),
[Priority] [int] NULL CONSTRAINT [DF_ZL_Commodities_Priority]  DEFAULT (0),
[MonthClickNum] [int] NULL CONSTRAINT [DF_ZL_Commodities_MonthClickNum]  DEFAULT (0),
[ModeTemplate] [varchar](255) NULL,
[AddUser] [varchar](255) NULL,
[DownCar] [int] NULL CONSTRAINT [DF_ZL_Commodities_DownCar]  DEFAULT (0),
[AddTime] [datetime] NULL CONSTRAINT [DF_ZL_Commodities_AddTime]  DEFAULT (getdate()),
[UpdateTime] [datetime] NULL CONSTRAINT [DF_ZL_Commodities_UpdateTime]  DEFAULT (getdate()),
[TableName] [varchar](50) NULL,
[Istrue] [int] NULL CONSTRAINT [DF_ZL_Commodities_Istrue]  DEFAULT (0),
[Isgood] [int] NULL CONSTRAINT [DF_ZL_Commodities_Isgood]  DEFAULT (0),
[MakeHtml] [int] NULL CONSTRAINT [DF_ZL_Commodities_MakeHtml]  DEFAULT (0),
[Sold] [int] NULL CONSTRAINT [DF_ZL_Commodities_Sold]  DEFAULT (0),
[isnew] [int] NULL CONSTRAINT [DF_ZL_Commodities_isnew]  DEFAULT (0),
[ishot] [int] NULL CONSTRAINT [DF_ZL_Commodities_ishot]  DEFAULT (0),
[isbest] [int] NULL CONSTRAINT [DF_ZL_Commodities_isbest]  DEFAULT (0),	
[ComModelID] [int] NULL,
[AllClickNum] [int] NULL CONSTRAINT [DF_ZL_Commodities_AllClickNum]  DEFAULT (0),
[Largess] [int] NULL CONSTRAINT [DF_ZL_Commodities_Largess]  DEFAULT (0),
[Largesspirx] [money] NULL CONSTRAINT [DF_ZL_Commodities_Largesspirx]  DEFAULT (0),
[ProjectType] [int] NULL CONSTRAINT [DF_ZL_Commodities_ProjectType]  DEFAULT (1),
[ProjectPronum] [int] NULL CONSTRAINT [DF_ZL_Commodities_ProjectPronum]  DEFAULT (1),
[ProjectMoney] [money] NULL CONSTRAINT [DF_ZL_Commodities_ProjectMoney]  DEFAULT (0),
[IntegralNum] [int] NULL CONSTRAINT [DF_ZL_Commodities_IntegralNum]  DEFAULT (1),
[PesentNames] [nvarchar](255) NULL,
[PesentNameid] [int] NULL,
[Recycler] [bit] NULL CONSTRAINT [DF_ZL_Commodities_Recycler]  DEFAULT (0),	
[ProSeller] [nvarchar] (255) NULL,
[GuessType] [int] NULL,
[GuessXML] [nvarchar](1000) NULL,
[FirstNodeID] [int] NULL,
[PointVal] [int] NULL,
[isStand] [int] NULL,
[UserShopID] [int] NULL,
[BookPrice] [money] NULL,
[bookDay] [int] NULL,
[UserType] [int] NULL,
[UserPrice] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[FestlPrice] [money] NULL,
[FestPeriod] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[ColonelTime] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[ColoneDeposit] [money] NULL,
[FarePrice] [nvarchar](400) COLLATE Chinese_PRC_CI_AS NULL,
[ExpRemind] [int] NULL,
CONSTRAINT [PK_ZL_Commodities] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'[未用][备用字段]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Class'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Nodeid'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ModelID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属专题ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Categoryid'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品编号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ProCode'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'条形码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'BarCode'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Proname'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'关键字' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Kayword'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'单位' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ProUnit'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'重量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Weight'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'服务期限' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ServerPeriod'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'期限日期格式[3-年2-月1-日]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ServerType'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品类型[1-正常2-特价3-积分商品]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ProClass'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品属性' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Properties'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'销售操作[1-允许销售,2-不允许]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Sales'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品简介' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Proinfo'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品详细介绍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Procontent'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品清晰图' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Clearimg'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品缩略图' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Thumbnails'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'厂商' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Producer'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商标' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Brand'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'1-缺货允许购买，0-不允许购买' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Allowed'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'限制购买数量[购买上限]-1不限制' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Quota'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最低购买数量[购买下限]-1不限制' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'DownQuota'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'库存数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Stock'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最低库存数量[报警]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'StockDown'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0-实际库存，1-虚拟库存(含订购)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'JisuanFs'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'税率设置,百分数%' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Rate'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'税率设置' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Rateset'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'推荐等级' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Dengji'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'市场价' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ShiPrice'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'零售价' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'LinPrice'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'[未用][备用字段]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'MemberPrice'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'[未用][备用字段]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ActPrice'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'批发' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Wholesales'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'零售' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Wholesaleone'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'批发价' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Wholesalesinfo'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'促销方案' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Preset'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'购物积分' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Integral'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'自选购买数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Propeid'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'[未用][备用字段]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Recommend'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'绑定销售(1=绑定 0=不绑定)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Priority'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'[未用][备用字段]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'MonthClickNum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ModeTemplate'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'作者' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'AddUser'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'[未用][备用字段](是否下架)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'DownCar'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'AddTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'UpdateTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型表名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'TableName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否启用' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Istrue'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'[未用][备用字段]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Isgood'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否生成' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'MakeHtml'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'当前团购人数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Sold'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'新品' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'isnew'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'热销' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ishot'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'精品' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'isbest'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'从表ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ItemID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ComModelID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'点击数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'AllClickNum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设为赠品(1-为赠品 0-非赠品)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Largess'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'赠品价格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'Largesspirx'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'促销方案' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ProjectType'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'促销方案涉及到数字的字段' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ProjectPronum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'方案涉及金钱的字段' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'ProjectMoney'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'购物数量送积分' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'IntegralNum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'赠品名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'PesentNames'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'赠品ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'PesentNameid'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍选项；1：关闭，2：开启秒杀，3：开启竞拍' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'GuessType'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'GuessType为2：存储秒杀XML信息，GuessType为3：存储竞拍XML信息' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'GuessXML'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'第一级节点' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'FirstNodeID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'积分价格' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'PointVal'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否设为标准:0为否,1为是' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Commodities', @level2type=N'COLUMN', @level2name=N'isStand'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'标准商品ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Commodities', @level2type=N'COLUMN',@level2name=N'UserShopID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'预订价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Commodities', @level2type=N'COLUMN',@level2name=N'BookPrice'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'比节日时间提前多少天为预订价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Commodities', @level2type=N'COLUMN',@level2name=N'bookDay'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'计价类型：0为会员价,1为按会员组打折' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Commodities', @level2type=N'COLUMN',@level2name=N'UserType'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'如果按会员组打折,格式为:会员组ID|价格' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Commodities', @level2type=N'COLUMN',@level2name=N'UserPrice'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'节日价格' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Commodities', @level2type=N'COLUMN',@level2name=N'FestlPrice'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'节日期间:某段时间内为节日价，格式开始时间|结束时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Commodities', @level2type=N'COLUMN',@level2name=N'FestPeriod'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'团购时间：开始时间|结束时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Commodities', @level2type=N'COLUMN',@level2name=N'ColonelTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'团购订金' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Commodities', @level2type=N'COLUMN',@level2name=N'ColoneDeposit'

GO
SET IDENTITY_INSERT [ZL_Commodities] ON
INSERT [ZL_Commodities] ([ID],[OrderID],[ItemID],[Class],[Nodeid],[ModelID],[Categoryid],[ProCode],[Proname],[ProUnit],[Weight],[ServerPeriod],[ServerType],[ProClass],[Properties],[Sales],[Proinfo],[Procontent],[Clearimg],[Thumbnails],[Allowed],[Quota],[DownQuota],[Stock],[StockDown],[JisuanFs],[Rate],[Rateset],[Dengji],[ShiPrice],[LinPrice],[MemberPrice],[ActPrice],[Wholesales],[Wholesaleone],[Wholesalesinfo],[Preset],[Integral],[Propeid],[Recommend],[Priority],[MonthClickNum],[UpdateTime],[AddUser],[DownCar],[AddTime],[TableName],[Istrue],[Isgood],[MakeHtml],[Sold],[isnew],[ishot],[isbest],[ComModelID],[AllClickNum],[Largess],[Largesspirx],[ProjectType],[ProjectPronum],[ProjectMoney],[IntegralNum],[PesentNameid],[Recycler],[GuessType],[FirstNodeID],[PointVal],[isStand],[UserShopID],[BookPrice],[bookDay],[UserType],[FestlPrice],[FestPeriod],[ColoneDeposit]) VALUES ( 1,1,1,1,75,6,0,N'2012120145963411137',N'示例商品之一',N'件',0,0,3,1,0,1,N'这个冬天我们奉献最时尚的衣装和折扣...',N'这里放置商品的详细介绍',N'UploadFiles/demo/01.jpg',N'UploadFiles/demo/02.jpg',0,-1,-1,20,1,0,0.0000,1,3,100.0000,80.0000,N'0',N'0',0,1,N'10|0,50|0,100|0',N'1',0,0,0,0,0,N'2015-10-13 16:59:52',N'admin',0,N'2015-10-13 16:59:52',N'ZL_P_Shop',1,0,0,0,1,0,0,2,91,0,0.0000,7,0,1.0000,0,0,0,1,2,0,1,1,0.0000,0,0,0.0000,N'2015-08-31|',0.0000)
INSERT [ZL_Commodities] ([ID],[OrderID],[ItemID],[Class],[Nodeid],[ModelID],[Categoryid],[ProCode],[Proname],[ProUnit],[Weight],[ServerPeriod],[ServerType],[ProClass],[Properties],[Sales],[Proinfo],[Procontent],[Clearimg],[Thumbnails],[Allowed],[Quota],[DownQuota],[Stock],[StockDown],[JisuanFs],[Rate],[Rateset],[Dengji],[ShiPrice],[LinPrice],[MemberPrice],[ActPrice],[Wholesales],[Wholesaleone],[Wholesalesinfo],[Integral],[Propeid],[Recommend],[Priority],[MonthClickNum],[UpdateTime],[AddUser],[DownCar],[AddTime],[TableName],[Istrue],[Isgood],[MakeHtml],[Sold],[isnew],[ishot],[isbest],[ComModelID],[AllClickNum],[Largess],[Largesspirx],[ProjectType],[ProjectPronum],[ProjectMoney],[IntegralNum],[PesentNameid],[Recycler],[GuessType],[FirstNodeID],[PointVal],[BookPrice],[bookDay],[UserType],[FestlPrice],[FestPeriod],[ColoneDeposit]) VALUES ( 2,2,2,0,75,6,0,N'201212014584333148946',N'示例商品二',N'件',0,0,3,1,0,1,N'源自德国的男装风格',N'源自德国的男装风格，为您的冬天装点一切。',N'UploadFiles/demo/04.jpg',N'UploadFiles/demo/04.jpg',0,-1,-1,20,1,0,0.0000,1,3,988.0000,688.0000,N'0',N'0',0,1,N'10|0,50|0,100|0',0,0,0,0,0,N'2015-12-31 8:40:54',N'admin',0,N'2015-10-12 8:40:54',N'ZL_P_Shop',0,0,0,0,1,0,0,128,2,0,0.0000,1,0,0.0000,1,0,0,1,2,0,0.0000,0,0,0.0000,N'2015-08-31|',0.0000)
INSERT [ZL_Commodities] ([ID],[OrderID],[ItemID],[Class],[Nodeid],[ModelID],[Categoryid],[ProCode],[Proname],[ProUnit],[Weight],[ServerPeriod],[ServerType],[ProClass],[Properties],[Sales],[Proinfo],[Procontent],[Clearimg],[Thumbnails],[Brand],[Allowed],[Quota],[DownQuota],[Stock],[StockDown],[JisuanFs],[Rate],[Rateset],[Dengji],[ShiPrice],[LinPrice],[MemberPrice],[ActPrice],[Wholesales],[Wholesaleone],[Wholesalesinfo],[Integral],[Propeid],[Recommend],[Priority],[MonthClickNum],[UpdateTime],[AddUser],[DownCar],[AddTime],[TableName],[Istrue],[Isgood],[MakeHtml],[Sold],[isnew],[ishot],[isbest],[ComModelID],[AllClickNum],[Largess],[Largesspirx],[ProjectType],[ProjectPronum],[ProjectMoney],[IntegralNum],[PesentNameid],[Recycler],[GuessType],[FirstNodeID],[PointVal],[BookPrice],[bookDay],[UserType],[FestlPrice],[FestPeriod],[ColoneDeposit]) VALUES ( 3,3,3,0,75,6,0,N'20121201533447191785',N'示例商品三',N'件',1,1,3,1,0,1,N'商品简介',N'<p>	商品简介商品简介商品简介商品简介</p>',N'UploadFiles/demo/04.jpg',N'UploadFiles/demo/04.jpg',N'九牧王',0,-1,-1,20,1,0,0.0000,1,3,500.0000,455.0000,N'0',N'0',0,1,N'10|0,50|0,100|0',0,0,0,0,0,N'2015-1-20 15:01:19',N'admin',0,N'2015-1-20 15:01:19',N'ZL_P_Shop',0,0,0,0,1,0,0,309,0,0,0.0000,1,0,0.0000,1,0,0,1,2,0,0.0000,0,0,0.0000,N'2015-08-31|',0.0000)
SET IDENTITY_INSERT [ZL_Commodities] OFF

GO
CREATE TABLE [dbo].[ZL_Sns_UserMoreinfo](
[UserID] [int] IDENTITY(1,1) NOT NULL,
[UserIdcard] [nvarchar](18) NULL,
[UserSex] [bit] NULL,
[UserStature] [nvarchar](3) NULL,
[UserAvoir] [nvarchar](3) NULL,
[UserBir] [nvarchar](50) NULL,
[UserMarry] [nvarchar](50) NULL,
[UserBachelor] [nvarchar](50) NULL,
[UserMonthIn] [nvarchar](50) NULL,
[UserHome] [nvarchar](50) NULL,
[UserChild] [nvarchar](50) NULL,
[UserConsortSex] [nvarchar](4) NULL,
[UserConsortAge] [nvarchar](50) NULL,
[UserConsortWorkArea] [nvarchar](50) NULL,
[UserConsortMarry] [nvarchar](50) NULL,
[UserConsortStature] [nvarchar](50) NULL,
[UserConsortAvoir] [nvarchar](50) NULL,
[UserConsortMonthIN] [nvarchar](50) NULL,
[UserConsortBachelor] [nvarchar](50) NULL,
[UserConsortHome] [nvarchar](50) NULL,
[UserConsortOther] [nvarchar](200) NULL,
[UserSomato] [nvarchar](50) NULL,
[UserBlood] [nvarchar](50) NULL,
[UserProvince] [nvarchar](50) NULL,
[UserCity] [nvarchar](50) NULL,
[UserNation] [nvarchar](50) NULL,
[UserSchool] [nvarchar](50) NULL,
[UserBrother] [nvarchar](50) NULL,
[UserLanguage] [nvarchar](50) NULL,
[UserLifePic4] [nvarchar](100) NULL,
[UserLifePic3] [nvarchar](100) NULL,
[UserLifePic1] [nvarchar](100) NULL,
[UserLife] [nvarchar](50) NULL,
[UserSmoke] [nvarchar](50) NULL,
[UserDrink] [nvarchar](50) NULL,
[UserWork] [nvarchar](50) NULL,
[UserCar] [nvarchar](50) NULL,
[UserCom] [nvarchar](50) NULL,
[UserNeedchild] [nvarchar](50) NULL,
[UserAcctive] [nvarchar](200) NULL,
[UserAth] [nvarchar](200) NULL,
[UserMusic] [nvarchar](200) NULL,
[UserMovie] [nvarchar](200) NULL,
[UserFood] [nvarchar](200) NULL,
[UserArea] [nvarchar](200) NULL,
[UserHeart] [ntext] NULL,
[UserLove] [ntext] NULL,
[UserLifePic2] [nvarchar](100) NULL,
[UserConstellation] [nvarchar](50) NULL,
[Xinyang] [nvarchar] (50)  NULL ,
[Facey] [nvarchar] (500)  NULL ,
[FaceType] [nvarchar] (50)  NULL ,
[HairType] [nvarchar] (50) NULL ,
[Lovepetlife] [nvarchar] (500) NULL ,
[JobAnd] [nvarchar] (255) NULL ,	
 CONSTRAINT [PK_ZL_Sns_UserMoreinfo] PRIMARY KEY CLUSTERED 
(
	[UserID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'星座' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Sns_UserMoreinfo', @level2type=N'COLUMN', @level2name=N'UserConstellation'

GO
CREATE TABLE [dbo].[ZL_CommonModel]
(
[GeneralID] [int] IDENTITY(1,1) NOT NULL,
[OrderID] [int] NULL CONSTRAINT [DF_ZL_CommonModel_OrderID]  DEFAULT (1),
[NodeID] [int] NOT NULL,
[ModelID] [int] NOT NULL,
[ItemID] [int] NOT NULL,
[TableName] [nvarchar](50) NOT NULL,
[Title] [nvarchar](255) NOT NULL,
[Inputer] [nvarchar](255) NULL CONSTRAINT [DF_ZL_CommonModel_Inputer]  DEFAULT (''),
[Hits] [int] NULL CONSTRAINT [DF_ZL_CommonModel_Hits]  DEFAULT (0),
[CreateTime] [datetime] NULL CONSTRAINT [DF_ZL_CommonModel_CreateTime]  DEFAULT (getdate()),
[Status] [int] NULL CONSTRAINT [DF_ZL_CommonModel_Status]  DEFAULT (0),
[EliteLevel] [int] NULL CONSTRAINT [DF_ZL_CommonModel_EliteLevel]  DEFAULT (0),
[InfoID] [nvarchar](255) NULL CONSTRAINT [DF_ZL_CommonModel_InfoID]  DEFAULT (''),
[SpecialID] [nvarchar](255) NULL CONSTRAINT [DF_ZL_CommonModel_SpecialID]  DEFAULT (''),
[IsCreate] [int] NULL CONSTRAINT [DF_ZL_CommonModel_IsCreate]  DEFAULT (0),
[HtmlLink] [nvarchar](500) NULL CONSTRAINT [DF_ZL_CommonModel_HtmlLink]  DEFAULT (''),
[Titlecolor] [nvarchar](255) NULL CONSTRAINT [DF_ZL_CommonModel_Titlecolor]  DEFAULT (''),
[Template] [nvarchar](255) NULL,
[Tagkey] [nvarchar](1000) NULL,
[UpDateTime] [datetime] NULL,
[UpDateType] [int] NULL,
[cast_file] [int] NULL,
[because_back] [nvarchar] (200) NULL,
[PdfLink] [nvarchar](500) NULL CONSTRAINT [DF_ZL_CommonModel_PdfLink]  DEFAULT (''),
[Rtype] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL DEFAULT (null),
[SuccessfulUserID] [int] NULL,
[ComplianceUserList] [nvarchar](2000) COLLATE Chinese_PRC_CI_AS NULL,
[Subtitle] [nvarchar](2000) COLLATE Chinese_PRC_CI_AS NULL,
[PYtitle] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[BidMoney] [money] NULL,
[IsBid] [int] NULL,
[Pronum] [int] NULL,
[ProWeek] [int] NULL,
[BidType] [int] NULL,
[DefaultSkins] [int]  NULL CONSTRAINT [DF_ZL_CommonModel_DefaultSkins]  DEFAULT (0),
[OrederClass] [int] NULL,
[FirstNodeID] [int] NULL,
[TitleStyle] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[ParentTree] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
[TopImg] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NULL,
[IsCatch] [int]  NULL DEFAULT (0)
 CONSTRAINT [PK_ZL_CommonModel] PRIMARY KEY CLUSTERED 
(
	[GeneralID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容全局ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'GeneralID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属节点ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'NodeID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属内容模型ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'ModelID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'相应表的记录ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'ItemID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容标题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'Title'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'录入者' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'Inputer'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'点击数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'Hits'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'CreateTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'信息状态 -2为删除，-1为退稿，0为待审核，99为终审通过，其它为自定义' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'Status'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'推荐' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'EliteLevel'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属其他节点数组' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'InfoID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属专题ID数组' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'SpecialID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否已生成0=未生成 1=已生成' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'IsCreate'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生成的静态页面地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'HtmlLink'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'关键字' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'Tagkey'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'UpDateTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间类型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'UpDateType'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标题颜色' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'Titlecolor'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'PDF生成地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'PdfLink'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'副标题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'Subtitle'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'拼音标题缩写' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'PYtitle'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内容类别' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'OrederClass'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'第一级节点' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'FirstNodeID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'标题字体' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'TitleStyle'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'首页图片' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CommonModel', @level2type=N'COLUMN', @level2name=N'TopImg'

GO
CREATE TABLE [dbo].[ZL_Sns_UserShopProduct](
[ID] [uniqueidentifier] NOT NULL,
[UserID] [int] NULL,
[ProductID] [uniqueidentifier] NULL,
[ShopDay] [int] NULL,
[Addtime] [datetime] NULL,
[LargessContent] [ntext] NULL,
[LargessID] [int] NULL,
 CONSTRAINT [PK_ZL_Sns_UserShopProduct] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_User_R_GS](
[ID] [uniqueidentifier] NOT NULL,
[UserID] [int] NULL,
[GSID] [uniqueidentifier] NULL,
[CreateTime] [datetime] NULL,
[LastCallTime] [datetime] NULL,
[root][int] NULL,
CONSTRAINT [PK_ZL_Sns_User_R_GS] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Correct](
[CorrectID] [int] IDENTITY(1,1) NOT NULL,
[CorrectUrl] [nvarchar](255) NOT NULL,
[CorrectTitle] [nvarchar](255) NOT NULL,
[CorrectType] [int] NOT NULL CONSTRAINT [DF_ZL_Correct_CorrectType]  DEFAULT (0),
[CorrectDetail] [nvarchar](255) NULL,
[CorrectPer] [nvarchar](50) NULL,
[PerEmail] [nvarchar](50) NULL,
CONSTRAINT [PK_ZL_Correct] PRIMARY KEY CLUSTERED 
(
[CorrectID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0-内容错误 1-错别字 2-图片错误 3-链接错误' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Correct', @level2type=N'COLUMN', @level2name=N'CorrectType'

GO
CREATE TABLE [dbo].[ZL_Sns_User_R_Module](
[ID] [uniqueidentifier] NOT NULL,
[UserID] [int] NULL,
[VisibleDegree] [int] NULL,
[ModuleID] [uniqueidentifier] NULL,
[Taix] [int] NULL,
CONSTRAINT [PK_ZL_Sns_User_R_Module] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_blogTable](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[BlogName] [varchar](50) NULL,
[BlogContent] [ntext] NULL,
[BlogState] [int] NULL,
[Addtime] [datetime] NULL,
[CommendState] [int] NULL,
[StyleID] [int] NULL,
[BlogHits] [int] NULL,
CONSTRAINT [PK_ZL_Sns_blogTable] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_CustomerService](
[CS_ID] [int] IDENTITY(1,1) NOT NULL,
[CS_Context] [nvarchar](4000) NULL,
[CS_SendID] [int] NULL,
[CS_SendName] [nvarchar](50) NULL,
[CS_Ctouid] [int] NULL,
[CS_CtoName] [nvarchar](50) NULL,
[CS_AddTime] [datetime] NULL,
[CS_Type] [int] NULL,
[CS_OID] [int] NULL,
[CS_Remrk] [nvarchar](500) NULL,
CONSTRAINT [PK_ZL_CustomerService] PRIMARY KEY CLUSTERED 
(
[CS_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CustomerService', @level2type=N'COLUMN', @level2name=N'CS_Context'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发送者ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CustomerService', @level2type=N'COLUMN', @level2name=N'CS_SendID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发送者用户名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CustomerService', @level2type=N'COLUMN', @level2name=N'CS_SendName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'接收者ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CustomerService', @level2type=N'COLUMN', @level2name=N'CS_Ctouid'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'接收者用户名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CustomerService', @level2type=N'COLUMN', @level2name=N'CS_CtoName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发送时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CustomerService', @level2type=N'COLUMN', @level2name=N'CS_AddTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'信息类型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CustomerService', @level2type=N'COLUMN', @level2name=N'CS_Type'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'OnlineUsersID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CustomerService', @level2type=N'COLUMN', @level2name=N'CS_OID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_CustomerService', @level2type=N'COLUMN', @level2name=N'CS_Remrk'

GO
CREATE TABLE [dbo].[ZL_Source](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Type] [nvarchar](50) NULL CONSTRAINT [DF_ZL_Source_Type]  DEFAULT (0),
[Name] [nvarchar](50) NOT NULL,
[Passed] [bit] NULL CONSTRAINT [DF_ZL_Source_Passed]  DEFAULT (0),
[onTop] [bit] NULL CONSTRAINT [DF_ZL_Source_onTop]  DEFAULT (0),
[IsElite] [bit] NULL CONSTRAINT [DF_ZL_Source_IsElite]  DEFAULT (0),
[Hits] [int] NULL CONSTRAINT [DF_ZL_Source_Hits]  DEFAULT (0),
[LastUseTime] [datetime] NULL,
[Photo] [nvarchar](255) NULL,
[Intro] [nvarchar](255) NULL,
[Address] [nvarchar](50) NULL,
[Tel] [nvarchar](50) NULL,
[Fax] [nvarchar](50) NULL,
[Mail] [nvarchar](50) NULL,
[Email] [nvarchar](50) NULL,
[ZipCode] [int] NULL,
[HomePage] [nvarchar](50) NULL,
[Im] [nvarchar](50) NULL,
[Contacter] [nvarchar](50) NULL,
CONSTRAINT [PK_ZL_Source] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_SpecCate](
[SpecCateID] [int] IDENTITY(1,1) NOT NULL,
[SpecCateName] [nvarchar](50) NOT NULL,
[SpecCateDir] [nvarchar](50) NOT NULL,
[SpecCateDesc] [nvarchar](255) NULL,
[OpenType] [bit] NULL CONSTRAINT [DF_ZL_SpecCate_OpenType]  DEFAULT (0),
[FileExt] [int] NULL,
[ListTemplate] [nvarchar](255) NULL,
[NodeID] [int] NULL CONSTRAINT [DF_ZL_SpecCate_NodeID] DEFAULT (0),
[SpecCateDescriptive] [nvarchar](255) NULL,
[SpecCateKeyword] [nvarchar] (50) NULL,
[SpecCatePicUrl] [nvarchar] (50) NULL,
[SpecCateTips] [nvarchar] (50) NULL,
CONSTRAINT [PK_ZL_SpecCate] PRIMARY KEY CLUSTERED 
(
[SpecCateID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题类别名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SpecCate', @level2type=N'COLUMN', @level2name=N'SpecCateName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题类别目录名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SpecCate', @level2type=N'COLUMN', @level2name=N'SpecCateDir'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'打开方式' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SpecCate', @level2type=N'COLUMN', @level2name=N'OpenType'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'文件扩展名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SpecCate', @level2type=N'COLUMN', @level2name=N'FileExt'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题类别列表页模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SpecCate', @level2type=N'COLUMN', @level2name=N'ListTemplate'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题类别描述' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SpecCate', @level2type=N'COLUMN', @level2name=N'SpecCateDescriptive'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题类别关键字' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SpecCate', @level2type=N'COLUMN', @level2name=N'SpecCateKeyword'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题类别图片' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SpecCate', @level2type=N'COLUMN', @level2name=N'SpecCatePicUrl'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题类别提示' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SpecCate', @level2type=N'COLUMN', @level2name=N'SpecCateTips'

GO
CREATE TABLE [dbo].[ZL_SpecInfo](
[SpecInfoID] [int] IDENTITY(1,1) NOT NULL,
[SpecialID] [int] NOT NULL,
[InfoID] [int] NOT NULL,
CONSTRAINT [PK_ZL_SpecInfo] PRIMARY KEY CLUSTERED 
(
[SpecInfoID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Special](
[SpecID] [int] IDENTITY(1,1) NOT NULL,
[SpecName] [nvarchar](50) NOT NULL,
[SpecDir] [nvarchar](50) NOT NULL,
[SpecDesc] [nvarchar](255) NULL,
[OpenType] [bit] NULL CONSTRAINT [DF_ZL_Special_OpenType]  DEFAULT (0),
[SpecCate] [int] NOT NULL,
[ListFileExt] [int] NULL,
[ListTemplate] [nvarchar](255) NULL,
[ListFileRule] [int] NULL CONSTRAINT [DF_ZL_Special_ListFileRule]  DEFAULT (0),
[SpecDescriptive] [nvarchar] (255) NOT NULL,
[SpecKeyword] [nvarchar] (50) NOT NULL,
[SpecPicUrl] [nvarchar] (50) NOT NULL,
[SpecTips]	[nvarchar]  (50) NOT NULL,
CONSTRAINT [PK_ZL_Special] PRIMARY KEY CLUSTERED 
(
[SpecID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'SpecName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题目录' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'SpecDir'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'SpecDesc'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'打开方式' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'OpenType'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属专题类别' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'SpecCate'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'扩展名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'ListFileExt'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'列表页模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'ListTemplate'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'列表页文件名规则' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'ListFileRule'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'描述' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'SpecDescriptive'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'关键字' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'SpecKeyword'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题图片' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'SpecPicUrl'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专题提示' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Special', @level2type=N'COLUMN', @level2name=N'SpecTips'

GO
CREATE TABLE [dbo].[ZL_Datadic](
[Dicid] [int] IDENTITY(1,1) NOT NULL,
[Diccate] [int] NOT NULL CONSTRAINT [DF_ZL_DATADIC_DICCATE]  DEFAULT (0),
[Dicname] [varchar](50) NOT NULL,
[Isused] [bit] NULL,
CONSTRAINT [PK_ZL_DATADIC] PRIMARY KEY CLUSTERED 
(
[Dicid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Datadiccategory](
[Diccateid] [int] IDENTITY(1,1) NOT NULL,
[Categoryname] [varchar](50) NOT NULL,
[Isused] [bit] NULL CONSTRAINT [DF_ZL_DATADICCATEGORY_ISUSED]  DEFAULT (0),
CONSTRAINT [PK_ZL_DATADICCATEGORY] PRIMARY KEY CLUSTERED 
(
[Diccateid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
 
GO
CREATE TABLE [dbo].[ZL_Stock](
[ID] [int] IDENTITY(1,1) NOT NULL,
[stocktype] [int] NULL CONSTRAINT [DF_ZL_Stock_stocktype]  DEFAULT (0),
[danju] [varchar](50) NULL,
[proname] [varchar](50) NULL,
[addtime] [datetime] NULL CONSTRAINT [DF_ZL_Stock_addtime]  DEFAULT (getdate()),
[adduser] [varchar](50) NULL,
[content] [ntext] NULL,
[proid] [int] NULL,
[pronum] [int] NULL CONSTRAINT [DF_ZL_Stock_pronum]  DEFAULT (0),
CONSTRAINT [PK_ZL_Stock] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_StoreStyleTable](
[ID] [int] IDENTITY(1,1) NOT NULL,
[StyleName] [varchar](50) NULL,
[StylePic] [varchar](100) NULL,
[StyleUrl] [varchar](200) NULL,
[ListStyle] [nvarchar](255) NULL,
[ContentStyle] [nvarchar](255) NULL,
[ModelID] [int] NULL,
[IsTrue] [int] NULL
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'列表页模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_StoreStyleTable', @level2type=N'COLUMN', @level2name=N'ListStyle'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容页模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_StoreStyleTable', @level2type=N'COLUMN', @level2name=N'ContentStyle'

GO
CREATE TABLE [dbo].[ZL_Delivier](
[ID] [int] IDENTITY(1,1) NOT NULL,
[deliname] [varchar](50) NULL,
[deliinfo] [varchar](255) NULL,
[delitype] [money] NULL,
[shuilv] [money] NULL,
[selectto] [int] NULL,
[isuse] [int] NULL CONSTRAINT [DF_ZL_Delivier_isuse]  DEFAULT (1),
[istype] [int] NULL CONSTRAINT [DF_ZL_Delivier_istype]  DEFAULT (1),
[citymoney] [money] NULL,
[citykg] [float] NULL,
[bigcitykg] [float] NULL,
[bigcitymoney] [money] NULL,
[maxcity] [money] NULL,
[outmoney] [money] NULL,
[outkg] [float] NULL,
[bigoutkg] [float] NULL,
[bigoutmoney] [money] NULL,
[maxout] [money] NULL,
[city] [nvarchar](100) NULL,
CONSTRAINT [PK_ZL_Delivier] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_MoneyManage](
[Flow] [int] IDENTITY(1,1) NOT NULL,
[Money_code] [varchar](10) NULL,
[Money_descp] [varchar](20) NULL,
[Money_sign] [varchar](4) NULL,
[Money_rate] [numeric](18, 5) NULL,
[Is_flag] [char](1) NULL,
CONSTRAINT [PK_zl_moneyManage] PRIMARY KEY CLUSTERED 
(
[Flow] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'汇率' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MoneyManage', @level2type=N'COLUMN', @level2name=N'Money_rate'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'1为默认货币，' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MoneyManage', @level2type=N'COLUMN', @level2name=N'Is_flag'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'1免费2重量计算3固定值' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Delivier', @level2type=N'COLUMN', @level2name=N'istype'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'城市之间基本运费' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Delivier', @level2type=N'COLUMN', @level2name=N'citymoney'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'城市之间货物重量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Delivier', @level2type=N'COLUMN', @level2name=N'citykg'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'城市之间货物超出重量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Delivier', @level2type=N'COLUMN', @level2name=N'bigcitykg'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'城市之间每公斤超出运费' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Delivier', @level2type=N'COLUMN', @level2name=N'bigcitymoney'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'城市之间最大运费' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Delivier', @level2type=N'COLUMN', @level2name=N'maxcity'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'省外基本运费' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Delivier', @level2type=N'COLUMN', @level2name=N'outmoney'

GO
CREATE TABLE [dbo].[ZL_Student](
[Noteid] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[UserName] [nvarchar](255) NULL,
[SchoolID] [int] NULL,
[RoomID] [int] NULL,
[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_Student_Addtime]  DEFAULT (getdate()),
[StatusType] [int] NULL,
[StudentType] [int] NULL,
[StudentTypeTitle] [nvarchar](50) NULL,
[Auditing] [bit] NULL,
[AuditingContext] [nvarchar](50) NULL,
[AuditingUserID] [int] NULL,
[AuditingUserName] [nvarchar](255) NULL,
CONSTRAINT [PK_ZL_Student] PRIMARY KEY CLUSTERED 
(
[Noteid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'记录ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'Noteid'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学校ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'SchoolID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'RoomID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'加入时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'Addtime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'身份类型 1：学生，2：老师，3：家长' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'StatusType'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学生属性：1、学生' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'StudentType'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学生属性：是学生或班干部；StatusType属性为1时。此属性值有效' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'StudentTypeTitle'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核用户 0：未审核，1：审核通过' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'Auditing'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请理由' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'AuditingContext'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'AuditingUserID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核用户用户名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Student', @level2type=N'COLUMN', @level2name=N'AuditingUserName'

GO
CREATE TABLE [dbo].[ZL_DownServer](
[ServerID] [int] NOT NULL,
[ServerName] [nvarchar](50) NULL,
[ServerUrl] [nvarchar](50) NULL,
[ServerLogo] [nvarchar](255) NULL,
[OrderID] [int] NULL,
[ShowType] [int] NULL,
[UrlEncrypt] [int] NULL CONSTRAINT [DF_ZL_DownServer_UrlEncrypt]  DEFAULT (0),
[EncryptKey] [nvarchar](255) NULL CONSTRAINT [DF_ZL_DownServer_EncryptKey]  DEFAULT (''),
[TimeEncrypt] [int] NULL CONSTRAINT [DF_ZL_DownServer_TimeEncrypt]  DEFAULT (0),
[UpTimeuti] [int] NULL CONSTRAINT [DF_ZL_DownServer_UpTimeuti]  DEFAULT (1),
[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_Survey_Addtime]  DEFAULT (getdate()),
[Encryptime] [datetime] NULL CONSTRAINT [DF_ZL_Survey_Encryptime]  DEFAULT (getdate()),
[ReadRoot] [nvarchar](1000) NULL,

CONSTRAINT [PK_ZL_DownServer] PRIMARY KEY CLUSTERED 
(
[ServerID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'加密方式' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_DownServer', @level2type=N'COLUMN', @level2name=N'UrlEncrypt'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'加密密钥' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_DownServer', @level2type=N'COLUMN', @level2name=N'EncryptKey'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间戳加密' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_DownServer', @level2type=N'COLUMN', @level2name=N'TimeEncrypt'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间戳间隔时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_DownServer', @level2type=N'COLUMN', @level2name=N'UpTimeuti'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_DownServer', @level2type=N'COLUMN', @level2name=N'Addtime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'加密更新时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_DownServer', @level2type=N'COLUMN', @level2name=N'Encryptime'

GO
CREATE TABLE [dbo].[ZL_Survey](
[Surveyid] [int] IDENTITY(1,1) NOT NULL,
[Surveyname] [nvarchar](255) NOT NULL,
[Description] [text] NULL,
[Createdate] [datetime] NULL CONSTRAINT [DF_ZL_Survey_Createdate]  DEFAULT (getdate()),
[Endtime] [datetime] NULL CONSTRAINT [DF_ZL_Survey_Endtime]  DEFAULT (getdate()),
[Isopen] [bit] NULL CONSTRAINT [DF_ZL_Survey_Isopen]  DEFAULT ((1)),
[NeedLogin] [bit] NULL CONSTRAINT [DF_ZL_Survey_NeedLogin]  DEFAULT ((0)),
[Surtype] [int] NULL CONSTRAINT [DF_ZL_Survey_Surtype]  DEFAULT ((1)),
[Iprepeat] [int] NULL CONSTRAINT [DF_ZL_Survey_Iprepeat]  DEFAULT ((1)),
[StartTime] [datetime] NULL CONSTRAINT [DF_ZL_Survey_StartTime]  DEFAULT (getdate()),
[IsStatus] [bit] NULL CONSTRAINT [DF_ZL_Survey_IsStatus]  DEFAULT ((0)), 
[IsCheck] [bit] NULL CONSTRAINT [DF_ZL_Survey_IsCheck]  DEFAULT ((0)),
[IsShow] [int] Null

CONSTRAINT [PK_ZL_Survey] PRIMARY KEY CLUSTERED 
(
[Surveyid] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Trademark](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Trname] [varchar](255) NULL,
[Producer] [int] NULL,
[TrClass] [varchar](50) NULL,
[Isuse] [int] NULL CONSTRAINT [DF_ZL_Trademark_Isuse]  DEFAULT (0),
[Istop] [int] NULL CONSTRAINT [DF_ZL_Trademark_Istop]  DEFAULT (0),
[Isbest] [int] NULL CONSTRAINT [DF_ZL_Trademark_Isbest]  DEFAULT (0),
[TrPhoto] [varchar](50) NULL,
[TrContent] [text] NULL,
[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_Trademark_Addtime]  DEFAULT (getdate()),
CONSTRAINT [PK_ZL_Trademark] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_ExChange](
[C_ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[PUserID] [int] NULL,
[Talk] [int] NULL CONSTRAINT [DF_ZL_ExChange_Talk]  DEFAULT (1),
[UserChange] [int] NULL CONSTRAINT [DF_ZL_ExChange_UserChange]  DEFAULT (0),
[PUserChange] [int] NULL CONSTRAINT [DF_ZL_ExChange_PUserChange]  DEFAULT (0),
[EState] [int] NULL CONSTRAINT [DF_ZL_ExChange_EState]  DEFAULT (0),
[UserPost] [int] NULL CONSTRAINT [DF_ZL_ExChange_UserPost]  DEFAULT (0),
[PUserPost] [int] NULL CONSTRAINT [DF_ZL_ExChange_PUserPost]  DEFAULT (0),
[UserLock] [int] NULL CONSTRAINT [DF_ZL_ExChange_UserLock]  DEFAULT (0),
[PUserLock] [int] NULL CONSTRAINT [DF_ZL_ExChange_PUserLock]  DEFAULT (0),
CONSTRAINT [PK_ZL_ExChange] PRIMARY KEY CLUSTERED 
(
[C_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请USERID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ExChange', @level2type=N'COLUMN', @level2name=N'UserID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'被交换USERID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ExChange', @level2type=N'COLUMN', @level2name=N'PUserID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'交谈是否可见0不可见，1可见' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ExChange', @level2type=N'COLUMN', @level2name=N'Talk'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请交换状态1同意，0不同意' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ExChange', @level2type=N'COLUMN', @level2name=N'UserChange'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'被申请方交换状态1同意，0不同意' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ExChange', @level2type=N'COLUMN', @level2name=N'PUserChange'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最终状态1交换成功0交换不成功' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ExChange', @level2type=N'COLUMN', @level2name=N'EState'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否邮寄0没邮寄，1邮寄' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ExChange', @level2type=N'COLUMN', @level2name=N'UserPost'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否邮寄0没邮寄，1邮寄' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ExChange', @level2type=N'COLUMN', @level2name=N'PUserPost'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'申请者锁定' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ExChange', @level2type=N'COLUMN', @level2name=N'UserLock'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'被申请者锁定' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ExChange', @level2type=N'COLUMN', @level2name=N'PUserLock'

GO
CREATE TABLE [dbo].[ZL_User](
[UserID] [int] IDENTITY(1,1) NOT NULL,
[UserName] [nvarchar](255) NOT NULL,
[UserPwd] [nvarchar](200) NOT NULL,
[PayPassWord] [nvarchar](200) COLLATE Chinese_PRC_CI_AS NULL,
[GroupID] [int] NOT NULL CONSTRAINT [DF_ZL_User_GroupID]  DEFAULT (0),
[Email] [nvarchar](50) NOT NULL,
[Question] [nvarchar](255) NOT NULL,
[Answer] [nvarchar](255) NOT NULL,
[RegTime] [datetime] NULL CONSTRAINT [DF_ZL_User_RegTime]  DEFAULT (getdate()),
[LoginTimes] [int] NULL CONSTRAINT [DF_ZL_User_LoginTimes]  DEFAULT (0),
[LastLoginTime] [datetime] NULL CONSTRAINT [DF_ZL_User_LastLoginTime]  DEFAULT (getdate()),
[LastLoginIP] [nvarchar](50) NULL,
[LastPwdChangeTime] [datetime] NULL CONSTRAINT [DF_ZL_User_LastPwdChangeTime]  DEFAULT (getdate()),
[LastLockTime] [datetime] NULL CONSTRAINT [DF_ZL_User_LastLockTime]  DEFAULT (getdate()),
[Status] [int] NULL CONSTRAINT [DF_ZL_User_Status]  DEFAULT (0),
[CheckNum] [nvarchar](50) NULL,
[UserExp] [int] NULL CONSTRAINT [DF_ZL_User_UserExp]  DEFAULT (0),
[boffExp] [int] NULL CONSTRAINT [DF_ZL_User_boffExp]  DEFAULT (0),
[ConsumeExp] [int] NULL CONSTRAINT [DF_ZL_User_Balance]  DEFAULT (0),
[Purse] [money] NULL CONSTRAINT [DF_ZL_User_Purse]  DEFAULT (0),
[DeadLine] [datetime] NULL,
[UserPoint] [money] NULL CONSTRAINT [DF__ZL_User__UserPoi__3E9D2825]  DEFAULT (0),
[JoinTime] [datetime] NULL CONSTRAINT [DF_ZL_User_JoinTime]  DEFAULT (getdate()),
[DummyPurse] [money] NULL CONSTRAINT [DF_ZL_User_DummyPurse]  DEFAULT (0),
[Permissions] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
[SiteID] [int] NULL,
[Remark] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
[CompanyName] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL ,
[CompanyDescribe] [nvarchar] (500) COLLATE Chinese_PRC_CI_AS NULL ,
[NHouseID] [int] NULL ,
[IsConfirm] [int] null,
[VIP] [int] NULL CONSTRAINT [DF_ZL_User_vip]  DEFAULT (0),
[salt] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
[State] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL CONSTRAINT [DF_ZL_User_state]  DEFAULT (0),
[CerificateLogo] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NULL,
[ApproveType] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[RegisterIP] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[CerificateDeadLine] [datetime] NULL,
[RebatesBalance] [money] NULL CONSTRAINT [DF_ZL_User_RebatesBalance]  DEFAULT (0),
[PageId] [int] NULL,
[SiteRebateBalance] [money] NULL,
[UserCreit] [int] NULL,
[UpdateTime] [datetime] NULL CONSTRAINT [DF_ZL_User_UpdateTime]  DEFAULT (dateadd(day,(-1),getdate())),
[RoomID] [int] NULL CONSTRAINT [DF_ZL_User_RoomID]  DEFAULT ((0)),
[ParentUserID] [varchar] (4000) NULL,
[IsAdd2K3] [int] NULL,
[IsCloud] [int] NULL,
[SilverCoin] [money] NULL, 
[seturl] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
[GuestScore] [int ] NULL,
[StructureID] [nvarchar] (255),
[UserRole] [nvarchar](255) NULL,
[WorkNum] [nvarchar](255) NULL,
[MailSize] [int] NULL
CONSTRAINT [PK_ZL_User] PRIMARY KEY CLUSTERED 
(
[UserID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'会员ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'UserID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'会员名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'UserName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'会员密码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'UserPwd'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'会员组' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'GroupID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Email' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'Email'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'会员提示问题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'Question'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'会员提示问题答案' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'Answer'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'注册时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'RegTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登录次数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'LoginTimes'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最近登录时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'LastLoginTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最后登录IP' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'LastLoginIP'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上次修改密码的时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'LastPwdChangeTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上次被锁定的时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'LastLockTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户状态。0－－正常，1－－锁定，2－－未通过邮件验证，4－－未通过管理员认证' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'Status'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'验证码。用于邮件验证' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'CheckNum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'会员积分' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'UserExp'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖家积分' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'boffExp'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'消费积分' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'ConsumeExp'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'钱包' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'Purse'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'有效期截止时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'DeadLine'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'点券' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'UserPoint'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'加入会员组时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'JoinTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'抢车位虚拟币' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'DummyPurse'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'权限。当该字段为空，使用GroupID的用户组ID。' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'Permissions'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'子站ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'SiteID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'Remark'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'证书认证状态(-----[未认证] -----[证书审核中]-----[认证通过])' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'State'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'证书地址' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'CerificateLogo'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'认证类型(国际认证，三包认证.)' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'ApproveType'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商铺认证有效期截止时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'CerificateDeadLine'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'黄页ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_User', @level2type=N'COLUMN',@level2name=N'PageId'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'返利余额' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_User', @level2type=N'COLUMN', @level2name=N'RebatesBalance'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分站返利金额' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_User', @level2type=N'COLUMN',@level2name=N'SiteRebateBalance'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户信誉值' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_User', @level2type=N'COLUMN',@level2name=N'UserCreit'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'打卡时间,修改时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_User', @level2type=N'COLUMN',@level2name=N'UpdateTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'组织结构ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_User', @level2type=N'COLUMN',@level2name=N'StructureID'

GO
CREATE TABLE [dbo].[ZL_Examinee](
[EID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NOT NULL,
[CompanyID] [int] NOT NULL,
[SendTime] [datetime] NOT NULL CONSTRAINT [DF_ZL_Examinee_SendTime]  DEFAULT (getdate()),
CONSTRAINT [PK_ZL_Examinee] PRIMARY KEY CLUSTERED 
(
[EID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'应试通知ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Examinee', @level2type=N'COLUMN', @level2name=N'EID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'通知接收人ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Examinee', @level2type=N'COLUMN', @level2name=N'UserID'

GO
CREATE TABLE [dbo].[ZL_Favorite](
[FavoriteID] [int] IDENTITY(1,1) NOT NULL,
[Owner] [int] NOT NULL,
[InfoID] [int] NOT NULL,
[FavoriteDate] [datetime] NOT NULL CONSTRAINT [DF_ZL_Favorite_FavoriteDate]  DEFAULT (getdate()),
[FavoriType] [int] NULL,
[FavUrl] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
[FavItemID] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'收藏ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Favorite', @level2type=N'COLUMN',@level2name=N'FavoriteID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'收藏人ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Favorite', @level2type=N'COLUMN',@level2name=N'Owner'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'被收藏内容的ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Favorite', @level2type=N'COLUMN',@level2name=N'InfoID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'收藏时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Favorite', @level2type=N'COLUMN',@level2name=N'FavoriteDate'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'收藏类型：1为内容收藏,2为商品收藏,3为网店收藏' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Favorite', @level2type=N'COLUMN',@level2name=N'FavoriType'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'收藏URl' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Favorite', @level2type=N'COLUMN',@level2name=N'FavUrl'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'收藏相关内容ID(多个ID以逗号隔开)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Favorite', @level2type=N'COLUMN',@level2name=N'FavItemID'

GO
CREATE TABLE [dbo].[ZL_UserBase](
[UserID] [int] NOT NULL,
[TrueName] [nvarchar](50) NULL,
[BirthDay] [nvarchar](20) NULL,
[shengxiao] [nvarchar](50) NULL,
[xingzuo] [nvarchar](50) NULL,
[Address] [nvarchar](255) NULL,
[OfficePhone] [nvarchar](50) NULL,
[HomePhone] [nvarchar](50) NULL,
[Fax] [nvarchar](50) NULL,
[ZipCode] [nvarchar](10) NULL,
[PHS] [nvarchar](50) NULL,
[Mobile] [nvarchar](50) NULL,
[UserSex] [bit] NULL CONSTRAINT [DF_ZL_UserBase_UserSex]  DEFAULT (1),
[QQ] [nvarchar](50) NULL,
[MSN] [nvarchar](255) NULL,
[ICQ] [nvarchar](50) NULL,
[UC] [nvarchar](50) NULL,
[Yahoo] [nvarchar](50) NULL,
[IDCard] [nvarchar](50) NULL,
[HomePage] [nvarchar](255) NULL,
[UserFace] [nvarchar](255) NULL,
[FaceWidth] [int] NULL CONSTRAINT [DF_ZL_UserBase_FaceWidth]  DEFAULT (16),
[FaceHeight] [int] NULL CONSTRAINT [DF_ZL_UserBase_FaceHeight]  DEFAULT (16),
[Sign] [nvarchar](1000) NULL,
[Country] [nvarchar](50) NULL,
[Province] [nvarchar](50) NULL,
[City] [nvarchar](50) NULL,
[County] [nvarchar](50) NULL,
[Privacy] [int] NULL CONSTRAINT [DF_ZL_UserBase_Privating]  DEFAULT (0),
[cardType] [nvarchar] (255) NULL ,
[honeyName] [nvarchar] (255)NULL,
[workProvince] [nvarchar](50) NULL,
[workCity] [nvarchar](50) NULL, 
[Bugle] [int] default(0) NULL,
[SFStatus] [int] NULL,
[VIPUser][int] NULL CONSTRAINT [DF_ZL_UserBase_VIPUser]  DEFAULT (0),
[Position] [nvarchar](50) NULL,
[Corp] [nvarchar](50) NULL,
CONSTRAINT [PK_ZL_UserBase] PRIMARY KEY CLUSTERED 
(
[UserID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'UserID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'真实姓名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'TrueName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'生日' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'BirthDay'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'联系地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'Address'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'办公电话' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'OfficePhone'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'家庭电话' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'HomePhone'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'传真号码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'Fax'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'邮编' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'ZipCode'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'小灵通' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'PHS'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'手机号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'Mobile'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'性别' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'UserSex'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'QQ号码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'QQ'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'MSN号码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'MSN'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ICQ号码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'ICQ'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'UC号码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'UC'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'雅虎通账号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'Yahoo'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'身份证号码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'IDCard'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'个人主页' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'HomePage'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'头像地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'UserFace'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'头像宽度' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'FaceWidth'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'头像高度' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'FaceHeight'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'签名档' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'Sign'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'国家' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'Country'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'省' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'Province'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'市' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'City'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'县' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'County'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'隐私设定' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'Privacy'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'证件类型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'cardType'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'昵称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'honeyName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'多人视频小喇叭' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'Bugle'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'VIP会员' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBase', @level2type=N'COLUMN', @level2name=N'VIPUser'

GO
CREATE TABLE [dbo].[ZL_Flow](
[ID] [int] IDENTITY(1,1) NOT NULL,
[flowName] [varchar](50) NOT NULL,
[flowDepict] [varchar](50) NOT NULL,
CONSTRAINT [PK_ZL_Flow] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键编号自动增长列' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Flow', @level2type=N'COLUMN', @level2name=N'id'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'流程名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Flow', @level2type=N'COLUMN', @level2name=N'flowName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'流程描述' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Flow', @level2type=N'COLUMN', @level2name=N'flowDepict'
GO
SET IDENTITY_INSERT [ZL_Flow] ON
INSERT [ZL_Flow] ([ID],[flowName],[flowDepict]) VALUES ( 1,N'三级审核流程',N'文章需要经过不同角色的管理员审核后,才能在前台看到')
SET IDENTITY_INSERT [ZL_Flow] OFF

GO
CREATE TABLE [dbo].[ZL_UserBaseField](
[FieldID] [int] IDENTITY(1,1) NOT NULL,
[FieldName] [nvarchar](50) NOT NULL,
[FieldAlias] [nvarchar](50) NOT NULL,
[FieldTips] [nvarchar](50) NULL,
[Description] [nvarchar](255) NULL,
[IsNotNull] [bit] NULL CONSTRAINT [DF_ZL_UserBaseField_IsNotNull]  DEFAULT (0),
[FieldType] [nvarchar](50) NOT NULL,
[Content] [ntext] NULL,
[OrderId] [int] NULL CONSTRAINT [DF_ZL_UserBaseField_OrderId]  DEFAULT (1),
[ShowList] [bit] NULL,
[ShowWidth] [int] NULL CONSTRAINT [DF_ZL_UserBaseField_ShowWidth]  DEFAULT (0),
[NoEdit] [int] NULL CONSTRAINT [DF_ZL_UserBaseField_NoEdit]  DEFAULT (0),
CONSTRAINT [PK_ZL_UserBaseField] PRIMARY KEY NONCLUSTERED 
(
[FieldID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'FieldName'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段别名' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'FieldAlias'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段说明' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'FieldTips'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段描述' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'Description'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段允许空，1：允许，2：不允许' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'IsNotNull'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段类型' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'FieldType'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段内容' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'Content'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'OrderId'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'列表显示。1：显示，2不显示' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'ShowList'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'显示列宽度' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'ShowWidth'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否允许编辑' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserBaseField', @level2type=N'COLUMN', @level2name=N'NoEdit'

GO
CREATE TABLE [dbo].[ZL_Grade](
[GradeID] [int] IDENTITY(1,1) NOT NULL,
[Cate] [int] NOT NULL,
[ParentID] [int] NOT NULL CONSTRAINT [DF_ZL_Grade_ParentID]  DEFAULT (0),
[GradeName] [nvarchar](50) NOT NULL,
[Grade] [int] NOT NULL CONSTRAINT [DF_ZL_Grade_Grade]  DEFAULT (0),
CONSTRAINT [PK_ZL_Grade] PRIMARY KEY CLUSTERED 
(
[GradeID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Grade', @level2type=N'COLUMN', @level2name=N'GradeID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分类ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Grade', @level2type=N'COLUMN', @level2name=N'Cate'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'父选项ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Grade', @level2type=N'COLUMN', @level2name=N'ParentID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分级选项名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Grade', @level2type=N'COLUMN', @level2name=N'GradeName'

GO
CREATE TABLE [dbo].[ZL_UserCart](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Cartid] [varchar](255) NULL,
[userid] [int] NULL,
[Username] [varchar](255) NULL,
[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_UserCart_Addtime]  DEFAULT (getdate()),
[Pronum] [int] NULL,
[AllMoney] [money] NULL,
[Getip] [varchar](50) NULL,
[Colonel] [int] NULL CONSTRAINT [DF_ZL_UserCart_Colonel]  DEFAULT (0),
[ColonelNum] [int] NULL CONSTRAINT [DF_ZL_UserCart_ColonelNum]  DEFAULT (0),
[ColonelMoney] [money] NULL CONSTRAINT [DF_ZL_UserCart_ColonelMoney]  DEFAULT (0),
[ColonelNowNum] [int] NULL,
[ColonelTime] [datetime] NULL,
[FarePrice]  [nvarchar](400) NULL 
CONSTRAINT [PK_ZL_UserCart] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'1-团购 2-竟拍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserCart', @level2type=N'COLUMN', @level2name=N'Colonel'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'团购人数 竟拍人数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserCart', @level2type=N'COLUMN', @level2name=N'ColonelNum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'团购价格 竟拍起始价格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserCart', @level2type=N'COLUMN', @level2name=N'ColonelMoney'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'当前团购人数 当前竟拍人数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserCart', @level2type=N'COLUMN', @level2name=N'ColonelNowNum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'终止时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserCart', @level2type=N'COLUMN', @level2name=N'ColonelTime'

GO
CREATE TABLE [dbo].[ZL_GradeCate](
[CateID] [int] IDENTITY(1,1) NOT NULL,
[CateName] [nvarchar](50) NOT NULL,
[Remark] [nvarchar](255) NULL CONSTRAINT [DF_ZL_GradeCate_Remark]  DEFAULT (''),
[GradeField] [nvarchar](500) NOT NULL,
CONSTRAINT [PK_ZL_GradeCate] PRIMARY KEY CLUSTERED 
(
[CateID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_UserCartPro](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Orderlistid] [int] NULL CONSTRAINT [DF_ZL_UserCartPro_Orderlistid]  DEFAULT (0),
[CartID] [int] NULL,
[ProID] [int] NULL,
[Pronum] [int] NULL,
[Username] [varchar](255) NULL,
[Proname] [varchar](255) NULL,
[Danwei] [varchar](50) NULL,
[Shijia] [money] NULL,
[AllMoney] [money] NULL,
[FarePrice] [nvarchar](400) NULL,
[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_UserCartPro_Addtime]  DEFAULT (getdate()),
[Attribute][nvarchar](500),
CONSTRAINT [PK_ZL_UserCartPro] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Group](
[GroupID] [int] IDENTITY(1,1) NOT NULL,
[GroupName] [nvarchar](50) NOT NULL,
[OtherName] [nvarchar](255) NULL,
[Description] [nvarchar](255) NULL,
[RegSelect] [bit] NULL CONSTRAINT [DF_ZL_UserGroup_RegSelect]  DEFAULT (0),
[IsDefault] [bit] NULL CONSTRAINT [DF__ZL_Group__IsDefa__3ACC9741]  DEFAULT (0),
[CCountPerDay] [int] NULL CONSTRAINT [DF__ZL_Group__CCount__3BC0BB7A]  DEFAULT (0),
[FavCount] [int] NULL CONSTRAINT [DF__ZL_Group__FavCou__3CB4DFB3]  DEFAULT (0),
[ConsumeType] [int] NULL CONSTRAINT [DF__ZL_Group__Consum__3DA903EC]  DEFAULT (0),
[UpGradeMoney] [money]NULL,
[UpSIcon] [money]NULL,
[UpPoint] [money]NULL,
[CompanyGroup] [int] NULL CONSTRAINT [DF__ZL_Group__CompanyGroup]  DEFAULT (0),
[VIPNum] [int] NULL CONSTRAINT [DF__ZL_Group__VIPNum]  DEFAULT (0), 
[VIPGroup] [int] NULL CONSTRAINT [DF__ZL_Group__VIPGroup]  DEFAULT (0),
[RebateRate] [float] NULL,
[Credit] [int] NULL,
[Enroll] [int] NULL,
[ParentGroupID] [int] NULL,
[SignImg] [nvarchar](200) NULL
CONSTRAINT [PK_ZL_UserGroup] PRIMARY KEY CLUSTERED 
(
[GroupID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户组ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'GroupID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户组名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'GroupName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'别名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'OtherName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'Description'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户注册时是否可选' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'RegSelect'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否默认会员组' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'IsDefault'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'升级所需费用' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'UpGradeMoney'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否为企业用组：0-否 1-是' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'CompanyGroup'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'VIP级数：0-否 1-是' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'VIPNum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否为VIP用组：0-否 1-是' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'VIPGroup'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'每天可发布内容数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'CCountPerDay'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'收藏夹设置' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'FavCount'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ConsumeType' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Group', @level2type=N'COLUMN', @level2name=N'ConsumeType'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'返利比率' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Group', @level2type=N'COLUMN',@level2name=N'RebateRate'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'信誉值' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Group', @level2type=N'COLUMN',@level2name=N'Credit'

GO
CREATE TABLE [dbo].[ZL_UserExpDomP](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NOT NULL CONSTRAINT [DF_ZL_UserExpDomP_UserID]  DEFAULT (null),
[Score] [money] NOT NULL CONSTRAINT [DF_ZL_UserExpDomP_Score]  DEFAULT (0),
[HisTime] [datetime] NULL CONSTRAINT [DF_ZL_UserExpDomP_HisTime]  DEFAULT (getdate()),
[Operator] [int] NULL,
[Detail] [nvarchar](1000) NULL,
[OperatorIP] [nvarchar](50) NULL,
CONSTRAINT [PK_ZL_UserExpDomP] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserExpDomP', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'金额变化数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserExpDomP', @level2type=N'COLUMN', @level2name=N'Score'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'变更时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserExpDomP', @level2type=N'COLUMN', @level2name=N'HisTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作人ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserExpDomP', @level2type=N'COLUMN', @level2name=N'Operator'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'详细备注' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserExpDomP', @level2type=N'COLUMN', @level2name=N'Detail'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作IP' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserExpDomP', @level2type=N'COLUMN', @level2name=N'OperatorIP'

GO
CREATE TABLE [dbo].[ZL_GroupFieldPermissions](
[ID] [int] IDENTITY(1,1) NOT NULL,
[GroupID] [int] NOT NULL,
[OperateCode] [int] NOT NULL CONSTRAINT [DF_ZL_GroupFieldPermissions_OperateCode]  DEFAULT (0),
[ProjectID] [int] NOT NULL,
[FieldID] [int] NOT NULL,
[FieldName] [nvarchar](255) NOT NULL,
[IdType] [int] NOT NULL,
CONSTRAINT [PK_ZL_GroupFieldPermissions] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'会员组ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupFieldPermissions', @level2type=N'COLUMN', @level2name=N'GroupID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'权限操作码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupFieldPermissions', @level2type=N'COLUMN', @level2name=N'OperateCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupFieldPermissions', @level2type=N'COLUMN', @level2name=N'ProjectID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字段ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupFieldPermissions', @level2type=N'COLUMN', @level2name=N'FieldID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目字段名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupFieldPermissions', @level2type=N'COLUMN', @level2name=N'FieldName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ID类型 0 用户 1 用户组' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupFieldPermissions', @level2type=N'COLUMN', @level2name=N'IdType'

GO
CREATE TABLE [dbo].[ZL_UserExpHis](
[ExpHisID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NOT NULL,
[score] [int] NOT NULL CONSTRAINT [DF_ZL_UserExpHis_score]  DEFAULT (0),
[HisTime] [datetime] NULL CONSTRAINT [DF_ZL_UserExpHis_HisTime]  DEFAULT (getdate()),
[Operator] [int] NULL,
[Detail] [nvarchar](1000) NULL,
[OperatorIP] [nvarchar](50) NULL,
[ScoreType] [int] Null,
[Remark] [nvarchar](50) NULL
CONSTRAINT [PK_ZL_UserExpHis] PRIMARY KEY CLUSTERED 
(
[ExpHisID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_UserFave](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Userid] [int] NULL,
[UserLookId] [int] NULL,
[DataTime] [datetime] NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_GroupModel](
[GroupID] [int] NOT NULL,
[UserModel] [int] NOT NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_UserFriendGroup](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NULL,
[GroupName] [varchar](50) NULL,
[BlackGroup] [int] NULL,
[OrderID] [int] NULL,
CONSTRAINT [PK_ZL_UserFriendGroup] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendGroup', @level2type=N'COLUMN', @level2name=N'ID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendGroup', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分组名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendGroup', @level2type=N'COLUMN', @level2name=N'GroupName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否是黑名单(1为黑名单)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendGroup', @level2type=N'COLUMN', @level2name=N'BlackGroup'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendGroup', @level2type=N'COLUMN', @level2name=N'OrderID'

GO
CREATE TABLE [dbo].[ZL_Guestbook](
[Gid] [int] IDENTITY(1,1) NOT NULL,
[Parentid] [int] NOT NULL CONSTRAINT [DF_ZL_GUESTBOOK_PARENTID]  DEFAULT (0),
[Cateid] [int] NOT NULL,
[Userid] [int] NOT NULL,
[Title] [varchar](200) NULL,
[Tcontent] [text] NOT NULL,
[Gdate] [datetime] NULL CONSTRAINT [DF_ZL_GUESTBOOK_GDATE]  DEFAULT (getdate()),
[Status][int] NOT NULL,
[IP][nvarchar](50)Null,
CONSTRAINT [PK_ZL_GUESTBOOK] PRIMARY KEY CLUSTERED 
(
[Gid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_UserFriendTable](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NULL,
	[FriendID] [int] NULL,
	[GroupID] [int] NULL,
	[Addtime] [datetime] NULL,
	[FriendState] [int] NULL,
	[IsReader] [int] NULL,
 CONSTRAINT [PK_ZL_UserFriendTable] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendTable', @level2type=N'COLUMN', @level2name=N'ID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendTable', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'好友ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendTable', @level2type=N'COLUMN', @level2name=N'FriendID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属分组ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendTable', @level2type=N'COLUMN', @level2name=N'GroupID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendTable', @level2type=N'COLUMN', @level2name=N'Addtime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'好友状态(0为关注 1为互为好友)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendTable', @level2type=N'COLUMN', @level2name=N'FriendState'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否已读' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserFriendTable', @level2type=N'COLUMN', @level2name=N'IsReader'

GO
CREATE TABLE [dbo].[ZL_Guestcate] (
[Cateid] [int]  IDENTITY (1, 1)  NOT NULL,
[Catename] [varchar]  (255) NOT NULL,
[GType] [int]  NULL,
[ParentID] [int]  NOT NULL DEFAULT (0),
[Permibit] [varchar]  (255) NULL DEFAULT (''),
[NeedLog] [int]  NULL,
[PostAuth] [int] NULL,
[BarImage] [nvarchar]  (255) NULL,
[Desc] [nvarchar]  (500) NULL,
[BarInfo] [nvarchar]  (255) NULL,
[OrderID] [int]  NULL,
[BarOwner] [varchar]  (500) NULL)
ALTER TABLE [ZL_Guestcate] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Guestcate] PRIMARY KEY  NONCLUSTERED ( [Cateid] )

GO
CREATE TABLE [dbo].[ZL_UserOrderinfo](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[OrderNo] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Reuser] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Receiver] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Rename] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Guojia] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Shengfen] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Chengshi] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Diqu] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Jiedao] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[ZipCode] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Phone] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Email] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Mobile] [int] NULL,
	[Delivery] [int] NULL,
	[Outstock] [int] NULL,
	[Deliverytime] [int] NULL,
	[Payment] [int] NULL,
	[Invoice] [text] COLLATE Chinese_PRC_CI_AS NULL,
	[Ordermessage] [text] COLLATE Chinese_PRC_CI_AS NULL,
	[Merchandiser] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Internalrecords] [text] COLLATE Chinese_PRC_CI_AS NULL,
	[Ordersamount] [money] NULL,
	[Receivablesamount] [money] NULL,
	[Specifiedprice] [money] NULL,
	[Freight] [money] NULL,
	[Invoiceneeds] [int] NULL,
	[Developedvotes] [int] NULL,
	[OrderStatus] [int] NULL,
	[Paymentstatus] [int] NULL,
	[StateLogistics] [int] NULL,
	[Signed] [int] NULL CONSTRAINT [DF_ZL_UserOrderinfo_Signed]  DEFAULT (0),
	[Settle] [int] NULL CONSTRAINT [DF_ZL_UserOrderinfo_Settle]  DEFAULT (0),
	[Aside] [int] NULL CONSTRAINT [DF_ZL_UserOrderinfo_aside]  DEFAULT (0),
	[Suspended] [int] NULL CONSTRAINT [DF_ZL_UserOrderinfo_Suspended]  DEFAULT (0),
	[Ordertype] [int] NULL CONSTRAINT [DF_ZL_UserOrderinfo_UserOrdertype]  DEFAULT (0),
	[AddTime] [datetime] NULL CONSTRAINT [DF_ZL_UserOrderinfo_AddTime]  DEFAULT (getdate()),
	[AddUser] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Userid] [int] NULL,
	[Colonel] [int] NULL,
	[ColonelNum] [int] NULL,
	[ColonelMoney] [money] NULL,
	[ColonelNowNum] [int] NULL,
	[ColonelTime] [datetime] NULL,
	[SId] [int] NULL,
	[ReceiTime] [datetime] NULL,
	[packID] [int] NULL,
	[MobileNum] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ExpressDelivery] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[OrderSta_Remark] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[Logis_Remark] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[PayState_Remark] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[SignState_Remark] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[Deveryinfo] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[DeliUserID] [int] NULL,
	[UserState] [int] NULL,
	[Remark] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[Suspended_remark] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[OrderItemID] [int] NULL,
	[ExpressNum] [nvarchar](400) null,
	[Score] [int] NULL,
	[SplitState] [int] NULL,
	[Company] [nvarchar](400) null,
	[SendPointStatus] int NULL,
        [PayMethod] int NULL,
	[City] [varchar]  (50) NULL,
        [Province] [varchar]  (50) NULL
	 CONSTRAINT [PK_ZL_UserOrderinfo] PRIMARY KEY CLUSTERED 
	(
		[ID] ASC
	)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
	) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'OrderNo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Reuser'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'收货人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Receiver'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Rename'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'邮政编码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'ZipCode'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'送货方式' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Delivery'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'缺货处理' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Outstock'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'送货时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Deliverytime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'付款方式' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Payment'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发票信息' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Invoice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订货留言' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Ordermessage'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'跟单员' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Merchandiser'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内部记录' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Internalrecords'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单金额' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Ordersamount'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'收款金额' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Receivablesamount'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'指定价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Specifiedprice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'运费计算' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Freight'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'需要发票' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Invoiceneeds'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'已开发票' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Developedvotes'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'OrderStatus'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'付款状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Paymentstatus'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'物流状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'StateLogistics'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'签收' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Signed'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结清' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Settle'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'作废' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Aside'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'暂停' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Suspended'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Ordertype'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'负责跟单人员' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'AddUser'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'下单用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Userid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'店铺ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'SId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'1-团购 2-竟拍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN', @level2name=N'Colonel'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'团购人数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN', @level2name=N'ColonelNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'团购价格 竟拍起始价格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN', @level2name=N'ColonelMoney'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'当前团购人数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN', @level2name=N'ColonelNowNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'终止时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN', @level2name=N'ColonelTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'收货具体时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'ReceiTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'花束包装方式' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'packID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'客户电话号码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'MobileNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'快递单号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'ExpressDelivery'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'物流状态备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Logis_Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'付款状态备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'PayState_Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'签收状态备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'SignState_Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'送货具体时间:日期 | 时间段类型(0为不限，1为上午,2为下午,3为晚上) | 定点时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Deveryinfo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'送货员ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'DeliUserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户确认状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'UserState'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'延迟配送原因' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'Suspended_remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'赠送积分状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserOrderinfo', @level2type=N'COLUMN',@level2name=N'SendPointStatus'
GO
CREATE TABLE [dbo].[ZL_Interlocution](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NULL,
	[ProblemTitle] [nvarchar](1000) NULL,
	[ProblemContext] [varchar](2000) NULL,
	[AddTime] [datetime] NULL,
	[RoomID] [int] NULL,
 CONSTRAINT [PK_ZL_Interlocution] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Interlocution', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'问题标题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Interlocution', @level2type=N'COLUMN', @level2name=N'ProblemTitle'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'问题内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Interlocution', @level2type=N'COLUMN', @level2name=N'ProblemContext'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'提问时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Interlocution', @level2type=N'COLUMN', @level2name=N'AddTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Interlocution', @level2type=N'COLUMN', @level2name=N'RoomID'


GO
CREATE TABLE [dbo].[ZL_UserShop](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NOT NULL,
	[Class] [int] NULL CONSTRAINT [DF_ZL_UserShop_Class]  DEFAULT (0),
	[Nodeid] [int] NULL CONSTRAINT [DF_ZL_UserShop_Nodeid]  DEFAULT (0),
	[ModelID] [int] NULL,
	[Categoryid] [int] NULL CONSTRAINT [DF_ZL_UserShop_Categoryid]  DEFAULT (0),
	[ProCode] [varchar](50) NULL,
	[BarCode] [varchar](50) NULL,
	[Proname] [varchar](255) NULL,
	[Kayword] [varchar](255) NULL,
	[ProUnit] [varchar](50) NULL,
	[Weight] [int] NULL CONSTRAINT [DF_ZL_UserShop_Weight]  DEFAULT (0),
	[ServerPeriod] [int] NULL CONSTRAINT [DF_ZL_UserShop_ServerPeriod]  DEFAULT (0),
	[ServerType] [int] NULL CONSTRAINT [DF_ZL_UserShop_ServerType]  DEFAULT (0),
	[ProClass] [int] NULL CONSTRAINT [DF_ZL_UserShop_ProClass]  DEFAULT (0),
	[Properties] [int] NULL CONSTRAINT [DF_ZL_UserShop_Properties]  DEFAULT (0),
	[Sales] [int] NULL CONSTRAINT [DF_ZL_UserShop_Sales]  DEFAULT (0),
	[Proinfo] [text] NULL,
	[Procontent] [text] NULL,
	[Clearimg] [varchar](255) NULL,
	[Thumbnails] [varchar](255) NULL,
	[Producer] [varchar](255) NULL,
	[Brand] [varchar](50) NULL,
	[Allowed] [int] NULL CONSTRAINT [DF_ZL_UserShop_Allowed]  DEFAULT (0),
	[Quota] [int] NULL CONSTRAINT [DF_ZL_UserShop_Quota]  DEFAULT (0),
	[DownQuota] [int] NULL CONSTRAINT [DF_ZL_UserShop_DownQuota]  DEFAULT (0),
	[Stock] [int] NULL CONSTRAINT [DF_ZL_UserShop_Stock]  DEFAULT (0),
	[StockDown] [int] NULL CONSTRAINT [DF_ZL_UserShop_StockDown]  DEFAULT (0),
	[JisuanFs] [int] NULL CONSTRAINT [DF_ZL_UserShop_JisuanFs]  DEFAULT (0),
	[Rate] [money] NULL CONSTRAINT [DF_ZL_UserShop_Rate]  DEFAULT (0),
	[Rateset] [int] NULL,
	[Dengji] [int] NULL CONSTRAINT [DF_ZL_UserShop_Dengji]  DEFAULT (0),
	[ShiPrice] [money] NULL CONSTRAINT [DF_ZL_UserShop_ShiPrice]  DEFAULT (0),
	[LinPrice] [money] NULL CONSTRAINT [DF_ZL_UserShop_LinPrice]  DEFAULT (0),
	[MemberPrice] [varchar](255) NULL CONSTRAINT [DF_ZL_UserShop_MemberPrice]  DEFAULT (0 | 0),
	[ActPrice] [varchar](255) NULL CONSTRAINT [DF_ZL_UserShop_ActPrice]  DEFAULT (0 | 0),
	[Wholesales] [int] NULL CONSTRAINT [DF_ZL_UserShop_Wholesales]  DEFAULT (0),
	[Wholesaleone] [int] NULL CONSTRAINT [DF_ZL_UserShop_Wholesaleone]  DEFAULT (0),
	[Wholesalesinfo] [varchar](255) NULL CONSTRAINT [DF_ZL_UserShop_Wholesalesinfo]  DEFAULT ('0|0,0|0,0|0'),
	[Preset] [varchar](255) NULL CONSTRAINT [DF_ZL_UserShop_Preset]  DEFAULT ('0|0|0|{}'),
	[Integral] [int] NULL CONSTRAINT [DF_ZL_UserShop_Integral]  DEFAULT (0),
	[Propeid] [int] NULL CONSTRAINT [DF_ZL_UserShop_Propeid]  DEFAULT (0),
	[Recommend] [int] NULL CONSTRAINT [DF_ZL_UserShop_Recommend]  DEFAULT (0),
	[Priority] [int] NULL CONSTRAINT [DF_ZL_UserShop_Priority]  DEFAULT (0),
	[MonthClickNum] [int] NULL CONSTRAINT [DF_ZL_UserShop_MonthClickNum]  DEFAULT (0),
	[UpdateTime] [datetime] NULL CONSTRAINT [DF_ZL_UserShop_UpdateTime]  DEFAULT (getdate()),
	[ModeTemplate] [varchar](255) NULL,
	[AddUser] [varchar](50) NULL,
	[DownCar] [int] NULL CONSTRAINT [DF_ZL_UserShop_DownCar]  DEFAULT (0),
	[AddTime] [datetime] NULL CONSTRAINT [DF_ZL_UserShop_AddTime]  DEFAULT (getdate()),
	[TableName] [varchar](50) NULL,
	[Istrue] [int] NULL CONSTRAINT [DF_ZL_UserShop_Istrue]  DEFAULT (0),
	[Isgood] [int] NULL CONSTRAINT [DF_ZL_UserShop_Isgood]  DEFAULT (0),
	[MakeHtml] [int] NULL CONSTRAINT [DF_ZL_UserShop_MakeHtml]  DEFAULT (0),
	[Sold] [int] NULL CONSTRAINT [DF_ZL_UserShop_Sold]  DEFAULT (0),
	[isnew] [int] NULL CONSTRAINT [DF_ZL_UserShop_isnew]  DEFAULT (0),
	[ishot] [int] NULL CONSTRAINT [DF_ZL_UserShop_ishot]  DEFAULT (0),
	[isbest] [int] NULL CONSTRAINT [DF_ZL_UserShop_isbest]  DEFAULT (0),
	[ItemID] [int] NULL,
	[ComModelID] [int] NULL,
	[AllClickNum] [int] NULL CONSTRAINT [DF_ZL_UserShop_AllClickNum]  DEFAULT (0),
	[Colonel] [int] NULL CONSTRAINT [DF_ZL_UserShop_Colonel]  DEFAULT (0),
	[ColonelNum] [int] NULL CONSTRAINT [DF_ZL_UserShop_ColonelNum]  DEFAULT (0),
	[ColonelMoney] [money] NULL CONSTRAINT [DF_ZL_UserShop_ColonelMoney]  DEFAULT (0),
	[ColonelNowNum] [int] NULL,
	[ColoneState] [int] NULL,
	[ColonelTime] [datetime] NULL,
	[CautionMoney] [money] NULL,
	[DeliverMoney] [ntext] NULL,
	[OnCalonelTime] [int] NULL CONSTRAINT [DF_ZL_UserShop_OnCalonelTime]  DEFAULT (0),
	[OnCalonelUser] [int] NULL CONSTRAINT [DF_ZL_UserShop_OnCalonelUser]  DEFAULT (0),
	[OnCalonelMoney] [int] NULL CONSTRAINT [DF_ZL_UserShop_OnCalonelMoney]  DEFAULT (0),
	[Isreach] [int] NULL CONSTRAINT [DF_ZL_UserShop_Isreach]  DEFAULT (0),
	[Ismarked] [int] NULL CONSTRAINT [DF_ZL_UserShop_Ismarked]  DEFAULT (0),
	[Isprefer] [int] NULL CONSTRAINT [DF_ZL_UserShop_Isprefer]  DEFAULT (0),
	[UserClass] [int] NULL,
	[UserProductID] [int] NULL,
	[BookPrice] [money] NULL,
	[bookDay] [int] NULL,
	[UserType] [int] NULL,
	[UserPrice] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[FestlPrice] [money] NULL,
	[FestPeriod] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[FarePrice] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[FareType] [int] NULL,
	[PointVal] [int] NULL
 CONSTRAINT [PK_ZL_UserShop] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'1-团购 2-竟拍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'Colonel'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'团购数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'ColonelNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'团购价格 竟拍起始价格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'ColonelMoney'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'当前团购数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'ColonelNowNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'团购竞拍状态 1：开始，2：团购成立，3：结束' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'ColoneState'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'终止时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'ColonelTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设置竞拍，团购的保证金' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'CautionMoney'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'送货价格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'DeliverMoney'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'达到发起时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'OnCalonelTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'达到参与人数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'OnCalonelUser'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'达到竞价价格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'OnCalonelMoney'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'二手闲置' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'Isreach'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'一口价' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'Ismarked'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'优惠' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'Isprefer'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户分类' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserShop', @level2type=N'COLUMN', @level2name=N'UserClass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'标准商品ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserShop', @level2type=N'COLUMN',@level2name=N'UserProductID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'预订价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserShop', @level2type=N'COLUMN',@level2name=N'BookPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'比节日时间提前多少天为预订价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserShop', @level2type=N'COLUMN',@level2name=N'bookDay'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'计价类型：0为会员价,1为按会员组打折' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserShop', @level2type=N'COLUMN',@level2name=N'UserType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'如果按会员组打折,格式为:会员组ID|价格' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserShop', @level2type=N'COLUMN',@level2name=N'UserPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'节日价格' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserShop', @level2type=N'COLUMN',@level2name=N'FestlPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'节日期间:某段时间内为节日价，格式开始时间|结束时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserShop', @level2type=N'COLUMN',@level2name=N'FestPeriod'

GO
CREATE TABLE [dbo].[ZL_UserStock](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[stocktype] [int] NULL CONSTRAINT [DF_ZL_UserStock_stocktype]  DEFAULT (0),
	[danju] [varchar](50) NULL,
	[proname] [varchar](50) NULL,
	[addtime] [datetime] NULL CONSTRAINT [DF_ZL_UserStock_addtime]  DEFAULT (getdate()),
	[adduser] [varchar](50) NULL,
	[content] [ntext] NULL,
	[proid] [int] NULL,
	[pronum] [int] NULL CONSTRAINT [DF_ZL_UserStock_pronum]  DEFAULT (0),
 CONSTRAINT [PK_ZL_UserStock] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Keywords](
	[KeywordID] [int] IDENTITY(1,1) NOT NULL,
	[KeywordText] [nvarchar](200) NOT NULL,
	[KeywordType] [int] NOT NULL,
	[Priority] [int] NOT NULL CONSTRAINT [DF_ZL_Keywords_Priority]  DEFAULT (0),
	[Hits] [int] NOT NULL CONSTRAINT [DF_ZL_Keywords_Hits]  DEFAULT (0),
	[LastUseTime] [datetime] NOT NULL CONSTRAINT [DF_ZL_Keywords_LastUseTime]  DEFAULT (getdate()),
	[ArrGeneralID] [ntext] NULL,
	[QuoteTimes] [int] NULL,
 CONSTRAINT [PK_ZL_Keywords] PRIMARY KEY CLUSTERED 
(
	[KeywordID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]



GO
CREATE TABLE [dbo].[ZL_UserStoreTable](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NULL,
	[StoreName] [varchar](100) NULL,
	[StoreContent] [ntext] NULL,
	[StoreCredit] [int] NULL,
	[StoreVip] [int] NULL,
	[StoreType] [varchar](100) NULL,
	[StoreCash] [decimal](8, 2) NULL,
	[StoreState] [int] NULL,
	[AddTime] [datetime] NULL,
	[StoreProvince] [varchar](100) NULL,
	[StoreCity] [varchar](100) NULL,
 CONSTRAINT [PK_ZL_UserStoreTable] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_UserStoreTypeTable](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[TypeName] [varchar](100) NULL,
 CONSTRAINT [PK_ZL_UserStoreTypeTable] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]



GO
CREATE TABLE [dbo].[ZL_Log](
	[LogID] [int] IDENTITY(1,1) NOT NULL,
	[Category] [int] NULL,
	[Priority] [int] NULL CONSTRAINT [DF_ZL_Log_Priority]  DEFAULT (0),
	[Title] [nvarchar](255) NULL,
	[Message] [ntext] NULL,
	[Timestamp] [datetime] NULL,
	[UserName] [nvarchar](255) NULL,
	[UserIP] [nvarchar](40) NULL,
	[Source] [ntext] NULL,
	[ScriptName] [ntext] NULL,
	[PostString] [ntext] NULL,
	[NodeID][int]NULL,
 CONSTRAINT [PK_ZL_Log] PRIMARY KEY CLUSTERED 
(
	[LogID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分类' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Log', @level2type=N'COLUMN', @level2name=N'Category'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'优先级别' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Log', @level2type=N'COLUMN', @level2name=N'Priority'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Log', @level2type=N'COLUMN', @level2name=N'Message'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'记录日期' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Log', @level2type=N'COLUMN', @level2name=N'Timestamp'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Log', @level2type=N'COLUMN', @level2name=N'UserName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户IP' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Log', @level2type=N'COLUMN', @level2name=N'UserIP'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'StackTrace，TargetSite：异常源，堆栈跟踪，等异常信息' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Log', @level2type=N'COLUMN', @level2name=N'Source'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'页面' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Log', @level2type=N'COLUMN', @level2name=N'ScriptName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'提交信息' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Log', @level2type=N'COLUMN', @level2name=N'PostString'

GO

CREATE TABLE [dbo].[ZL_MTit](
	[I_id] [int] IDENTITY(1,1) NOT NULL,
	[Iinfo] [nvarchar](500) NULL,
	[Iurl] [nvarchar](500) NULL,
	[Itype] [int] NULL CONSTRAINT [DF_ZL_MTit_Itype]  DEFAULT (0),
	[Stype] [int] NULL,
	[orderid] [int] NULL CONSTRAINT [DF_ZL_MTit_orderid]  DEFAULT (0),
 CONSTRAINT [PK_ZL_MTit] PRIMARY KEY CLUSTERED 
(
	[I_id] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'插件名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MTit', @level2type=N'COLUMN', @level2name=N'Iinfo'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'插件地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MTit', @level2type=N'COLUMN', @level2name=N'Iurl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所用' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MTit', @level2type=N'COLUMN', @level2name=N'Itype'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否为老师所用' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MTit', @level2type=N'COLUMN', @level2name=N'Stype'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MTit', @level2type=N'COLUMN', @level2name=N'orderid'


GO
CREATE TABLE [dbo].[ZL_MailIdiograph](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Name] [nvarchar](50) NULL,
	[AddTime] [datetime] NULL,
	[State] [bit] NULL,
	[Context] [nvarchar](100) NULL,
 CONSTRAINT [PK_ZL_MailIdiograph] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'签名名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MailIdiograph', @level2type=N'COLUMN', @level2name=N'Name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MailIdiograph', @level2type=N'COLUMN', @level2name=N'AddTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MailIdiograph', @level2type=N'COLUMN', @level2name=N'State'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'签名内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MailIdiograph', @level2type=N'COLUMN', @level2name=N'Context'



GO
CREATE TABLE [dbo].[ZL_MailInfo](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[MailTitle] [nvarchar](500) NULL,
	[MailContext] [text] NULL,
	[MailSendTime] [datetime] NULL,
	[MailAddTime] [datetime] NULL,
	[MailState] [bit] NULL,
	[MailAddRees] [text] NULL,
	[UserID] [int] NOT NULL DEFAULT (0),
	[SendMail] [nvarchar](255) NULL,
	[Files] [nvarchar](500) NULL,
	[MID] int NULL DEFAULT (0)
 CONSTRAINT [PK_ZL_MailInfo] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]



GO
CREATE TABLE [dbo].[ZL_WorkRole] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[AdminID] [int]  NOT NULL,
[Region] [nvarchar]  (50) NULL)

ALTER TABLE [ZL_WorkRole] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_WorkRole] PRIMARY KEY  NONCLUSTERED ( [ID] )

GO
CREATE TABLE [dbo].[ZL_MailManage](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Email] [nvarchar](100) NULL,
	[Postfix] [nvarchar](50) NULL,
	[AddTime] [datetime] NULL,
	[BackMostTime] [datetime] NULL,
	[SubscribeToType] [nvarchar](50) NULL,
	[UserID] [int] NULL,
	[State] [bit] NULL,
 CONSTRAINT [PK_ZL_MailManage] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

 

GO
CREATE TABLE [dbo].[ZL_Zone_Advertisement](
	[ZoneID] [int] NOT NULL,
	[ADID] [int] NOT NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Manager](
	[AdminID] [int] IDENTITY(1,1) NOT NULL,
	[AdminName] [nvarchar](50) NOT NULL,
	[AdminPassword] [nvarchar](100) NOT NULL,
	[UserName] [nvarchar](255) NOT NULL,
	[EnableMultiLogin] [bit] NOT NULL CONSTRAINT [DF_ZL_Manager_EnableMultiLogin]  DEFAULT (0),
	[LoginTimes] [int] NULL CONSTRAINT [DF_ZL_Manager_LoginTimes]  DEFAULT (0),
	[LastLoginIP] [nvarchar](50) NULL CONSTRAINT [DF_ZL_Manager_LastLoginIP]  DEFAULT (''),
	[LastLoginTime] [datetime] NULL CONSTRAINT [DF_ZL_Manager_LastLoginTime]  DEFAULT (getdate()),
	[LastLogoutTime] [datetime] NULL CONSTRAINT [DF_ZL_Manager_LastLogoutTime]  DEFAULT (getdate()),
	[LastModifyPwdTime] [datetime] NULL CONSTRAINT [DF_ZL_Manager_LastModifyPwdTime]  DEFAULT (getdate()),
	[IsLock] [bit] NULL CONSTRAINT [DF_ZL_Manager_IsLock]  DEFAULT (0),
	[IsTable] [bit] NULL CONSTRAINT [DF_ZL_Manager_IsTable]  DEFAULT (0),
	[EnableModifyPassword] [bit] NULL CONSTRAINT [DF_ZL_Manager_EnableModifyPassword]  DEFAULT (1),
	[AdminRole] [ntext] NULL CONSTRAINT [DF_ZL_Manager_AdminRole]  DEFAULT (''),
	[Theme] [nvarchar](50) NULL CONSTRAINT [DF_ZL_Manager_Theme]  DEFAULT (''),
	[RandNumber] [nvarchar](50) NULL CONSTRAINT [DF_ZL_Manager_RandNumber]  DEFAULT (''),
	[NodeRole] [int] NULL CONSTRAINT [DF_ZL_Manager_NodeRole]  DEFAULT (0),
	[PubRole] [int] NULL CONSTRAINT [DF_ZL_Manager_PubRole]  DEFAULT (0),
	[DefaultStart] [int] NULL CONSTRAINT [DF_ZL_Manager_DefaultStart]  DEFAULT (-99),
	[AdminType] [int] NULL,
	[ManageNode] [nvarchar](500) NULL CONSTRAINT [DF_ZL_Manager_ManageNode]  DEFAULT (''),
	[AddUserID] [int] NULL,
	[AdminTrueName] [nvarchar](50) NOT NULL,
	[StructureID] [nvarchar](255) NULL 
 CONSTRAINT [PK_ZL_Manager] PRIMARY KEY CLUSTERED 
(
	[AdminID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管理员ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'AdminID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管理员名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'AdminName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管理员密码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'AdminPassword'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'前台用户名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'UserName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否允许多人登录' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'EnableMultiLogin'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'登录次数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'LoginTimes'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最近登录IP' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'LastLoginIP'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最近登录时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'LastLoginTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最近退出管理后台时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'LastLogoutTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最近修改密码时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'LastModifyPwdTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否锁定' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'IsLock'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否启用个性桌面' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'IsTable'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否允许修改密码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'EnableModifyPassword'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管理员角色权限' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'AdminRole'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'后台页面主题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'Theme'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发布内容默认状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'DefaultStart'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'管理员类型  1超级管理员，2站点管理员，3普通管理员' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'AdminType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'管理节点,当AdminType为2站点管理员时,该字段记录管理的站点ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'ManageNode'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加该帐号的管理员ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'AddUserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'组织结构ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manager', @level2type=N'COLUMN', @level2name=N'StructureID'


GO
CREATE TABLE [dbo].[ZL_Manufacturers](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Producername] [varchar](255) NULL,
	[Smallname] [varchar](255) NULL,
	[CreateTime] [datetime] NULL CONSTRAINT [DF_ZL_Manufacturers_CreateTime]  DEFAULT (getdate()),
	[Coadd] [varchar](255) NULL,
	[Telpho] [varchar](255) NULL,
	[FaxCode] [varchar](50) NULL,
	[PostCode] [varchar](50) NULL,
	[CoWebsite] [varchar](255) NULL,
	[Email] [varchar](50) NULL,
	[CoClass] [varchar](50) NULL,
	[CoPhoto] [varchar](255) NULL,
	[Content] [text] NULL,
	[Istop] [int] NULL CONSTRAINT [DF_ZL_Manufacturers_Istop]  DEFAULT (0),
	[Disable] [int] NULL CONSTRAINT [DF_ZL_Manufacturers_Disable]  DEFAULT (0),
	[Isbest] [int] NULL CONSTRAINT [DF_ZL_Manufacturers_Isbest]  DEFAULT (0),
 CONSTRAINT [PK_ZL_Manufacturers] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'厂商名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'Producername'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'厂商缩写' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'Smallname'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'CreateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'Coadd'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'联系电话' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'Telpho'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'传真号码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'FaxCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'邮政编码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'PostCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'厂商主页' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'CoWebsite'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'电子邮件' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'Email'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'厂商分类' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'CoClass'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'厂商照片' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'CoPhoto'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'厂商简介' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'Content'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'固顶' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'Istop'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'禁用' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'Disable'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'推荐' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Manufacturers', @level2type=N'COLUMN', @level2name=N'Isbest'


GO
CREATE TABLE [dbo].[ZL_MiUserInfo](
	[M_id] [int] IDENTITY(1,1) NOT NULL,
	[userid] [int] NULL,
	[schoolID] [int] NULL,
	[banji] [nvarchar](255) NULL,
	[prov] [nvarchar](50) NULL,
	[city] [nvarchar](50) NULL,
	[daike] [nvarchar](255) NULL,
	[realname] [nvarchar](255) NULL,
	[type] [int] NULL CONSTRAINT [DF_ZL_MiUserInfo_type]  DEFAULT (0),
 CONSTRAINT [PK_ZL_MiUserInfo] PRIMARY KEY CLUSTERED 
(
	[M_id] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'[userid]' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MiUserInfo', @level2type=N'COLUMN', @level2name=N'userid'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学校ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MiUserInfo', @level2type=N'COLUMN', @level2name=N'schoolID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MiUserInfo', @level2type=N'COLUMN', @level2name=N'banji'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'省' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MiUserInfo', @level2type=N'COLUMN', @level2name=N'prov'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'市' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MiUserInfo', @level2type=N'COLUMN', @level2name=N'city'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'代课' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MiUserInfo', @level2type=N'COLUMN', @level2name=N'daike'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'真实姓名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MiUserInfo', @level2type=N'COLUMN', @level2name=N'realname'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类型老师或学生' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MiUserInfo', @level2type=N'COLUMN', @level2name=N'type'


GO
SET ANSI_NULLS ON
CREATE TABLE [dbo].[ZL_Model](
	[ModelID] [int] IDENTITY(1,1) NOT NULL,
	[ModelName] [nvarchar](50) NOT NULL,
	[Description] [nvarchar](250) NULL,
	[TableName] [nvarchar](50) NOT NULL,
	[ItemName] [nvarchar](50) NULL,
	[ItemUnit] [nvarchar](20) NULL,
	[ItemIcon] [nvarchar](255) NULL,
	[ContentTemplate] [nvarchar](255) NULL,
	[ModelType] [int] NULL CONSTRAINT [DF_ZL_Model_ModelType]  DEFAULT (1),
	[MultiFlag] [bit] NULL CONSTRAINT [DF_ZL_Model_MultiFlag]  DEFAULT (0),
	[NodeID] [int] NULL CONSTRAINT [DF_ZL_Model_NodeID]  DEFAULT (0),
	[SysModel] [int] NULL CONSTRAINT [DF_ZL_Model_SysModel]  DEFAULT (2),
	[FromModel] [int] NULL CONSTRAINT [DF_ZL_Model_FromModel]  DEFAULT (0),
	[Thumbnail] [nvarchar] (500) NULL ,
	[Islotsize][bit]  NULL CONSTRAINT [DF_ZL_Model_Islotsize]  DEFAULT ((0)),
 CONSTRAINT [PK_ZL_Model] PRIMARY KEY CLUSTERED 
(
	[ModelID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'ModelID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'ModelName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'Description'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型关联的表名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'TableName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目名称：如文章、新闻' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'ItemName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目单位：如篇、条' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'ItemUnit'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目图标' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'ItemIcon'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'ContentTemplate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型类别 1-内容模型 2-商品模型 3-会员模型 4-黄页模型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'ModelType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'识别系统模型字段，1：系统生成模型，2：用户自定义模型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'SysModel'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'复制来源模型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Model', @level2type=N'COLUMN', @level2name=N'FromModel'



GO
CREATE TABLE [dbo].[ZL_ModelField](
	[FieldID] [int] IDENTITY(1,1) NOT NULL,
	[ModelId] [int] NOT NULL,
	[FieldName] [nvarchar](50) NOT NULL,
	[FieldAlias] [nvarchar](50) NOT NULL,
	[FieldTips] [nvarchar](50) NULL DEFAULT(''),
	[Description] [nvarchar](255) NULL DEFAULT(''),
	[IsNotNull] [bit] NULL CONSTRAINT [DF_ZL_ModelField_IsNotNull]  DEFAULT (0),
	[IsSearchForm] [bit] NULL CONSTRAINT [DF_ZL_ModelField_IsSearchForm]  DEFAULT (0),
	[FieldType] [nvarchar](50) NOT NULL,
	[Content] [ntext] NULL DEFAULT(''),
	[OrderId] [int] NULL CONSTRAINT [DF_ZL_ModelField_OrderId]  DEFAULT (1),
	[ShowList] [bit] NULL CONSTRAINT [DF__ZL_ModelF__ShowL__454A25B4]  DEFAULT (0),
	[ShowWidth] [int] NULL CONSTRAINT [DF__ZL_ModelF__ShowW__463E49ED]  DEFAULT (0),
	[IsShow] [bit] NULL CONSTRAINT [DF_ZL_ModelField_IsShow]  DEFAULT (1),
	[IsView] [bit] NULL CONSTRAINT [DF_ZL_ModelField_IsView]  DEFAULT (1),
	[IsDownField] [int] NULL CONSTRAINT [DF_ZL_ModelField_IsDownField]  DEFAULT (0),
	[DownServerID] [int] NULL CONSTRAINT [DF_ZL_ModelField_DownServerID]  DEFAULT (0),
	[RestoreField] [int] NULL CONSTRAINT [DF_ZL_ModelField_Restore]  DEFAULT (0),
	[Sys_type] [bit] NULL  DEFAULT (0),
	[IsCopy] [int] NULL CONSTRAINT [DF_ZL_ModelField_IsCopy]  DEFAULT (0),
	[Islotsize] [bit] NULL CONSTRAINT [DF_ZL_ModelField_Islotsize]  DEFAULT (0),
	[IsChain] [bit]  NULL CONSTRAINT [DF_ZL_ModelField_IsChain]  DEFAULT (0),
 CONSTRAINT [PK_ZL_ModelField] PRIMARY KEY CLUSTERED 
(
	[FieldID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字段ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'FieldID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'ModelId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字段名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'FieldName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字段别名 前台显示用' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'FieldAlias'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字段提示' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'FieldTips'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字段说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'Description'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否必填 默认0否' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'IsNotNull'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否在搜索表单显示' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'IsSearchForm'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'字段类型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'FieldType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排列序号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'OrderId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否为下载专用字段' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'IsDownField'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'下载服务器ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'DownServerID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'回复显示字段' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'RestoreField'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否可复制 0：不可复制，1：可复制' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ModelField', @level2type=N'COLUMN', @level2name=N'IsCopy'



GO
CREATE TABLE [dbo].[ZL_MultiNode](
	[N_ID] [int] IDENTITY(1,1) NOT NULL,
	[N_ItemID] [int] NULL,
	[N_NodeID] [int] NULL,
 CONSTRAINT [PK_ZL_multiNode] PRIMARY KEY CLUSTERED 
(
	[N_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MultiNode', @level2type=N'COLUMN', @level2name=N'N_NodeID'


GO
CREATE TABLE [dbo].[ZL_Node] (
	[NodeID] [int]  IDENTITY (1, 1)  NOT NULL,
	[NodeName] [nvarchar]  (50) NOT NULL,
	[NodeType] [int]  NOT NULL DEFAULT (0),
	[NodeDir] [nvarchar]  (50) NOT NULL,
	[NodeUrl] [nvarchar]  (255) NULL,
	[NodeListUrl] [nvarchar]  (255) NULL,
	[Tips] [nvarchar]  (4000) NULL,
	[ParentID] [int]  NULL,
	[OrderID] [int]  NULL DEFAULT (0),
	[Child] [int]  NULL,
	[Depth] [int]  NULL DEFAULT (1),
	[NodePicUrl] [nvarchar]  (255) NULL,
	[Description] [nvarchar]  (4000) NULL,
	[Meta_Keywords] [nvarchar]  (4000) NULL,
	[Meta_Description] [nvarchar]  (4000) NULL,
	[OpenType] [bit]  NULL DEFAULT (0),
	[PurviewType] [bit]  NULL DEFAULT (0),
	[CommentType] [bit]  NULL DEFAULT (0),
	[HitsOfHot] [int]  NULL DEFAULT (0),
	[IndexTemplate] [nvarchar]  (255) NULL,
	[ListTemplateFile] [nvarchar]  (255) NULL,
	[LastinfoTemplate] [nvarchar]  (255) NULL,
	[HotinfoTemplate] [nvarchar]  (255) NULL,
	[ProposeTemplate] [nvarchar]  (255) NULL,
	[ContentModel] [nvarchar]  (255) NULL,
	[ItemOpenType] [bit]  NULL DEFAULT (0),
	[ContentHtmlRule] [int]  NULL DEFAULT (0),
	[ListPageHtmlEx] [int]  NULL DEFAULT (0),
	[ContentFileEx] [int]  NULL DEFAULT (0),
	[HtmlPosition] [int]  NULL DEFAULT (0),
	[NodeListType] [int]  NULL DEFAULT (0),
	[ConsumePoint] [int]  NULL DEFAULT (0),
	[ConsumeType] [int]  NULL DEFAULT (0),
	[ConsumeTime] [int]  NULL DEFAULT (0),
	[ConsumeCount] [int]  NULL DEFAULT (0),
	[Shares] [float]  NULL DEFAULT (0),
	[Custom] [text]  NULL DEFAULT (''),
	[SafeGuard] [int]  NOT NULL DEFAULT ('0'),
	[ItemOpenTypeTrue] [nvarchar]  (50) NULL DEFAULT ('0'),
	[OpenTypeTrue] [nvarchar]  (50) NULL DEFAULT ('0'),
	[NodeBySite] [int]  NULL,
	[SiteConfige] [text]  NULL,
	[Contribute] [int]  NULL DEFAULT (0),
	[SiteContentAudit] [int]  NULL DEFAULT (0),
	[AuditNodeList] [nvarchar]  (1000) NULL,
	[AddPoint] [int]  NULL,
	[AddMoney] [money]  NULL,
	[ClickTimeout] [int]  NULL DEFAULT (1),
	[Purview] [nvarchar]  (1000) NULL,
	[AddUserExp] [int]  NULL,
	[DeducUserExp] [int]  NULL,
	[ListPageEx] [int]  NULL DEFAULT (0),
	[LastinfoPageEx] [int]  NULL DEFAULT (0),
	[HotinfoPageEx] [int]  NULL DEFAULT (0),
	[ProposePageEx] [int]  NULL DEFAULT (0),
	[Viewinglimit] [nvarchar]  (100) NULL)
ALTER TABLE [ZL_Node] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Node] PRIMARY KEY  NONCLUSTERED ( [NodeID] )
GO

EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'NodeID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'NodeName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点类型。0为根节点，1为栏目节点2为单个页面，3为外部链接' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'NodeType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点标识目录，只能是英文字母和数字，并且要以字母开头' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'NodeDir'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'外部链接' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'NodeUrl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'列表页URL' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'NodeListUrl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点提示，不支持HTML' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'Tips'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'父栏目ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ParentID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'OrderID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'子栏目数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'Child'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'栏目深度' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'Depth'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'栏目图片地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'NodePicUrl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'栏目说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'Description'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'栏目META关键词' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'Meta_Keywords'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'针对搜索引擎的说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'Meta_Description'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'打开方式0原窗口' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'OpenType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'栏目权限。0--开放栏目  1--认证栏目' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'PurviewType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'评论权限0不允许，1允许' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'CommentType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'热点的点击数最小值' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'HitsOfHot'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'列表页模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ListTemplateFile'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'栏目首页模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'IndexTemplate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最新信息模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'LastinfoTemplate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'热门信息模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'HotinfoTemplate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'推荐信息模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ProposeTemplate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'选择的内容模型数组' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ContentModel'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点下项目的打开方式' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ItemOpenType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容页的文件名规则' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ContentHtmlRule'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'列表首页的文件名规则' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ListPageHtmlEx'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容页文件扩展名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ContentFileEx'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点目录生成静态位置0-根目录 1-继承父目录结构' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'HtmlPosition'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'1-文章，2-商城，3-两个都包含' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'NodeListType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'查看内容消费点券数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ConsumePoint'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'重复收费方式' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ConsumeType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'距离上次收费时间多少小时重新收费' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ConsumeTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'重复阅读内容多少次重新收费' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ConsumeCount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'安全保护' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'SafeGuard'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'会员添加内容分成比例' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'Shares'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'自设内容 用{SplitCustom}分隔' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'Custom'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'节点转子站  null或0为节点，5为子站' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'NodeBySite'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'当NodeBySite为5时，该字段为站点配置文件' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'SiteConfige'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否允许投稿' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'Contribute'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否需要审核' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'SiteContentAudit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'指定投稿栏目' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'AuditNodeList'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'点击时间有效范围' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Node', @level2type=N'COLUMN', @level2name=N'ClickTimeout'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发布内容添加积分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Node', @level2type=N'COLUMN',@level2name=N'AddUserExp'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'下载内容扣除积分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Node', @level2type=N'COLUMN',@level2name=N'DeducUserExp'


GO
CREATE TABLE [dbo].[ZL_NodeBindDroit](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[NodeID] [int] NOT NULL,
	[FID] [int] NOT NULL,
 CONSTRAINT [PK_ZL_NodeBindDroit] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]



GO
CREATE TABLE [dbo].[ZL_NodeRole](
	[RN_ID] [int] IDENTITY(1,1) NOT NULL,
	[RID] [int] NULL,
	[NID] [int] NULL,
	[look] [int] NULL,
	[Modify] [int] NULL,
	[State] [int] NULL,
	[addTo] [int] NULL,
	[Columns] [int] NULL,
	[Comments] [int] NULL,
	[PNid] [int] NULL CONSTRAINT [DF_ZL_NodeRole_PNid]  DEFAULT (0),
 CONSTRAINT [PK_ZL_NodeRole] PRIMARY KEY CLUSTERED 
(
	[RN_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_NodeRole', @level2type=N'COLUMN', @level2name=N'RID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_NodeRole', @level2type=N'COLUMN', @level2name=N'NID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'查看' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_NodeRole', @level2type=N'COLUMN', @level2name=N'look'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'修改' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_NodeRole', @level2type=N'COLUMN', @level2name=N'Modify'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_NodeRole', @level2type=N'COLUMN', @level2name=N'State'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_NodeRole', @level2type=N'COLUMN', @level2name=N'addTo'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'当前栏目' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_NodeRole', @level2type=N'COLUMN', @level2name=N'Columns'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'评论' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_NodeRole', @level2type=N'COLUMN', @level2name=N'Comments'


GO
CREATE TABLE [dbo].[ZL_Node_ModelTemplate](
	[NodeID] [int] NOT NULL,
	[ModelID] [int] NOT NULL,
	[Template] [nvarchar](255) NOT NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Online](
	[UserID] [int] NOT NULL,
	[UserName] [nvarchar](255) NOT NULL,
	[StartTime] [datetime] NOT NULL CONSTRAINT [DF_ZL_Online_LastOnlineTime]  DEFAULT (getdate()),
	[ChangeTime] [datetime] NOT NULL CONSTRAINT [DF_ZL_Online_LastChangTime]  DEFAULT (getdate())
) ON [PRIMARY]


GO
CREATE TABLE [dbo].[ZL_Orderinfo](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[OrderNo] [varchar](50) NULL,
	[Reuser] [varchar](255) NULL,
	[Receiver] [varchar](50) NULL,
	[Rename] [varchar](255) NULL,
	[Guojia] [varchar](255) NULL,
	[Shengfen] [varchar](255) NULL,
	[Chengshi] [varchar](255) NULL,
	[Diqu] [varchar](255) NULL,
	[Jiedao] [varchar](255) NULL,
	[ZipCode] [varchar](50) NULL,
	[Phone] [varchar](50) NULL,
	[Email] [varchar](50) NULL,
	[Mobile] [int] NULL,
	[Delivery] [int] NULL,
	[Outstock] [int] NULL,
	[Deliverytime] [int] NULL,
	[Payment] [int] NULL,
	[Invoice] [text] NULL,
	[Ordermessage] [text] NULL,
	[Merchandiser] [varchar](50) NULL,
	[Internalrecords] [text] NULL,
	[Ordersamount] [money] NULL,
	[Receivablesamount] [money] NULL,
	[Specifiedprice] [money] NULL,
	[Freight] [money] NULL,
	[Invoiceneeds] [int] NULL,
	[Developedvotes] [int] NULL,
	[OrderStatus] [int] NULL,
	[Paymentstatus] [int] NULL,
	[StateLogistics] [int] NULL,
	[Signed] [int] NULL CONSTRAINT [DF_ZL_Orderinfo_Signed]  DEFAULT (0),
	[Settle] [int] NULL CONSTRAINT [DF_ZL_Orderinfo_Settle]  DEFAULT (0),
	[Aside] [int] NULL CONSTRAINT [DF_ZL_Orderinfo_aside]  DEFAULT (0),
	[Suspended] [int] NULL CONSTRAINT [DF_ZL_Orderinfo_Suspended]  DEFAULT (0),
	[Ordertype] [int] NULL CONSTRAINT [DF_ZL_Orderinfo_Ordertype]  DEFAULT (0),
	[AddTime] [datetime] NULL CONSTRAINT [DF_ZL_Orderinfo_AddTime]  DEFAULT (getdate()),
	[AddUser] [varchar](255) NULL,
	[Userid] [int] NULL,
	[city] [nvarchar](50) NULL,
	[IsCount] [bit] NULL CONSTRAINT [DF_ZL_Orderinfo_IsCount]  DEFAULT (0),
	[Integral] [int] NULL DEFAULT (0),
	[parentID] [int] NULL DEFAULT (0),
	[service_charge] [float] NULL ,
	[Balance_price] [float] NULL ,
	[Freight_remark] [nvarchar](1000) null,
	[Balance_remark][nvarchar](1000) null,
	[Money_rate] [money] null DEFAULT (1),
	[Money_code] [varchar] (4) null,
	[MobileNum] [nvarchar] (20) NULL ,
	[ExpressDelivery] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[InvoType] [int] NULL,
	[Promoter] [int] NULL,
	[ExpressNum] [varchar](400) null,
	[Company] [nvarchar] (400) null,
	[SendPointStatus] [int] NULL DEFAULT (0),
	[Province] [int]  NULL
 CONSTRAINT [PK_ZL_Orderinfo] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订单编号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'OrderNo'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订单用户' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Reuser'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'收货人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Receiver'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Rename'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'邮政编码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'ZipCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'电子信箱' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Email'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'手机' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Mobile'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'送货方式' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Delivery'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'缺货处理' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Outstock'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'送货时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Deliverytime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'付款方式' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Payment'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发票信息' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Invoice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订货留言' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Ordermessage'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'跟单员' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Merchandiser'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内部记录' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Internalrecords'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订单金额' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Ordersamount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'收款金额' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Receivablesamount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'指定价' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Specifiedprice'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'运费计算' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Freight'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'需要发票' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Invoiceneeds'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'已开发票' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Developedvotes'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订单状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'OrderStatus'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'付款状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Paymentstatus'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'物流状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'StateLogistics'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'签收' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Signed'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'结清' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Settle'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'作废' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Aside'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'暂停' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Suspended'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订单类型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Ordertype'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'负责跟单人员' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'AddUser'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否打折' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'IsCount'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'本次交易用户所得积分' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'Integral'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主订单ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'parentID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'服务费' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Orderinfo', @level2type=N'COLUMN', @level2name=N'service_charge'
GO
exec sys.sp_addextendedproperty @name=N'MS_Description', @value=N'手机号码 ',@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'table', @level1name=N'ZL_Orderinfo', @level2type=N'column', @level2name=N'MobileNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'快递单号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Orderinfo', @level2type=N'COLUMN',@level2name=N'ExpressDelivery'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发票类型ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Orderinfo', @level2type=N'COLUMN',@level2name=N'InvoType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否赠送积分' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Orderinfo', @level2type=N'COLUMN',@level2name=N'SendPointStatus'

GO
CREATE TABLE [dbo].[ZL_PageStyle](
	[PageNodeid] [int] IDENTITY(1,1) NOT NULL,
	[PageNodeName] [varchar](255) NULL,
	[Istrue] [int] NULL CONSTRAINT [DF_ZL_PageNode_Istrue]  DEFAULT (1),
	[Orderid] [int] NULL CONSTRAINT [DF_ZL_PageNode_Orderid]  DEFAULT (0),
	[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_PageNode_Addtime]  DEFAULT (getdate()),
	[IsDefault] [int] NULL CONSTRAINT [DF_ZL_PageStyle_IsDefault]  DEFAULT (0),
	[StylePath] [nvarchar](255) NULL,
 CONSTRAINT [PK_ZL_PageNode] PRIMARY KEY CLUSTERED 
(
	[PageNodeid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

SET IDENTITY_INSERT [ZL_PageStyle] ON
INSERT [ZL_PageStyle] ([PageNodeid],[PageNodeName],[Istrue],[Orderid],[Addtime],[IsDefault],[StylePath]) VALUES ( 1,N'体验样式',1,0,N'2014/7/29 8:35:10',1,N'/Template/V3/企业黄页/')
SET IDENTITY_INSERT [ZL_PageStyle] OFF

GO
CREATE TABLE [dbo].[ZL_PageTemplate](
	[TemplateID] [int] IDENTITY(1,1) NOT NULL,
	[TemplateName] [varchar](50) NOT NULL,
	[TemplateUrl] [varchar](50) NOT NULL,
	[TemplateType] [int] NULL CONSTRAINT [DF_ZL_PageTemplate_TemplateType]  DEFAULT (0),
	[OpenType] [varchar](50) NULL CONSTRAINT [DF_ZL_PageTemplate_OpenType]  DEFAULT ('_blank'),
	[UserGroup] [varchar](50) NULL,
	[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_PageTemplate_Addtime]  DEFAULT (getdate()),
	[IsTrue] [int] NULL CONSTRAINT [DF_ZL_PageTemplate_IsTrue]  DEFAULT (0),
	[Userid] [int] NULL CONSTRAINT [DF_ZL_PageTemplate_Userid]  DEFAULT (0),
	[UserName] [varchar](255) NULL,
	[OrderID] [int] NULL CONSTRAINT [DF_ZL_PageTemplate_OrderID]  DEFAULT (0),
	[ParentID] [int] NULL CONSTRAINT [DF_ZL_PageTemplate_ParentID]  DEFAULT (0),
	[Modelinfo] [text] NULL,
	[identifiers] [varchar](255) NULL,
	[NodeFileEx] [varchar](50) NULL,
	[ContentFileEx] [varchar](50) NULL,
	[Nodeimgurl] [varchar](255) NULL,
	[Nodeimgtext] [varchar](255) NULL,
	[Pagecontent] [text] NULL,
	[PageMetakeyword] [varchar](255) NULL,
	[PageMetakeyinfo] [varchar](255) NULL,
	[linkurl] [varchar](255) NULL,
	[linkimg] [varchar](255) NULL,
	[linktxt] [varchar](255) NULL,
	[ParentNode] [int] NULL CONSTRAINT [DF_ZL_PageTemplate_ParentNode]  DEFAULT (0),
	[NeedAudit] [int] NULL,
 CONSTRAINT [PK_ZL_PageTemplate] PRIMARY KEY CLUSTERED 
(
	[TemplateID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_PayPlat](
	[PayPlatID] [int] IDENTITY(1,1) NOT NULL,
	[UID] [int] NOT NULL ,
	[PayClass] [int] NULL CONSTRAINT [DF_ZL_PayPlat_PayClass]  DEFAULT (0),
	[PayPlatName] [nvarchar](255) NOT NULL,
	[AccountID] [nvarchar](255) NULL,
	[MD5Key] [nvarchar](255) NULL,
	[SellerEmail] [nvarchar](255) NULL,
	[IsDisabled] [bit] NULL CONSTRAINT [DF_ZL_PayPlat_IsDisabled]  DEFAULT (0),
	[IsDefault] [bit] NULL CONSTRAINT [DF_ZL_PayPlat_IsDefault]  DEFAULT (0),
	[Rate] [float] NULL CONSTRAINT [DF_ZL_PayPlat_Rate]  DEFAULT (0),
	[OrderID] [int] NULL,
	[payType] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[leadtoGroup] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[PayPlatinfo] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_PayPlat] PRIMARY KEY CLUSTERED 
(
	[PayPlatID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'支付平台ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'PayPlatID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'支付平台名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'PayPlatName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'支付平台商户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'AccountID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'支付平台商户安全校验码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'MD5Key'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卖家Email如支付宝需要的卖家Email' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'SellerEmail'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否禁用' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'IsDisabled'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否默认支付平台' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'IsDefault'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'手续费' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'Rate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'OrderID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支付卡类型 zfk ，a等' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'payType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'这个通道属于的用户组，各个用户组表示：‘，***，’' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'leadtoGroup'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PayPlat', @level2type=N'COLUMN', @level2name=N'PayPlatinfo'

GO
CREATE TABLE [dbo].[ZL_Payment](
	[PaymentID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NOT NULL,
	[PaymentNum] [nvarchar](50) NULL,
	[PayPlatID] [int] NULL,
	[MoneyPay] [money] NULL,
	[MoneyTrue] [money] NULL,
	[PayTime] [datetime] NULL,
	[SuccessTime] [datetime] NULL,
	[Status] [int] NULL,
	[PlatformInfo] [nvarchar](200) NULL,
	[Remark] [nvarchar](255) NULL,
	[CStatus] [bit] NULL CONSTRAINT [DF_ZL_Payment_CStatus]  DEFAULT (0),
	[AlipayNO] [nvarchar](100) NULL
	CONSTRAINT [PK_ZL_Payment] PRIMARY KEY CLUSTERED 
	(
	  [PaymentID] DESC
	) ON [PRIMARY]
)
 ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'支付情况ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'PaymentID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'支付会员ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'支付序号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'PaymentNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'支付平台ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'PayPlatID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'金额' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'MoneyPay'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'实际支付金额' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'MoneyTrue'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'交易时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'PayTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'交易成功时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'SuccessTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'交易状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'Status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'平台反馈信息' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'PlatformInfo'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'Remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'处理状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Payment', @level2type=N'COLUMN', @level2name=N'CStatus'

GO
CREATE TABLE [dbo].[ZL_Permission](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[RoleName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[RoleImg] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Info] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Perlist] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[UserGroup] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[Precedence] [int] NULL CONSTRAINT [DF_ZL_Permission_Precedence]  DEFAULT (0),
	[IsTrue] [bit] NULL CONSTRAINT [DF_ZL_Permission_IsTrue]  DEFAULT (1),
 CONSTRAINT [PK_ZL_Permission] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'权限ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Permission', @level2type=N'COLUMN', @level2name=N'ID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'角色名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Permission', @level2type=N'COLUMN', @level2name=N'RoleName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'角色图片' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Permission', @level2type=N'COLUMN', @level2name=N'RoleImg'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'角色说明' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Permission', @level2type=N'COLUMN', @level2name=N'Info'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'权限详细列表' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Permission', @level2type=N'COLUMN', @level2name=N'Perlist'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户组绑定' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Permission', @level2type=N'COLUMN', @level2name=N'UserGroup'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'优先级别,用户组多次绑定' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Permission', @level2type=N'COLUMN', @level2name=N'Precedence'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否启用' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Permission', @level2type=N'COLUMN', @level2name=N'IsTrue'


GO
CREATE TABLE [dbo].[ZL_PointTrans](
	[PID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NOT NULL,
	[UserPoint] [int] NOT NULL,
	[Detail] [nvarchar](1000) NOT NULL,
	[OperDate] [datetime] NOT NULL CONSTRAINT [DF_ZL_PointTrans_OperDate]  DEFAULT (getdate()),
	[Operator] [int] NOT NULL,
 CONSTRAINT [PK_ZL_PointTrans] PRIMARY KEY CLUSTERED 
(
	[PID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'点券事务ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PointTrans', @level2type=N'COLUMN', @level2name=N'PID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PointTrans', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'点数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PointTrans', @level2type=N'COLUMN', @level2name=N'UserPoint'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'事由' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PointTrans', @level2type=N'COLUMN', @level2name=N'Detail'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PointTrans', @level2type=N'COLUMN', @level2name=N'OperDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作人ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PointTrans', @level2type=N'COLUMN', @level2name=N'Operator'


GO
CREATE TABLE [dbo].[ZL_Present](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Prename] [varchar](50) NULL,
	[Pretype] [varchar](50) NULL,
	[procode] [varchar](50) NULL,
	[ShiPrice] [money] NULL,
	[LinPrice] [money] NULL,
	[ProUnit] [varchar](50) NULL,
	[Stock] [int] NULL,
	[StockDown] [int] NULL,
	[Weight] [int] NULL,
	[ServerPeriod] [int] NULL,
	[ServerType] [int] NULL,
	[Preinfo] [text] NULL,
	[precontent] [text] NULL,
	[Clearimg] [varchar](255) NULL,
	[Thumbnails] [varchar](255) NULL,
	[Adduser] [varchar](50) NULL,
	[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_Present_Addtime]  DEFAULT (getdate()),
	[Updatetime] [datetime] NULL CONSTRAINT [DF_ZL_Present_Updatetime]  DEFAULT (getdate()),
 CONSTRAINT [PK_ZL_Present] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_PrintMode](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Control_Width] [int] NULL,
	[Control_Height] [int] NULL,
	[Bg_width] [int] NULL,
	[Bg_Height] [int] NULL,
	[Bg_URL] [varchar](50) NULL,
	[Mode_Type] [varchar](50) NULL
) ON [PRIMARY]

GO

CREATE TABLE [dbo].[ZL_PrintPic](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Mode_id] [int] NULL,
	[User_id] [int] NULL,
	[Pic_URL] [varchar](50) NULL,
	[Pic_Compound] [varchar](50) NULL
) ON [PRIMARY]



GO
CREATE TABLE [dbo].[ZL_Process](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[PName] [varchar](200) NOT NULL,
	[PDepcit] [varchar](5000) NULL,
	[PRole] [varchar](60) NOT NULL,
	[PCode] [int] NOT NULL,
	[PPassName] [varchar](200) NOT NULL,
	[PPassCode] [int] NOT NULL,
	[PNoPassName] [varchar](200) NOT NULL,
	[PNoPassCode] [int] NOT NULL,
	[PFlowId] [int] NOT NULL,
	[NeedCode] [int] NOT NULL
 CONSTRAINT [PK_ZM_Process] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Process', @level2type=N'COLUMN', @level2name=N'id'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'步骤名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Process', @level2type=N'COLUMN', @level2name=N'PName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'步骤描述' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Process', @level2type=N'COLUMN', @level2name=N'PDepcit'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色id' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Process', @level2type=N'COLUMN', @level2name=N'PRole'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'流程步骤序列号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Process', @level2type=N'COLUMN', @level2name=N'PCode'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'通过审核名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Process', @level2type=N'COLUMN', @level2name=N'PPassName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'未通过审核名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Process', @level2type=N'COLUMN', @level2name=N'PNoPassName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'未通过审核码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Process', @level2type=N'COLUMN', @level2name=N'PNoPassCode'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'流程号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Process', @level2type=N'COLUMN', @level2name=N'PFlowId'
GO
SET IDENTITY_INSERT [ZL_Process] ON
INSERT [ZL_Process] ([ID],[PName],[PRole],[PCode],[PPassName],[PPassCode],[PNoPassName],[PNoPassCode],[PFlowId],[NeedCode]) VALUES ( 1,N'初审',N'1,2,3,4,5,6,7,8,9,',1,N'初审',11,N'初审拒绝',-2,1,0)
INSERT [ZL_Process] ([ID],[PName],[PRole],[PCode],[PPassName],[PPassCode],[PNoPassName],[PNoPassCode],[PFlowId],[NeedCode]) VALUES ( 2,N'二审',N'1,2,',2,N'二审',12,N'二审拒绝',-2,1,11)
INSERT [ZL_Process] ([ID],[PName],[PRole],[PCode],[PPassName],[PPassCode],[PNoPassName],[PNoPassCode],[PFlowId],[NeedCode]) VALUES ( 3,N'终审',N'1,2,',3,N'已审核',99,N'不通过',-2,1,12)
SET IDENTITY_INSERT [ZL_Process] OFF

GO
CREATE TABLE [dbo].[ZL_Project](
	[ProjectID] [int] IDENTITY(1,1) NOT NULL,
	[ProjectName] [nvarchar](255) NOT NULL,
	[ProjectIntro] [ntext] NOT NULL,
	[UserID] [int] NOT NULL,
	[RequireID] [int] NOT NULL CONSTRAINT [DF_ZL_Project_RequireID]  DEFAULT (0),
	[StartDate] [datetime] NOT NULL CONSTRAINT [DF_ZL_Project_StartDate]  DEFAULT (getdate()),
	[EndDate] [datetime] NULL,
	[Status] [int] NULL CONSTRAINT [DF_ZL_Project_Status]  DEFAULT (0),
	[Passed] [bit] NULL CONSTRAINT [DF_ZL_Project_Passed]  DEFAULT (0),
	[ProjectCategoryID] [int] NOT NULL CONSTRAINT [DF_ZL_Project_ProjectCategory]  DEFAULT (0),
 CONSTRAINT [PK_ZL_Project] PRIMARY KEY CLUSTERED 
(
	[ProjectID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目分类' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Project', @level2type=N'COLUMN', @level2name=N'ProjectCategoryID'

GO
CREATE TABLE [dbo].[ZL_ProjectAffairs](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[MainTitleID] [int] NOT NULL CONSTRAINT [DF_ZL_ProjectAffairs_MainTitleID]  DEFAULT (0),
	[SubTitleID] [int] NULL CONSTRAINT [DF_ZL_ProjectAffairs_SubTitleID]  DEFAULT (0),
	[Title] [nvarchar](50) NULL,
	[Content] [ntext] NOT NULL,
	[AuthorID] [int] NOT NULL,
	[AuthorName] [nvarchar](50) NULL,
	[EditTime] [datetime] NULL CONSTRAINT [DF_ZL_ProjectAffairs_EditTime]  DEFAULT (getdate()),
	[LastModifyTime] [datetime] NULL CONSTRAINT [DF_ZL_ProjectAffairs_LastModifyTime]  DEFAULT (getdate()),
 CONSTRAINT [PK_ZL_ProjectAffairs] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标识' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ProjectAffairs', @level2type=N'COLUMN', @level2name=N'ID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'事务中心主标题事务ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ProjectAffairs', @level2type=N'COLUMN', @level2name=N'MainTitleID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'副标题事务回复ID，允许为空' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ProjectAffairs', @level2type=N'COLUMN', @level2name=N'SubTitleID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'事务标题(回复允许为空)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ProjectAffairs', @level2type=N'COLUMN', @level2name=N'Title'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'事务内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ProjectAffairs', @level2type=N'COLUMN', @level2name=N'Content'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑者ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ProjectAffairs', @level2type=N'COLUMN', @level2name=N'AuthorID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编辑者名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ProjectAffairs', @level2type=N'COLUMN', @level2name=N'AuthorName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发表的日期' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ProjectAffairs', @level2type=N'COLUMN', @level2name=N'EditTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最后修改时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ProjectAffairs', @level2type=N'COLUMN', @level2name=N'LastModifyTime'


GO
CREATE TABLE [dbo].[ZL_ProjectCategory](
	[ProjectCategoryID] [int] IDENTITY(1,1) NOT NULL,
	[ProjectCategoryName] [nvarchar](50) NOT NULL,
	[ProjectCategoryIntro] [nvarchar](255) NULL,
 CONSTRAINT [PK_ZL_ProjectCategory] PRIMARY KEY CLUSTERED 
(
	[ProjectCategoryID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]


GO
CREATE TABLE [dbo].[ZL_ProjectDiscuss](
	[DiscussID] [int] IDENTITY(1,1) NOT NULL,
	[ProjectID] [int] NOT NULL,
	[WorkID] [int] NOT NULL CONSTRAINT [DF_ZL_ProjectDiscuss_WorkID]  DEFAULT (0),
	[UserID] [int] NOT NULL CONSTRAINT [DF_ZL_ProjectDiscuss_UserID]  DEFAULT (0),
	[Content] [ntext] NOT NULL,
	[DiscussDate] [datetime] NOT NULL CONSTRAINT [DF_ZL_ProjectDiscuss_DiscussDate]  DEFAULT (getdate()),
 CONSTRAINT [PK_ZL_ProjectDiscuss] PRIMARY KEY CLUSTERED 
(
	[DiscussID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_ProjectField](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[ProjectID] [int] NOT NULL,
	[FieldName] [nvarchar](100) NOT NULL,
	[Alias] [nvarchar](100) NOT NULL,
	[Type] [varchar](50) NOT NULL,
	[FieldValue] [ntext] NOT NULL,
 CONSTRAINT [PK_ZL_ProjectField] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO


CREATE TABLE [dbo].[ZL_ProjectWork](
	[WorkID] [int] IDENTITY(1,1) NOT NULL,
	[WorkName] [nvarchar](255) NOT NULL,
	[WorkIntro] [ntext] NOT NULL,
	[ProjectID] [int] NOT NULL,
	[Approving] [int] NULL CONSTRAINT [DF_ZL_ProjectWork_Approving]  DEFAULT (0),
	[Status] [int] NULL CONSTRAINT [DF_ZL_ProjectWork_Status]  DEFAULT (0),
	[EndDate] [datetime] NOT NULL,
 CONSTRAINT [PK_ZL_ProjectWork] PRIMARY KEY CLUSTERED 
(
	[WorkID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'客户满意度' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ProjectWork', @level2type=N'COLUMN', @level2name=N'Approving'



GO
CREATE TABLE [dbo].[ZL_Promotions](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Promoname] [varchar](255) NULL,
	[Promostart] [datetime] NULL,
	[Promoend] [datetime] NULL,
	[Pricetop] [money] NULL,
	[Priceend] [money] NULL,
	[AddUser] [varchar](50) NULL,
	[Integral] [int] NULL CONSTRAINT [DF_ZL_Promotions_Integral]  DEFAULT (0),
	[GetPresent] [int] NULL CONSTRAINT [DF_ZL_Promotions_GetPresent]  DEFAULT (0),
	[Presentmoney] [money] NULL,
	[IntegralTure] [int] NULL CONSTRAINT [DF_ZL_Promotions_IntegralTure]  DEFAULT (0),
	[PromoProlist] [varchar](255) NULL,
	[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_Promotions_Addtime]  DEFAULT (getdate()),
	[TureUser] [varchar](50) NULL,
 CONSTRAINT [PK_ZL_Promotions] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'促销名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'Promoname'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'起始时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'Promostart'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'结束时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'Promoend'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'价格上限' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'Pricetop'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'价格下限' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'Priceend'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'AddUser'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'积分' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'Integral'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'可以得到礼品' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'GetPresent'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'兑换金钱数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'Presentmoney'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'可以得到积分' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'IntegralTure'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'礼品名称列表' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'PromoProlist'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'Addtime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加作者' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Promotions', @level2type=N'COLUMN', @level2name=N'TureUser'

GO
CREATE TABLE [dbo].[ZL_Pub](
[Pubid] [int] IDENTITY(1,1) NOT NULL,
[PubName] [nvarchar](255) NULL,
[PubClass] [int] NULL CONSTRAINT [DF_ZL_Pub_PubClass]  DEFAULT (0),
[PubTableName] [nvarchar](255) NULL,
[PubType] [int] NULL CONSTRAINT [DF_ZL_Pub_PubType]  DEFAULT (0),
[PubOneOrMore] [int] NULL CONSTRAINT [DF_ZL_Pub_PubOneOrMore]  DEFAULT (0),
[PubIPOneOrMore] [int] NULL,
[PubTemplate] [nvarchar](1000) NULL,
[PubLoadstr] [nvarchar](1000) NULL,
[PubModelID] [int] NULL CONSTRAINT [DF_ZL_Pub_PubModelID]  DEFAULT (0),
[PubNodeID] [nvarchar](1000) NULL CONSTRAINT [DF_ZL_Pub_PubNodeID]  DEFAULT (0),
[PubTemplateID] [nvarchar](1000) NULL CONSTRAINT [DF_ZL_Pub_PubTemplateID]  DEFAULT (0),
[Pubinfo] [ntext] NULL,
[PubIsTrue] [int] NULL CONSTRAINT [DF_ZL_Pub_PubIsTrue]  DEFAULT (0),
[PubCode] [int] NULL CONSTRAINT [DF_ZL_Pub_PubPubCode]  DEFAULT (0),
[PubLogin] [int] NULL CONSTRAINT [DF_ZL_Pub_PubNeedReg]  DEFAULT (0),
[PubAddnum] [int] NULL CONSTRAINT [DF_ZL_Pub_PubAddnum]  DEFAULT (0),
[PubBindPub] [int] NULL,
[PubShowType] [int] NULL CONSTRAINT [DF_ZL_Pub_PubShowType]  DEFAULT (0),
[PubInputTM] [nvarchar](1000) NULL,
[PubInputLoadStr] [nvarchar](255) NULL,
[PubCreateTime] [datetime] NULL CONSTRAINT [DF_ZL_Pub_PubCreateTime]  DEFAULT (getdate()),
[PubLoginUrl] [nvarchar](255) NULL,
[PubOpenComment] [int] NULL,
[PubEndTime] [datetime] NULL,
[PubIsDel] [int] NULL CONSTRAINT [DF_ZL_Pub_PubIsDel]  DEFAULT (0),
[PubTimeSlot] [int] NULL CONSTRAINT [DF_ZL_Pub_PubTimeSlot]  DEFAULT (10),
[Pubkeep] [int] NULL CONSTRAINT [DF_ZL_Pub_Pubkeep]  DEFAULT (7),
[Puberrmsg] [nvarchar](1000) NULL,
[PubGourl] [nvarchar](1000) NULL,
[PubSiteID] [int] NULL CONSTRAINT [DF_ZL_Pub_PubSiteID]  DEFAULT (0),
[Public] [int] NULL CONSTRAINT [DF_ZL_Pub_Public]  DEFAULT ((1)),
[PubPermissions] [nvarchar](255) NULL,
[Interval][nvarchar](20) NULL,
 CONSTRAINT [PK_ZL_Pub] PRIMARY KEY CLUSTERED
(
[Pubid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'互动ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'Pubid'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'互动名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'信息类别(0-内容 1-商城 2-黄页 3-店铺)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubClass'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'互动数据表名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubTableName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'互动类型(0-评论 1-投票 2-活动 3-留言 4-问券调查 5-通用统计)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubType'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否多条(0-无限制 1-每人限一条)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubOneOrMore'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'重复IP提交信息次数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubIPOneOrMore'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模板地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubTemplate'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'调用字符' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubLoadstr'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'模型ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubModelID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'系统节点ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubNodeID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'黄页节点ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubTemplateID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'Pubinfo'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否需要审核(0-不需要 1-需要审核)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubIsTrue'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否需要验证码(0-不需要 1-需要)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubCode'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否需要登陆(0-不需要 1-需要)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubLogin'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'参与人数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubAddnum'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'绑定互动' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubBindPub'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'投票显示方式(0-传统 1-柱状 2-圆形)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubShowType'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'提交窗口模板' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubInputTM'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'调用提交窗口代码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubInputLoadStr'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubCreateTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设置登陆地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubLoginUrl'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否开启评论' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubOpenComment'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'结束时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubEndTime'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否被删除 1-删除' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubIsDel'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'间隔时间，单位秒' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubTimeSlot'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'保留天数信息' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'Pubkeep'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新跳转地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubGourl'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'站点ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'PubSiteID'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公开' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Pub', @level2type=N'COLUMN', @level2name=N'Public'

GO
SET IDENTITY_INSERT [ZL_Pub] ON
INSERT [ZL_Pub] ([Pubid],[PubName],[PubClass],[PubTableName],[PubType],[PubOneOrMore],[PubIPOneOrMore],[PubTemplate],[PubLoadstr],[PubModelID],[PubNodeID],[PubTemplateID],[PubIsTrue],[PubCode],[PubLogin],[PubAddnum],[PubBindPub],[PubShowType],[PubInputTM],[PubInputLoadStr],[PubCreateTime],[PubOpenComment],[PubEndTime],[PubIsDel],[PubTimeSlot],[Pubkeep],[Puberrmsg],[PubSiteID],[Public]) VALUES ( 2,N'文章投票',0,N'ZL_Pub_WZTP',3,0,0,N'/互动模板/默认留言文章投票模板.html',N'WZTP',17,N'0',N'0',0,0,0,6,0,0,N'/互动模板/默认留言文章投票提交模板.html',N'WZTP',N'2015-1-28 17:21:01',0,N'9999-12-31 23:59:59',0,10,99999999,N'该用户提交信息的数量已经达到上限!',0,1)
INSERT [ZL_Pub] ([Pubid],[PubName],[PubClass],[PubTableName],[PubType],[PubOneOrMore],[PubIPOneOrMore],[PubTemplate],[PubLoadstr],[PubModelID],[PubIsTrue],[PubCode],[PubLogin],[PubAddnum],[PubBindPub],[PubShowType],[PubInputTM],[PubInputLoadStr],[PubCreateTime],[PubOpenComment],[PubEndTime],[PubIsDel],[PubTimeSlot],[Pubkeep],[Puberrmsg],[PubSiteID],[Public]) VALUES ( 3,N'在线调查',6,N'ZL_Pub_ZXDC',4,0,0,N'/互动模板/默认问券在线调查模板.html',N'ZXDC',18,0,0,0,1,0,0,N'/互动模板/默认问券在线调查提交模板.html',N'ZXDC',N'2015-5-6 9:56:05',0,N'9999-12-31 23:59:59',0,10,99999999,N'该用户提交信息的数量已经达到上限!',0,1)
INSERT [ZL_Pub] ([Pubid],[PubName],[PubClass],[PubTableName],[PubType],[PubOneOrMore],[PubIPOneOrMore],[PubTemplate],[PubLoadstr],[PubModelID],[PubIsTrue],[PubCode],[PubLogin],[PubAddnum],[PubBindPub],[PubShowType],[PubInputTM],[PubInputLoadStr],[PubCreateTime],[PubOpenComment],[PubEndTime],[PubIsDel],[PubTimeSlot],[Pubkeep],[Puberrmsg],[PubSiteID],[Public]) VALUES ( 4,N'提问',5,N'ZL_Pub_TW',3,0,0,N'/互动模板/默认留言提问模板.html',N'TW',21,0,0,0,2,0,0,N'/互动模板/默认留言提问提交模板.html',N'TW',N'2015-5-7 19:01:33',0,N'9999-12-31 23:59:59',0,10,99999999,N'该用户提交信息的数量已经达到上限!',0,1)
INSERT [ZL_Pub] ([Pubid],[PubName],[PubClass],[PubTableName],[PubType],[PubOneOrMore],[PubIPOneOrMore],[PubTemplate],[PubLoadstr],[PubModelID],[PubIsTrue],[PubCode],[PubLogin],[PubAddnum],[PubBindPub],[PubShowType],[PubInputTM],[PubInputLoadStr],[PubCreateTime],[PubOpenComment],[PubEndTime],[PubIsDel],[PubTimeSlot],[Pubkeep],[Puberrmsg],[PubSiteID],[Public]) VALUES ( 5,N'问题回答',0,N'ZL_Pub_WTHD',0,0,0,N'/互动模板/默认评论问题回答模板.html',N'WTHD',22,0,0,0,1,0,0,N'/互动模板/默认评论问题回答提交模板.html',N'WTHD',N'2015-5-7 19:01:52',0,N'9999-12-31 23:59:59',0,10,99999999,N'该用户提交信息的数量已经达到上限!',0,1)
INSERT [ZL_Pub] ([Pubid],[PubName],[PubClass],[PubTableName],[PubType],[PubOneOrMore],[PubIPOneOrMore],[PubTemplate],[PubLoadstr],[PubModelID],[PubIsTrue],[PubCode],[PubLogin],[PubAddnum],[PubBindPub],[PubShowType],[PubInputTM],[PubInputLoadStr],[PubCreateTime],[PubOpenComment],[PubEndTime],[PubIsDel],[PubTimeSlot],[Pubkeep],[Puberrmsg],[PubSiteID],[Public]) VALUES ( 6,N'最佳答案',0,N'ZL_Pub_ZJDA',0,0,0,N'/互动模板/默认评论最佳答案模板.html',N'ZJDA',23,0,0,0,0,0,0,N'/互动模板/默认评论最佳答案提交模板.html',N'ZJDA',N'2015-5-7 19:02:04',0,N'9999-12-31 23:59:59',0,10,99999999,N'该用户提交信息的数量已经达到上限!',0,1)
SET IDENTITY_INSERT [ZL_Pub] OFF

GO
CREATE TABLE [dbo].[ZL_Pub_Excel] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[TableName] [nvarchar]  (50) NULL,
[CNames] [ntext]  NULL,
[Fields] [ntext]  NULL,
[UserID] [int]  NULL,
[CreateTime] [datetime]  NULL)
ALTER TABLE [ZL_Pub_Excel] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Pub_Excel] PRIMARY KEY  NONCLUSTERED ( [ID] )

GO
CREATE TABLE [dbo].[ZL_Question](
[Qid] [int] IDENTITY(1,1) NOT NULL,
[Surveyid] [int] NOT NULL,
[Typeid] [int] NULL CONSTRAINT [DF_ZL_Question_Typeid]  DEFAULT (1),
[Qtitle] [nvarchar](500) NULL,
[Qcontent] [text] NULL,
[Orderid] [int] NULL CONSTRAINT [DF_ZL_Question_Orderid]  DEFAULT (0),
[QuestionCreateTime] [datetime] NULL CONSTRAINT [DF_ZL_Question_QuestionCreateTime]  DEFAULT (getdate()),
[IsNull] [bit] Null,
 CONSTRAINT [PK_ZL_Question] PRIMARY KEY CLUSTERED 
(
[Qid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Result](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Result] [varchar](2000) NULL,
[ResultTime] [datetime] NULL,
[ProblemID] [int] NULL,
[UserID] [int] NULL,
 CONSTRAINT [PK_ZL_Result] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'答案' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Result', @level2type=N'COLUMN', @level2name=N'Result'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'回答时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Result', @level2type=N'COLUMN', @level2name=N'ResultTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'问题ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Result', @level2type=N'COLUMN', @level2name=N'ProblemID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Result', @level2type=N'COLUMN', @level2name=N'UserID'



GO
CREATE TABLE [dbo].[ZL_Role](
[RoleID] [int] IDENTITY(1,1) NOT NULL,
[RoleName] [nvarchar](50) NOT NULL,
[Description] [nvarchar](255) NULL,
[NodeID] [int] NULL,
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Role', @level2type=N'COLUMN', @level2name=N'RoleID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Role', @level2type=N'COLUMN', @level2name=N'RoleName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色描述' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Role', @level2type=N'COLUMN', @level2name=N'Description'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'角色所属节点' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Role', @level2type=N'COLUMN', @level2name=N'NodeID'

GO
CREATE TABLE [dbo].[ZL_RolePermissions](
[RoleID] [int] NOT NULL,
[OperateCode] [nvarchar](50) NOT NULL,
[NodeID] [int] NULL
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'操作代码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RolePermissions', @level2type=N'COLUMN', @level2name=N'OperateCode'

GO
CREATE TABLE [dbo].[ZL_RoomActive](
[AID] [int] IDENTITY(1,1) NOT NULL,
[ActiveUserID] [int] NULL,
[ActiveTitle] [nvarchar](225) NULL,
[ActiveContext] [nvarchar](4000) NULL,
[ActiveStateTime] [datetime] NULL,
[ActiveEndTime] [datetime] NULL,
[ActiveAddTime] [datetime] NULL,
[ActivePic] [nvarchar](200) NULL,
[RoomID] [int] NULL,
 CONSTRAINT [PK_Active] PRIMARY KEY CLUSTERED 
(
[AID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'活动发起人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActive', @level2type=N'COLUMN', @level2name=N'ActiveUserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'活动标题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActive', @level2type=N'COLUMN', @level2name=N'ActiveTitle'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'活动内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActive', @level2type=N'COLUMN', @level2name=N'ActiveContext'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'活动开始时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActive', @level2type=N'COLUMN', @level2name=N'ActiveStateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'活动结束时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActive', @level2type=N'COLUMN', @level2name=N'ActiveEndTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'活动添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActive', @level2type=N'COLUMN', @level2name=N'ActiveAddTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'活动图片' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActive', @level2type=N'COLUMN', @level2name=N'ActivePic'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActive', @level2type=N'COLUMN', @level2name=N'RoomID'

GO
CREATE TABLE [dbo].[ZL_RoomActiveJoin](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ActiveID] [int] NULL,
[UserID] [int] NULL,
[UserName] [nvarchar](255) NULL,
[AddTime] [datetime] NULL,
CONSTRAINT [PK_ZL_RoomActiveJoin] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'活动ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActiveJoin', @level2type=N'COLUMN', @level2name=N'ActiveID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'参与用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActiveJoin', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActiveJoin', @level2type=N'COLUMN', @level2name=N'UserName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomActiveJoin', @level2type=N'COLUMN', @level2name=N'AddTime'

GO
CREATE TABLE [dbo].[ZL_RoomMessage](
[ID] [int] IDENTITY(1,1) NOT NULL,
[SendID] [int] NULL,
[InceptID] [int] NULL,
[Mcontent] [text] NULL,
[Addtime] [datetime] NULL,
[RestoreID] [int] NULL,
[State] [int] NULL,
CONSTRAINT [PK_ZL_RoomMessage] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'留言者' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomMessage', @level2type=N'COLUMN', @level2name=N'SendID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'被留言者' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomMessage', @level2type=N'COLUMN', @level2name=N'InceptID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomMessage', @level2type=N'COLUMN', @level2name=N'Mcontent'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomMessage', @level2type=N'COLUMN', @level2name=N'Addtime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'回复ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomMessage', @level2type=N'COLUMN', @level2name=N'RestoreID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0为正常 1为删除' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomMessage', @level2type=N'COLUMN', @level2name=N'State'

GO
CREATE TABLE [dbo].[ZL_RoomNotify](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[NotifyTitle] [nvarchar](200) NULL,
	[NotifyContext] [nvarchar](1000) NULL,
	[AddTime] [datetime] NULL,
	[RoomID] [int] NULL,
	[UserID] [int] NULL,
 CONSTRAINT [PK_RoomNotify] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'通知标题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomNotify', @level2type=N'COLUMN', @level2name=N'NotifyTitle'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'通知内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomNotify', @level2type=N'COLUMN', @level2name=N'NotifyContext'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomNotify', @level2type=N'COLUMN', @level2name=N'AddTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomNotify', @level2type=N'COLUMN', @level2name=N'RoomID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomNotify', @level2type=N'COLUMN', @level2name=N'UserID'

GO
CREATE TABLE [dbo].[ZL_RoomUpFile](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[FileName] [nvarchar](100) NULL,
	[UpFileUrl] [nvarchar](300) NULL,
	[Course] [nvarchar](10) NULL,
	[UserType] [int] NULL,
	[FileType] [int] NULL,
	[UserID] [int] NULL,
	[RoomID] [int] NULL,
	[UpDateTime] [datetime] NULL,
	[FileState] [int] NULL,
 CONSTRAINT [PK_ZL_RoomUpFile] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'文件名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomUpFile', @level2type=N'COLUMN', @level2name=N'FileName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上传路径' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomUpFile', @level2type=N'COLUMN', @level2name=N'UpFileUrl'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'课程' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomUpFile', @level2type=N'COLUMN', @level2name=N'Course'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户类别 1：老师，2：学生' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomUpFile', @level2type=N'COLUMN', @level2name=N'UserType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上传文件类型 1：试题，2：作业' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomUpFile', @level2type=N'COLUMN', @level2name=N'FileType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomUpFile', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'班级ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomUpFile', @level2type=N'COLUMN', @level2name=N'RoomID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上传时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomUpFile', @level2type=N'COLUMN', @level2name=N'UpDateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'文件状态 1：可下载，2：不可下载：3：待审核' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomUpFile', @level2type=N'COLUMN', @level2name=N'FileState'


GO
CREATE TABLE [dbo].[ZL_Scheme](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[SName] [nvarchar](255) NULL,
	[SStartTime] [datetime] NULL,
	[SEndTime] [datetime] NULL,
	[SList] [nvarchar](50) NULL,
	[SAddTime] [datetime] NULL,
	[SType] [int] NULL,
 CONSTRAINT [PK_ZL_Scheme] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'方案名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Scheme', @level2type=N'COLUMN', @level2name=N'SName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'方案有效期开始时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Scheme', @level2type=N'COLUMN', @level2name=N'SStartTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'方案有效期结束时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Scheme', @level2type=N'COLUMN', @level2name=N'SEndTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'方案商品列表' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Scheme', @level2type=N'COLUMN', @level2name=N'SList'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Scheme', @level2type=N'COLUMN', @level2name=N'SAddTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'打折类型，1：按商品分类，2：按商品类型分类' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Scheme', @level2type=N'COLUMN', @level2name=N'SType'


GO
CREATE TABLE [dbo].[ZL_SchemeInfo](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[SIULimit] [int] NULL,
	[SILLimit] [int] NULL,
	[SIAgio] [int] NULL,
	[SID] [int] NULL,
	[SIAddTime] [datetime] NULL,
 CONSTRAINT [PK_ZL_SchemeInfo] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数量上限' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SchemeInfo', @level2type=N'COLUMN', @level2name=N'SIULimit'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数量下限' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SchemeInfo', @level2type=N'COLUMN', @level2name=N'SILLimit'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'折扣' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SchemeInfo', @level2type=N'COLUMN', @level2name=N'SIAgio'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'方案ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SchemeInfo', @level2type=N'COLUMN', @level2name=N'SID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_SchemeInfo', @level2type=N'COLUMN', @level2name=N'SIAddTime'


GO
CREATE TABLE [dbo].[ZL_School](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[SchoolName] [nvarchar](255) NULL,
	[Country] [nvarchar](255) NULL,
	[Province] [nvarchar](255) NULL,
	[SchoolType] [int] NULL,
	[Visage] [int] NULL,
	[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_School_Addtime]  DEFAULT (getdate()),
	[SchoolInfo] [ntext] NULL,
 CONSTRAINT [PK_ZL_School] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学校名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_School', @level2type=N'COLUMN', @level2name=N'SchoolName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'国家' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_School', @level2type=N'COLUMN', @level2name=N'Country'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'省份' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_School', @level2type=N'COLUMN', @level2name=N'Province'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学校类型(1-小学 2-中学 3-大学 4-其他)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_School', @level2type=N'COLUMN', @level2name=N'SchoolType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学校面貌(1-公办 2-私立)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_School', @level2type=N'COLUMN', @level2name=N'Visage'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_School', @level2type=N'COLUMN', @level2name=N'Addtime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'学校说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_School', @level2type=N'COLUMN', @level2name=N'SchoolInfo'


GO
CREATE TABLE [dbo].[ZL_ServiceSeat](
	[S_ID] [int] IDENTITY(1,1) NOT NULL,
	[S_Name] [nvarchar](50) NULL,
	[S_AdminID] [int] NULL,
	[S_DateTime] [nvarchar](50) NULL,
	[S_Index] [int] NULL,
	[S_Remrk] [nvarchar](500) NULL,
	[S_Default] [int] NULL,
 CONSTRAINT [PK_ZL_ServiceSeat] PRIMARY KEY CLUSTERED 
(
	[S_ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'席位名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ServiceSeat', @level2type=N'COLUMN', @level2name=N'S_Name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管理员编号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ServiceSeat', @level2type=N'COLUMN', @level2name=N'S_AdminID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设置时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ServiceSeat', @level2type=N'COLUMN', @level2name=N'S_DateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'显示索引' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ServiceSeat', @level2type=N'COLUMN', @level2name=N'S_Index'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ServiceSeat', @level2type=N'COLUMN', @level2name=N'S_Remrk'


GO
CREATE TABLE [dbo].[ZL_ShopCommentary](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[ComType] [int] NULL,
	[Comtitle] [nvarchar](255) NULL,
	[Storeid] [int] NULL,
	[CUserid] [int] NULL,
	[COrderid] [int] NULL,
	[ComContent] [ntext] NULL,
	[ComUser] [nvarchar](100) NULL,
	[Proid] [int] NULL,
	[ProName] [nvarchar](255) NULL,
	[Istopic] [bit] NOT NULL,
	[Putip] [nvarchar](255) NULL,
	[Addtime] [datetime] NULL,
	[ComOption] [int] NULL,
	[Istrue] [bit] NULL,
	[Comid] [int] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'评论类型 商品评论=0;用户评论=1;交易评论=2' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'ComType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'评论标题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'Comtitle'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'受评店铺ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'Storeid'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'受评论用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'CUserid'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'受评论交易ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'COrderid'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'评论内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'ComContent'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发表用户' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'ComUser'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'Proid'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'ProName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否为话题 0-非话题　1-话题' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'Istopic'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发布IP地址' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'Putip'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发布时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'Addtime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'评论选项：好评，中评，差评' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'ComOption'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所属评论ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCommentary', @level2type=N'COLUMN', @level2name=N'Comid'

GO
CREATE TABLE [dbo].[ZL_ShopCompete](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[ProID] [int] NULL,
	[PMoney] [money] NULL,
	[AddTime] [datetime] NULL,
	[UserID] [int] NULL,
	[ShopType] [int] NULL,
	[ShopNum] [int] NULL,
 CONSTRAINT [PK_ZL_ShopCompete] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'产品ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCompete', @level2type=N'COLUMN', @level2name=N'ProID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍价格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCompete', @level2type=N'COLUMN', @level2name=N'PMoney'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCompete', @level2type=N'COLUMN', @level2name=N'AddTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCompete', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'购买类型  1：团购，2：竞拍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCompete', @level2type=N'COLUMN', @level2name=N'ShopType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'购买数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopCompete', @level2type=N'COLUMN', @level2name=N'ShopNum'

GO
CREATE TABLE [dbo].[ZL_ShopGrade](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[GradeName] [nvarchar](255) NULL,
	[Gradeimg] [nvarchar](255) NULL,
	[CommentNum] [int] NOT NULL,
	[OtherName] [nvarchar](255) NULL,
	[Istrue] [bit] NULL,
	[GradeType] [int] NOT NULL,
	[Imgnum] [int] NULL
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'等级名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopGrade', @level2type=N'COLUMN', @level2name=N'GradeName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'等级图片' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopGrade', @level2type=N'COLUMN', @level2name=N'Gradeimg'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'积分' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopGrade', @level2type=N'COLUMN', @level2name=N'CommentNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'等级别名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopGrade', @level2type=N'COLUMN', @level2name=N'OtherName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'启用状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopGrade', @level2type=N'COLUMN', @level2name=N'Istrue'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'等级类型 0-购物等级,1-卖家等级,2-商户等级' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopGrade', @level2type=N'COLUMN', @level2name=N'GradeType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'图片数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopGrade', @level2type=N'COLUMN', @level2name=N'Imgnum'

GO
CREATE TABLE [dbo].[ZL_ShopLable](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[LableName] [nvarchar](255) NULL,
	[LableType] [int] NULL,
	[LableContent] [ntext] NULL,
	[LableInfo] [nvarchar](255) NULL,
	[IsTrue] [bit] NULL,
	[LableClass] [nvarchar](50) NULL,
	[Separator] [nvarchar](255) NULL CONSTRAINT [DF_ZL_ShopLable_Separator]  DEFAULT (''),
	[Initial] [int] NULL CONSTRAINT [DF_ZL_ShopLable_Initial]  DEFAULT (1),
	[Derive] [nvarchar](255) NULL,
	[Fildsinfo] [nvarchar](1000) NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标签名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopLable', @level2type=N'COLUMN', @level2name=N'LableName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标签类型(0-用户标签 1-系统标签)' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopLable', @level2type=N'COLUMN', @level2name=N'LableType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标签内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopLable', @level2type=N'COLUMN', @level2name=N'LableContent'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标签说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopLable', @level2type=N'COLUMN', @level2name=N'LableInfo'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否启用' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopLable', @level2type=N'COLUMN', @level2name=N'IsTrue'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标签种类' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopLable', @level2type=N'COLUMN', @level2name=N'LableClass'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分割符' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopLable', @level2type=N'COLUMN', @level2name=N'Separator'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'初始计算值' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopLable', @level2type=N'COLUMN', @level2name=N'Initial'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'派生标签' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopLable', @level2type=N'COLUMN', @level2name=N'Derive'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'参数说明' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopLable', @level2type=N'COLUMN', @level2name=N'Fildsinfo'

GO
CREATE TABLE [dbo].[ZL_ShopNodeinfo](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Nodeid] [int] NULL,
	[NodeName] [nvarchar](255) NULL,
	[Incorporation] [bit] NOT NULL,
	[Auction] [bit] NOT NULL,
	[Warehouse] [bit] NOT NULL,
	[Comment] [bit] NOT NULL,
	[PageNum] [int] NOT NULL,
	[ShowType] [int] NOT NULL,
	[Anonymity] [bit] NOT NULL,
	[Pointcard] [bit] NOT NULL,
	[Dummymoney] [bit] NOT NULL
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'Nodeid'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'节点名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'NodeName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许发布团购' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'Incorporation'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许发布竞拍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'Auction'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许自动上架' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'Warehouse'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许评论' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'Comment'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'每页显示数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'PageNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'默认显示模式 0-列表，1-平铺，2-文字' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'ShowType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许匿名购买' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'Anonymity'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许使用点卡' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'Pointcard'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许使用虚拟货币' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_ShopNodeinfo', @level2type=N'COLUMN', @level2name=N'Dummymoney'

 

GO
CREATE TABLE [dbo].[ZL_Shopconfig](
	[IsOpen] [bit] NOT NULL,
	[BankInfo] [ntext] NULL,
	[Anonymity] [bit] NOT NULL,
	[Pointcard] [bit] NOT NULL,
	[Dummymoney] [bit] NOT NULL,
	[Comment] [bit] NOT NULL,
	[Goodpl] [int] NULL,
	[Centerpl] [int] NULL,
	[Badpl] [int] NULL,
	[Auditing] [int] NULL CONSTRAINT [DF_ZL_Shopconfig_Auditing]  DEFAULT (0),
	[ScorePoint] [int] NULL DEFAULT (0),
	[ChangeOrder] [bit] NUll
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'启用多用户商城' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopconfig', @level2type=N'COLUMN', @level2name=N'IsOpen'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'银行接口信息' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopconfig', @level2type=N'COLUMN', @level2name=N'BankInfo'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许匿名购买' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopconfig', @level2type=N'COLUMN', @level2name=N'Anonymity'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许使用点卡' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopconfig', @level2type=N'COLUMN', @level2name=N'Pointcard'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许使用虚拟货币' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopconfig', @level2type=N'COLUMN', @level2name=N'Dummymoney'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'允许评论' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopconfig', @level2type=N'COLUMN', @level2name=N'Comment'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'赠送积分折算率（%）' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopconfig', @level2type=N'COLUMN', @level2name=N'ScorePoint'


GO
CREATE TABLE [dbo].[ZL_Shopsearch](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Searchkey] [nvarchar](255) NULL,
	[SearchNum] [int] NULL,
	[Commend] [int] NULL,
	[SearchTime] [datetime] NULL,
	[Class] [nvarchar](255) NULL,
	[Showtop] [bit] NULL
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'搜索关键字' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopsearch', @level2type=N'COLUMN', @level2name=N'Searchkey'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'搜索次数' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopsearch', @level2type=N'COLUMN', @level2name=N'SearchNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'推荐关键字' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopsearch', @level2type=N'COLUMN', @level2name=N'Commend'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'搜索时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopsearch', @level2type=N'COLUMN', @level2name=N'SearchTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分类' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Shopsearch', @level2type=N'COLUMN', @level2name=N'Class'

GO
CREATE TABLE [dbo].[ZL_Sns_Active](
	[ID] [uniqueidentifier] NOT NULL,
	[UserID] [int] NULL,
	[ActiveManage] [uniqueidentifier] NULL,
	[ActiveTitle] [varchar](100) NULL,
	[TypeID] [uniqueidentifier] NULL,
	[ActiveStarttime] [datetime] NULL,
	[ActiveEndtime] [datetime] NULL,
	[ActiveAddress] [varchar](100) NULL,
	[ActiveContent] [text] NULL,
	[ActiveJoinType] [int] NULL,
	[ActiveOther] [int] NULL,
	[ActiveAddtime] [datetime] NULL,
	[ActivePic] [varchar](100) NULL,
 CONSTRAINT [PK_ZL_Sns_Active] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_ActiveJoin](
	[ID] [uniqueidentifier] NOT NULL,
	[ActiveID] [uniqueidentifier] NULL,
	[UserID] [int] NULL,
	[JoinState] [int] NULL,
	[JoinAddtime] [datetime] NULL,
 CONSTRAINT [PK_ZL_Sns_ActiveJoin] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_ActivePic](
	[ID] [uniqueidentifier] NOT NULL,
	[ActiveID] [uniqueidentifier] NULL,
	[PicUrl] [varchar](100) NULL,
	[PicAddtime] [datetime] NULL,
 CONSTRAINT [PK_ZL_Sns_ActivePic] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]



GO
CREATE TABLE [dbo].[ZL_Sns_ActiveType](
	[ID] [uniqueidentifier] NOT NULL,
	[TypeName] [varchar](20) NULL,
 CONSTRAINT [PK_ZL_Sns_ActiveType] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]


GO
CREATE TABLE [dbo].[ZL_Sns_BlogStyleTable](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[StyleName] [varchar](50) NULL,
	[Author] [varchar](50) NULL,
	[StylePic] [varchar](255) NULL,
	[Addtime] [datetime] NULL,
	[StyleState] [int] NULL,
	[UserIndexStyle] [varchar](255) NULL,
	[LogStyle] [varchar](255) NULL,
	[LogShowStyle] [varchar](255) NULL,
	[PhotoStyle] [varchar](255) NULL,
	[PhotoShowStyle] [varchar](255) NULL,
	[PicShowStyle] [varchar](255) NULL,
	[GroupStyle] [varchar](255) NULL,
	[GroupShowStyle] [varchar](255) NULL,
	[GroupTopicShow] [varchar](255) NULL,
 CONSTRAINT [PK_ZL_Sns_BlogStyleTable] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]


GO
CREATE TABLE [dbo].[ZL_Sns_BookTable](
	[ID] [uniqueidentifier] NOT NULL,
	[BookTitle] [varchar](100) NULL,
	[BookOtherTitle] [varchar](100) NULL,
	[BookAnthor] [varchar](20) NULL,
	[BookIsbn] [varchar](100) NULL,
	[BookPrice] [smallmoney] NULL,
	[BookConcerm] [varchar](100) NULL,
	[BookYear] [varchar](10) NULL,
	[Bookurl] [varchar](100) NULL,
	[BookContent] [text] NULL,
	[BookState] [int] NULL,
	[BookAddtime] [datetime] NULL,
	[Uid] [int] NULL,
 CONSTRAINT [PK_ZL_Sns_BookTable] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]


GO
CREATE TABLE [dbo].[ZL_Sns_CarConfig](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[CKey] [varchar](50) NULL,
	[Ctext] [varchar](100) NULL,
	[Cvalue] [varchar](100) NULL,
 CONSTRAINT [PK_ZL_Sns_CarConfig] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_CarLog](
	[Plid] [int] IDENTITY(1,1) NOT NULL,
	[P_uid] [int] NULL CONSTRAINT [DF_ZL_Sns_CarLog_P_uid]  DEFAULT (null),
	[P_type] [int] NULL CONSTRAINT [DF_ZL_Sns_CarLog_P_type]  DEFAULT (null),
	[P_content] [varchar](500) NULL,
	[P_introtime] [datetime] NULL CONSTRAINT [DF_ZL_Sns_CarLog_P_introtime]  DEFAULT (null),
 CONSTRAINT [PK_ZL_Sns_CarLog] PRIMARY KEY NONCLUSTERED 
(
	[Plid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_Carlist](
	[Pid] [int] IDENTITY(1,1) NOT NULL,
	[P_car_name] [varchar](50) NULL,
	[P_car_num] [int] NULL CONSTRAINT [DF_ZL_Sns_Carlist_P_car_num]  DEFAULT (0),
	[P_car_surplus] [int] NULL,
	[P_car_money] [int] NULL,
	[P_car_old] [int] NULL,
	[P_car_img] [varchar](100) NULL,
	[P_car_img_logo] [varchar](100) NULL,
	[P_car_content] [varchar](500) NULL,
	[P_car_check] [int] NULL,
 CONSTRAINT [PK_ZL_Sns_Carlist] PRIMARY KEY NONCLUSTERED 
(
	[Pid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_ChatLog](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Name] [varchar](50) NULL,
	[Sex] [varchar](50) NULL,
	[ChatContent] [ntext] NULL,
	[Addtime] [datetime] NULL,
	[ByID] [int] NULL,
	[ChatType] [varchar](50) NULL,
 CONSTRAINT [PK_ZL_Sns_ChatLog] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_CollectTable](
	[ID] [uniqueidentifier] NOT NULL,
	[UserID] [int] NULL,
	[CbyID] [uniqueidentifier] NULL,
	[Cbytype] [int] NULL,
	[Cstate] [int] NULL,
	[CAddtime] [datetime] NULL,
	[LabelName] [text] NULL,
 CONSTRAINT [PK_ZL_Sns_CollectTable] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_CommendCommentOn](
	[ID] [uniqueidentifier] NOT NULL,
	[CommentOnUserID] [int] NULL,
	[CommentOnContext] [varchar](3000) NULL,
	[CommentOnTime] [datetime] NULL,
	[CommentID] [uniqueidentifier] NULL,
 CONSTRAINT [PK_ZL_Sns_CommendCommentOn] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]


GO
CREATE TABLE [dbo].[ZL_Sns_CommentAll](
	[ID] [uniqueidentifier] NOT NULL,
	[Ctitle] [varchar](100) NULL,
	[UserID] [int] NULL,
	[Ccontent] [text] NULL,
	[CbyID] [uniqueidentifier] NULL,
	[Caddtime] [datetime] NULL,
	[CbyType] [int] NULL,
 CONSTRAINT [PK_ZL_Sns_CommentAll] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_FileShare](
	[ID] [uniqueidentifier] NOT NULL,
	[UserID] [int] NULL,
	[FactFileName] [varchar](50) NULL,
	[BuildFileName] [varchar](50) NULL,
	[FileURL] [varchar](200) NULL,
	[DownCount] [int] NULL,
	[CreatTime] [datetime] NULL,
	[FileSize] [int] NULL,
	[GSID] [uniqueidentifier] NULL,
	[Mono] [varchar](50) NULL,
 CONSTRAINT [PK_ZL_Sns_FileShare] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_GSHuatee](
	[ID] [uniqueidentifier] NOT NULL,
	[GSID] [uniqueidentifier] NULL,
	[UserID] [int] NULL,
	[ReadCount] [int] NULL,
	[RevertCount] [int] NULL,
	[HuaTeeContent] [varchar](2000) NULL,
	[HuaTeeTitle] [varchar](50) NULL,
	[CreatTime] [datetime] NULL,
 CONSTRAINT [PK_ZL_Sns_GSHuatee] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_GSReverCricicism](
	[ID] [uniqueidentifier] NOT NULL,
	[HuaTeePicID] [uniqueidentifier] NULL,
	[UserID] [int] NULL,
	[Content] [varchar](200) NULL,
	[CreatTime] [datetime] NULL,
	[Flage] [int] NULL,
	[Taxis] [int] NULL,
	[IsRead] [bit] NULL,
 CONSTRAINT [PK_ZL_Sns_GSReverCricicism] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_LinkName](
	[ID] [int] IDENTITY(1,1) NOT FOR REPLICATION NOT NULL,
	[Linkname] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Lkeyword] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[Lwindows] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Lstate] [int] NULL,
 CONSTRAINT [PK_ZL_LinkName_1] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'链接名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_LinkName', @level2type=N'COLUMN', @level2name=N'Linkname'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'关键字' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_LinkName', @level2type=N'COLUMN', @level2name=N'Lkeyword'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'链接状态' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_LinkName', @level2type=N'COLUMN', @level2name=N'Lstate'


GO
CREATE TABLE [dbo].[ZL_Sns_GSRoom](
	[ID] [uniqueidentifier] NULL,
	[GSID] [uniqueidentifier] NULL,
	[RoomSize] [float] NULL,
	[UseSize] [float] NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_AdZone](
	[ZoneID] [int] NOT NULL,
	[ZoneName] [nvarchar](100) NULL,
	[ZoneJSName] [nvarchar](100) NULL,
	[ZoneIntro] [nvarchar](255) NULL,
	[ZoneType] [int] NULL CONSTRAINT [DF_ZL_AdZone_ZoneType]  DEFAULT (0),
	[DefaultSetting] [bit] NOT NULL CONSTRAINT [DF_ZL_AdZone_DefaultSetting]  DEFAULT (1),
	[ZoneSetting] [nvarchar](255) NULL,
	[ZoneWidth] [int] NULL CONSTRAINT [DF_ZL_AdZone_ZoneWidth]  DEFAULT (0),
	[ZoneHeight] [int] NULL CONSTRAINT [DF_ZL_AdZone_ZoneHeight]  DEFAULT (0),
	[Active] [bit] NOT NULL CONSTRAINT [DF_ZL_AdZone_Active]  DEFAULT (0),
	[ShowType] [int] NULL CONSTRAINT [DF_ZL_AdZone_ShowType]  DEFAULT (0),
	[UpdateTime] [datetime] NOT NULL CONSTRAINT [DF_ZL_AdZone_UpdateTime]  DEFAULT (getdate()),
	[Sales] [int] NOT NULL,
 CONSTRAINT [PK_ZL_AdZone] PRIMARY KEY CLUSTERED 
(
	[ZoneID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'JS文件名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AdZone', @level2type=N'COLUMN', @level2name=N'ZoneJSName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'版位介绍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AdZone', @level2type=N'COLUMN', @level2name=N'ZoneIntro'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'版位类型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AdZone', @level2type=N'COLUMN', @level2name=N'ZoneType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否默认设置' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AdZone', @level2type=N'COLUMN', @level2name=N'DefaultSetting'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'具体自定义设置信息' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AdZone', @level2type=N'COLUMN', @level2name=N'ZoneSetting'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'版位宽度' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AdZone', @level2type=N'COLUMN', @level2name=N'ZoneWidth'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'版位高度' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AdZone', @level2type=N'COLUMN', @level2name=N'ZoneHeight'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否活动' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AdZone', @level2type=N'COLUMN', @level2name=N'Active'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'显示方式' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AdZone', @level2type=N'COLUMN', @level2name=N'ShowType'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AdZone', @level2type=N'COLUMN', @level2name=N'UpdateTime'

GO
CREATE TABLE [dbo].[ZL_Sns_GSType](
	[ID] [uniqueidentifier] NULL,
	[GSTypeName] [varchar](30) NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_AddRessList](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NULL,
	[AddRessContext] [nvarchar](4000) NULL,
 CONSTRAINT [PK_ZL_AddRessList] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AddRessList', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'通讯录内容' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AddRessList', @level2type=N'COLUMN', @level2name=N'AddRessContext'


GO
CREATE TABLE [dbo].[ZL_Sns_GatherStrain](
	[ID] [uniqueidentifier] NOT NULL,
	[UserID] [int] NULL,
	[GSName] [varchar](30) NULL,
	[GSIntro] [varchar](200) NULL,
	[GSType] [uniqueidentifier] NULL,
	[GSICO] [varchar](200) NULL,
	[Cryptonym] [bit] NULL,
	[IsPublic] [int] NULL,
	[CreatTime] [datetime] NULL,
	[GSstate] [int] NULL CONSTRAINT [DF_ZL_Sns_GatherStrain_GSstate]  DEFAULT (0),
 CONSTRAINT [PK_ZL_Sns_GatherStrain] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Advertisement](
	[ADID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NULL,
	[ADType] [int] NULL,
	[ADName] [nvarchar](100) NULL,
	[ImgUrl] [nvarchar](255) NULL,
	[ImgWidth] [int] NULL,
	[ImgHeight] [int] NULL,
	[FlashWmode] [int] NULL,
	[ADIntro] [ntext] NULL,
	[LinkUrl] [nvarchar](255) NULL,
	[LinkTarget] [int] NULL,
	[LinkAlt] [nvarchar](255) NULL,
	[Priority] [int] NULL,
	[Setting] [ntext] NULL,
	[CountView] [bit] NOT NULL,
	[Views] [int] NULL,
	[CountClick] [bit] NOT NULL,
	[Clicks] [int] NULL,
	[Passed] [bit] NOT NULL,
	[OverdueDate] [datetime] NULL,
	[ImgUrl1] [nvarchar](255) NULL,
	[ImgHeight1] [int] NULL,
	[ImgWidth1] [int] NULL,
	[LinkUrl1] [nvarchar](255) NULL,
	[LinkTarget1] [int] NULL,
	[LinkAlt1] [nvarchar](255) NULL,
	[ADIntro1] [ntext] NULL,
	[FlashWmode1] [int] NULL,
 CONSTRAINT [PK_ZL_Advertisement] PRIMARY KEY CLUSTERED 
(
	[ADID] ASC
)WITH (PAD_INDEX  = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_GroupPicCateg](
	[GroupID] [uniqueidentifier] NOT NULL,
	[CategID] [uniqueidentifier] NOT NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Answer](
	[Aid] [int] IDENTITY(1,1) NOT NULL,
	[Surveyid] [int] NOT NULL,
	[Qid] [int] NOT NULL,
	[Answercontent] [nvarchar](1000) NOT NULL,
	[Userid] [int] NULL,
	[Submitdate] [datetime] NULL,
	[Submitip] [varchar](50) NULL,
	[AnswerScore] [int] Null,
 CONSTRAINT [PK_ZL_Answer] PRIMARY KEY CLUSTERED 
(
	[Aid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_HomeCollocate](
	[ID] [uniqueidentifier] NOT NULL,
	[UserID] [int] NULL,
	[ShopID] [uniqueidentifier] NULL,
	[CLeft] [int] NULL,
	[CIndexZ] [int] NULL,
	[CTop] [int] NULL,
	[Addtime] [datetime] NULL,
 CONSTRAINT [PK_ZL_Sns_HomeCollocate] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Answer_Recode](
	[Rid] [int] IDENTITY(1,1) NOT NULL,
	[Sid] [int] NOT NULL,
	[Userid] [int] NOT NULL,
	[Submitip] [varchar](50) ,
	[Submitdate] [datetime] NULL CONSTRAINT [DF_ZL_Answer_Recode_Submitdate]  DEFAULT (getdate()),
	[Status] [int] NOT NULL CONSTRAINT [DF_ZL_ZL_Answer_Recode_Status]  DEFAULT (0)
 CONSTRAINT [PK_ZL_ANSWER_RECODE] PRIMARY KEY CLUSTERED 
(
	[Rid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

 

GO
CREATE TABLE [dbo].[ZL_Sns_HomeHeadCollocate](
	[UserID] [int] NOT NULL,
	[UserHeadPic] [varchar](100) NULL,
	[UserLeft] [int] NULL,
	[UserIndexZ] [int] NULL,
	[UserTop] [int] NULL,
	[CohabitID] [uniqueidentifier] NULL,
	[CohabitHeadPic] [varchar](100) NULL,
	[CohabitLeft] [int] NULL,
	[CohabitIndexZ] [int] NULL,
	[CohabitTop] [int] NULL,
 CONSTRAINT [PK_ZL_Sns_HomeHeadCollocate] PRIMARY KEY NONCLUSTERED 
(
	[UserID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_AuditingState](
	[stateCode] [int] NOT NULL,
	[stateName] [varchar](50) NOT NULL,
	[stateType] [varchar](50) NOT NULL,
 CONSTRAINT [PK_ZL_AuditingState] PRIMARY KEY CLUSTERED 
(
	[stateCode] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AuditingState', @level2type=N'COLUMN', @level2name=N'stateName'
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态类型（是否是系统的）' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_AuditingState', @level2type=N'COLUMN', @level2name=N'stateType'
GO
INSERT [ZL_AuditingState] ([stateCode],[stateName],[stateType]) VALUES ( -3,N'草稿',N'自定义')
INSERT [ZL_AuditingState] ([stateCode],[stateName],[stateType]) VALUES ( -1,N'退稿',N'自定义')
INSERT [ZL_AuditingState] ([stateCode],[stateName],[stateType]) VALUES ( 11,N'初审',N'自定义')
INSERT [ZL_AuditingState] ([stateCode],[stateName],[stateType]) VALUES ( 12,N'二审',N'自定义')

GO
CREATE TABLE [dbo].[ZL_Sns_Log](
	[ID] [uniqueidentifier] NOT NULL,
	[LogType] [int] NULL,
	[LogContext] [varchar](2000) NULL,
	[LogTime] [datetime] NULL,
	[UserID] [int] NULL,
 CONSTRAINT [PK_ZL_Sns_Log] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Author](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NULL CONSTRAINT [DF_ZL_Author_UserID]  DEFAULT (0),
	[Type] [nvarchar](50) NULL,
	[Name] [nvarchar](50) NULL,
	[Passed] [bit] NULL CONSTRAINT [DF_ZL_Author_Passed]  DEFAULT (0),
	[onTop] [bit] NULL CONSTRAINT [DF_ZL_Author_onTop]  DEFAULT (0),
	[IsElite] [bit] NULL CONSTRAINT [DF_ZL_Author_IsElite]  DEFAULT (0),
	[Hits] [int] NULL CONSTRAINT [DF_ZL_Author_Hits]  DEFAULT (0),
	[LastUseTime] [datetime] NULL CONSTRAINT [DF_ZL_Author_LastUseTime]  DEFAULT (getdate()),
	[TemplateID] [int] NULL CONSTRAINT [DF_ZL_Author_TemplateID]  DEFAULT (0),
	[Photo] [nvarchar](255) NULL,
	[Intro] [ntext] NULL,
	[Address] [nvarchar](50) NULL,
	[Tel] [nvarchar](50) NULL,
	[Fax] [nvarchar](50) NULL,
	[Mail] [nvarchar](50) NULL,
	[Email] [nvarchar](50) NULL,
	[ZipCode] [int] NULL,
	[HomePage] [nvarchar](50) NULL,
	[Im] [nvarchar](50) NULL,
	[Sex] [smallint] NULL CONSTRAINT [DF_ZL_Author_Sex]  DEFAULT (0),
	[BirthDay] [datetime] NULL,
	[Company] [nvarchar](50) NULL,
	[Department] [nvarchar](50) NULL,
 CONSTRAINT [PK_ZL_Author] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]


GO
CREATE TABLE [dbo].[ZL_Sns_LogCriticism](
	[ID] [uniqueidentifier] NOT NULL,
	[LogID] [uniqueidentifier] NULL,
	[UserID] [int] NULL,
	[CriticismConten] [varchar](2000) NULL,
	[CreatTime] [datetime] NULL,
 CONSTRAINT [PK_ZL_Sns_LogCriticism] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Bbscate](
	[Cateid] [int] IDENTITY(1,1) NOT NULL,
	[CateName] [varchar](50) NOT NULL,
	[Catetype] [int] NULL CONSTRAINT [DF_ZL_Bbscate_Catetype]  DEFAULT (0),
 CONSTRAINT [PK_ZL_Bbscate] PRIMARY KEY CLUSTERED 
(
	[Cateid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Sns_LotMessage](
	[ID] [uniqueidentifier] NULL,
	[MessageContent] [text] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Bbstips](
	[Tid] [int] IDENTITY(1,1) NOT NULL,
	[Parentid] [int] NOT NULL,
	[Cateid] [int] NOT NULL,
	[Userid] [int] NULL CONSTRAINT [DF_ZL_Bbstips_Userid]  DEFAULT (0),
	[Ttitle] [varchar](50) NULL,
	[Tcontent] [varchar](50) NULL,
	[Tipsclick] [int] NOT NULL CONSTRAINT [DF_ZL_Bbstips_Tipsclick]  DEFAULT (0),
	[Tipsdate] [datetime] NULL CONSTRAINT [DF_ZL_Bbstips_Tipsdate]  DEFAULT (getdate()),
 CONSTRAINT [PK_ZL_Bbstips] PRIMARY KEY CLUSTERED 
(
	[Tid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]



GO
CREATE TABLE [dbo].[ZL_Sns_LotNote](
	[ID] [uniqueidentifier] NOT NULL,
	[StartID] [uniqueidentifier] NULL,
	[EndID] [uniqueidentifier] NULL,
	[MessageID] [uniqueidentifier] NULL,
	[NoteType] [int] NULL,
 CONSTRAINT [PK_ZL_Sns_LotNote] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_BindPro](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[BindProID] [int] NULL,
	[ProID] [int] NULL,
	[ProName] [nvarchar](255) NULL,
	[Jiage] [money] NULL CONSTRAINT [DF_ZL_BindPro_Jiage]  DEFAULT (0),
	[Pronum] [int] NULL CONSTRAINT [DF_ZL_BindPro_Pronum]  DEFAULT (0),
 CONSTRAINT [PK_ZL_BindPro] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'绑定商品ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BindPro', @level2type=N'COLUMN', @level2name=N'BindProID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品ID' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BindPro', @level2type=N'COLUMN', @level2name=N'ProID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品名称' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BindPro', @level2type=N'COLUMN', @level2name=N'ProName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'价格' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BindPro', @level2type=N'COLUMN', @level2name=N'Jiage'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'商品数量' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BindPro', @level2type=N'COLUMN', @level2name=N'Pronum'


GO
CREATE TABLE [dbo].[ZL_Sns_Memo](
	[ID] [uniqueidentifier] NOT NULL,
	[UserID] [int] NULL,
	[MemoTitle] [varchar](100) NULL,
	[MemoContext] [varchar](1000) NULL,
	[MemoTime] [datetime] NULL,
 CONSTRAINT [PK_ZL_Sns_Memo] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_CallNode](
	[C_Nid] [int] IDENTITY(1,1) NOT NULL,
	[CName] [nvarchar](1000) NULL,
	[Ctype] [int] NULL,
 CONSTRAINT [PK_ZL_CallNode] PRIMARY KEY CLUSTERED 
(
	[C_Nid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]


GO
CREATE TABLE [dbo].[ZL_PrintType](
	[PID] [int] IDENTITY(1,1) NOT NULL,
	[P_Name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[P_Ream] [nvarchar](4000) COLLATE Chinese_PRC_CI_AS NULL,
	[P_PicLocality] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[P_AddTime] [datetime] NULL,
	[P_Mask] [int] NULL,
	[P_MaskUrl] [varchar](4000) COLLATE Chinese_PRC_CI_AS NULL,
	[P_Proportion] [nchar](10) COLLATE Chinese_PRC_CI_AS NULL,
	[P_ShopID] [int] NULL,
	[P_ShopType] [int] NULL,
 CONSTRAINT [PK_ZL_PrintType] PRIMARY KEY CLUSTERED 
(
	[PID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PrintType', @level2type=N'COLUMN', @level2name=N'P_Name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'显示图片' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PrintType', @level2type=N'COLUMN', @level2name=N'P_Ream'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片显示位置' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PrintType', @level2type=N'COLUMN', @level2name=N'P_PicLocality'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PrintType', @level2type=N'COLUMN', @level2name=N'P_AddTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'遮罩，1：单个遮罩，2：遮罩库' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PrintType', @level2type=N'COLUMN', @level2name=N'P_Mask'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'遮罩地址' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PrintType', @level2type=N'COLUMN', @level2name=N'P_MaskUrl'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片比例' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PrintType', @level2type=N'COLUMN', @level2name=N'P_Proportion'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'关联的商品ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PrintType', @level2type=N'COLUMN', @level2name=N'P_ShopID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否关联商品ID 1：关联，2：不关联' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_PrintType', @level2type=N'COLUMN', @level2name=N'P_ShopType'


GO
CREATE TABLE [dbo].[ZL_Print](
	[P_ID] [int] IDENTITY(1,1) NOT NULL,
	[P_Name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[P_UserID] [int] NULL,
	[P_Type_ID] [int] NULL,
	[P_Ream] [text] COLLATE Chinese_PRC_CI_AS NULL,
	[P_PID] [int] NULL,
	[P_AddTime] [datetime] NULL,
	[P_State] [int] NULL,
	[P_PrintUrl] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'作品名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Print', @level2type=N'COLUMN', @level2name=N'P_Name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Print', @level2type=N'COLUMN', @level2name=N'P_UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'打印类型' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Print', @level2type=N'COLUMN', @level2name=N'P_Type_ID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'合成内容' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Print', @level2type=N'COLUMN', @level2name=N'P_Ream'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Print', @level2type=N'COLUMN', @level2name=N'P_PID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Print', @level2type=N'COLUMN', @level2name=N'P_AddTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'状态 1，为打印，2为已打印' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Print', @level2type=N'COLUMN', @level2name=N'P_State'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'已生成打印文件' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Print', @level2type=N'COLUMN', @level2name=N'P_PrintUrl'


GO
CREATE TABLE [dbo].[ZL_UnionInfo](
	[U_ID] [int] IDENTITY(1,1) NOT NULL,
	[MainID] [int] NULL,
	[ChildID] [int] NULL,
	[GFID] [int] NULL,
	[FType] [int] NULL,
	[ISTYPE] [int] NULL,
	[addtime] [datetime] NULL,
	[SID] [int] NULL CONSTRAINT [DF_ZL_UnionInfo_SID]  DEFAULT (0),
 CONSTRAINT [PK_ZL_UnionInfo] PRIMARY KEY CLUSTERED 
(
	[U_ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'主站节点ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UnionInfo', @level2type=N'COLUMN', @level2name=N'MainID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'主站节点ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UnionInfo', @level2type=N'COLUMN', @level2name=N'ChildID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'方案ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UnionInfo', @level2type=N'COLUMN', @level2name=N'GFID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'方案类型' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UnionInfo', @level2type=N'COLUMN', @level2name=N'FType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型1节点，2方案，3模型,4文章id,5标签ID,6子站节点，7子站模型,8子站文章id,9子站标签ID,10从表ID.11子站从表ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UnionInfo', @level2type=N'COLUMN', @level2name=N'ISTYPE'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'子站站点ID,主站ID为0' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UnionInfo', @level2type=N'COLUMN', @level2name=N'SID'

GO
CREATE TABLE [dbo].[ZL_IPpara](
	[IP_ID] [int] IDENTITY(1,1) NOT NULL,
	[class_ID] [int] NULL,
	[pro_name] [nvarchar](255) NULL,
	[city_name] [nvarchar](255) NULL,
	[startIP] [int] NULL,
	[endIp] [int] NULL,
 CONSTRAINT [PK_ZL_IPpara] PRIMARY KEY CLUSTERED 
(
	[IP_ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'此IP段所属分类ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IPpara', @level2type=N'COLUMN', @level2name=N'class_ID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'此IP段所属省级名' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IPpara', @level2type=N'COLUMN', @level2name=N'pro_name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'此IP段所属城市名' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IPpara', @level2type=N'COLUMN', @level2name=N'city_name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'此IP段起始IP' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IPpara', @level2type=N'COLUMN', @level2name=N'startIP'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'此IP段结束IP' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IPpara', @level2type=N'COLUMN', @level2name=N'endIp'

GO
CREATE TABLE [dbo].[ZL_IPUrl](
	[Url_ID] [int] IDENTITY(1,1) NOT NULL,
	[Url] [nvarchar](255) NULL,
	[class_ID] [int] NULL,
	[Node_ID] [int] NULL,
 CONSTRAINT [PK_ZL_IPUrl] PRIMARY KEY CLUSTERED 
(
	[Url_ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'此分类标识' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IPUrl', @level2type=N'COLUMN', @level2name=N'Url_ID'

GO
CREATE TABLE [dbo].[ZL_IPclass](
	[class_ID] [int] IDENTITY(1,1) NOT NULL,
	[leadto_ID] [int] NULL,
	[class_name] [nvarchar](255) NULL,
 CONSTRAINT [PK_ZL_IPclass] PRIMARY KEY CLUSTERED 
(
	[class_ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_BossInfo](
	[nodeid] [int] IDENTITY(1,1) NOT NULL,
	[parentid] [int] NULL,
	[shoptype] [int] NULL,
	[userid] [int] NULL,
	[Childs] [int] NULL CONSTRAINT [DF_ZL_BossInfo_Childs]  DEFAULT ((0)),
	[CMoney] [money] NULL,
	[Province] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[city] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[CName] [nchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[Address] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[Agent] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[license] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[CTel] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[CInfo] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[ContractNum] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[AccountPeople] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[Bank] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[BankNum] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[AccountPeople2] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[Bank2] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[BankNum2] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[linkname] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[linksex] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[linkPositions] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[linktel] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[fax] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[PostCode] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[email] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[Documents] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[DocumentsNUm] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_BossInfo] PRIMARY KEY CLUSTERED 
(
	[nodeid] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'省' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'Province'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'招商名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'CName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'法定代理人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'Agent'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'营业执照' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'license'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'代理商电话' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'CTel'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'公司介绍' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'CInfo'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'合同协议号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'ContractNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'开户人' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'AccountPeople'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'开户银行' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'Bank'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'银行账号' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'BankNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'联系人姓名' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'linkname'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'性别' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'linksex'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'联系人职务' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'linkPositions'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'联系电话' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'linktel'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'传真' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'fax'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'邮政编码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'PostCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'证件类型' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'Documents'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'证件类型号码' ,@level0type=N'SCHEMA', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_BossInfo', @level2type=N'COLUMN', @level2name=N'DocumentsNUm'


GO
CREATE TABLE [dbo].[ZL_MuPic](
	[P_id] [int] IDENTITY(1,1) NOT NULL,
	[p_pic1] [nvarchar](500) NULL,
	[p_pic2] [nvarchar](500) NULL,
	[p_tempid] [int] NULL,
	[p_picid] [nvarchar](500) NULL,
	[p_addtime] [datetime] NULL CONSTRAINT [DF_ZL_MuPic_p_addtime]  DEFAULT (getdate()),
 CONSTRAINT [PK_ZL_MuPic] PRIMARY KEY CLUSTERED 
(
	[P_id] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPic', @level2type=N'COLUMN', @level2name=N'P_id'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'大图' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPic', @level2type=N'COLUMN', @level2name=N'p_pic1'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'小图' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPic', @level2type=N'COLUMN', @level2name=N'p_pic2'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模板ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPic', @level2type=N'COLUMN', @level2name=N'p_tempid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPic', @level2type=N'COLUMN', @level2name=N'p_picid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPic', @level2type=N'COLUMN', @level2name=N'p_addtime'

GO
CREATE TABLE [dbo].[ZL_MuProduct](
	[p_ID] [int] IDENTITY(1,1) NOT NULL,
	[p_Name] [nvarchar](50) NULL,
	[p_Type] [int] NULL,
	[p_DoublePage] [int] NULL,
	[p_IspageTemplate] [int] NULL,
	[p_num] [int] NULL CONSTRAINT [DF_ZL_MuProduct_p_num]  DEFAULT (0),
	[p_info] [ntext] NULL,
 CONSTRAINT [PK_ZL_MuProduct] PRIMARY KEY CLUSTERED 
(
	[p_ID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'产品ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuProduct', @level2type=N'COLUMN', @level2name=N'p_ID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'产品名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuProduct', @level2type=N'COLUMN', @level2name=N'p_Name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'产品类型' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuProduct', @level2type=N'COLUMN', @level2name=N'p_Type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否为双面' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuProduct', @level2type=N'COLUMN', @level2name=N'p_DoublePage'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'像册专用/公用Flex模板' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuProduct', @level2type=N'COLUMN', @level2name=N'p_IspageTemplate'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuProduct', @level2type=N'COLUMN', @level2name=N'p_num'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuProduct', @level2type=N'COLUMN', @level2name=N'p_info'
 

GO
CREATE TABLE [dbo].[ZL_MuClass](
	[cl_ID] [int] IDENTITY(1,1) NOT NULL,
	[cl_PClass] [int] NULL,
	[cl_Name] [nvarchar](500) NULL,
	[cl_Num] [int] NULL CONSTRAINT [DF_ZL_MuC_cl_Num]  DEFAULT (0),
	[cl_GuiGe] [nvarchar](255) NULL,
	[cl_Paiban] [int] NULL CONSTRAINT [DF_ZL_MuClass_cl_Paiban]  DEFAULT (0),
	[cl_Class] [nvarchar](255) NULL,
 CONSTRAINT [PK_ZL_MuC] PRIMARY KEY CLUSTERED 
(
	[cl_ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuClass', @level2type=N'COLUMN', @level2name=N'cl_ID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'产品ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuClass', @level2type=N'COLUMN', @level2name=N'cl_PClass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuClass', @level2type=N'COLUMN', @level2name=N'cl_Name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuClass', @level2type=N'COLUMN', @level2name=N'cl_Num'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'规格' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuClass', @level2type=N'COLUMN', @level2name=N'cl_GuiGe'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排版分类' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuClass', @level2type=N'COLUMN', @level2name=N'cl_Paiban'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类类别' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuClass', @level2type=N'COLUMN', @level2name=N'cl_Class'
	
GO
CREATE TABLE [dbo].[ZL_MuPage](
	[U_PageID] [int] IDENTITY(1,1) NOT NULL,
	[U_PClass] [int] NULL,
	[U_Class] [int] NULL,
	[U_Pagenum] [int] NULL,
	[U_PageUrl] [nvarchar](255) NULL,
	[U_Xml] [ntext] NULL,
	[U_Tid] [int] NULL,
 CONSTRAINT [PK_ZL_MuPage] PRIMARY KEY CLUSTERED 
(
	[U_PageID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'产品分类' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPage', @level2type=N'COLUMN', @level2name=N'U_PClass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPage', @level2type=N'COLUMN', @level2name=N'U_Class'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'页码' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPage', @level2type=N'COLUMN', @level2name=N'U_Pagenum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分页默认图片' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPage', @level2type=N'COLUMN', @level2name=N'U_PageUrl'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'页面数据' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPage', @level2type=N'COLUMN', @level2name=N'U_Xml'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'礼品ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuPage', @level2type=N'COLUMN', @level2name=N'U_Tid'


	
GO
CREATE TABLE [dbo].[ZL_MuTemp](
	[Mu_ID] [int] IDENTITY(1,1) NOT NULL,
	[Mu_Class] [int] NULL,
	[Mu_Title] [nvarchar](255) NULL,
	[Mu_BackImg] [nvarchar](500) NULL,
	[Mu_Guige] [nvarchar](255) NULL,
	[Mu_UserChange] [int] NULL CONSTRAINT [DF_ZL_MuTemp_Mu_UserChange]  DEFAULT (0),
	[Mu_Xml] [ntext] NULL,
	[Mu_PageType] [int] NULL CONSTRAINT [DF_ZL_MuTemp_Mu_PageType]  DEFAULT (0),
	[Mu_ModelTemp] [int] NULL,
	[Mu_PClass] [int] NULL,
	[Mu_Num] [int] NULL CONSTRAINT [DF_ZL_MuTemp_Mu_Num]  DEFAULT (0),
 CONSTRAINT [PK_ZL_MuT] PRIMARY KEY CLUSTERED 
(
	[Mu_ID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模板ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_ID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模板分类' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_Class'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模板名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_Title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'背景图片' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_BackImg'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'尺寸规格' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_Guige'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户是否允许修改' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_UserChange'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模板内容' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_Xml'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'页面类型（大页，小页）' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_PageType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模板类型（页面模板，成套模板）' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_ModelTemp'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'产品分类' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_PClass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_MuTemp', @level2type=N'COLUMN', @level2name=N'Mu_Num'

GO
 CREATE TABLE [dbo].[ZL_Defray](
	[flow] [int] IDENTITY(1,1) NOT NULL,
	[Pay_name] [varchar](100) NULL,
	[Pay_intf] [varchar](100) NULL,
	[Client_id] [varchar](50) NOT NULL,
	[Title] [varchar](100) NULL,
	[money_code] [varchar](100) NULL,
	[number] [varchar](50) NULL,
 CONSTRAINT [PK_ZL_Defray] PRIMARY KEY CLUSTERED 
(
	[flow] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'方式名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Defray', @level2type=N'COLUMN', @level2name=N'Pay_name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'接品类型' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Defray', @level2type=N'COLUMN', @level2name=N'Pay_intf'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'客户号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Defray', @level2type=N'COLUMN', @level2name=N'Client_id'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'身份标记' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Defray', @level2type=N'COLUMN', @level2name=N'Title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支持交易货币' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Defray', @level2type=N'COLUMN', @level2name=N'money_code'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支付手续费' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Defray', @level2type=N'COLUMN', @level2name=N'number'


GO
CREATE TABLE [dbo].[ZL_Client_Basic](
	[Flow] [int] IDENTITY(1,1) NOT NULL,
	[Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[P_name] [varchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[P_alias] [varchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Upper] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Area] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Calling] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Value] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Credit] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Importance] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Connection] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Group] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Source] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Phase] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Client_Type] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL CONSTRAINT [DF_ZL_Client_Basic_Client_Type]  DEFAULT (0),
	[Add_Date] [datetime] NULL CONSTRAINT [DF_Table_1_add_date]  DEFAULT (getdate()),
	[Add_Name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Unit_Name] [nvarchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Unit_Post] [nvarchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Unit_Title] [nvarchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Unit_Class] [nvarchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Unit_Operation] [nvarchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Unit_Address] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Title] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[FPManID] [int] NULL,
 CONSTRAINT [PK_ZL_Client_Basic] PRIMARY KEY CLUSTERED 
(
	[Code] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'流水号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Flow'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'客户(企业)编号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Code'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'客户名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'P_name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'客户别名' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'P_alias'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上级客户' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Upper'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'区域' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Area'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'行业' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Calling'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'价值评估' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Value'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'信用等级' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Credit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'重要程度' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Importance'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'关系等级' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Connection'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'客户组别' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Group'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'客户来源' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Source'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'阶段' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Phase'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'客户类别(0为个人，1为企业)' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Client_Type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Add_Date'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'操作员' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Add_Name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'单位名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Unit_Name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'职位' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Unit_Post'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'称谓' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Unit_Title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属部门' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Unit_Class'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'负责业务' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Unit_Operation'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'单位地址' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Unit_Address'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Basic', @level2type=N'COLUMN', @level2name=N'Title'

GO
CREATE TABLE [dbo].[ZL_Client_Enterprise](
	[Flow] [int] IDENTITY(1,1) NOT NULL,
	[Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[Bank_Open] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Bank_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Tax_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Co_Status] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Co_Size] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Co_Management] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Reg_Capital] [money] NULL,
	[Sales] [money] NULL,
	[Operation_Bound] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Homepage] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Message_Address] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Phone] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Fax_phone] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Add_Date] [dateTime] NULL,
	[ZipCodeW] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[country] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[province] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[city] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_Client_Enterprise] PRIMARY KEY CLUSTERED 
(
	[Code] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'企业编号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Code'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开户银行' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Bank_Open'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'银行帐号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Bank_Code'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'税号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Tax_Code'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'行业地位' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Co_Status'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'公司规模' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Co_Size'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'经营状态' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Co_Management'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'注册资本' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Reg_Capital'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'年销售额' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Sales'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'业务范围' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Operation_Bound'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'网址' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Enterprise', @level2type=N'COLUMN', @level2name=N'Homepage'

GO
CREATE TABLE [dbo].[ZL_Client_Penson](
	[Flow] [int] IDENTITY(1,1) NOT NULL,
	[Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[Id_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS  NULL,
	[Sex] [char](1) COLLATE Chinese_PRC_CI_AS NULL,
	[Native] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Nation] [varchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Marriage] [char](1) COLLATE Chinese_PRC_CI_AS NULL,
	[Finish_School] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Cultrue_Love] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Sport_Love] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Life_Love] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[FUN_Love] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Other_Love] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Birthday] [datetime] NULL,
	[Income] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Home_Circs] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NULL,
	[Education] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Message_Address] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Work_Phone] [varchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Home_Phone] [varchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Fax_phone] [varchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Telephone] [varchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Little_Smart] [varchar](12) COLLATE Chinese_PRC_CI_AS NULL,
	[Homepage] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[QQ_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ICQ_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[UC_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Email_Address] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[MSN_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[YaoHu_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Aim_Code] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ZipCodeW] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[country] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[province] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[city] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_Client_Penson] PRIMARY KEY CLUSTERED 
(
	[Code] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'客户编号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Code'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'性别（0为女，1为男，2为未知）' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Sex'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'籍贯' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Native'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'民族' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Nation'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'婚姻状况(0为未知，1为未婚，2为已婚，3为离异)' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Marriage'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'毕业学校' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Finish_School'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'文化爱好' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Cultrue_Love'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'体育爱好' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Sport_Love'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'生活爱好' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Life_Love'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'娱乐休闲爱好' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'FUN_Love'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'其他爱好' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Other_Love'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学历' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Client_Penson', @level2type=N'COLUMN', @level2name=N'Education'


GO
CREATE TABLE [dbo].[ZL_VJobInfo](
	[Jid] [int] IDENTITY(1,1) NOT NULL,
	[JBclass] [int] NULL,
	[JSclass] [int] NULL,
	[Jname] [nvarchar](255) NULL,
	[Jadd] [nvarchar](255) NULL,
	[Jnum] [int] NULL,
	[Jaddtime] [datetime] NULL,
	[Jendtime] [datetime] NULL,
	[Jinfo] [ntext] NULL,
	[JotherClass] [nvarchar](255) NULL,
 CONSTRAINT [PK_ZL_VJobInfo] PRIMARY KEY CLUSTERED 
(
	[Jid] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'职位ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VJobInfo', @level2type=N'COLUMN', @level2name=N'Jid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'职位大类' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VJobInfo', @level2type=N'COLUMN', @level2name=N'JBclass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'职位小类' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VJobInfo', @level2type=N'COLUMN', @level2name=N'JSclass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'职位名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VJobInfo', @level2type=N'COLUMN', @level2name=N'Jname'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'地址' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VJobInfo', @level2type=N'COLUMN', @level2name=N'Jadd'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'人数' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VJobInfo', @level2type=N'COLUMN', @level2name=N'Jnum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发布时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VJobInfo', @level2type=N'COLUMN', @level2name=N'Jaddtime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结束时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VJobInfo', @level2type=N'COLUMN', @level2name=N'Jendtime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VJobInfo', @level2type=N'COLUMN', @level2name=N'Jinfo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'其他分类' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VJobInfo', @level2type=N'COLUMN', @level2name=N'JotherClass'

CREATE TABLE [dbo].[ZL_VideoHouseApply](
	[Rid] [int] IDENTITY(1,1) NOT NULL,
	[Rname] [nvarchar](255) NULL,
	[RMinSize] [int] NULL,
	[RMaxSize] [int] NULL,
	[Ristrue] [int] NULL,
	[RJob] [int] NULL,
	[ComapnyID] [int] NULL,
	[Expires] [int] NULL,
	[Addtime] [datetime] NULL,
	[Rusernum] [int] NULL,
	[Dredgetime] [datetime] NULL,
 CONSTRAINT [PK_ZL_VideoHouseApply] PRIMARY KEY CLUSTERED 
(
	[Rid] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO

CREATE TABLE [dbo].[ZL_VideoHouse](
	[Rid] [int] IDENTITY(1,1) NOT NULL,
	[Rname] [nvarchar](255) NULL,
	[RMinSize] [int] NULL,
	[RMaxSize] [int] NULL,
	[Ristrue] [int] NULL,
	[RJob] [int] NULL,
	[ComapnyID] [int] NULL,
	[Expires] [int] NULL,
	[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_VideoHouse_Addtime]  DEFAULT (getdate()),
	[Rusernum] [int] NULL CONSTRAINT [DF_ZL_VideoHouse_Rusernum]  DEFAULT (0),
	[Dredgetime] [datetime] NULL CONSTRAINT [DF_ZL_VideoHouse_Dredgetime]  DEFAULT (getdate()),
	[IsUse] [int] NULL,
 CONSTRAINT [PK_ZL_VideoHouse] PRIMARY KEY CLUSTERED 
(
	[Rid] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'房间ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'Rid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'房间名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'Rname'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'房间人数下限' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'RMinSize'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'房间人数上限' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'RMaxSize'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否审核(1-通过 0-未通过)' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'Ristrue'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'职位ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'RJob'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'企业用户ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'ComapnyID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'房间是否开启' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'Expires'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'Addtime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'当前房间人数' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'Rusernum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开通时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'Dredgetime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否使用中' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoHouse', @level2type=N'COLUMN', @level2name=N'IsUse'



GO

CREATE TABLE [dbo].[ZL_VideoInfo](
	[Vid] [int] IDENTITY(1,1) NOT NULL,
	[VidClass] [int] NULL,
	[VidTitle] [nvarchar](50) NULL,
	[UserID] [int] NULL,
	[ComapnyID] [int] NULL,
	[Uploadtime] [datetime] NULL,
	[State] [int] NULL CONSTRAINT [DF_ZL_VideoInfo_State]  DEFAULT (0),
	[VideoUrl] [nvarchar](255) NULL,
	[Vinfo] [ntext] NULL,
	[Vxml] [ntext] NULL,
 CONSTRAINT [PK_ZL_VideoInfo] PRIMARY KEY CLUSTERED 
(
	[Vid] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'视频ID/简历' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoInfo', @level2type=N'COLUMN', @level2name=N'Vid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'视频分类' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoInfo', @level2type=N'COLUMN', @level2name=N'VidClass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'视频标题' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoInfo', @level2type=N'COLUMN', @level2name=N'VidTitle'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoInfo', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'企业ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoInfo', @level2type=N'COLUMN', @level2name=N'ComapnyID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上传时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoInfo', @level2type=N'COLUMN', @level2name=N'Uploadtime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'状态(1-审核通过 0-未审核)' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoInfo', @level2type=N'COLUMN', @level2name=N'State'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'视频地址' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoInfo', @level2type=N'COLUMN', @level2name=N'VideoUrl'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'简历内容' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoInfo', @level2type=N'COLUMN', @level2name=N'Vinfo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'其他信息xml形式显示' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoInfo', @level2type=N'COLUMN', @level2name=N'Vxml'

GO


GO
CREATE TABLE [dbo].[ZL_MySubscription](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Reference_ID] [int] NULL,
	[Order_Time] [datetime] NULL,
	[Period] [int] NULL CONSTRAINT [DF_ZL_MySubscription_Period]  DEFAULT (1),
	[Start_Date] [datetime] NULL,
	[Order_Type] [int] NULL,
	[User_Name] [nvarchar](50) NULL,
	[Tel] [nvarchar](50) NULL,
	[Email] [nvarchar](50) NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_SubscriptionCount](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Title] [nvarchar](50) NOT NULL,
	[Classic] [nvarchar](50) NOT NULL,
	[Content] [nvarchar](225) NOT NULL,
	[Price] [decimal](18, 0) NOT NULL,
	[Send] [nvarchar](50) NOT NULL,
	[Logo] [nvarchar](50) NOT NULL,
	[UpdateTime] [datetime] NOT NULL,
	[Hits] [int] NOT NULL
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订阅的信息编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MySubscription', @level2type=N'COLUMN',@level2name=N'Reference_ID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订阅时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MySubscription', @level2type=N'COLUMN',@level2name=N'Period'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订阅起始日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MySubscription', @level2type=N'COLUMN',@level2name=N'Start_Date'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'信息订购状态,分为：关注；已定；退定' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MySubscription', @level2type=N'COLUMN',@level2name=N'Order_Type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订阅人（注册帐户名）' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MySubscription', @level2type=N'COLUMN',@level2name=N'User_Name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订阅人联系电话' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MySubscription', @level2type=N'COLUMN',@level2name=N'Tel'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'订阅内容接收邮箱' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MySubscription', @level2type=N'COLUMN',@level2name=N'Email'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标题' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SubscriptionCount', @level2type=N'COLUMN',@level2name=N'Title'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'分为：资讯、数据、报告、书刊、其他' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SubscriptionCount', @level2type=N'COLUMN',@level2name=N'Classic'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SubscriptionCount', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'价格' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SubscriptionCount', @level2type=N'COLUMN',@level2name=N'Price'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发送方式 ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SubscriptionCount', @level2type=N'COLUMN',@level2name=N'Send'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'链接图片' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SubscriptionCount', @level2type=N'COLUMN',@level2name=N'Logo'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SubscriptionCount', @level2type=N'COLUMN',@level2name=N'UpdateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'关注度 设为0,根据订阅的人数来设' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SubscriptionCount', @level2type=N'COLUMN',@level2name=N'Hits'

GO
CREATE TABLE [dbo].[ZL_Sns_LookLog](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[userid] [int] NULL,
	[lookid] [int] NULL,
	[looktime] [datetime] NULL CONSTRAINT [DF_ZL_Sns_LookLog_looktime]  DEFAULT (getdate()),
	[lookip] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_Sns_LookLog] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'浏览用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_LookLog', @level2type=N'COLUMN',@level2name=N'userid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'被浏览的用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_LookLog', @level2type=N'COLUMN',@level2name=N'lookid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'浏览时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_LookLog', @level2type=N'COLUMN',@level2name=N'looktime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'浏览者Ip' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_LookLog', @level2type=N'COLUMN',@level2name=N'lookip'

GO
CREATE TABLE [dbo].[ZL_Bid](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Participation] [float] NULL,
	[Compliance] [float] NULL,
	[Successful] [float] NULL,
	[Website] [float] NULL,
 CONSTRAINT [PK_ZL_Bid] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'参与者分成' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Bid', @level2type=N'COLUMN',@level2name=N'Participation'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'达标者分成' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Bid', @level2type=N'COLUMN',@level2name=N'Compliance'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'中标者' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Bid', @level2type=N'COLUMN',@level2name=N'Successful'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'网站商分成' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Bid', @level2type=N'COLUMN',@level2name=N'Website'

GO
CREATE TABLE [dbo].[ZL_BigLog](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[title] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[type] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[num] [int] NULL,
	[Cid] [int] NULL,
	[Ctime] [datetime] NULL CONSTRAINT [DF_ZL_BigLog_Ctime]  DEFAULT (getdate()),
	[userID] [int] NULL,
 CONSTRAINT [PK_ZL_BigLog] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BigLog', @level2type=N'COLUMN',@level2name=N'title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BigLog', @level2type=N'COLUMN',@level2name=N'type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'金钱' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BigLog', @level2type=N'COLUMN',@level2name=N'num'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内容ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BigLog', @level2type=N'COLUMN',@level2name=N'Cid'

GO
CREATE TABLE [dbo].[ZL_SettlementInfoList](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[SettlementTitle] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[SettlementID] [nvarchar](2000) COLLATE Chinese_PRC_CI_AS NULL,
	[SettlementAllMoney] [money] NULL,
	[SuccessfulMoney] [money] NULL,
	[ComplianceMoney] [money] NULL,
	[ParticipantsMoney] [money] NULL,
	[WebSiteMoney] [money] NULL,
	[SettlementTime] [datetime] NULL CONSTRAINT [DF_ZL_SettlementInfoList_SettlementTime]  DEFAULT (getdate()),
 CONSTRAINT [PK_ZL_SettlementInfoList] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结算标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SettlementInfoList', @level2type=N'COLUMN',@level2name=N'SettlementTitle'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'关联内容ID列表' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SettlementInfoList', @level2type=N'COLUMN',@level2name=N'SettlementID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结算总价格' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SettlementInfoList', @level2type=N'COLUMN',@level2name=N'SettlementAllMoney'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'中标者分成' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SettlementInfoList', @level2type=N'COLUMN',@level2name=N'SuccessfulMoney'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'达标者分成' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SettlementInfoList', @level2type=N'COLUMN',@level2name=N'ComplianceMoney'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'参与者分成' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SettlementInfoList', @level2type=N'COLUMN',@level2name=N'ParticipantsMoney'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结算时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SettlementInfoList', @level2type=N'COLUMN',@level2name=N'SettlementTime'

GO
CREATE TABLE [dbo].[ZL_ProjectsComments](
	[CommentsID] [int] IDENTITY(1,1) NOT NULL,
	[ProjectsID] [int] NULL,
	[ProcessesID] [int] NOT NULL,
	[UserID] [int] NULL,
	[Rating] [int] NULL,
	[Content] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[CommentsDate] [datetime] NULL,
 CONSTRAINT [PK_ZL_ProjectsComments] PRIMARY KEY CLUSTERED 
(
	[CommentsID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'评论ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectsComments', @level2type=N'COLUMN',@level2name=N'CommentsID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'评论所属项目ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectsComments', @level2type=N'COLUMN',@level2name=N'ProjectsID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'评论所属项目流程ID 为0时是对项目的评论而非对流程的评论' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectsComments', @level2type=N'COLUMN',@level2name=N'ProcessesID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'评论者ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectsComments', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'项目评分' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectsComments', @level2type=N'COLUMN',@level2name=N'Rating'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'评论内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectsComments', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'评论时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectsComments', @level2type=N'COLUMN',@level2name=N'CommentsDate'

GO

CREATE TABLE [dbo].[ZL_Processes](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Info] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[OpjectID] [int] NULL,
	[Progress] [int] NULL,
	[IsComplete] [int] NULL,
	[CompleteTime] [datetime] NULL,
 CONSTRAINT [PK_ZL_Processes] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'项目流程ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Processes', @level2type=N'COLUMN',@level2name=N'ID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'项目流程名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Processes', @level2type=N'COLUMN',@level2name=N'Name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'项目流程简介' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Processes', @level2type=N'COLUMN',@level2name=N'Info'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属项目ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Processes', @level2type=N'COLUMN',@level2name=N'OpjectID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'项目当前进度 单位%' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Processes', @level2type=N'COLUMN',@level2name=N'Progress'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否完成0-未完成 1-已完成' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Processes', @level2type=N'COLUMN',@level2name=N'IsComplete'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'完成时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Processes', @level2type=N'COLUMN',@level2name=N'CompleteTime'

GO
CREATE TABLE [dbo].[ZL_ProjectBaseField](
	[FieldID] [int] IDENTITY(1,1) NOT NULL,
	[FieldName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[FieldAlias] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[FieldTips] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Description] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[IsNotNull] [bit] NULL,
	[FieldType] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Content] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[OrderId] [int] NULL,
	[ShowList] [bit] NULL,
	[ShowWidth] [int] NULL,
	[NoEdit] [int] NULL,
 CONSTRAINT [PK_ZL_ProjectBaseField] PRIMARY KEY CLUSTERED 
(
	[FieldID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'FieldName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段别名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'FieldAlias'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'FieldTips'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段描述' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'Description'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段允许空，1：允许，2：不允许' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'IsNotNull'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'FieldType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'OrderId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'列表显示。1：显示，2不显示' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'ShowList'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'显示列宽度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'ShowWidth'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否允许修改' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectBaseField', @level2type=N'COLUMN',@level2name=N'NoEdit'

GO
CREATE TABLE [dbo].[ZL_ProjectsBase](
	[ProjectBaseID] [int] IDENTITY(1,1) NOT NULL,
	[ProjectsID] [int] NULL,
 CONSTRAINT [PK_ZL_ProjectsBase] PRIMARY KEY CLUSTERED 
(
	[ProjectBaseID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'主键 ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectsBase', @level2type=N'COLUMN',@level2name=N'ProjectBaseID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属项目ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ProjectsBase', @level2type=N'COLUMN',@level2name=N'ProjectsID'

GO
CREATE TABLE [dbo].[ZL_Sns_Kiss](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Title] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[Inputer] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Sendto] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Otherdel] [int] NULL,
	[Content] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[InputerID] [int] NULL,
	[SendtoID] [int] NULL,
	[SendTime] [datetime] NULL CONSTRAINT [DF_ZL_Sns_Kiss_SendTime]  DEFAULT (getdate()),
	[ReadTime] [datetime] NULL CONSTRAINT [DF_ZL_Sns_Kiss_ReadTime]  DEFAULT (getdate()),
	[IsRead] [int] NULL CONSTRAINT [DF_ZL_Sns_Kiss_IsRead]  DEFAULT (0),
 CONSTRAINT [PK_ZL_Sns_Kiss] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'秋波标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_Kiss', @level2type=N'COLUMN',@level2name=N'Title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'作者' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_Kiss', @level2type=N'COLUMN',@level2name=N'Inputer'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'目标' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_Kiss', @level2type=N'COLUMN',@level2name=N'Sendto'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'对方删除' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_Kiss', @level2type=N'COLUMN',@level2name=N'Otherdel'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'秋波内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_Kiss', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_Kiss', @level2type=N'COLUMN',@level2name=N'InputerID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'对方ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_Kiss', @level2type=N'COLUMN',@level2name=N'SendtoID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发送时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_Kiss', @level2type=N'COLUMN',@level2name=N'SendTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'阅读时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_Kiss', @level2type=N'COLUMN',@level2name=N'ReadTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否打开' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sns_Kiss', @level2type=N'COLUMN',@level2name=N'IsRead'
 

GO
CREATE TABLE [dbo].[ZL_Search](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[name] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[type] [int] NOT NULL,
	[linkType] [int] NULL,
	[state] [int] NULL,
	[linkState] [int] NULL,
	[OpenType] [int] NULL  DEFAULT (0),
	[AdminID] [int] Null DEFAULT (0), 
	[time] [datetime] NULL CONSTRAINT [DF_ZL_Search_time]  DEFAULT (getdate()),
	[fileUrl] [nvarchar](200) COLLATE Chinese_PRC_CI_AS NULL,
	[ico] [nvarchar](200) COLLATE Chinese_PRC_CI_AS NULL,
	[Size] [int] NULL,
	[Mobile] [int] NULL
 CONSTRAINT [PK_search] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_IServer](
	[QuestionId] [int] IDENTITY(1,1) NOT NULL,
	[UserId] [int] NOT NULL,
	[Title] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NULL,
	[Content] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[Priority] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Type] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ReadCount] [int] NULL CONSTRAINT [DF_ZL_IServer_ReadCount]  DEFAULT (0),
	[SubTime] [datetime] NULL,
	[State] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[SolveTime] [datetime] NULL,
	[Path] [varchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[Root] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[RootInfo] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[OrderType] [int] NULL CONSTRAINT [DF_ZL_IServer_OrderType]  DEFAULT (0),
 CONSTRAINT [PK_ZL_IServer] PRIMARY KEY CLUSTERED 
(
	[QuestionId] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'问题编号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'QuestionId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发表问题用户编号' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'标题' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'Title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'优先级' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'Priority'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'Type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'已读次数' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'ReadCount'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'提交时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'SubTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'State'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'解决时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'SolveTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'附件路径' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'Path'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'问题来源' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'Root'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'来源附件信息' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_IServer', @level2type=N'COLUMN', @level2name=N'RootInfo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单ID(0-非订单)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_IServer', @level2type=N'COLUMN',@level2name=N'OrderType'

GO
CREATE TABLE [dbo].[ZL_IServerReply](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[QuestionId] [int] NOT NULL,
	[UserId] [int] NOT NULL,
	[Title] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NULL,
	[ReplyTime] [datetime] NULL,
	[Content] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[Path] [varchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[isRead] [int] NULL,
 CONSTRAINT [PK_ZL_IServerReply] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'回复编号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_IServerReply', @level2type=N'COLUMN',@level2name=N'Id'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'问题编号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_IServerReply', @level2type=N'COLUMN',@level2name=N'QuestionId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'回复人编号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_IServerReply', @level2type=N'COLUMN',@level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_IServerReply', @level2type=N'COLUMN',@level2name=N'Title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'回复时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_IServerReply', @level2type=N'COLUMN',@level2name=N'ReplyTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'回复内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_IServerReply', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'附件路径' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_IServerReply', @level2type=N'COLUMN',@level2name=N'Path'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否已读：0为未读,1为已读' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_IServerReply', @level2type=N'COLUMN',@level2name=N'isRead'

GO
CREATE TABLE [dbo].[ZL_Sensitivity](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[keyname] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[istrue] [int] NULL,
 CONSTRAINT [PK_ZL_Sensitivity] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'关键字' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sensitivity', @level2type=N'COLUMN',@level2name=N'keyname'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否启用' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Sensitivity', @level2type=N'COLUMN',@level2name=N'istrue'

GO
CREATE TABLE [dbo].[ZL_UserClass](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Classname] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Classid] [int] NULL,
	[Username] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[Shopid] [int] NULL,
	[Orderid] [int] NULL,
	[Classinfo] [nvarchar](2000) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_UserClass] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserClass', @level2type=N'COLUMN',@level2name=N'Classname'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserClass', @level2type=N'COLUMN',@level2name=N'Classid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserClass', @level2type=N'COLUMN',@level2name=N'Username'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商铺ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserClass', @level2type=N'COLUMN',@level2name=N'Shopid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排列ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserClass', @level2type=N'COLUMN',@level2name=N'Orderid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserClass', @level2type=N'COLUMN',@level2name=N'Classinfo'

GO
CREATE TABLE [dbo].[ZL_UserRegisterIP](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[LimitTime] [int] NULL,
	[IsLimit] [int] NULL,
	[IsIPpart] [int] NULL,
	[BeginIP] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[EndIP] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_UserRegisterManage] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'限制间隔时间(单位为小时)' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserRegisterIP', @level2type=N'COLUMN', @level2name=N'LimitTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否限制(-----0为不限制-----其他为限制)' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserRegisterIP', @level2type=N'COLUMN', @level2name=N'IsLimit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否设置受限IP段(------0为不设置------其他为设置)' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserRegisterIP', @level2type=N'COLUMN', @level2name=N'IsIPpart'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'受限起始IP' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserRegisterIP', @level2type=N'COLUMN', @level2name=N'BeginIP'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结束IP' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserRegisterIP', @level2type=N'COLUMN', @level2name=N'EndIP'

GO
CREATE TABLE [dbo].[ZL_Passenger](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Name_EN] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Nation] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[CreID] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Insurance] [int] NULL,
	[Sex] [char](10) COLLATE Chinese_PRC_CI_AS NULL,
	[BirthDay] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Mobile] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ticType] [int] NULL,
	[flyerCart] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[UserID] [int] NULL,
	[isConst] [int] NULL,
	[OrderNO] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'中文姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'Name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'OrderNO'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'英文姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'Name_EN'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'国籍' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'Nation'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'证件类型:证件号码(如身份证:36012247458474|护照:G120044)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'CreID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'保险' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'Insurance'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'性别' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'Sex'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'出生日期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'BirthDay'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'手机号码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'Mobile'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'购票类型:1为成人票 2为儿童 3为婴儿' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'ticType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'国航常旅客卡' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'flyerCart'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否为常用客户 0为否 1为是' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Passenger', @level2type=N'COLUMN',@level2name=N'isConst'

GO
CREATE TABLE [dbo].[ZL_Papers_System](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[p_name] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[p_type] [int] NOT NULL,
 CONSTRAINT [PK_Papers_System] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Papers_System', @level2type=N'COLUMN',@level2name=N'p_name'

GO
CREATE TABLE [dbo].[ZL_Papers_User](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[p_name] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[p_type] [int] NOT NULL,
	[p_User] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NOT NULL,
 CONSTRAINT [PK_ZL_Papers_User] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Papers_User', @level2type=N'COLUMN',@level2name=N'p_name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属分类' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Papers_User', @level2type=N'COLUMN',@level2name=N'p_type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Papers_User', @level2type=N'COLUMN',@level2name=N'p_User'

GO
CREATE TABLE [dbo].[ZL_Questions](
	[p_id] [int] IDENTITY(1,1) NOT NULL,
	[p_title] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[p_Difficulty] [int] NULL,
	[p_Class] [int] NULL,
	[p_Views] [int] NULL,
	[p_Inputer] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[p_Type] [int] NULL,
	[p_Knowledge] [int] NOT NULL,
	[p_Answer] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[p_Content] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[p_CreateTime] [datetime] NULL CONSTRAINT [DF_ZL_Questions_p_CreateTime]  DEFAULT (getdate()),
	[Paper_Id] [int] NOT NULL,
	[p_Order] [int] NULL CONSTRAINT [DF_ZL_Questions_p_Order]  DEFAULT (0)
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'难度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_Difficulty'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_Class'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'使用次数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_Views'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'作者' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_Inputer'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'题型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_Type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'知识点' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_Knowledge'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'答案' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_Answer'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_CreateTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属试卷ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'Paper_Id'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions', @level2type=N'COLUMN',@level2name=N'p_Order'

GO
CREATE TABLE [dbo].[ZL_Questions_Class](
	[C_id] [int] IDENTITY(1,1) NOT NULL,
	[C_ClassName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[C_Classid] [int] NULL,
	[C_OrderBy] [int] NOT NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_Class', @level2type=N'COLUMN',@level2name=N'C_ClassName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_Class', @level2type=N'COLUMN',@level2name=N'C_Classid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_Class', @level2type=N'COLUMN',@level2name=N'C_OrderBy'

GO
CREATE TABLE [dbo].[ZL_Questions_Knowledge](
	[k_id] [int] IDENTITY(1,1) NOT NULL,
	[k_name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[k_Class_id] [int] NOT NULL,
	[k_OrderBy] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'知识点' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_Knowledge', @level2type=N'COLUMN',@level2name=N'k_name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属分类ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_Knowledge', @level2type=N'COLUMN',@level2name=N'k_Class_id'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_Knowledge', @level2type=N'COLUMN',@level2name=N'k_OrderBy'

GO
CREATE TABLE [dbo].[ZL_Questions_Type](
	[t_id] [int] IDENTITY(1,1) NOT NULL,
	[t_name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
 CONSTRAINT [PK_ZL_Questions_Type] PRIMARY KEY CLUSTERED 
(
	[t_id] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_Type', @level2type=N'COLUMN',@level2name=N't_id'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'题型名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_Type', @level2type=N'COLUMN',@level2name=N't_name'

GO
CREATE TABLE [dbo].[ZL_Questions_User](
	[p_id] [int] IDENTITY(1,1) NOT NULL,
	[p_title] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[p_Difficulty] [int] NULL,
	[p_Class] [int] NULL,
	[p_Views] [int] NULL,
	[p_Inputer] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[p_Type] [int] NULL,
	[p_Knowledge] [int] NOT NULL,
	[p_Answer] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[p_Content] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[p_CreateTime] [datetime] NULL CONSTRAINT [DF_ZL_Questions_User_p_CreateTime]  DEFAULT (getdate()),
	[p_User] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[paper_Id] [int] NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'难度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_Difficulty'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_Class'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'使用次数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_Views'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'作者' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_Inputer'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'题型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_Type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'知识点' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_Knowledge'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'答案' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_Answer'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_CreateTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'p_User'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属试卷ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Questions_User', @level2type=N'COLUMN',@level2name=N'paper_Id'

GO
CREATE TABLE [dbo].[ZL_Arrive](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[ArriveNO] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[UserID] [int] NULL,
	[MinAmount] [money]  NULL,
	[MaxAmount] [money]  NULL,
	[Amount] [money] NULL,
	[AgainTime] [datetime] NULL,
	[EndTime] [datetime] NULL,
	[State] [int] NULL,
	[ArriveName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ArrivePwd] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
	[UseTime] [datetime] NULL,
	[Type][int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'编号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Arrive', @level2type=N'COLUMN',@level2name=N'ArriveNO'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Arrive', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'金额' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Arrive', @level2type=N'COLUMN',@level2name=N'Amount'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开始时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Arrive', @level2type=N'COLUMN',@level2name=N'AgainTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结束时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Arrive', @level2type=N'COLUMN',@level2name=N'EndTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Arrive', @level2type=N'COLUMN',@level2name=N'State'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'抵用劵名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Arrive', @level2type=N'COLUMN',@level2name=N'ArriveName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'币种' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Arrive', @level2type=N'COLUMN',@level2name=N'Type'

GO
CREATE TABLE [dbo].[ZL_CreateJS](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Jsname] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[JsReadme] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[ContentType] [int] NULL,
	[JsFileName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[JsType] [int] NULL,
	[JsXmlContent] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_CreateJS] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'代码名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'Jsname'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'简介' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'JsReadme'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内容代码格式' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'ContentType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'文件名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'JsFileName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'JS类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'JsType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'配置XML内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CreateJS', @level2type=N'COLUMN',@level2name=N'JsXmlContent'

GO
CREATE TABLE [dbo].[ZL_UserPromotions](
	[pid] [int] IDENTITY(1,1) NOT NULL,
	[GroupID] [int] NULL,
	[look] [int] NULL,
	[addTo] [int] NULL,
	[Modify] [int] NULL,
	[Columns] [int] NULL,
	[Comments] [int] NULL,
	[Deleted] [int] NULL,
	[NodeID] [int] NULL,
	[ModelID] [int] NULL,
	[quote] [int] NULL,
	[down][int] NULL,
 CONSTRAINT [PK_ZL_UserPromotions] PRIMARY KEY CLUSTERED 
(
	[pid] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'权限ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserPromotions', @level2type=N'COLUMN',@level2name=N'pid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户组ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserPromotions', @level2type=N'COLUMN',@level2name=N'GroupID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'查看' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserPromotions', @level2type=N'COLUMN',@level2name=N'look'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserPromotions', @level2type=N'COLUMN',@level2name=N'addTo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'修改' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserPromotions', @level2type=N'COLUMN',@level2name=N'Modify'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'仅当前节点' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserPromotions', @level2type=N'COLUMN',@level2name=N'Columns'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'允许评论' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserPromotions', @level2type=N'COLUMN',@level2name=N'Comments'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'删除' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserPromotions', @level2type=N'COLUMN',@level2name=N'Deleted'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'节点ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserPromotions', @level2type=N'COLUMN',@level2name=N'NodeID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模型ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserPromotions', @level2type=N'COLUMN',@level2name=N'ModelID'

GO
CREATE TABLE [dbo].[ZL_BookRead](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[title] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[userId] [int] NULL,
	[effectTime] [datetime] NULL,
	[endTime] [datetime] NULL,
	[IsNotRead] [int] NULL,
	[isAudit] [int] NULL,
	[Reserve] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Gid] [int] NULL,
	[userType] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BookRead', @level2type=N'COLUMN',@level2name=N'title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订阅者' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BookRead', @level2type=N'COLUMN',@level2name=N'userId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'生效时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BookRead', @level2type=N'COLUMN',@level2name=N'effectTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'到期时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BookRead', @level2type=N'COLUMN',@level2name=N'endTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否终止订阅:0为否,1为是' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BookRead', @level2type=N'COLUMN',@level2name=N'IsNotRead'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否已审核:0为未审核,1为已审核' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BookRead', @level2type=N'COLUMN',@level2name=N'isAudit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否允许退订' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BookRead', @level2type=N'COLUMN',@level2name=N'Reserve'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内容ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BookRead', @level2type=N'COLUMN',@level2name=N'Gid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户类型:0为个人,1为用户组' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BookRead', @level2type=N'COLUMN',@level2name=N'userType'

GO
CREATE TABLE [dbo].[ZL_Examination](
	[ExaID] [int] IDENTITY(1,1) NOT NULL,
	[StuUserName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Stuid] [int] NULL,
	[Generate] [datetime] NULL,
	[Starttime] [datetime] NULL,
	[Endtime] [datetime] NULL,
	[Qlist] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[Total] [int] NULL,
	[Score] [int] NULL,
	[Reviews] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[Examiners] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[RoomID] [int] NULL,
 CONSTRAINT [PK_ZL_Examination] PRIMARY KEY CLUSTERED 
(
	[ExaID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'ExaID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'StuUserName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Stuid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'生成时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Generate'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开始考试时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Starttime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结束考试时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Endtime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题列表(ID)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Qlist'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷总数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Total'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考试评分' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Score'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考试评语' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Reviews'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'阅卷人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'Examiners'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考场ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Examination', @level2type=N'COLUMN',@level2name=N'RoomID'

GO
CREATE TABLE [dbo].[ZL_ExAnswer](
	[AnswerID] [int] IDENTITY(1,1) NOT NULL,
	[ExaID] [int] NULL,
	[Stuid] [int] NULL,
	[Answer] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[AnswerTime] [datetime] NULL,
	[Fraction] [int] NULL,
	[Scores] [int] NULL,
	[Examiners] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[RoomID] [int] NULL,
	[StuName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_ExAnswer] PRIMARY KEY CLUSTERED 
(
	[AnswerID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'答题ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'AnswerID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'ExaID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'Stuid'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生答案' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'Answer'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'答题时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'AnswerTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'Fraction'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所得分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'Scores'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'阅卷人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'Examiners'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考场ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'RoomID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAnswer', @level2type=N'COLUMN',@level2name=N'StuName'

GO
CREATE TABLE [dbo].[ZL_ExAttendance](
	[AttID] [int] IDENTITY(1,1) NOT NULL,
	[Stuid] [int] NULL,
	[LogTime] [datetime] NULL,
	[Logtimeout] [int] NULL,
	[Location] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[StuName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_ExAttendance] PRIMARY KEY CLUSTERED 
(
	[AttID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考勤ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAttendance', @level2type=N'COLUMN',@level2name=N'AttID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学员ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAttendance', @level2type=N'COLUMN',@level2name=N'Stuid'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'登录时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAttendance', @level2type=N'COLUMN',@level2name=N'LogTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'登录时长' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAttendance', @level2type=N'COLUMN',@level2name=N'Logtimeout'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'当前位置' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAttendance', @level2type=N'COLUMN',@level2name=N'Location'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExAttendance', @level2type=N'COLUMN',@level2name=N'StuName'

GO
CREATE TABLE [dbo].[ZL_ExClassgroup](
	[GroupID] [int] IDENTITY(1,1) NOT NULL,
	[Regulationame] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Regulation] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Ratednumber] [int] NULL,
	[Actualnumber] [int] NULL,
	[Setuptime] [datetime] NULL,
	[Endtime] [datetime] NULL,
	[CourseID] [int] NULL,
	[ShiPrice] [money] NULL,
	[LinPrice] [money] NULL,
	[CourseHour] [int] NULL,
	[Presented] [int] NULL,
	[isCou] [int] NULL,
	[Speaker] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ClassID] [int] NULL
 CONSTRAINT [PK_ZL_ExClassgroup] PRIMARY KEY CLUSTERED 
(
	[GroupID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'班级ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'GroupID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'班级名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'Regulationame'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'班级负责人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'Regulation'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'额定人数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'Ratednumber'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'实际人数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'Actualnumber'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开放时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'Setuptime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结束时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'Endtime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'CourseID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'售价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'ShiPrice'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'优惠价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'LinPrice'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课时' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'CourseHour'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订购此班级是否赠送此课程(免费)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'Presented'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否打折' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'isCou'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'主讲人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'Speaker'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程分类ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExClassgroup', @level2type=N'COLUMN',@level2name=N'ClassID'

GO
CREATE TABLE [dbo].[ZL_Exroom](
	[ExrID] [int] IDENTITY(1,1) NOT NULL,
	[RoomName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Starttime] [datetime] NULL,
	[Endtime] [datetime] NULL,
	[ExaID] [int] NULL,
	[AddTime] [datetime] NULL,
	[Stuidlist] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_Exroom] PRIMARY KEY CLUSTERED 
(
	[ExrID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考场ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'ExrID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开始考试时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'Starttime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结束考试时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'Endtime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模板试卷ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'ExaID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'安排时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'AddTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生ID列表' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exroom', @level2type=N'COLUMN',@level2name=N'Stuidlist'

GO
CREATE TABLE [dbo].[ZL_ExStudent](
	[Stuid] [int] IDENTITY(1,1) NOT NULL,
	[Stuname] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Stupassword] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Stucardno] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Userid] [int] NULL,
	[Exptime] [datetime] NULL,
	[Lognum] [int] NULL,
	[Examnum] [int] NULL,
	[Logtimeout] [int] NULL,
	[Stugroup] [int] NULL,
	[Regulation] [int] NULL,
	[strCompetence] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[Course] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[Qualified] [int] NULL,
	[Addtime] [datetime] NULL,
 CONSTRAINT [PK_ZL_ExStudent] PRIMARY KEY CLUSTERED 
(
	[Stuid] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学员ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Stuid'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Stuname'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'登录密码(二重密码)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Stupassword'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生考号(卡)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Stucardno'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'捆绑用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Userid'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'到期有效时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Exptime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'登陆次数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Lognum'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考试次数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Examnum'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'登录时长' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Logtimeout'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所在组别' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Stugroup'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'监管人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Regulation'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考生权限' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'strCompetence'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学习课程' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Course'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否合格' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Qualified'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'启用时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudent', @level2type=N'COLUMN',@level2name=N'Addtime'

GO
CREATE TABLE [dbo].[ZL_ExStudytime](
	[StudyID] [int] IDENTITY(1,1) NOT NULL,
	[Stuid] [int] NULL,
	[Course] [int] NULL,
	[Studytime] [nvarchar](2000) COLLATE Chinese_PRC_CI_AS NULL,
	[Resttime] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[Schedule] [int] NULL,
	[Reviews] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_ExStudytime] PRIMARY KEY CLUSTERED 
(
	[StudyID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'培训ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'StudyID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学员ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'Stuid'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'Course'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学习时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'Studytime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'每日学习时间安排' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'Resttime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学员当前进度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'Schedule'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'评语' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExStudytime', @level2type=N'COLUMN',@level2name=N'Reviews'

GO
SET IDENTITY_INSERT [ZL_Questions] ON
 INSERT [ZL_Questions] ( [p_id] , [p_title] , [p_Difficulty] , [p_Class] , [p_Views] , [p_Inputer] , [p_Type] , [p_Knowledge] , [p_Answer] , 
[p_Content] , [p_CreateTime] , [Paper_Id] ) VALUES ( 1 , 'sdfsf' , 1 , 1 , 1 , 'admin' , 1 , 0 , '' , 'sdfdsfsdsfdsfsd' ,
 '2010-04-17 00:00:00.000' , 0 )
 INSERT [ZL_Questions] ( [p_id] , [p_title] , [p_Difficulty] , [p_Class] , [p_Views] , [p_Inputer] , [p_Type] , [p_Knowledge] , [p_Answer] , 
[p_Content] , [p_CreateTime] , [Paper_Id] ) VALUES ( 2 , '此次抽查' , 2 , 2 , 1 , 'admin' , 2 , 0 , '' , '梵蒂冈但是' ,
 '2010-04-17 00:00:00.000' , 0 )
 INSERT [ZL_Questions] ( [p_id] , [p_title] , [p_Difficulty] , [p_Class] , [p_Views] , [p_Inputer] , [p_Type] , [p_Knowledge] , [p_Answer] , 
[p_Content] , [p_CreateTime] , [Paper_Id] ) VALUES ( 3 , '第一章　声现象' , 1 , 1 , 1 , 'admin' , 3 , 0 , '<div _extended="true" class="daan" 
id="daan-62928">
	<p>
		<span>I=U/R </span><span>电阻一定时，电流与是压成正比</span></p>
	<p>
		<span>U=IR&nbsp; </span><span>电压一定时，电流与电阻成反比</span></p>
	<p>
		<span>R=U/I&nbsp; </span><span>电阻等于电压和电流的比值</span></p>
</div>' , '欧姆定律揭示了I、U、R三个物理量之间的规律，并可以写出三个物理公式。请你分别写出三个公式并说出每个公式所表示的意义？' ,
 '2010-04-17 00:00:00.000' , 0 )
 INSERT [ZL_Questions] ( [p_id] , [p_title] , [p_Difficulty] , [p_Class] , [p_Views] , [p_Inputer] , [p_Type] , [p_Knowledge] , [p_Answer] , 
[p_Content] , [p_CreateTime] , [Paper_Id] ) VALUES ( 4 , '初二物理第二学期期末检测 ' , 4 , 1 , 1 , 'admin' , 3 , 2 , '<div _extended="true" 
class="daan" id="daan-62927">
	<p>
		<span>用电器和电线是串联的，电流相同，但用电器的电阻比电线的电阻要大很多，据</span><span>P=I<sup>2</sup>R</span></p>
	<p>
		<span>&nbsp;&nbsp; </span><span>电阻越大，发热就越厉害。</span></p>
</div>' , '莉莉学习了《电功率》一章的知识后，回家仔细观察了家里的电水壶、电饭锅等较大功率的用电器在工作时的情况是：电水壶、电饭锅都很热而连接
它们的电线却不热。请你和莉莉共同探究这个问题并把你的想法写在下面： ' , '2010-04-17 00:00:00.000' , 0 )
 INSERT [ZL_Questions] ( [p_id] , [p_title] , [p_Difficulty] , [p_Class] , [p_Views] , [p_Inputer] , [p_Type] , [p_Knowledge] , [p_Answer] , 
[p_Content] , [p_CreateTime] , [Paper_Id] ) VALUES ( 5 , '第一章 力' , 2 , 2 , 1 , 'admin' , 3 , 1 , '<div _extended="true" class="daan" 
id="daan-218816">
	<p>
		<span>（</span><span>1</span><span>）由</span><span><sub><img height="44" 
src="http://gzwl.cooco.net.cn/files/down/test/2010/04/14/17/2010041417061723933126.files/image033.gif" width="279" /></sub></span><span>得
</span></p>
	<p>
		<span><sub><img height="44" 
src="http://gzwl.cooco.net.cn/files/down/test/2010/04/14/17/2010041417061723933126.files/image034.gif" width="352" /></sub>&nbsp;&nbsp;&nbsp; 
</span><span>（</span><span>2</span><span>）当</span><span>ab</span><span>棒达到最大速度时有</span><span><sub><img height="44" 
src="http://gzwl.cooco.net.cn/files/down/test/2010/04/14/17/2010041417061723933126.files/image035.gif" width="125" /></sub></span><span>所以
：</span></p>
	<p>
		<span><sub><img height="41" 
src="http://gzwl.cooco.net.cn/files/down/test/2010/04/14/17/2010041417061723933126.files/image036.gif" width="253" /></sub></span></p>
	<p>
		<span>当</span><span>ab</span><span>棒达到最大速度后，撤去外力</span><span>F</span><span>，此后物体的动能全用来克服安培力作功
，所以感应电流产生的热量为：</span><span><sub><img height="41" 
src="http://gzwl.cooco.net.cn/files/down/test/2010/04/14/17/2010041417061723933126.files/image037.gif" width="215" /></sub></span></p>
	<p>
		&nbsp;</p>
</div>' , '水平放置的平行金属框架L=0.2m,质量为0.1kg的金属棒ab放在框架上，并且与框架的两个边垂直。整个装置放于方向竖直向下、B=0.5T的匀强磁场中
，如图所示。金属棒ab在F=2N的水平向右的恒力作用下由静止开始运动。电路中除R=0.05外，其他电阻、摩擦阻力均不考虑。求：① ab速度是5m/s时，棒的加速
度是多大？

② 当ab棒达到最大速度后，撤去外力F，此后感应电流还能产生多少热量？' , '2010-04-17 00:00:00.000' , 0 )
 SET IDENTITY_INSERT [ZL_Questions] OFF

 SET IDENTITY_INSERT [ZL_Questions_Class] ON
 INSERT [ZL_Questions_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 1 , '初中物理' , 0 , 0 )
 INSERT [ZL_Questions_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 2 , '高中物理' , 0 , 0 )
 INSERT [ZL_Questions_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 3 , '第一章、 直线运动' , 1 , 0 )
 INSERT [ZL_Questions_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 4 , '第二章、物体的平衡' , 1 , 0 )
 INSERT [ZL_Questions_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 5 , '第一章、机械波' , 2 , 0 )
 INSERT [ZL_Questions_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 6 , '第二章、固体、液体和气体' , 2 , 0 )
 SET IDENTITY_INSERT [ZL_Questions_Class] OFF

 SET IDENTITY_INSERT [ZL_Questions_Knowledge] ON
 INSERT [ZL_Questions_Knowledge] ( [k_id] , [k_name] , [k_Class_id] , [k_OrderBy] ) VALUES ( 1 , '二、欧姆定律及其应用' , 2 , 0 )
 INSERT [ZL_Questions_Knowledge] ( [k_id] , [k_name] , [k_Class_id] , [k_OrderBy] ) VALUES ( 2 , '四、电与热' , 1 , 0 )
 SET IDENTITY_INSERT [ZL_Questions_Knowledge] OFF

 SET IDENTITY_INSERT [ZL_Questions_Type] ON
 INSERT [ZL_Questions_Type] ( [t_id] , [t_name] ) VALUES ( 1 , '选择题' )
 INSERT [ZL_Questions_Type] ( [t_id] , [t_name] ) VALUES ( 2 , '填空题' )
 INSERT [ZL_Questions_Type] ( [t_id] , [t_name] ) VALUES ( 3 , '应用题' )
 SET IDENTITY_INSERT [ZL_Questions_Type] OFF

GO
CREATE TABLE [dbo].[ZL_RebateOrder](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[OrderNo] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[WebsiteId] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[OrderState] [int] NULL,
	[OrderData] [datetime] NULL,
	[OrderMoney] [money] NULL,
	[ProfileMoney] [money] NULL,
	[Commision] [money] NULL,
	[OrderFbackData] [datetime] NULL,
	[UnionId] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[UserId] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ParentRebate] [money] NULL,
	[Shopsite] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[MerNum] [int] NULL,
	[MerPrice] [money] NULL,
	[MerSumPrice] [money] NULL,
	[parentUser] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[parentPUser] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Remark] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[ParentPRebate] [money] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单编号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'OrderNo'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'网站编号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'WebsiteId'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单状态:0为未确认；1为有效订单；2为无效订单' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'OrderState'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'下单日期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'OrderData'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单金额' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'OrderMoney'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'返利金额' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'ProfileMoney'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'佣金' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'Commision'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单反馈日期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'OrderFbackData'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'联盟主' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'UnionId'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户Id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'UserId'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上一级用户获得返利值' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'ParentRebate'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上上级用户返利比率' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'ParentPRebate'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'广告主(购物商城)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'Shopsite'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品数量' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'MerNum'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品单价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'MerPrice'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品总价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'MerSumPrice'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上一级用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'parentUser'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上上级用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'parentPUser'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RebateOrder', @level2type=N'COLUMN',@level2name=N'Remark'

GO
CREATE TABLE [dbo].[ZL_Shopsite](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[url] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Sname] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[cid] [int] NULL,
	[UnionNo] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[aid] [int] NULL,
	[aurl] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[ToParaname] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[lablename] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[RebateRate] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[PageRebateRate] [float] NULL,
	[PrantPageRebate] [float] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商城简称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Shopsite', @level2type=N'COLUMN',@level2name=N'name'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商城网址' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Shopsite', @level2type=N'COLUMN',@level2name=N'url'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商城名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Shopsite', @level2type=N'COLUMN',@level2name=N'Sname'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属类别' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Shopsite', @level2type=N'COLUMN',@level2name=N'cid'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'联盟的广告主ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Shopsite', @level2type=N'COLUMN',@level2name=N'UnionNo'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'最高返利比率' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Shopsite', @level2type=N'COLUMN',@level2name=N'RebateRate'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'第一级子站返利比率' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Shopsite', @level2type=N'COLUMN',@level2name=N'PageRebateRate'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上一级子站返利比率' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Shopsite', @level2type=N'COLUMN',@level2name=N'PrantPageRebate'

GO
CREATE TABLE [dbo].[ZL_Honor](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[OrderData] [datetime] NULL,
	[HonorMoney] [money] NULL,
	[Fee] [money] NULL,
	[State] [int] NULL,
	[payData] [datetime] NULL,
	[Payinfo] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[userId] [int] NULL,
	[adminId] [int] NULL,
	[type] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'申请时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Honor', @level2type=N'COLUMN',@level2name=N'OrderData'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'兑现金额' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Honor', @level2type=N'COLUMN',@level2name=N'HonorMoney'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'扣除手续费' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Honor', @level2type=N'COLUMN',@level2name=N'Fee'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Honor', @level2type=N'COLUMN',@level2name=N'State'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支付日期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Honor', @level2type=N'COLUMN',@level2name=N'payData'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支付信息' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Honor', @level2type=N'COLUMN',@level2name=N'Payinfo'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Honor', @level2type=N'COLUMN',@level2name=N'userId'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'负责人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Honor', @level2type=N'COLUMN',@level2name=N'adminId'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'兑现类型:0为订单返利,1为分站返利' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Honor', @level2type=N'COLUMN',@level2name=N'type'

GO
CREATE TABLE [dbo].[ZL_Accountinfo](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[BankOfDeposit] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[NameOfDeposit] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Account] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[CardID] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Lock] [int] NULL,
	[UserId] [int] NULL,
	[PayId] [int] NULL 
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开户行及支行全称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Accountinfo', @level2type=N'COLUMN',@level2name=N'BankOfDeposit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开户人真实姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Accountinfo', @level2type=N'COLUMN',@level2name=N'NameOfDeposit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开户帐号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Accountinfo', @level2type=N'COLUMN',@level2name=N'Account'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'会员真实姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Accountinfo', @level2type=N'COLUMN',@level2name=N'Name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'会员身份证号码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Accountinfo', @level2type=N'COLUMN',@level2name=N'CardID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否绑定用户真实姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Accountinfo', @level2type=N'COLUMN',@level2name=N'Lock'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Accountinfo', @level2type=N'COLUMN',@level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支付ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Accountinfo', @level2type=N'COLUMN',@level2name=N'PayId'

GO
CREATE TABLE [dbo].[ZL_Redindulgence](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Account] [money] NULL,
	[UserId] [int] NULL,
	[mail] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[InvitePeople] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[FriendName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Url][ntext] COLLATE Chinese_PRC_CI_AS NULL ,
	[isUse] [int] NULL,
	[Type] [int] NULL CONSTRAINT [DF_ZL_Redindulgence_Type]  DEFAULT (0)
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'金额' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Redindulgence', @level2type=N'COLUMN',@level2name=N'Account'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'注册链接地址' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Redindulgence', @level2type=N'COLUMN',@level2name=N'Url'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Redindulgence', @level2type=N'COLUMN',@level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发送邮箱' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Redindulgence', @level2type=N'COLUMN',@level2name=N'mail'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'邀请人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Redindulgence', @level2type=N'COLUMN',@level2name=N'InvitePeople'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'朋友姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Redindulgence', @level2type=N'COLUMN',@level2name=N'FriendName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否已使用:0为未使用,1为已使用' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Redindulgence', @level2type=N'COLUMN',@level2name=N'isUse'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型:0为返利邀请,1为微博邀请，2为sns邀请' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Redindulgence', @level2type=N'COLUMN',@level2name=N'Type'

GO
CREATE TABLE [dbo].[ZL_Page](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Proname] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[PageTitle] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[KeyWords] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[Description] [nvarchar](2000) COLLATE Chinese_PRC_CI_AS NULL,
	[LOGO] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Domain] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[Style] [int] NULL,
	[HeadHeight] [int] NULL,
	[HeadColor] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[CommonModelID] [int] NOT NULL,
	[TableName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Hits] [int] NULL,
	[InfoID] [int] NOT NULL,
	[Best] [int] NULL CONSTRAINT [DF_ZL_Page_Best]  DEFAULT (0),
	[Status] [int] NULL,
	[UserID] [int] NULL,
	[UserName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[ParentPageID] [int] NULL,
	[ParentUserID] [int] NULL,
	[PageInfo] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[TopWords] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[BottonWords] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[CreateTime] [datetime] NULL,
	[NodeStyle] [int] NULL CONSTRAINT [DF_ZL_Page_NodeStyle]  DEFAULT (0),
	[HeadBackGround] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_Page] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'企业名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'Proname'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'黄页标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'PageTitle'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'关键字' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'KeyWords'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'Description'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'LOGO' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'LOGO'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'访问域名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'Domain'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'风格' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'Style'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'导航条高度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'HeadHeight'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'导航条颜色' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'HeadColor'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'ZL_CommonModel中的ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'CommonModelID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模型名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'TableName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'点击数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'Hits'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模型内容ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'InfoID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'推荐级别' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'Best'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'审核状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'Status'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'UserName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上级黄页ID(上级商铺)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'ParentPageID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上级用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'ParentUserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'黄页说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'PageInfo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'头部自定义HTML内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'TopWords'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'底部HTML内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'BottonWords'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'CreateTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'节点样式' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'NodeStyle'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'导航背景' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Page', @level2type=N'COLUMN',@level2name=N'HeadBackGround'

GO
CREATE TABLE [dbo].[ZL_GiftCard_User](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[ShopCardId] [int] NULL,
	[CardNO] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[CardPass] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[password] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[remark] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[CardType] [int] NULL,
	[UserId] [int] NULL,
	[OrderData] [datetime] NULL,
	[confirmData] [datetime] NULL,
	[State] [int] NULL,
	[confirmState] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商城礼品ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'ShopCardId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'卡号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'CardNO'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'卡号密码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'CardPass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'确认密码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'password'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'卡类别:1为积分兑换,2为返利金额兑换' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'CardType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'申请时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'OrderData'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'确认日期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'confirmData'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'兑现状态:0为未兑现,1为已兑现' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'State'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'确认状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'confirmState'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_User', @level2type=N'COLUMN',@level2name=N'remark'

GO
CREATE TABLE [dbo].[ZL_GiftCard_shop](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Period] [datetime] NULL,
	[Cardinfo] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[remark] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[Points] [int] NULL,
	[shopId] [int] NULL ,
	[rebateVal] [money] NULL,
	[Days] [int] NULL,
	[Num] [int] NULL,
	[PicUrl] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'有效期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_shop', @level2type=N'COLUMN',@level2name=N'Period'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'卡信息' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_shop', @level2type=N'COLUMN',@level2name=N'Cardinfo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_shop', @level2type=N'COLUMN',@level2name=N'remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'积分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_shop', @level2type=N'COLUMN',@level2name=N'Points'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'返利金额' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_shop', @level2type=N'COLUMN',@level2name=N'rebateVal'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'限制:几天可兑换一次' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_shop', @level2type=N'COLUMN',@level2name=N'Days'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商家ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_shop', @level2type=N'COLUMN',@level2name=N'shopId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'数量' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_shop', @level2type=N'COLUMN',@level2name=N'Num'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片路径' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GiftCard_shop', @level2type=N'COLUMN',@level2name=N'PicUrl'

GO
CREATE TABLE [dbo].[ZL_RedEnvelope](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[OrderData] [datetime] NULL,
	[OrderState] [int] NULL,
	[DeducFee] [money] NULL,
	[RebateId] [int] NULL ,
	[Remark] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[RedEnvelope] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[type] [int] NULL,
	[Userid] [int] NULL,
	[payData] [datetime] NULL,
	[adminid] [int] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'申请时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RedEnvelope', @level2type=N'COLUMN',@level2name=N'OrderData'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'申请状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RedEnvelope', @level2type=N'COLUMN',@level2name=N'OrderState'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'扣除手续费' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RedEnvelope', @level2type=N'COLUMN',@level2name=N'DeducFee'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'红包' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RedEnvelope', @level2type=N'COLUMN',@level2name=N'RedEnvelope'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型:0为现金，1为礼品卡' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RedEnvelope', @level2type=N'COLUMN',@level2name=N'type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RedEnvelope', @level2type=N'COLUMN',@level2name=N'Userid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'返利ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RedEnvelope', @level2type=N'COLUMN',@level2name=N'RebateId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支付日期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RedEnvelope', @level2type=N'COLUMN',@level2name=N'payData'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'负责人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_RedEnvelope', @level2type=N'COLUMN',@level2name=N'adminid'

GO
CREATE TABLE [dbo].[ZL_PointRecord](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[AddTime] [datetime] NULL,
	[Points] [int] NULL,
	[Type] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Remark] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[UserId] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PointRecord', @level2type=N'COLUMN',@level2name=N'AddTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所得积分' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PointRecord', @level2type=N'COLUMN',@level2name=N'Points'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PointRecord', @level2type=N'COLUMN',@level2name=N'Type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PointRecord', @level2type=N'COLUMN',@level2name=N'Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PointRecord', @level2type=N'COLUMN',@level2name=N'UserId'


GO
CREATE TABLE [dbo].[ZL_Promotion](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[userId] [int] NULL,
	[LinkUrl] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[PromoUrl] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[type] [char](10) COLLATE Chinese_PRC_CI_AS NULL,
	[AllinaceUrl] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_Promotion] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]


GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'推广用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Promotion', @level2type=N'COLUMN',@level2name=N'userId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'原始地址' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Promotion', @level2type=N'COLUMN',@level2name=N'LinkUrl'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'推广URl' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Promotion', @level2type=N'COLUMN',@level2name=N'PromoUrl'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'链接类型:1为链接注册推广,2为红包涵注册,3为商品,4为商城,5为活动' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Promotion', @level2type=N'COLUMN',@level2name=N'type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'联盟地址(实际链接地址)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Promotion', @level2type=N'COLUMN',@level2name=N'AllinaceUrl'

GO
CREATE TABLE [dbo].[ZL_Allianceinfo](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[alanceName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[uid] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[pass] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[wid] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'联盟名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Allianceinfo', @level2type=N'COLUMN',@level2name=N'alanceName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'帐号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Allianceinfo', @level2type=N'COLUMN',@level2name=N'uid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'密码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Allianceinfo', @level2type=N'COLUMN',@level2name=N'pass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'网站编号(该网站在联盟的id)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Allianceinfo', @level2type=N'COLUMN',@level2name=N'wid'

GO
CREATE TABLE [dbo].[ZL_PromoCount](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[PromotionUrl] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[sid] [int] NULL,
	[linkCount] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'推广Url' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PromoCount', @level2type=N'COLUMN',@level2name=N'PromotionUrl'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商家id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PromoCount', @level2type=N'COLUMN',@level2name=N'sid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'点击链接次数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PromoCount', @level2type=N'COLUMN',@level2name=N'linkCount'

GO
CREATE TABLE [dbo].[ZL_ShopsiteClass](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[cid] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商家分类' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ShopsiteClass', @level2type=N'COLUMN',@level2name=N'name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属分类' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ShopsiteClass', @level2type=N'COLUMN',@level2name=N'cid'

GO
CREATE TABLE [dbo].[ZL_SitePicAdv](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[Url] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[AdvPic] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[PWidth] [float] NULL,
	[PHeight] [float] NULL,
	[picTitle] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[addTime] [datetime] NULL,
	[tikNum] [int] NULL,
	[ZoneName] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NULL,
	[ZoneJSName] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NULL,
	[ZoneIntro] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[ZoneType] [int] NULL CONSTRAINT [DF_ZL_SitePicAdv_ZoneType]  DEFAULT (0),
	[DefaultSetting] [bit] NULL CONSTRAINT [DF_ZL_SitePicAdv_DefaultSetting]  DEFAULT (1),
	[ZoneSetting] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[ZoneWidth] [int] NULL CONSTRAINT [DF_ZL_SitePicAdv_ZoneWidth]  DEFAULT (0),
	[ZoneHeight] [int] NULL CONSTRAINT [DF_ZL_SitePicAdv_ZoneHeight]  DEFAULT (0),
	[ShowType] [int] NULL CONSTRAINT [DF_ZL_SitePicAdv_ShowType]  DEFAULT (0),
	[advName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[advType] [int] NULL CONSTRAINT [DF_ZL_SitePicAdv_advType]  DEFAULT (1),
	[LinkTarget] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'链接地址' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'Url'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片地址' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'AdvPic'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片宽度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'PWidth'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片高度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'PHeight'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'链接标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'picTitle'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'addTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'点击数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'tikNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'板块名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'ZoneName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'JS文件名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'ZoneJSName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'版位介绍' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'ZoneIntro'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'版位类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'ZoneType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否默认设置' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'DefaultSetting'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'具体自定义设置信息' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'ZoneSetting'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'版位宽度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'ZoneWidth'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'版位高度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'ZoneHeight'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'显示方式' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'ShowType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'广告名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'advName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'广告类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'advType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'打开形式:新窗口,原窗口' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SitePicAdv', @level2type=N'COLUMN',@level2name=N'LinkTarget'

GO
CREATE TABLE [dbo].[ZL_SiteTextAdv](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[Title] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Url] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[Type] [int] NULL,
	[Content] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[Rebate] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[AddTime] [datetime] NULL ,
	[LinkTarget] [int] NULL,
	[ShopId] [int] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SiteTextAdv', @level2type=N'COLUMN',@level2name=N'Title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'链接地址' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SiteTextAdv', @level2type=N'COLUMN',@level2name=N'Url'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型:1为文字,2为博客' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SiteTextAdv', @level2type=N'COLUMN',@level2name=N'Type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商家最高返利' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SiteTextAdv', @level2type=N'COLUMN',@level2name=N'Rebate'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商家Id' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SiteTextAdv', @level2type=N'COLUMN',@level2name=N'ShopId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SiteTextAdv', @level2type=N'COLUMN',@level2name=N'AddTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SiteTextAdv', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'打开目标:0为新窗口,1为原窗口' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_SiteTextAdv', @level2type=N'COLUMN',@level2name=N'LinkTarget'

GO
CREATE TABLE [dbo].[ZL_Regsterapi](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[Userid] [int] NULL,
	[Url] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Pageid] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Regsterapi', @level2type=N'COLUMN',@level2name=N'Userid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'接口路径' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Regsterapi', @level2type=N'COLUMN',@level2name=N'Url'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'黄页ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Regsterapi', @level2type=N'COLUMN',@level2name=N'Pageid'

GO
CREATE TABLE [dbo].[ZL_3DMusic](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[MusicName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[MusicUrl] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[IsTrue] [int] NULL,
	[AddTime] [datetime] NULL CONSTRAINT [DF_ZL_AddTime]  DEFAULT (getdate()),
 CONSTRAINT [PK_ZL] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'音乐名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_3DMusic', @level2type=N'COLUMN',@level2name=N'MusicName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'音乐地址' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_3DMusic', @level2type=N'COLUMN',@level2name=N'MusicUrl'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否启用' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_3DMusic', @level2type=N'COLUMN',@level2name=N'IsTrue'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_3DMusic', @level2type=N'COLUMN',@level2name=N'AddTime'

GO
CREATE TABLE [dbo].[ZL_3DPanoramic](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[PanoramicName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Istrue] [int] NULL CONSTRAINT [DF_ZL_Panoramic_Istrue]  DEFAULT (1),
	[Callabel] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[PanoramicViewList] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[OrderBy] [int] NULL CONSTRAINT [DF_ZL_Panoramic_OrderBy]  DEFAULT (0),
	[Addtime] [datetime] NULL CONSTRAINT [DF_ZL_Panoramic_Addtime]  DEFAULT (getdate()),
 CONSTRAINT [PK_ZL_Panoramic] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'全景名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_3DPanoramic', @level2type=N'COLUMN',@level2name=N'PanoramicName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否启用' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_3DPanoramic', @level2type=N'COLUMN',@level2name=N'Istrue'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'调用标签' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_3DPanoramic', @level2type=N'COLUMN',@level2name=N'Callabel'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'全景地图' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_3DPanoramic', @level2type=N'COLUMN',@level2name=N'PanoramicViewList'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_3DPanoramic', @level2type=N'COLUMN',@level2name=N'OrderBy'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_3DPanoramic', @level2type=N'COLUMN',@level2name=N'Addtime'
GO


 SET IDENTITY_INSERT [ZL_3DMusic] ON
 INSERT [ZL_3DMusic] ( [ID] , [MusicName] , [MusicUrl] , [IsTrue] , [AddTime] ) VALUES ( 1 , '梦中的婚礼' , 'http://www.czsan.com/hl.mp3' , 1 , '2010-06-19 11:12:05.000' )
 INSERT [ZL_3DMusic] ( [ID] , [MusicName] , [MusicUrl] , [IsTrue] , [AddTime] ) VALUES ( 2 , '卡农' , 'http://yt-jy.cn/newEbiz1/535yt-jyres/images/images/11.mp3' , 1 , '2010-06-19 11:12:19.750' )
 INSERT [ZL_3DMusic] ( [ID] , [MusicName] , [MusicUrl] , [IsTrue] , [AddTime] ) VALUES ( 3 , '献给爱丽丝' , 'http://www.ehuayu.com/uploadfile/audio/171.mp3' , 1 , '2010-06-19 11:12:40.970' )
 INSERT [ZL_3DMusic] ( [ID] , [MusicName] , [MusicUrl] , [IsTrue] , [AddTime] ) VALUES ( 4 , '罗密欧与朱丽叶' , 'http://mp3.ysmp.net.cn/beijingyinyue/10000hb/罗密欧与朱丽叶.mp3' , 1 , '2010-06-19 11:12:58.923' )
 INSERT [ZL_3DMusic] ( [ID] , [MusicName] , [MusicUrl] , [IsTrue] , [AddTime] ) VALUES ( 5 , '蓝色的爱' , 'http://www.fzjsjx.com/upload/zydir/39/z20081028_5876_4027.mp3' , 1 , '2010-06-19 11:13:30.297' )
 SET IDENTITY_INSERT [ZL_3DMusic] OFF

 SET IDENTITY_INSERT [ZL_3DPanoramic] ON
 INSERT [ZL_3DPanoramic] ( [ID] , [PanoramicName] , [Istrue] , [Callabel] , [PanoramicViewList] , [OrderBy] , [Addtime] ) VALUES ( 1 , '全景范例：夏日农庄' , 1 , '' , '<musiclist>
<music_url name="梦中的婚礼">http://www.czsan.com/hl.mp3</music_url>
<music_url name="卡农">http://yt-jy.cn/newEbiz1/535yt-jyres/images/images/11.mp3</music_url>
<music_url name="献给爱丽丝">http://www.ehuayu.com/uploadfile/audio/171.mp3</music_url>
<music_url name="罗密欧与朱丽叶">http://mp3.ysmp.net.cn/beijingyinyue/10000hb/罗密欧与朱丽叶.mp3</music_url>
<music_url name="蓝色的爱">http://www.fzjsjx.com/upload/zydir/39/z20081028_5876_4027.mp3</music_url>
</musiclist>
<Panoramic>
<Panoramic_name>场景1</Panoramic_name>
<Panoramic_option><ScanName>场景1</ScanName>
<ScanPic>UploadFiles/pano/20106191124478908535.jpg</ScanPic>
<MapPic>UploadFiles/pano/20106191125288599326.jpg</MapPic>
<TopLogo>/Panoramic3D/assets/opt/logo.png</TopLogo>
<defaultTopLogo></defaultTopLogo>
<LoGoLink>http://www.zoomla.cn/</LoGoLink>
<defaultlink></defaultlink>
<BottomLogo>/Panoramic3D/assets/opt/Bottonlogo.png</BottomLogo>
<DefaultBottomLogo></DefaultBottomLogo>
<BottomLogoLink>http://www.zoomla.cn/</BottomLogoLink>
<DefaultBottomLogoLink></DefaultBottomLogoLink>
<InputButtonPic>/Panoramic3D/assets/opt/goto.png</InputButtonPic>
<ReturnButtonPic>/Panoramic3D/assets/opt/goreturn.png</ReturnButtonPic>
<OtherButtonPic>/Panoramic3D/assets/opt/gourl.png</OtherButtonPic>
<AutoMarquee>on</AutoMarquee>
<ShowMap>on</ShowMap>
<camz>-595</camz><campanangle>221</campanangle><camtiltangle>-1</camtiltangle><camtargetpanangle>221</camtargetpanangle><camtargettiltangle>-1</camtargettiltangle><putintxt><btn>Putin0: x:0 y:0 z:-1150 rotationX:90 rotationY:-180</btn></putintxt><returnbuttontxt><btn>returnbutton0: x:-1013 y:18 z:543 rotationX:90 rotationY:-61</btn></returnbuttontxt><OtherButtontxt><btn>OtherButton0: x:574 y:48 z:995 rotationX:90 rotationY:29.000000000000004</btn></OtherButtontxt><OtherButton0><url>http://wwww.zoomla.cn</url><opentype>新窗口弹出</opentype></OtherButton0></Panoramic_option>
</Panoramic>

<Panoramic>
<Panoramic_name>场景2</Panoramic_name>
<Panoramic_option><ScanName>场景2</ScanName>
<ScanPic>UploadFiles/pano/20106191126489218705.jpg</ScanPic>
<MapPic>UploadFiles/pano/20106191127225464218.jpg</MapPic>
<TopLogo>/Panoramic3D/assets/opt/logo.png</TopLogo>
<defaultTopLogo></defaultTopLogo>
<LoGoLink>http://www.zoomla.cn</LoGoLink>
<defaultlink></defaultlink>
<BottomLogo>/Panoramic3D/assets/opt/Bottonlogo.png</BottomLogo>
<DefaultBottomLogo></DefaultBottomLogo>
<BottomLogoLink>http://www.zoomla.cn</BottomLogoLink>
<DefaultBottomLogoLink></DefaultBottomLogoLink>
<InputButtonPic>/Panoramic3D/assets/opt/goto.png</InputButtonPic>
<ReturnButtonPic>/Panoramic3D/assets/opt/goreturn.png</ReturnButtonPic>
<OtherButtonPic>/Panoramic3D/assets/opt/gourl.png</OtherButtonPic>
<AutoMarquee>on</AutoMarquee>
<ShowMap>on</ShowMap>
<camz>-612</camz><campanangle>219</campanangle><camtiltangle>3</camtiltangle><camtargetpanangle>219</camtargetpanangle><camtargettiltangle>3</camtargettiltangle><putintxt><btn>Putin0: x:0 y:0 z:-1150 rotationX:90 rotationY:-180</btn></putintxt><returnbuttontxt><btn>returnbutton0: x:-1129 y:-6 z:-215 rotationX:90 rotationY:-100</btn></returnbuttontxt><OtherButtontxt><btn>OtherButton0: x:395 y:54 z:1079 rotationX:90 rotationY:20</btn></OtherButtontxt><OtherButton0><url>http://www.hx008.cn</url><opentype>本窗口弹出</opentype></OtherButton0></Panoramic_option>
</Panoramic>

<Panoramic>
<Panoramic_name>场景3</Panoramic_name>
<Panoramic_option><ScanName>场景3</ScanName>
<ScanPic>UploadFiles/pano/20106191129378751947.jpg</ScanPic>
<MapPic>UploadFiles/pano/2010619113034215942.jpg</MapPic>
<TopLogo>/Panoramic3D/assets/opt/logo.png</TopLogo>
<defaultTopLogo></defaultTopLogo>
<LoGoLink>http://www.zoomla.cn</LoGoLink>
<defaultlink></defaultlink>
<BottomLogo>/Panoramic3D/assets/opt/Bottonlogo.png</BottomLogo>
<DefaultBottomLogo></DefaultBottomLogo>
<BottomLogoLink>http://www.zoomla.cn</BottomLogoLink>
<DefaultBottomLogoLink></DefaultBottomLogoLink>
<InputButtonPic>/Panoramic3D/assets/opt/goto.png</InputButtonPic>
<ReturnButtonPic>/Panoramic3D/assets/opt/goreturn.png</ReturnButtonPic>
<OtherButtonPic>/Panoramic3D/assets/opt/gourl.png</OtherButtonPic>
<AutoMarquee>on</AutoMarquee>
<ShowMap>on</ShowMap>
<camz>70</camz><campanangle>275</campanangle><camtiltangle>6</camtiltangle><camtargetpanangle>275</camtargetpanangle><camtargettiltangle>6</camtargettiltangle><putintxt><btn>Putin0: x:0 y:0 z:-1150 rotationX:90 rotationY:-180</btn></putintxt><returnbuttontxt><btn>returnbutton0: x:-554 y:-138 z:1007 rotationX:90 rotationY:-28</btn></returnbuttontxt><OtherButtontxt><btn>OtherButton0: x:1145 y:-126 z:-102 rotationX:90 rotationY:95</btn></OtherButtontxt><OtherButton0><url>http://bbs.zoomal.cn</url><opentype>本窗口弹出</opentype></OtherButton0></Panoramic_option>
</Panoramic>
<autoplay>1</autoplay>
' , 0 , '2010-06-19 13:04:52.390' )
 SET IDENTITY_INSERT [ZL_3DPanoramic] OFF

--ZL_S_shop
CREATE TABLE [dbo].[ZL_S_shop] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[pics] [ntext]  NULL DEFAULT ('')
)

CREATE TABLE [dbo].[ZL_C_Factory] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[wzbt] [nvarchar]  (255) NULL DEFAULT (''),
[gsmc] [nvarchar]  (255) NULL DEFAULT (''),
[jf] [nvarchar]  (255) NULL DEFAULT (''),
[yf] [nvarchar]  (255) NULL DEFAULT (''))

ALTER TABLE [ZL_C_Factory] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_C_Factory] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_C_Factory] ON
SET IDENTITY_INSERT [ZL_C_Factory] OFF

--副表
CREATE TABLE [dbo].[ZL_C_Announce] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[content] [ntext]  NULL DEFAULT (''),
[author] [nvarchar]  (255) NULL DEFAULT ('')
)
ALTER TABLE [ZL_C_Announce] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_C_Announce] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_C_Announce] ON
INSERT [ZL_C_Announce] ([ID],[content],[author]) VALUES ( 1,N'<p>
	人与电脑交互的界面，应该有什么样的体验？</p>
<p>我们大体可以认为其发展经历了以下四个时期：</p>
<p>1、鼠标健盘控制时期：原始的键盘、尤其是鼠标控制，使人类的一只手解放出来了，今天还有好多用电脑喜欢是&ldquo;左手插裤袋、右手动鼠标&rdquo;的形式&amp;^_^&amp;。</p>
<p>2、声控设备控制时期：声音的控制有了物联网的雏形，但由于声音的多源化，即使今天，我们也不能良好的使用之，而apple等公司却依然在孜孜努力。</p>
<p>3、触控设备控制时期：LCD等技术的成熟，使触控更加方便易用。</p>
<p>3、体感控制交互时期：体感使人的双手得到了全身心的解放，从而为我们创造了无限的想象力。</p>
<p>当全新的用户交互体验到来的时候，</p>
<p>HTML5、AJAX、站群技术、智能控制技术、云技术纷纷上阵，</p>
<p>人们要面对的不再是单一的技术。</p>
<p>&nbsp;</p>
<p><em>PS：2011年全球销售最火的IT设备不是Iphone，也不是ipad，而是源自微软的kinect。</em></p>
<p>&nbsp;</p>
<p>Kinect已经用于医院、儿童、超市等领域，</p>
<p>而如何和WEB交互？</p>
<p>这是以技术领先的Zoomla!逐浪CMS以及无数同行的使命，</p>
<p>我们将不断的深化相应研发，推进相关工作。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>附：基于Kinect体感软件研发与Zoomla!逐浪CMS研发成果展示</p>
<p>
	<a href="http://www.zoomla.cn/corp/video/1839.shtml">http://www.zoomla.cn/corp/video/1839.shtml</a></p>
<div id="topcontrol" style="right: 5px; bottom: 5px; position: fixed; cursor: pointer; opacity: 1;" title="鐐瑰嚮鍥炲埌椤堕儴锛�">
	<img original="/App_Themes/UserThem/images/up.jpg" src="/App_Themes/UserThem/images/up.jpg" style="width: 18px; height: 58px;" /></div>',N'admin')
INSERT [ZL_C_Announce] ([ID],[content],[author]) VALUES ( 2,N'<p>
	全世界有多少种语言？</p>
<p>我们无法详细调查。</p>
<p>&nbsp;</p>
<p>但据权威统计，全世界的小语种语言正面临着死亡的威胁。</p>
<p>&nbsp;</p>
<p>这个星球因为差异而美丽，</p>
<p>全球化却让语言之美黯然失色。</p>
<p>nbsp;</p>
<p>而从Zoomla!逐浪CMS5.5SP1版起（现已向商业用户投递），</p>
<p>我们将支持多语言。</p>
<p>&nbsp;</p>
<p>首批支持的语言包括：</p>
<p>
中文简体</p>
<p>
中文繁体</p>
<p>英语-美国</p>
<p>法语</p>
<p>德语</p>
<p>意大利语</p>
<p>俄语</p>
<p>日语等七大类语言。</p>
<p>&nbsp;</p>
<p>用户不再需要为各个版本进行独立开发，而是基于语言包技术（不同于普通CMS只能切换网页语言，而是实际上的程序语言变换），</p>
<p>快速实现网站的开发应用。</p>
<p>&nbsp;</p>
<p>面向国际化的Zoomla!逐浪CMS，</p>
<p>技术创新的Zoomla!逐浪CMS，</p>
<p>欢迎广大用户加入商业客户阵营，享受VIP待遇，购买详见：</p>
<p><a href="http://www.zoomla.cn/corp/about/151.shtml">http://www.zoomla.cn/corp/about/151.shtml</a></p>',N'admin')
INSERT [ZL_C_Announce] ([ID],[content],[author]) VALUES ( 3,N'<p>
	北京时间2012年3月2日南京消息：</p>
<p>&nbsp;</p>
<p>领先的CMS厂商-Zoomla!逐浪CMS走进南京工业职业技术学院，并与国际教育学院的师生们进行良好的交流、使用培训，同时确定合作意向，将建立起包括网站开发、Web设计、体感与物联网技术研发等多个领域的合作。</p>
<p>&nbsp;</p>
<p>作为&quot;国家示范性高等职业院校建设计划&quot;首批建设28家学校之一，南京工业职业技术学院代表了当今中国最优秀的职业教育，而Zoomla!逐浪CMS始终立足于一流的中国网站内核CMS，专注于技术、服务于科技，二者有着高度的吻合，同时我们将不断的拓展与各学校、教育机构的合作，为中国教育门户网站开发与计算机教育事业做出贡献！</p>
<p>&nbsp;</p>
<p>南京工业职业技术学院最初是我国近现代著名民主革命家、社会活动家、教育家黄炎培先生于1918年在上海创办的中华职业学校--我国教育史上第一所专门从事职业教育并以&quot;职业学校&quot;冠名的学校。90年的办学历史大致分为四个阶段：1918-1952年为中华职业学校时期；1952-1960年为上海机械学校时期；1960-1999年为南京机电学校时期；1999起进入南京工业职业技术学院时期。学院先后为国家培养了八万余名各类建设和管理人才，伟大的无产阶级革命家张闻天、著名数学家华罗庚、革命烈士江竹筠就是他们中的杰出代表。</p>',N'admin')
INSERT [ZL_C_Announce] ([ID],[content],[author]) VALUES ( 4,N'<p>
	带着春的信息与全体逐浪人的智慧结晶，</p>
<p>Zoomla!逐浪CMS智能加密与同步教学系统于北京时间2012年4月16日全面发布，代表了WEB应用技术与教学教育结合的新趋势，引领国内教育软件产业的新方向。</p>
<p>nbsp;</p>
<p>
	与市面上其它同类产品相比，Zoomla！逐浪CMS智能加密与同步教学系统拥有四大优势：<br />
	<strong>一、原生态支持PPT与标准课件</strong>：标准的PPT课件不需要转成其它格式，即可以实现底层的严格加密，从而确保课件原汁原味、声色俱佳，提升教学效果。<br />
	<strong>二、硬件加密、安全可靠</strong>：基于全新的硬件加密技术，做到安全可靠，万无一失。<br />
	<strong>三、与Zoomla!逐浪CMS应用一体、无限扩展支持</strong>：避免传统软件的更新缺陷，集成Zoomla!逐浪CMS国内顶尖团队的智慧结晶，可以与WEB应用相结合，层叠更新， 即减少硬件成本，又能提升应用体你验。<br />
	<strong>四、基于最新的微软平台开发技术，彰显技术魅力</strong>：Zoomla！逐浪CMS智能加密与同步教学系统采用最新的微软高端研发技术，目前已经通过windows xp、windows 7、windows 8等版本测试，得到了完美的验证，具备良好的兼容优势与二次开发能力。</p>',N'admin')
INSERT [ZL_C_Announce] ([ID],[content],[author]) VALUES ( 5,N'<p>
	竹外桃花三两枝,<br />
	春江水暖鸭先知。<br />
	蒌蒿满地芦芽短,<br />
	正是河豚欲上时。</p>
<p>&nbsp;</p>
<p>有些食物因价格昂贵，令芸芸众生望而却步。<br />
	有些食物即使你愿意一掷千金，也不一定寻觅得到。<br />
	还有一些食物，哪怕你腰缠万贯，纵然将其无偿供奉在你面前，你也不见得敢吃。</p>
<p>同样是开拓创新，</p>
<p>力求登峰造极，</p>
<p>为中国互联网的创新和成长提供高端支持。</p>
<p>&nbsp;</p>
<p>今天的互联网同样，</p>
<p>马云&ldquo;教父&rdquo;所描绘的&ldquo;开网店就是创业&rdquo;的神话已经成为泡沫。</p>
<p>电子商务行业，</p>
<p>人人信奉&ldquo;你做什么之前首先想想腾讯会不会下手&rdquo;，</p>
<p>那么互联网创新的源泉来自哪里？</p>
<p>&nbsp;</p>
<p>Zoomla!逐浪CMS作为国内领先的网站内核系统厂商，</p>
<p>始终力求创新，</p>
<p>从独创的模型与子站应用，</p>
<p>到基于云技术的模型获取，</p>
<p>恪守以创新本质、打造开放系统，</p>
<p>专注于核心级的网站内核解决方案。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>如果我们要靠弹窗和广告来赢利，</p>
<p>五年前我们就不会这样定位产品；</p>
<p>来我们将更加力求创新，</p>
<p>纯粹的产品和技术研发之路，</p>
<p>并将在2012年上半年推出更加先进的Zoomla!逐浪CMS6.0版，</p>
<p>集成更加优秀的应用体验与功能、全新的用户界面、并集成新zoomla!逐浪CMS官网，</p>
<p>盛大发布</p>
<p>
	回馈广大用户的支持，</p>
<p>
	敬请期待！</p>',N'admin')
SET IDENTITY_INSERT [ZL_C_Announce] OFF

Go
CREATE TABLE [dbo].[ZL_C_Article] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[author] [nvarchar]  (255) NULL DEFAULT (''),
[source] [nvarchar]  (255) NULL DEFAULT (''),
[synopsis] [ntext]  NULL DEFAULT (''),
[content] [ntext]  NULL DEFAULT (''),
[Edit] [nvarchar]  (255) NULL DEFAULT (''),
[pic] [nvarchar]  (255) NULL DEFAULT (''),
[pages] [nvarchar]  (255) NULL DEFAULT (''),
[K_pages] [nvarchar]  (255) NULL DEFAULT (''))

ALTER TABLE [ZL_C_Article] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_C_Article] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_C_Article] ON
INSERT [ZL_C_Article] ([ID],[author],[source],[content],[Edit],[pic],[K_pages]) VALUES ( 1,N'admin',N'本站原创',N'<p>
&nbsp;</p>
<p>
<img alt="" border="0" src="/UploadFiles/stu/jpg/Water2012050602502847.jpg" style="cursor: pointer;" /></p>
<p align="center">
	1953：弧线机关枪</p>
<p>
	<br />
	&nbsp;</p>
<p align="center">
	&nbsp;</p>
<p align="left">
	&nbsp;</p>
<p style="text-indent: 28px; margin-top: 10px;">
	<font style="font-size: 14px;">这是一款非常符合逻辑思维但不符合实用逻辑的枪，你不可能知道它会打到哪。因此，特别适用于那些&ldquo;打哪指哪&rdquo;的家伙来用。</font></p>',N'本站编辑',N'demo/ad4.jpg',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[synopsis],[content],[Edit],[pic],[K_pages]) VALUES ( 2,N'admin',N'本站原创',N'你也来张吧！',N'
<p>围观各种奇葩情侣照 你也来张吧</p>',N'本站编辑',N'demo/ad3.jpg',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[synopsis],[content],[Edit],[pic],[K_pages]) VALUES ( 3,N'admin',N'本站原创',N'娱乐行业中的劳动模范',N'<p>
	<font size="4">正文：俗话说:三百六十行，行行出状元，任何一个行业都会有自己的劳动模范,娱乐圈自然也不例外.娱乐圈除了那些拼命三郎的男明星外,一些美女明星也是巾帼不让须眉,用辛勤与汗水打造属于自己的成功!下面娱魅力就盘点下娱乐圈那些"美女劳模"吧!</font></p>',N'本站编辑',N'demo/ad2.jpg',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[synopsis],[content],[Edit],[pic],[K_pages]) VALUES ( 4,N'admin',N'本站原创',N'代号河豚-逐浪CMS2 x1.4版发布计划,汇聚智能门户与云计算引擎的Zoomla!逐浪CMS',N'<p align="center">
	&nbsp;</p>
<p align="center">
	&nbsp;</p>
<p align="center">
	<font size="5"><font color="red"><strong>最新Zoomla！逐浪CMS汇聚智能门户与云计算引擎的Zoomla!逐浪CMS2 x1.4全面发布</strong></font></font></p>
<p align="center">
	&nbsp;</p>
<p align="center">
	<font size="5"><font color="red"><strong><strong><font color="#ff0000" size="5">每</font></strong>月最新IDC排名更新 就在华夏互联官网（<a href="http://www.hx008.com">www.hx008.com</a>）</strong></font></font></p>',N'本站编辑',N'demo/ad1.jpg',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[content],[Edit],[K_pages]) VALUES ( 14,N'admin',N'本站原创',N'<p>
	汇聚智能门户与云计算引擎的Zoomla!逐浪CMS<br />
	&nbsp;</p>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[synopsis],[content],[Edit],[K_pages]) VALUES ( 6,N'admin',N'本站原创',N'关于我们',N'<p>
	　　<br />
	<span style="color: rgb(255, 102, 0);"><span style="font-size: 12px;">三年前，我们说做CMS人家说我们是开玩笑。<br />
	二年前，我们做要做Oracle高端开发，人家以为我们是痴人说梦。<br />
	一年前，我们说要做独立知识产权高端站群系统，别人以为是笑话。<br />
	现在，这一切都是现实&hellip;&hellip;<br />
	--2008年的&ldquo;发哥&rdquo;，反复重复这几句话。<br />
	--今天读这些话，理想已实现而梦想还很遥远。</span></span></p>
<p>
	&nbsp;</p>
<p>
	<span style="color: rgb(255, 102, 0);"><span style="font-size: 12px;">在我们的开发团队中，<br />
	我们亲切的称男生为&ldquo;华仔&rdquo;--因为我们来自华夏互联的核心开发体系；<br />
	我们亲切的称女生为&ldquo;浪花&rdquo;--因为每天开心、积极向上是我们的生命态度。</span></span></p>
<p>
	&nbsp;</p>
<p>
	<span style="color: rgb(255, 102, 0);"><span style="font-size: 12px;">随便找一家网吧，所有的系统都是打着&lsquo;长沙明智&rsquo;、&lsquo;湖南斯普林&rsquo;字样--湖南比江西强；<br />
	武汉华中重镇，统领华中，IT产业规模远远超过江西；<br />
	南有深圳广州领衔全国，每年江西学子趋之若鹜；<br />
	往东不说上海，杭州作为&ldquo;中国互联网之都&rdquo;亦仅望其项背；<br />
	所有一切说明江西的软件研发水平是最低的、<br />
	所有一切说明我们处于整个产业盆地的最低谷！<br />
	--我们从来都是以此锥股前行。<br />
	<br />
	直到今天我们在中国IT与软件最高地上海成立全资公司、<br />
	直到今天我们问鼎中国软件研发最核心动脉浦东创业，<br />
	上海+南昌两大研发团队、两大全资公司集团化运作，<br />
	脚比路更长、站着浙赣线丈量世界，<br />
	还是我们的信条，<br />
	因为我们矢志：做中国最好的CMS与WEB研发厂商！</span></span><br />
	&nbsp;</p>
<p>
	　　&ldquo;追逐未来、只争第一&rdquo;--上海逐一软件科技有限公司旗下拥有逐浪软件、华夏互联、华夏营销网三大门户，集有上海、南昌两大全资集团化研发公司，逾十年网站开发与解决方案服务经验，服务包括政府、军工、外企、世界五百强企业和诸多本土站长，致力于打造最优秀的网站内核管理系统，是目前国内最大的CMS研发法人机构，其规模远远超过四川腹地、佛山大良等诸地同行厂商。<br />
	　　逐浪&reg;CMS作为国内顶尖、华中地区（苏、浙、皖、湘、鄂、豫、赣）唯一自主知识产权的网站管理系统（CMS）开发商，独有的&ldquo;沙箱&rdquo;开发理念，赢得了高端用户和开发者推崇，完全开放的软件体制更是行业翘楚。<br />
	　　目前Zoomla!逐浪CMS已经具备内容管理、商城、网店、站群、OA、文档输出、FLEX、社区、公会、CRM、项目管理等多个模块，且是国内唯一同步提供MSSQL与Oracle两大数据库计算的高端CMS厂商，也是国内首家通过ISO9001国际质量标准体系认证的网站内容内核管理系统服务商。Zoomla!逐浪CMS采用模板与数据完全剥离、独有的沙箱开发思想，面向中国特色的业务流程功能服务，并利用自主的Z-power模板引擎体系，为用户提供了节点无限生成、可多库并存、自由设计、可视化风格操作的网站开发新体验。<br />
	　　更重要的是，逐浪CMS在注重模板应用和视觉体系的同时，摒弃传统的&ldquo;为了模板而套模板&rdquo;的思维，将所有的节点功能完全开放，用户可以自由组织系统架构和应用体系，最大化的解放了站长与开发者的精力，让用户关心核业务处理，把一切面向用户开放，成就客户，共荣发展。</p>
<div>
	　　我们只专注WEB研发，<br />
	　　我们只专注为企业和门户提供服务，<br />
	　　我们只乐于数据处理和面向开发者服务。<br />
	　　我们不是&ldquo;专注于政务&rdquo;的系统集成商，<br />
	　　我们不是&ldquo;开公司找&lsquo;风投&rsquo;&rdquo;的所谓公司。<br />
	　　我们只是一个严谨开发的软件厂商，<br />
	　　我们只是在乎每一个细节的执行和Case的攻克破茧，<br />
	　　我们只为理想和事业追逐未来，<br />
	　　让我们一同进入Zoomla!逐浪CMS的自由开发世界。</div>
<div>WEB未来由我们构建！</div>
<div>
	&nbsp;</div>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[synopsis],[content],[Edit],[K_pages]) VALUES ( 10,N'admin',N'本站原创',N'dfd',N'<p>
	df</p>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[content],[Edit],[K_pages]) VALUES ( 11,N'admin',N'本站原创',N'<p>
	ddd</p>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[content],[Edit],[K_pages]) VALUES ( 12,N'admin',N'本站原创',N'<p>
	sssssssssss</p>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[content],[Edit],[K_pages]) VALUES ( 13,N'admin',N'本站原创',N'<p>
	sds</p>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[content],[Edit],[K_pages]) VALUES ( 15,N'admin',N'本站原创',N'<p>
	&nbsp;融聚移动应用与桌面软件平台<br />&nbsp;</p>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[content],[Edit],[K_pages]) VALUES ( 16,N'admin',N'本站原创',N'<p>
	多门户子站切换系统<br />&nbsp;</p>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[content],[Edit],[K_pages]) VALUES ( 17,N'admin',N'本站原创',N'<p>
	千万级数据库负载测试级别<br />&nbsp;</p>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[synopsis],[content],[Edit],[pic],[K_pages]) VALUES ( 18,N'admin',N'本站原创',N'逐浪软件可以自由的更换界面深受站长的喜爱，这一切而且是免费的...',N'<p>
	云台百套模板智能切换<br />&nbsp;</p>',N'本站编辑',N'demo/ad1.jpg',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[content],[Edit],[K_pages]) VALUES ( 7,N'admin',N'本站原创',N'<p>
	<strong>逐浪软件上海研发中心</strong><br />
	公司地址：上海市浦东新区东方路1881弄东方城市花园79号703#<br />售前咨询：021-50391046 50391047 13918895839</p><div>
	传真FAX：021-50391047-8009</div><div>
	邮编：200122<br />
	[轨道交通六号线到临沂新村站下车，往东三里桥方向步行十分钟左右即可]</div>
<div>
	[轨道交通七号线到杨高南路站下车，往东三里桥方向步行两分钟左右即可]</div>
<div>&nbsp;</div><div>
	<strong>逐浪软件南昌研发中心</strong>
	<div>
		<strong>地址：</strong>南昌市站前路96号天集大厦14F（老福山往东南昌银行大楼）</div>
	<div>
		<strong>电话：</strong>0791-86161900 86161700<br />
		<strong>7&times;24小时客户服务热线：</strong>13177777714 / 13816455553</div>
	<div>
		<strong>邮编：</strong>330002<br />
		企业推广与建站请咨询<strong>品牌建站专家热线:13177777714</strong><br />
		传真：0791-86161900-8009</div>
	<div>
		<div style="text-align: left;">
			南昌市内各路公交均直达。</div>
	</div>
	<p>
		&nbsp;</p>
	<p>
		咨询QQ：69250566 184886758 745151353 515846139 544472213 779630567 785782963 184886759<br />
		MSN：<a href="msnim:chat?contact=wzff_3@hotmail.com" target="_blank" title="">wzff_3@hotmail.com</a><br />
		E-mail：<a href="mailto:web@hx008.com">web@hx008.com</a></p>
	<div>
		<a href="http://www.v.hx008.com/member.php?module=mysupport"><strong><font color="#ff0000">商业认证用户售后服务中心</font></strong></a>[<a href="http://www.v.hx008.com/register.php">点此注册</a>]<br />
		<a href="http://2009.hx008.com/guestbook/"><strong>非商业认证用户开放服务中心</strong></a>[<a href="http://2009.hx008.com/Reg/User_Reg.asp">点此注册</a>]<br />
		<br />
		&rarr;<a href="http://2009.hx008.com/Article/class7/help7/200609/563.shtml">售后服务支持流程请点这里&gt;&gt;</a><br />
		&rarr;<a href="http://2009.hx008.com/Article/class7/help7/200607/705.shtml">关于不把MSN或QQ作为首要售后服务支持的说明</a></div>
	<div>
		&nbsp;</div>
	<p>
		&nbsp;</p>
	<div align="left">
		<span style="font-size: 9pt;"><strong>About [www.zoomla.cn]</strong></span></div>
	<div align="left">
		<strong>Company Name:</strong> Jiangxi Joined Industries CO.,LTD</div>
	<div align="left">
		<span style="font-size: 9pt;"><strong>Address:</strong><span style="color: rgb(102, 102, 102); font-size: 9pt;">502Rooms,the second units of 28 buliding,Rong Chang Xinyuan district,NO.139 South Jiangda Road,NanChang City,Jiangxi</span><span style="color: rgb(97, 97, 97); font-size: 8.5pt;"> Province, P.R.China</span><span style="color: rgb(102, 102, 102); font-size: 9pt;">.</span></span><br />
		<strong>Zip code:</strong> 330002<br />
		<strong>Tel:</strong>021-50391046 50391047 0791-86161900,86161700</div>
	<div align="left">
		<strong>Fax:</strong>0791-86161900</div>
	<div align="left">
		<strong>Website:</strong>www.zoomla.cn</div>
	<div align="left">
		<strong>E-mail:</strong>web@zoomla.cn</div>
	<div align="left">
		&nbsp;</div>
	<div align="left">
		&nbsp;</div>
	<div align="left">
		[提示：我们致力于推进繁荣正直的永续实体研发企业，并无任何融资或借贷计划，请风投企业勿扰]</div>
</div>
<p>
	&nbsp;</p>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[content],[Edit],[K_pages]) VALUES ( 8,N'admin',N'本站原创',N'<p>
	　</p>
<p>
	<font color="#0089f7">本声明适用于您使用逐浪软件(以下简称&quot;本网站&quot;)所提供的各种工具和服务(以下简称&quot;服务&quot;)。</font><br />
	&nbsp;</p>
<p>
	　 1、 总则：您通过用户注册页面进入本网站即表示您已经同意自己与本网订立本协议。本网站可随时执行全权决定更改&ldquo;条款&rdquo;。如&ldquo;条款&rdquo;有任何变更，本网将在本网站上刊载公告作为通知。经修订的&ldquo;条款&rdquo;一经在本网站上公布后，立即自动生效。<br />
	　　 2、 关于版权及言论问题：用户在使用本站系统过程中，不得发布侵犯党和国家利益的言论，不得发布泄露国家机密的言论，不得发布有损害他们声誉的言论，不得发布侵犯他人版权的言论等。用户在论坛、留言板以及个人网站上所发布、转载的文章所引起的版权问题以及因文章内包含毁谤、诋毁、攻击他人的信息等一切纠纷或后果由用户自行承担，本网概不负责。<br />
	　　 本网站尊重他人的任何权利，同时也要求我们的使用者也尊重他人之权利。本网站在适当情况下，有权自行决定删除侵犯他人权利的文章终止侵害或违反他人权利之使用者的帐号。<br />
	　　对于相关文章版权，属于原创者归作者所有，逐浪软件仅为撷取作为科研之用，并不进行任何的赢利与创收行为，作者、著作权与版所有者一旦认为侵犯权益，请第一时间通知我们，我们将立即删除并配合处理；对于作者投稿文章，我们均视作者主动授权发布与放弃稿酬行为。<br />
	　　 3、 关于经营活动：本网支持用户在使用站系统过程中，进行合法的经营，但因为用户过失所造成的后果由用户自行承担，一切未经过本网官方认可的经营活动均与本官方站点无关。<br />
	　　 4、 关于用户资料：&ldquo;您的资料&rdquo;包括您在注册、使用本站服务过程中、在任何公开信息场合或通过任何电子邮件形式，向本站或其他用户提供的任何资料。您应对&ldquo;您的资料&rdquo;负全部责任，而本站仅作为您在网上发布和刊登&quot;您的资料&quot;的被动渠道。<br />
	　　如果您在本网站注册，您同意：<br />
	　　根据本网站所刊载的会员资料表格的要求，提供关于您或贵公司的真实、准确、完整和反映当前情况的资料；<br />
	　　本网站维持并及时更新会员资料，使其保持真实、准确、完整和反映当前情况。倘若您提供任何不真实、不准确、不完整或不能反映当前情况的资料，或本网有合理理由怀疑该资料不真实、不准确、不完整或不能反映当前情况，本网站有权暂停或终止您在本网站的注册身份及资料。<br />
	　　 5、 关于帐号的安全性：在登记过程中，您将选择会员注册名和密码。您须自行负责对您的会员注册名和密码保密，且须对您在会员注册名和密码下发生的所有活动承担责任。<br />
	　　 6、 系统的版权：本网对所有开发的或合作开发的服务的知识产权拥有所有权或使用权，这些服务受到适用的知识产权、版权、商标、服务商标、专利或其他法律的保护。<br />
	　　 7、 用户利益保障：本站将定期对用户数据进行备份工作，如因为操作失误、黑客攻击以及服务器故障引起的数据损失，本网将尽可能地恢复，但这种情况下所导致的损失为不可抗拒因素，本站具有免责权利。但用户有权要求本网根据服务停止时间采取延期使用的补救措施。但如果因为本站经营不善而导致本站服务无法继续，用户有权要求本网将用户数据返还用户或者寻找其他途径以妥善解决，以保障用户合法权利。　　 　　<br />
	　　8、 逐浪软件保障会员的隐私与要求，逐浪软件遵守国际公约、中华人民共和国法律与版权规定，用户一旦注册成为逐浪软件会员，即视认可逐浪软件定期与不定期发出要约邀请、商务邮件与通知，作为官方服务的一部份存在。<br />
	　　 9、 作为商业网站开发，任何时候客户只要接触源码、内核与后台，即视认可项目开发。因QQ、MSN等即时服务的不确定性，容易造成客户信息丢失，无论任何时候我们都放弃以QQ、MSN等平台作为服务并以此为凭据的权利，我们只接受正规的传真、书面、网上业务平台提交、电子邮件即时申请服务。<br />
	　　10、 逐浪软件将动态更新、发布公告，并于本网站[网址：www.hx008.com]发布，网站公示信息作为版权与法律申明的一部份，纳入服务权益与协议约定。<br />
	　　11、 逐浪软件官网刊登信息中可能包含一部份版权不明信息，我们刊发这部份信息是用于知识性研究，如果有冒犯请随时联系我们，我们收到反馈后即立即删除。<br />
	　　12、 无论任何条件，逐浪软件优先保留法律允许范围内的最终解释权，常年法律顾问：朗秋|<a href="http://www.hx008.com/corp/1240.shtml" target="_blank">刘平律师</a>。<br />
	<br />
	<font color="#0000ff">本网站核心程序使《逐浪CMS智能建站管理系统》，更多网站建设资讯详见<a href="http://www.zoomla.cn">www.zoomla.cn</a>。</font></p>',N'本站编辑',N'0')
INSERT [ZL_C_Article] ([ID],[author],[source],[synopsis],[content],[Edit],[K_pages]) VALUES ( 9,N'admin',N'本站原创',N'鸣谢名单',N'<p>
	鸣谢名单：</p>
<p>
	Zoomla！逐浪CMS</p>
<p>
	华夏互联</p>
<p>
	上海逐一软件</p>',N'本站编辑',N'0')
SET IDENTITY_INSERT [ZL_C_Article] OFF

GO
CREATE TABLE [dbo].[ZL_C_FriendSite] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[url] [nvarchar]  (255) NULL DEFAULT (''),
[logo] [nvarchar]  (255) NULL DEFAULT (''),
[leis] [nvarchar]  (255) NULL DEFAULT (''))

ALTER TABLE [ZL_C_FriendSite] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_C_FriendSite] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_C_FriendSite] ON
INSERT [ZL_C_FriendSite] ([ID],[url],[logo],[leis]) VALUES ( 1,N'http://www.hx008.com',N'http://hx008.com/images/logo.gif',N'合作网站')
INSERT [ZL_C_FriendSite] ([ID],[url],[leis]) VALUES ( 2,N'http://www.1th.com',N'合作网站')
INSERT [ZL_C_FriendSite] ([ID],[url],[logo],[leis]) VALUES ( 3,N'http://home.hx008.com/',N'http://www.hx008.com/Template/hx008/style/images/logo.jpg',N'合作网站')
INSERT [ZL_C_FriendSite] ([ID],[url],[logo],[leis]) VALUES ( 4,N'http://www.zoomla.cn',N'http://zoomla.cn/skin/2010/images/logo.j',N'合作网站')
SET IDENTITY_INSERT [ZL_C_FriendSite] OFF

Go
CREATE TABLE [dbo].[ZL_C_Photo] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[author] [nvarchar]  (255) NULL,
[content] [ntext]  NULL,
[source] [nvarchar]  (255) NULL DEFAULT (''),
[PhotoUrlThum] [nvarchar]  (255) NULL DEFAULT (''),
[PhotoUrl] [ntext]  NULL DEFAULT (''),
[synopsis] [ntext]  NULL DEFAULT (''))

ALTER TABLE [ZL_C_Photo] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_C_Photo] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_C_Photo] ON
INSERT [ZL_C_Photo] ([ID],[author],[content],[source],[PhotoUrlThum],[PhotoUrl],[synopsis]) VALUES ( 1,N'admin',N'<p>
产品展示：</p>
<p>无限节点生成</p>
<p>一对一专家级指导</p>
<p>科技实业缔造未来</p>
<p>专业解决方案服务商</p>
<p>可卸式自由模板设计</p>',N'本站原创',N'demo/ad2.jpg',N'图片地址1|http://www.zoomla.cn/skin/default/productshow1.jpg$图片地址2|http://www.zoomla.cn/skin/default/productshow2.jpg$图片地址3|http://www.zoomla.cn/skin/default/productshow3.jpg$图片地址4|http://www.zoomla.cn/skin/default/productshow4.jpg$图片地址5|http://www.zoomla.cn/skin/default/productshow7.jpg',N'无限节点生成、一对一专家级指导、科技实业缔造未来、专业解决方案服务商、可卸式自由模板设计')
SET IDENTITY_INSERT [ZL_C_Photo] OFF

GO
CREATE TABLE [dbo].[ZL_C_RedirectLink] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[RedirectLink] [nvarchar]  (255) NULL DEFAULT (''))

ALTER TABLE [ZL_C_RedirectLink] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_C_RedirectLink] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_C_RedirectLink] ON
INSERT [ZL_C_RedirectLink] ([ID],[RedirectLink]) VALUES ( 1,N'http://www.zoomla.cn/mtv/')
INSERT [ZL_C_RedirectLink] ([ID],[RedirectLink]) VALUES ( 2,N'http://www.zoomla.cn/corp/video/1880.shtml')
SET IDENTITY_INSERT [ZL_C_RedirectLink] OFF

GO
CREATE TABLE [dbo].[ZL_C_soft] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[source] [nvarchar]  (255) NULL DEFAULT (''),
[explain] [ntext]  NULL DEFAULT (''),
[content] [ntext]  NULL DEFAULT (''),
[Edit] [nvarchar]  (255) NULL DEFAULT (''),
[Soft_pic] [nvarchar]  (255) NULL DEFAULT (''),
[DownUrlthum] [nvarchar]  (255) NULL DEFAULT (''),
[DownUrl] [ntext]  NULL DEFAULT ('')
)
ALTER TABLE [ZL_C_soft] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_C_soft] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_C_soft] ON
INSERT [ZL_C_soft] ([ID],[source],[explain],[content],[Edit],[Soft_pic],[DownUrl]) VALUES ( 1,N'本站原创',N'《福地》写一百年来，王兴一家三代在大沙漠里追寻一个名叫“紫城”的的地方。只有到了紫城，才能活得幸福。他们在追寻紫城的过程中，表现出异乎寻常的顽强意志和牺牲精神。为了走紫城，王家第一代王兴葬身茫茫沙海；为了走紫城，王家第二代王孚宁肯娶一个嫁过人的佣人为妻，只因为佣人能为他生下儿子；为了走紫城，王孚美丽漂亮的妹妹王幻幻忍痛放弃最心爱的恋人杨二狗，嫁给丑陋不堪却身体强健的陈老大；为了走紫城，王孚不惜动用家法，活活烧死反',N'<p>
《福地》写一百年来，王兴一家三代在大沙漠里追寻一个名叫&ldquo;紫城&rdquo;的的地方。只有到了紫城，才能活得幸福。他们在追寻紫城的过程中，表现出异乎寻常的顽强意志和牺牲精神。为了走紫城，王家第一代王兴葬身茫茫沙海；为了走紫城，王家第二代王孚宁肯娶一个嫁过人的佣人为妻，只因为佣人能为他生下儿子；为了走紫城，王孚美丽漂亮的妹妹王幻幻忍痛放弃最心爱的恋人杨二狗，嫁给丑陋不堪却身体强健的陈老大；为了走紫城，王孚不惜动用家法，活活烧死反对走紫城的二儿子王仁&hellip;&hellip;</p>
<p>改革开放后，王家第三代王颖又成为新的暴发户。面对现代化优裕便捷的生活，王颖依然感到不幸福，依然感到彷徨和失落，他日思夜梦向往的，依然是沙漠深处的那座紫城。最后，他亲手杀死因吸毒而败家的儿子，又到大沙漠里追寻那座神圣的紫城去了。</p>',N'本站编辑',N'http://vipbook.sinaedge.com/bookcover/tiny85/215/cover_85f34d57ddd0837da51f94e9bd008e7e.jpg',N'图片地址1|http://vipbook.sinaedge.com/bookcover/tiny85/215/cover_85f34d57ddd0837da51f94e9bd008e7e.jpg')
SET IDENTITY_INSERT [ZL_C_soft] OFF

GO
CREATE TABLE [dbo].[ZL_C_video] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[author] [nvarchar]  (255) NULL DEFAULT (''),
[source] [nvarchar]  (255) NULL DEFAULT (''),
[synopsis] [ntext]  NULL DEFAULT (''),
[content] [ntext]  NULL DEFAULT (''),
[url] [nvarchar]  (255) NULL DEFAULT (''),
[pic] [nvarchar]  (255) NULL DEFAULT (''),
[Edit] [nvarchar]  (255) NULL DEFAULT (''))

ALTER TABLE [ZL_C_video] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_C_video] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_C_video] ON
INSERT [ZL_C_video] ([ID],[author],[source],[synopsis],[content],[url],[pic],[Edit]) VALUES ( 1,N'admin',N'本站原创',N'逐浪软件',N'<p>
逐浪软件</p>',N'http://www.zoomla.cn/down/zoomla_video.flv',N'3D/200912/200912111913258191.jpg',N'本站编辑')
SET IDENTITY_INSERT [ZL_C_video] OFF

GO
CREATE TABLE [dbo].[ZL_C_Info] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[lxr] [nvarchar]  (255) NULL DEFAULT (''),
[tel] [nvarchar]  (255) NULL DEFAULT (''),
[qq] [nvarchar]  (255) NULL DEFAULT (''),
[content] [ntext]  NULL DEFAULT (''),
[addr] [nvarchar]  (255) NULL DEFAULT (''),
[slPic] [nvarchar]  (255) NULL DEFAULT (''),
[pics] [ntext]  NULL DEFAULT (''),
[synopsis] [ntext]  NULL DEFAULT (''))

ALTER TABLE [ZL_C_Info] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_C_Info] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_C_Info] ON
INSERT [ZL_C_Info] ([ID],[lxr],[tel],[qq],[content],[addr],[slPic],[synopsis]) VALUES ( 1,N'登峰文化传媒',N'13556666660',N'1202121245',N'<p>
	景德镇登峰文化传媒有限公司，是一家秉承了工艺美院深厚的学术文化，激发学生社会实践的青春热情，整合校园内部优质资源为的商业生产力。开创一条&ldquo;教以致才，学以致用，商以致功&rdquo;的新型商业营销模式。公司致力于为企业及个人提供专业化、个性化、市场化的视觉营销服务，以帮助客户从容应对须臾万变的现代营销市场&hellip;&hellip;<br />
	联系我时，请说是在景德镇为民网上看到的，谢谢！</p>',N'北京市|北京辖区|西城区',N'http://vipbook.sinaedge.com/bookcover/tiny85/215/cover_85f34d57ddd0837da51f94e9bd008e7e.jpg',N'景德镇登峰文化传媒有限公司，是一家秉承了工艺美院深厚的学术文化，激发学生社会实践的青春热情，整合校园内部优质资源为的商业生产力。开创一条“教以致才，学以致用，商以致功”的新型商业营销模式。公司致力于为企业及个人提供专业化、个性化、市场化的视觉营销服务，以帮助客户从容应对须臾万变的现代营销市场……')
INSERT [ZL_C_Info] ([ID],[lxr],[tel],[qq],[content],[addr],[slPic],[pics]) VALUES ( 2,N'魏先生',N'13556666660',N'1032542421',N'<p>
&nbsp;</p>
<p>本人出售自用私家车07年吉利自由舰，银灰色，车况良好，售价2万，非诚勿扰。<br />
	联系我时，请说是在景德镇为民网上看到的，谢谢！</p>',N'江西省|南昌市|东湖区',N'jlxx/jpg/2012/5/2012050710494995340.jpg',N'图片地址1|jlxx/jpg/2012/5/2012050710494995340.jpg')
INSERT [ZL_C_Info] ([ID],[lxr],[tel],[qq],[content],[addr],[slPic],[synopsis]) VALUES ( 8,N'yansh',N'0791-8303888',N'1032542421',N'<p>
	二手房新想dd二手房新想dd二手房新想dd二手房新想dd二手房新想dd二手房新想dd</p>
<p>二手房新想dd二手房新想dd二手房新想dd二手房新想dd二手房新想dd二手房新想dd</p>
<p>二手房新想dd二手房新想dd二手房新想dd二手房新想dd二手房新想dd二手房新想dd</p>',N'北京市|北京辖区|东城区',N'http://vipbook.sinaedge.com/bookcover/tiny85/215/cover_85f34d57ddd0837da51f94e9bd008e7e.jpg',N'二手房新想dd二手房新想dd二手房新想dd二手房新想dd二手房新想dd二手房新想dd')
INSERT [ZL_C_Info] ([ID],[lxr],[tel],[qq],[content],[addr],[slPic],[synopsis]) VALUES ( 9,N'zoomla',N'0791-8303888',N'1032542421',N'<p>
	是对方是否</p><p>是对方是否</p>
<p>是对方是否</p>
<p>是对方是否</p>
<p>是对方是否</p>',N'北京市|北京辖区|东城区',N'demo/ad1.jpg',N'是对方是否')
SET IDENTITY_INSERT [ZL_C_Info] OFF

 CREATE TABLE [dbo].[ZL_Page_Content] (  [ID] [int] IDENTITY (1, 1) NOT NULL , [Content] [ntext] NULL )
 ALTER TABLE [dbo].[ZL_Page_Content] WITH NOCHECK ADD CONSTRAINT [DF_ZL_Page_Content_Content] DEFAULT ('') FOR [Content],CONSTRAINT [PK_ZL_Page_Content] PRIMARY KEY  NONCLUSTERED ( [ID] )

CREATE TABLE [dbo].[ZL_U_comp] (  [ID] [int] IDENTITY (1, 1) NOT NULL ,  [UserID] [int] NOT NULL , [UserName] [varchar] (255) NULL ,  [Styleid] [int] NULL , [Recycler] [bit] NULL , [IsCreate] [bit] NULL , [NewTime] [datetime]  NULL , [name] [nvarchar] (255) NULL , [time] [nvarchar] (255) NULL , [info] [ntext] NULL , [jobs] [nvarchar] (255) NULL )
 ALTER TABLE [dbo].[ZL_U_comp] WITH NOCHECK ADD CONSTRAINT [DF_ZL_U_comp_UserID] DEFAULT (null) FOR [UserID],CONSTRAINT [DF_ZL_U_comp_Styleid] DEFAULT (0) FOR [Styleid],CONSTRAINT [DF_ZL_U_comp_Recycler] DEFAULT (0) FOR [Recycler],CONSTRAINT [DF_ZL_U_comp_IsCreate] DEFAULT (0) FOR [IsCreate],CONSTRAINT [DF_ZL_U_comp_name] DEFAULT ('') FOR [name],CONSTRAINT [DF_ZL_U_comp_time] DEFAULT ('') FOR [time],CONSTRAINT [DF_ZL_U_comp_info] DEFAULT ('') FOR [info],CONSTRAINT [DF_ZL_U_comp_jobs] DEFAULT ('是') FOR [jobs],CONSTRAINT [PK_ZL_U_comp] PRIMARY KEY  NONCLUSTERED ( [ID] )

 CREATE TABLE [dbo].[ZL_U_jl] (  [ID] [int] IDENTITY (1, 1) NOT NULL ,  [UserID] [int] NOT NULL , [UserName] [varchar] (255) NULL ,  [Styleid] [int] NULL , [Recycler] [bit] NULL , [IsCreate] [bit] NULL , [NewTime] [datetime]  NULL , [jiguan] [nvarchar] (255) NULL , [hukou] [nvarchar] (255) NULL , [zhuanye] [nvarchar] (255) NULL , [zhiwei] [nvarchar] (255) NULL , [name] [nvarchar] (255) NULL , [sex] [nvarchar] (255) NULL )
 ALTER TABLE [dbo].[ZL_U_jl] WITH NOCHECK ADD CONSTRAINT [DF_ZL_U_jl_UserID] DEFAULT (null) FOR [UserID],CONSTRAINT [DF_ZL_U_jl_Styleid] DEFAULT (0) FOR [Styleid],CONSTRAINT [DF_ZL_U_jl_Recycler] DEFAULT (0) FOR [Recycler],CONSTRAINT [DF_ZL_U_jl_IsCreate] DEFAULT (0) FOR [IsCreate],CONSTRAINT [DF_ZL_U_jl_jiguan] DEFAULT ('') FOR [jiguan],CONSTRAINT [DF_ZL_U_jl_hukou] DEFAULT ('') FOR [hukou],CONSTRAINT [DF_ZL_U_jl_zhuanye] DEFAULT ('') FOR [zhuanye],CONSTRAINT [DF_ZL_U_jl_zhiwei] DEFAULT ('') FOR [zhiwei],CONSTRAINT [DF_ZL_U_jl_name] DEFAULT ('') FOR [name],CONSTRAINT [DF_ZL_U_jl_sex] DEFAULT ('') FOR [sex],CONSTRAINT [PK_ZL_U_jl] PRIMARY KEY  NONCLUSTERED ( [ID] )

 CREATE TABLE [dbo].[ZL_U_zp] (  [ID] [int] IDENTITY (1, 1) NOT NULL ,  [UserID] [int] NOT NULL , [UserName] [varchar] (255) NULL ,  [Styleid] [int] NULL , [Recycler] [bit] NULL , [IsCreate] [bit] NULL , [NewTime] [datetime]  NULL , [name] [varchar] (255) NULL , [edu] [varchar] (255) NULL , [shi] [varchar] (255) NULL , [menoy] [nvarchar] (255) NULL )
 ALTER TABLE [dbo].[ZL_U_zp] WITH NOCHECK ADD CONSTRAINT [DF_ZL_U_zp_UserID] DEFAULT (null) FOR [UserID],CONSTRAINT [DF_ZL_U_zp_Styleid] DEFAULT (0) FOR [Styleid],CONSTRAINT [DF_ZL_U_zp_Recycler] DEFAULT (0) FOR [Recycler],CONSTRAINT [DF_ZL_U_zp_IsCreate] DEFAULT (0) FOR [IsCreate],CONSTRAINT [DF_ZL_U_zp_menoy] DEFAULT ('') FOR [menoy],CONSTRAINT [PK_ZL_U_zp] PRIMARY KEY  NONCLUSTERED ( [ID] )

SET IDENTITY_INSERT [ZL_Model] ON
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 1,N'公告',N'发布简明信息',N'ZL_C_Announce',N'公告',N'条',N'glyphicon glyphicon-list-alt',N'内容页/默认公告内容页.html',1,1,0,1,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 2,N'文章模型',N'用于装载常见的文章信息，如文章、新闻、资讯等。',N'ZL_C_Article',N'文章',N'篇',N'glyphicon glyphicon-list',N'内容页/两列式标准内容页.html',1,1,0,1,0,1)
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 3,N'图库模型',N'可发布图文并茂的信息，并通过丰富的图片展示分享网络的乐趣。',N'ZL_C_Photo',N'图片',N'张',N'glyphicon glyphicon-tree-conifer',N'内容页/默认图库模型内容页.html',1,1,0,1,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 4,N'下载模型',N'基于文件发布与资源共享的功能，并可进行下载收费等二次开发。',N'ZL_C_soft',N'软件',N'个',N'glyphicon glyphicon-save',N'内容页/默认下载模型内容页.html',1,1,0,1,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 5,N'转向链接模型',N'访客点击此模型下信息，则跳入指定第三方链接，便于流量管理。',N'ZL_C_RedirectLink',N'跳转',N'个',N'glyphicon glyphicon-link',N'内容页/默认转向链接模型内容页.html',1,1,0,1,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 6,N'商品模型',N'建立起商品模型用于销售，开展网上电子业务。',N'ZL_P_Shop',N'商品',N'件',N'glyphicon glyphicon-shopping-cart',N'内容页/默认商品模型内容页.html',2,1,0,1,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 7,N'视频模型',N'基于FLV等类型的视频发布系统，高速视频抢占信息时代之商机。',N'ZL_C_video',N'视频',N'个',N'glyphicon glyphicon-film',N'内容页/默认视频模型内容页.html',1,1,0,1,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 8,N'友情链接',N'通过与网民交换友情链接，提升网站PR值和友好的互访机制。',N'ZL_C_FriendSite',N'网站',N'个',N'glyphicon glyphicon-hand-right',N'内容页/默认友情链接内容页.html',1,1,0,1,0,0)

INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 9,N'默认申请样式',N'默认申请样式',N'ZL_Reg_Page',10,0,0,0,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 10,N'企业信息',N'ZL_U_comp',N'信息',N'条',N'glyphicon glyphicon-euro',3,0,0,0,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 11,N'招聘信息',N'提供给企业用户发布招聘信息',N'ZL_U_ZP',N'信息',3,1,0,0,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 12,N'个人简历',N'提供给个人用户录入',N'ZL_U_jl',N'信息',3,0,0,0,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 17,N'留言文章投票的模型',N'ZL_Pub_WZTP',N'留言',N'条',N'glyphicon glyphicon-align-center',N'/互动模板/默认留言文章投票模板.html',7,1,0,1,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 18,N'问券在线调查的模型',N'ZL_Pub_ZXDC',N'问券',N'条',N'glyphicon glyphicon-file',N'/互动模板/默认问券在线调查模板.html',7,0,0,0,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 19,N'信息模型',N'ZL_C_Info',N'信息',N'条',N'glyphicon glyphicon-align-justify',N'内容页/默认信息模型内容页.html',1,1,0,1,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 20,N'店铺商品',N'ZL_S_shop',N'商品',N'件',N'glyphicon glyphicon-home',N'内容页/默认店铺商品内容页.html',5,1,0,1,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 21,N'留言提问的模型',N'ZL_Pub_TW',N'留言',N'条',N'glyphicon glyphicon-align-center',N'/互动模板/默认留言提问模板.html',7,0,0,0,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 22,N'评论问题回答的模型',N'ZL_Pub_WTHD',N'评论',N'条',N'glyphicon glyphicon-align-center',N'/互动模板/默认评论问题回答模板.html',7,0,0,0,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 23,N'评论最佳答案的模型',N'ZL_Pub_ZJDA',N'评论',N'条',N'glyphicon glyphicon-align-center',N'/互动模板/默认评论最佳答案模板.html',7,0,0,0,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Islotsize]) VALUES ( 24,N'店铺申请',N'ZL_Store_reg',N'店铺',N'个',N'glyphicon glyphicon-shopping-cart',N'内容页/默认店铺申请内容页.html',6,1,0,1,0,0)
INSERT [ZL_Model] ([ModelID],[ModelName],[Description],[TableName],[ItemName],[ItemUnit],[ItemIcon],[ContentTemplate],[ModelType],[MultiFlag],[NodeID],[SysModel],[FromModel],[Thumbnail],[Islotsize]) VALUES ( 25,N'文件工厂模型',N'用字段信息配合Word模板，生成新的Word文档.',N'ZL_C_Factory',N'文件工厂',N'份',N'glyphicon glyphicon-file',N'/内容页/默认文件工厂模型内容页.html',1,1,0,1,0,1,0)

SET IDENTITY_INSERT [ZL_Model] OFF

SET IDENTITY_INSERT [ZL_ModelField] ON
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1,0,N'Title',N'内容标题',1,0,N'TextType',0,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 2,0,N'NodeID',N'所属节点',1,0,N'TextType',1,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 3,0,N'SpecialID',N'所属专题',0,0,N'TextType',2,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 4,0,N'InfoID',N'其他节点',0,0,N'TextType',3,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 5,0,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 6,0,N'Hits',N'点击数',0,0,N'NumType',5,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 7,0,N'GeneralID',N'内容ID',0,0,N'TextType',6,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 8,0,N'Tagkey',N'关键字',0,0,N'TextType',7,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 9,0,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 10,0,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 12,0,N'IsCreate',N'是否已生成',0,0,N'NumType',10,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 13,0,N'InPuter',N'录入者',0,0,N'TextType',11,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 14,0,N'Status',N'状态',0,0,N'NumType',12,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 15,0,N'UpDateTime',N'更新时间',0,0,N'DateType',13,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 16,0,N'CreateTime',N'生成时间',0,0,N'DateType',14,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 17,0,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 18,0,N'PdfLink',N'PDF地址',0,0,N'TextType',16,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 19,0,N'tablename',N'表名',1,0,N'TextType',17,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 20,0,N'ItemID',N'表的记录',0,0,N'TextType',18,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 21,0,N'Template',N'模板',0,0,N'TextType',19,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 22,0,N'Subtitle',N'副标题',0,0,N'TextType',20,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 23,0,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 24,0,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 25,0,N'TitleStyle',N'标题样式',0,0,N'TextType',23,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 26,1,N'Title',N'公告标题',1,0,N'TextType',N'TitleSize=30,IsPassword=text,DefaultValue=',0,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 27,1,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 28,1,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 29,1,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 30,1,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 31,1,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 32,1,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 33,1,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 34,1,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 35,1,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 36,1,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 37,1,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 38,1,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 39,1,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 40,1,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 41,1,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 42,1,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 43,1,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 44,1,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 45,1,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 46,1,N'Subtitle',N'副标题',0,0,N'TextType',20,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 47,1,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 48,1,N'FirstNodeID',N'根节点ID',0,0,N'NumType',20,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 49,1,N'TitleStyle',N'标题样式',0,0,N'TextType',21,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 50,1,N'content',N'公告内容',0,0,N'MultipleHtmlType',N'Width=715,Height=400,IsEditor=3',22,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 51,1,N'author',N'发布者',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue={nowuser}',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 52,2,N'Title',N'内容标题',1,0,N'TextType',N'TitleSize=30,IsPassword=text,DefaultValue=',0,1,0,1,1,0,0,0,1,0,1,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 53,2,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 54,2,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 55,2,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 56,2,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 57,2,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 58,2,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 59,2,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 60,2,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 61,2,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 62,2,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 63,2,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 64,2,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 65,2,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 66,2,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 67,2,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 68,2,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 69,2,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 70,2,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 71,2,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 72,2,N'Subtitle',N'副标题',0,0,N'TextType',20,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 73,2,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 74,2,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 75,2,N'TitleStyle',N'标题样式',0,0,N'TextType',23,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 76,2,N'author',N'作者',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue={nowuser}',20,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 77,2,N'source',N'来源',1,0,N'OptionType',N'1=本站原创|本站原创$0||网络摘抄|网络摘抄$0||网友投稿|网友投稿$0,Property=True,Default=',21,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 78,2,N'synopsis',N'简介',0,0,N'MultipleTextType',N'Width=715,Height=80',22,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 79,2,N'content',N'内容',1,0,N'MultipleHtmlType',N'Width=715,Height=400,IsEditor=3',23,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 80,2,N'Edit',N'责任编辑',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=本站编辑',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 81,2,N'pic',N'附属图片',0,0,N'PicType',N'Warter=0,MaxPicSize=102400,PicFileExt=jpg|gif|bmp|jpeg|png',25,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[Description],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 82,2,N'pages',N'分页字符数',N'请输入分页字符数,为空则不分页。',0,0,N'TextType',N'TitleSize=8,IsPassword=text,DefaultValue=',26,1,0,1,1,0,0,0,0,0,1,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[Description],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 83,2,N'K_pages',N'分页形式',N'如选择手动分页,则请将[PageCode/]手动分页符放到想要分页的位置即可。',0,0,N'OptionType',N'1=不分页|0$0||自动分页|1$0||手动分页|2$0,Property=True,Default=',27,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 84,3,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 85,3,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 86,3,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 87,3,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 88,3,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 89,3,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 90,3,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 91,3,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 92,3,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 93,3,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 94,3,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 95,3,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 96,3,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 97,3,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 98,3,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 99,3,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 100,3,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 101,3,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 102,3,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 103,3,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 104,3,N'Subtitle',N'副标题',0,0,N'TextType',20,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 105,3,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 106,3,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 107,3,N'TitleStyle',N'标题样式',0,0,N'TextType',23,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 108,3,N'source',N'来源',1,0,N'OptionType',N'1=本站原创|本站原创$0||佚名|佚名$0||无名氏|无名氏$0||网友投稿|网友投稿$0,Property=True,Default=',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 111,4,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 112,4,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 113,4,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 114,4,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 115,4,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 116,4,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 117,4,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 118,4,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 119,4,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 120,4,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 121,4,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 122,4,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 123,4,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 124,4,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 125,4,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 126,4,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 127,4,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 128,4,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 129,4,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 130,4,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 131,4,N'Subtitle',N'副标题',0,0,N'TextType',20,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 132,4,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 133,4,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 134,4,N'TitleStyle',N'标题样式',0,0,N'TextType',23,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 135,4,N'source',N'来源',1,0,N'OptionType',N'1=本站原创|本站原创$0||佚名|佚名$0||无名氏|无名氏$0||网友投稿|网友投稿$0,Property=True,Default=',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 136,4,N'explain',N'简介',0,0,N'MultipleTextType',N'Width=500,Height=200',25,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 137,4,N'content',N'下载说明',1,0,N'MultipleHtmlType',N'Width=715,Height=400,IsEditor=3',26,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 138,4,N'Edit',N'责任编辑',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=本站编辑',27,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 139,4,N'Soft_pic',N'软件缩略图',0,0,N'PicType',N'Warter=0,MaxPicSize=102400,PicFileExt=jpg|jpeg|bmp|gif|png',28,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 140,5,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 141,5,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 142,5,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 143,5,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 144,5,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 145,5,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 146,5,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 147,5,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 148,5,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 149,5,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 150,5,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 151,5,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 152,5,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 153,5,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 154,5,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 155,5,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 156,5,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 157,5,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 158,5,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 159,5,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 160,5,N'Subtitle',N'副标题',0,0,N'TextType',20,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 161,5,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 162,5,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 163,5,N'TitleStyle',N'标题样式',0,0,N'TextType',23,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 164,5,N'RedirectLink',N'跳转网址',1,0,N'SuperLinkType',N'TitleSize=50,DefaultValue=http://',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 165,6,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 166,6,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 167,6,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 168,6,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 169,6,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 170,6,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 171,6,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 172,6,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 173,6,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 174,6,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 175,6,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 176,6,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 177,6,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 178,6,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 179,6,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 180,6,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 181,6,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 182,6,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 183,6,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 184,6,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 185,6,N'Subtitle',N'副标题',0,0,N'TextType',20,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 186,6,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 187,6,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 188,6,N'TitleStyle',N'标题样式',0,0,N'TextType',23,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 189,6,N'is_chu',N'是否促销',0,0,N'OptionType',N'2=否||是,Property=True,Default=',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 190,7,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 191,7,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 192,7,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 193,7,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 194,7,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 195,7,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 196,7,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 197,7,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 198,7,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 199,7,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 200,7,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 201,7,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 202,7,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 203,7,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 204,7,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 205,7,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 206,7,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 207,7,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 208,7,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 209,7,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 210,7,N'Subtitle',N'副标题',0,0,N'TextType',20,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 211,7,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 212,7,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 213,7,N'TitleStyle',N'标题样式',0,0,N'TextType',23,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 214,7,N'author',N'作者',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue={nowuser}',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 215,7,N'source',N'来源',1,0,N'OptionType',N'1=本站原创|本站原创$0||网络摘抄|网络摘抄$0||网友投稿|网友投稿$0,Property=True,Default=',25,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 216,7,N'synopsis',N'简介',0,0,N'MultipleTextType',N'Width=500,Height=200',26,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 217,7,N'content',N'视频说明',0,0,N'MultipleHtmlType',N'Width=715,Height=400,IsEditor=2',27,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[Description],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 218,7,N'url',N'视频地址',N'请输入视频网址，如http://www.zoomla.cn/video.flv',1,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=http://',28,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 219,8,N'Title',N'网站名称',1,0,N'TextType',N'TitleSize=30,IsPassword=text,DefaultValue=',0,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 220,8,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 221,8,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 222,8,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 223,8,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 224,8,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 225,8,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 226,8,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 227,8,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 228,8,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 229,8,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 230,8,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 231,8,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 232,8,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 233,8,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 234,8,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 235,8,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 236,8,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 237,8,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 238,8,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 239,8,N'Subtitle',N'副标题',0,0,N'TextType',20,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 240,8,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 241,8,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 242,8,N'TitleStyle',N'标题样式',0,0,N'TextType',23,1,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 243,8,N'url',N'网址',1,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=http://',21,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[Description],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 244,8,N'logo',N'网站LOGO',N'输入网站LOGO地址',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',22,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 245,8,N'leis',N'链接类型',0,0,N'OptionType',N'1=合作网站||媒体推介||财经分享||学术研究,Property=True,Default=',20,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 250,10,N'Content',N'详细信息',0,0,N'MultipleHtmlType',N'Width=715,Height=400,IsEditor=3',0,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[Description],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 251,7,N'pic',N'缩略图',N'用于显示视频播放效果的缩图略，推荐为JPG格式。',0,0,N'PicType',N'Warter=0,MaxPicSize=102400,PicFileExt=jpg|jpeg|bmp|gif|png',25,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 252,7,N'Edit',N'责任编辑',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=本站编辑',26,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 254,10,N'name',N'企业名称',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',0,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 255,11,N'name',N'职位名称',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',0,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 256,11,N'menoy',N'薪资待遇',0,0,N'OptionType',N'1=1500以下|1500以下||1500-2000|1500-2000||2000-3000|2000-3000||3000-4000|3000-4000||4000-5000|4000-5000||5000以上|5000以上||面议|面议,Property=True,Default=',1,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 257,11,N'edu',N'学历要求',0,0,N'OptionType',N'1=不限学历|不限学历||高中以上|高中以上||中专以上|中专以上||大学以上|大学以上||更高学历|更高学历,Property=True,Default=',2,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 258,11,N'shi',N'就职形式',0,0,N'OptionType',N'1=全职|全职||兼职|兼职||家政|家政||临时工|临时工,Property=True,Default=',3,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 259,10,N'time',N'成立时间',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',1,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 260,10,N'info',N'公司简介',0,0,N'MultipleTextType',N'Width=500,Height=200',2,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 261,10,N'jobs',N'求职职位',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',3,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 262,12,N'jiguan',N'籍贯',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',2,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 263,12,N'hukou',N'户口',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',3,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 264,12,N'zhuanye',N'专业',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',4,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 265,12,N'zhiwei',N'求职职位',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',5,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 266,12,N'name',N'个人姓名',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',0,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 267,12,N'sex',N'性别',0,0,N'OptionType',N'2=男||女,Property=True,Default=',1,0,10,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 324,3,N'Content',N'图库说明',0,0,N'MultipleHtmlType',N'Width=715,Height=200,IsEditor=3',28,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 325,3,N'author',N'作者',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue={nowuser}',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 975,6,N'size',N'尺寸',0,0,N'ListBoxType',N'1=M|L|S',26,0,0,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 976,6,N'color',N'颜色',0,0,N'ListBoxType',N'1=白色|紫色|蓝色|红色',27,0,0,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 980,6,N'Nums',N'商品参数',0,0,N'ListBoxType',N'3=2008款|2008款$0||2009款|2009款$0||2010款|2010款$0||2011款|2011款$0||2012款|2012款$0',29,0,0,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1049,3,N'PhotoUrl',N'图片地址',0,0,N'SwfFileUpload',N'MaxFileSize=102400,UploadFileExt=jpg|gif|bmp|png|jpeg',29,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1050,3,N'PhotoUrlThum',N'缩略图',0,0,N'PicType',N'Warter=0,MaxPicSize=102400,PicFileExt=jpg|gif|bmp|png|jpeg',30,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1051,4,N'DownUrl',N'下载地址',0,0,N'SwfFileUpload',N'MaxFileSize=102400,UploadFileExt=rar|zip|doc|docx|xls|ppt|pptx|pps',29,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1080,6,N'picture',N'多图片',0,0,N'SwfFileUpload',N'ChkFileSize=0,FileSizeField=,MaxFileSize=102400,UploadFileExt=jpg|gif|bmp|png|jpeg',30,0,0,1,0,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1081,18,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1082,18,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1083,18,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1084,18,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1085,18,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1086,18,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1087,18,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1088,18,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1089,18,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1090,18,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1091,18,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1092,18,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1093,18,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1094,18,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1095,18,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1096,18,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1097,18,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1098,18,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1099,18,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1100,18,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1101,18,N'Subtitle',N'副标题',0,0,N'TextType',20,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1102,18,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1103,18,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1104,18,N'TitleStyle',N'标题样式',0,0,N'TextType',23,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1105,19,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1106,19,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1107,19,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1108,19,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1109,19,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1110,19,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1111,19,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1112,19,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1113,19,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1114,19,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1115,19,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1116,19,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1117,19,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1118,19,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1119,19,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1120,19,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1121,19,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1122,19,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1123,19,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1124,19,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1125,19,N'Subtitle',N'副标题',0,0,N'TextType',20,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1126,19,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1127,19,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1128,19,N'TitleStyle',N'标题样式',0,0,N'TextType',23,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1129,19,N'lxr',N'联系人',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1130,19,N'tel',N'联系电话',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',25,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1131,19,N'qq',N'QQ/MSN',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',26,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1132,19,N'content',N'详细信息',0,0,N'MultipleHtmlType',N'Width=715,Height=400,IsEditor=1',27,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1133,19,N'addr',N'所属地区',0,0,N'GradeOptionType',N'GradeCate=a,Direction=0',28,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1134,19,N'pics',N'图片上传',0,0,N'MultiPicType',N'ChkThumb=1,ThumbField=slPic,Warter=0,MaxPicSize=102400,PicFileExt=jpg|gif|bmp|png|jpeg',29,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1135,3,N'synopsis',N'简介',0,0,N'MultipleTextType',N'Width=500,Height=60',31,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1136,19,N'synopsis',N'简介',0,0,N'MultipleTextType',N'Width=500,Height=60',30,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1137,20,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1138,20,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1139,20,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1140,20,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1141,20,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1142,20,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1143,20,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1144,20,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1145,20,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1146,20,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1147,20,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1148,20,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1149,20,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1150,20,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1151,20,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1152,20,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1153,20,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1154,20,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1155,20,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1156,20,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1157,20,N'Subtitle',N'副标题',0,0,N'TextType',20,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1158,20,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1159,20,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1160,20,N'TitleStyle',N'标题样式',0,0,N'TextType',23,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1162,21,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1163,21,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1164,21,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1165,21,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1166,21,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1167,21,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1168,21,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1169,21,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1170,21,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1171,21,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1172,21,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1173,21,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1174,21,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1175,21,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1176,21,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1177,21,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1178,21,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1179,21,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1180,21,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1181,21,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1182,21,N'Subtitle',N'副标题',0,0,N'TextType',20,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1183,21,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1184,21,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1185,21,N'TitleStyle',N'标题样式',0,0,N'TextType',23,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1186,22,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1187,22,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1188,22,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1189,22,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1190,22,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1191,22,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1192,22,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1193,22,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1194,22,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1195,22,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1196,22,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1197,22,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1198,22,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1199,22,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1200,22,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1201,22,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1202,22,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1203,22,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1204,22,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1205,22,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1206,22,N'Subtitle',N'副标题',0,0,N'TextType',20,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1207,22,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1208,22,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1209,22,N'TitleStyle',N'标题样式',0,0,N'TextType',23,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1210,23,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1211,23,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1212,23,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1213,23,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1214,23,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1215,23,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1216,23,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1217,23,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1218,23,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1219,23,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1220,23,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1221,23,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1222,23,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1223,23,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1224,23,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1225,23,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1226,23,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1227,23,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1228,23,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1229,23,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1230,23,N'Subtitle',N'副标题',0,0,N'TextType',20,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1231,23,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1232,23,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1233,23,N'TitleStyle',N'标题样式',0,0,N'TextType',23,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1234,21,N'ClassLevel1',N'问题大类',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1235,21,N'ClassLevel2',N'问题小类',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',25,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1237,22,N'tuijian',N'精彩问题推荐',0,0,N'OptionType',N'1=是||否,Property=True,Default=',25,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1238,22,N'setresult',N'设为答案',0,0,N'OptionType',N'1=是||否,Property=True,Default=',26,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1239,22,N'getid',N'问题ID',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',27,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1240,22,N'textfield',N'参考资料',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',28,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1241,23,N'daid',N'答案id',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1242,23,N'getid',N'问题ID',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',25,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1243,24,N'area',N'所属地区',0,0,N'GradeOptionType',N'GradeCate=a,Direction=0',0,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1244,24,N'logo',N'店铺logo',0,0,N'PicType',N'Warter=0,MaxPicSize=102400,PicFileExt=bmp|jpg|gif|jpeg|png',1,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1245,24,N'content',N'店铺介绍',0,0,N'MultipleHtmlType',N'Width=600,Height=400,IsEditor=2',2,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1246,24,N'lxr',N'联系人',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',3,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1247,24,N'tel',N'联系方式',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',4,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1248,24,N'addr',N'详细地址',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',5,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1249,24,N'weibo',N'官方微博',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',6,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[Description],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1250,24,N'map',N'地图位置',N'200*200',0,0,N'MultipleTextType',N'Width=500,Height=80',7,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1251,24,N'tyy',N'tyy',0,0,N'MultipleHtmlType',N'Width=715,Height=400,IsEditor=2',8,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1252,14,N'ee',N'ee',0,0,N'MultipleHtmlType',N'Width=715,Height=400,IsEditor=2',0,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1253,20,N'pics',N'图片展示',0,0,N'SwfFileUpload',N'MaxFileSize=102400,UploadFileExt=jpg|gif|bmp|png|jpeg',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1254,25,N'Title',N'内容标题',1,0,N'TextType',0,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1255,25,N'NodeID',N'所属节点',1,0,N'TextType',1,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1256,25,N'SpecialID',N'所属专题',0,0,N'TextType',2,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1257,25,N'InfoID',N'其他节点',0,0,N'TextType',3,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1258,25,N'Titlecolor',N'标题颜色',0,0,N'TextType',4,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1259,25,N'Hits',N'点击数',0,0,N'NumType',5,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1260,25,N'GeneralID',N'内容ID',0,0,N'TextType',6,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1261,25,N'Tagkey',N'关键字',0,0,N'TextType',7,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1262,25,N'EliteLevel',N'推荐级别',0,0,N'NumType',8,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1263,25,N'HtmlLink',N'静态页面地址',0,0,N'TextType',9,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1264,25,N'IsCreate',N'是否已生成',0,0,N'NumType',10,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1265,25,N'InPuter',N'录入者',0,0,N'TextType',11,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1266,25,N'Status',N'状态',0,0,N'NumType',12,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1267,25,N'UpDateTime',N'更新时间',0,0,N'DateType',13,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1268,25,N'CreateTime',N'生成时间',0,0,N'DateType',14,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1269,25,N'UpDateType',N'更新时间类型',0,0,N'NumType',15,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1270,25,N'PdfLink',N'PDF地址',0,0,N'TextType',16,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1271,25,N'tablename',N'表名',1,0,N'TextType',17,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1272,25,N'ItemID',N'表的记录',0,0,N'TextType',18,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1273,25,N'Template',N'模板',0,0,N'TextType',19,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1274,25,N'Subtitle',N'副标题',0,0,N'TextType',20,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1275,25,N'PYtitle',N'拼音缩写',0,0,N'TextType',21,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1276,25,N'FirstNodeID',N'根节点ID',0,0,N'NumType',22,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1277,25,N'TitleStyle',N'标题样式',0,0,N'TextType',23,0,0,1,1,0,0,0,1,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[Description],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1278,25,N'wzbt',N'[文章标题]',N'程序会将Word模板中的"文章标题"一词，替换为用户指定的值',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=替换后的值',24,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1279,25,N'jf',N'[甲方]',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',25,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1280,25,N'yf',N'[乙方]',0,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',26,1,0,1,1,0,0,0,0,0,0,0)
INSERT [ZL_ModelField] ([FieldID],[ModelId],[FieldName],[FieldAlias],[IsNotNull],[IsSearchForm],[FieldType],[Content],[OrderId],[ShowList],[ShowWidth],[IsShow],[IsView],[IsDownField],[DownServerID],[RestoreField],[Sys_type],[IsCopy],[Islotsize],[IsChain]) VALUES ( 1281,25,N'gsmc',N'[公司名称]',1,0,N'TextType',N'TitleSize=35,IsPassword=text,DefaultValue=',27,1,0,1,1,0,0,0,0,0,0,0)
SET IDENTITY_INSERT [ZL_ModelField] OFF
 
SET IDENTITY_INSERT [ZL_MoneyManage] ON
INSERT [ZL_MoneyManage] ( [Flow] , [Money_code] , [Money_descp] , [Money_sign] , [Money_rate] , [Is_flag] ) VALUES ( 7 , 'HKD' , '港币' , 'HK＄' , 5.00000 , '0' )
INSERT [ZL_MoneyManage] ( [Flow] , [Money_code] , [Money_descp] , [Money_sign] , [Money_rate] , [Is_flag] ) VALUES ( 8 , 'CNY' , '人民币' , '￥' , 10.00000 , '0' )
INSERT [ZL_MoneyManage] ( [Flow] , [Money_code] , [Money_descp] , [Money_sign] , [Money_rate] , [Is_flag] ) VALUES ( 9 , 'RUB' , '卢布' , 'Re.' , 55.00000 , '0' )
INSERT [ZL_MoneyManage] ( [Flow] , [Money_code] , [Money_descp] , [Money_sign] , [Money_rate] , [Is_flag] ) VALUES ( 14 , 'NOK' , '挪威克朗' , '32' , .25500 , '0' )
INSERT [ZL_MoneyManage] ( [Flow] , [Money_code] , [Money_descp] , [Money_sign] , [Money_rate] , [Is_flag] ) VALUES ( 15 , 'MYR' , '马元' , 'M.＄' , .55000 , '0' )
INSERT [ZL_MoneyManage] ( [Flow] , [Money_code] , [Money_descp] , [Money_sign] , [Money_rate] , [Is_flag] ) VALUES ( 16 , 'USD' , '美元' , '$' , 10.00000 , '1' )
INSERT [ZL_MoneyManage] ( [Flow] , [Money_code] , [Money_descp] , [Money_sign] , [Money_rate] , [Is_flag] ) VALUES ( 17 , 'GBP' , '英镑' , '￡' , .25000 , '0' )
INSERT [ZL_MoneyManage] ( [Flow] , [Money_code] , [Money_descp] , [Money_sign] , [Money_rate] , [Is_flag] ) VALUES ( 18 , 'EUR' , '欧元' , '€ ' , .25500 , '0' )
INSERT [ZL_MoneyManage] ( [Flow] , [Money_code] , [Money_descp] , [Money_sign] , [Money_rate] , [Is_flag] ) VALUES ( 19 , 'TWD' , '新台币' , 'c$' , 5.00000 , '0' )
INSERT [ZL_MoneyManage] ( [Flow] , [Money_code] , [Money_descp] , [Money_sign] , [Money_rate] , [Is_flag] ) VALUES ( 20 , 'JPY' , '日元' , 'J.￥' , .50000 , '0' )
SET IDENTITY_INSERT [ZL_MoneyManage] OFF

SET IDENTITY_INSERT [ZL_Guestcate] ON
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog]) VALUES ( 1,N'用户留言',0,0,1)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog]) VALUES ( 2,N'站长互动',0,0,0)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog]) VALUES ( 3,N'互动帮助',0,0,1)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[BarInfo],[OrderID]) VALUES ( 4,N'技术专区',1,0,0,N'Recommend',0)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[BarInfo],[OrderID]) VALUES ( 5,N'生活空间',1,0,0,N'Recommend',0)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 6,N'官方服务',1,0,0,0)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 7,N'网页设计',1,4,0,2)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 8,N'资源共享',1,4,0,3)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 9,N'客服投诉',1,6,0,0)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 10,N'项目外包',1,4,0,4)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 13,N'版主会议室',1,6,1,0)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 14,N'程序人生',1,4,0,1)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 15,N'站务公告',1,6,0,2)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 16,N'地市动态',1,5,0,5)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 17,N'多彩生活',1,5,0,6)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 18,N'血拼购物',1,5,0,7)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 19,N'同城交友',1,5,0,8)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 20,N'二手置换',1,5,0,9)
INSERT [ZL_Guestcate] ([Cateid],[Catename],[GType],[ParentID],[NeedLog],[OrderID]) VALUES ( 21,N'诗书琴画',1,5,0,10)
SET IDENTITY_INSERT [ZL_Guestcate] OFF

SET IDENTITY_INSERT [ZL_Guest_Bar] ON
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 1,7,0,0,0,N'11个实用经典的SQL小贴士',N'<p>11个实用经典的SQL小贴士<br/><img src="/UploadFiles/demo/ad4.jpg" style="" title="ad4.jpg"/></p>',1,1,0,N'匿名用户',N'2015/1/15 13:45:32',N'11个实用经典的SQL小贴士<br/><p><img src="/UploadFiles/demo/ad4.jpg" style="" title="ad4.jpg"/></p><ul class=''thumbul''></ul>',',Recommend,''')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 2,7,0,0,0,N'商城网站php源码模板 时尚简约大方 支持电脑手机微信app版本',N'<p>商城网站php源码模板 时尚简约大方 支持电脑手机微信app版本<br/><img src="/UploadFiles/demo/ad3.jpg" style="" title="ad3.jpg"/></p>',1,1,0,N'匿名用户',N'2015/1/15 13:45:39',N'商城网站php源码模板时尚简约大方支持电脑手机微信app版本<br/><p><img src="/UploadFiles/demo/ad3.jpg" style="" title="ad3.jpg"/></p><ul class=''thumbul''></ul>',',Recommend,''')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 3,8,0,0,0,N'CSS的50个代码片段',N'<p>CSS的50个代码片段&nbsp;</p>',1,1,0,N'匿名用户',N'2015/1/15 13:45:45',N'CSS的50个代码片段<br/><ul class=''thumbul''></ul>',',Recommend,''')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 4,8,0,0,0,N'我是小白，怎么在一天内有自己的网站',N'<p>我是小白，怎么在一天内有自己的网站</p>',1,1,0,N'匿名用户',N'2015/1/15 13:45:53',N'我是小白，怎么在一天内有自己的网站<br/><ul class=''thumbul''></ul>','')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 5,10,0,0,0,N'JavaScript继承详解（三）',N'<p>JavaScript继承详解（三）</p>',1,1,0,N'匿名用户',N'2015/1/15 13:46:00',N'JavaScript继承详解（三）<br/><ul class=''thumbul''></ul>','')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 6,10,0,0,0,N'清新优雅鲜花店商城模板分享，支持手机+微信+app',N'<p>清新优雅鲜花店商城模板分享，支持手机+微信+app</p>',1,1,0,N'匿名用户',N'2015/1/15 13:46:07',N'清新优雅鲜花店商城模板分享，支持手机+微信+app<br/><ul class=''thumbul''></ul>','')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 7,14,0,0,0,N'JavaScript继承详解',N'<p>JavaScript继承详解&nbsp;</p>',1,1,0,N'匿名用户',N'2015/1/15 13:46:18',N'JavaScript继承详解<br/><ul class=''thumbul''></ul>','')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 8,14,0,0,0,N'Bootstrap-布局系统杂记',N'<p>Bootstrap-布局系统杂记&nbsp;</p>',1,1,0,N'匿名用户',N'2015/1/15 13:46:25',N'Bootstrap-布局系统杂记<br/><ul class=''thumbul''></ul>','')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 9,16,0,0,0,N'scrollWidth,clientWidth,offsetWidth的区别',N'<p><a href="http://bbs.zoomla.cn/showtopic-386756.aspx">scrollWidth,clientWidth,offsetWidth的区别</a>&nbsp;</p>',1,1,0,N'匿名用户',N'2015/1/15 13:46:32',N'scrollWidth,clientWidth,offsetWidth的区别<br/><ul class=''thumbul''></ul>','')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 10,16,0,0,0,N'移动web滑屏框架分享',N'<p>移动web滑屏框架分享&nbsp;</p>',1,1,0,N'匿名用户',N'2015/1/15 13:48:19',N'移动web滑屏框架分享<br/><ul class=''thumbul''></ul>','')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 11,17,0,0,0,N'推荐一个威客网，一元就可以提现了。',N'<p>推荐一个威客网，一元就可以提现了。&nbsp;</p>',1,1,0,N'匿名用户',N'2015/1/15 13:48:27',N'推荐一个威客网，一元就可以提现了。<br/><ul class=''thumbul''></ul>','')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 12,17,0,0,0,N'CSS选择器、优先级与匹配原理',N'<p>CSS选择器、优先级与匹配原理&nbsp;</p>',1,1,1,N'admin',N'2015/1/15 16:03:04',N'CSS选择器、优先级与匹配原理<br/><ul class=''thumbul''></ul>','')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 13,18,0,0,0,N'11款导航PNG源文件',N'<p>11款导航PNG源文件<br/><img src="/UploadFiles/demo/ad2.jpg" style="" title="ad2.jpg"/></p>',1,1,1,N'admin',N'2015/1/15 16:03:12',N'11款导航PNG源文件<br/><p><img src="/UploadFiles/demo/ad2.jpg" style="" title="ad2.jpg"/></p><ul class=''thumbul''></ul>',',Recommend,''')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 14,18,0,0,0,N'设计人应该知道设计中常见的劫难，和秒秒学来看看吧！',N'<p><img src="/UploadFiles/demo/ad5.jpg" style="" title="ad5.jpg"/></p><p><img src="/UploadFiles/demo/ad5.jpg" style="" title="ad5.jpg"/></p><p><img src="/UploadFiles/demo/ad5.jpg" style="" title="ad5.jpg"/></p><p><img src="/UploadFiles/demo/ad5.jpg" style="" title="ad5.jpg"/></p><p><br/></p>',1,1,1,N'admin',N'2015/1/15 16:03:54',N'<br/><ul class=''thumbul''><li class=''thumbli''><img src="/UploadFiles/demo/ad5.jpg" style="" title="ad5.jpg"/></li><li class=''thumbli''><img src="/UploadFiles/demo/ad5.jpg" style="" title="ad5.jpg"/></li><li class=''thumbli''><img src="/UploadFiles/demo/01.jpg" style="" title="01.jpg"/></li><li class=''thumbli''><img src="/UploadFiles/demo/ad5.jpg" style="" title="ad5.jpg"/></li></ul>',',Recommend,''')
INSERT [ZL_Guest_Bar] ([ID],[CateID],[Pid],[ReplyID],[ReplyUserID],[Title],[MsgContent],[MsgType],[Status],[CUser],[CUName],[CDate],[Subtitle],[PostFlag]) VALUES ( 15,19,0,0,0,N'摘一段优酷视频来自贴吧',N'<p>说点什么吧...<embed type="application/x-shockwave-flash" class="edui-faked-video" pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://player.youku.com/player.php/sid/XNTQ2NDIzNTEy/v.swf" width="420" height="280" wmode="transparent" play="true" loop="false" menu="false" allowscriptaccess="never" allowfullscreen="true"/></p>',1,1,0,N'匿名用户',N'2015/1/15 16:45:38',N'说点什么吧...<br/><ul class=''thumbul''><li class=''thumbli''><img src=''/App_Themes/Guest/images/Bar/videologo.png'' data-type=''quotevideo'' data-content=''http://player.youku.com/player.php/sid/XNTQ2NDIzNTEy/v.swf''/></li></ul>','')
SET IDENTITY_INSERT [ZL_Guest_Bar] OFF

INSERT [ZL_GroupModel] ( [GroupID] , [UserModel] ) VALUES ( 2 , 0 )
INSERT [ZL_GroupModel] ( [GroupID] , [UserModel] ) VALUES ( 1 , 15 )

 SET IDENTITY_INSERT [ZL_Group] ON
 INSERT [ZL_Group] ( [GroupID] , [GroupName] , [OtherName] , [Description] , [RegSelect] , [IsDefault] , [CCountPerDay] , [FavCount] , [ConsumeType] , [UpGradeMoney] , [CompanyGroup] , [VIPNum] , [VIPGroup] , [RebateRate] ,[ParentGroupID] ) VALUES ( 1 , '普通会员' , '普通' , '普通会员注册' , 1 , 1 , 0 , 0 , 0 , .0000 , 0 , 0 , 0 , 0.69999998807907104 , 0 )
 INSERT [ZL_Group] ( [GroupID] , [GroupName] , [OtherName] , [Description] , [RegSelect] , [IsDefault] , [CCountPerDay] , [FavCount] , [ConsumeType] , [UpGradeMoney] , [CompanyGroup] , [VIPNum] , [VIPGroup] , [RebateRate] ,[ParentGroupID] ) VALUES ( 2 , '企业会员' , '企业' , '企业用户注册' , 1 , 0 , 0 , 0 , 0 , .0000 , 1 , 0 , 0 , 0.80000001192092896 , 0 )
 SET IDENTITY_INSERT [ZL_Group] OFF

 SET IDENTITY_INSERT [ZL_Grade] ON
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 1 , 1 , 0 , '北京市' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 2 , 1 , 0 , '上海市' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 3 , 1 , 0 , '天津市' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 4 , 1 , 0 , '重庆市' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 5 , 1 , 0 , '河北省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 6 , 1 , 0 , '江苏省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 7 , 1 , 0 , '安徽省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 8 , 1 , 1 , '海淀区' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 9 , 1 , 1 , '朝阳区' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 10 , 1 , 7 , '合肥' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 11 , 1 , 7 , '安庆' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 12 , 1 , 7 , '蚌埠' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 13 , 1 , 7 , '巢湖' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 14 , 1 , 7 , '池州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 15 , 1 , 7 , '滁州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 16 , 1 , 7 , '阜阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 17 , 1 , 7 , '淮北' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 18 , 1 , 7 , '淮南' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 19 , 1 , 7 , '黄山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 20 , 1 , 7 , '六安' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 21 , 1 , 7 , '马鞍山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 22 , 1 , 7 , '宿州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 23 , 1 , 7 , '铜陵' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 24 , 1 , 7 , '芜湖' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 25 , 1 , 7 , '宣城' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 26 , 1 , 7 , '亳州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 27 , 1 , 5 , '石家庄' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 28 , 1 , 5 , '保定' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 29 , 1 , 5 , '沧州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 30 , 1 , 5 , '承德' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 31 , 1 , 5 , '邯郸' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 32 , 1 , 5 , '衡水' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 33 , 1 , 5 , '廊坊' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 34 , 1 , 5 , '秦皇岛' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 35 , 1 , 5 , '唐山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 36 , 1 , 5 , '邢台' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 37 , 1 , 5 , '张家口' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 38 , 1 , 6 , '南京' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 39 , 1 , 6 , '常州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 40 , 1 , 6 , '淮安' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 41 , 1 , 6 , '连云港' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 42 , 1 , 6 , '南通' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 43 , 1 , 6 , '苏州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 44 , 1 , 6 , '宿迁' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 45 , 1 , 6 , '泰州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 46 , 1 , 6 , '无锡' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 47 , 1 , 6 , '徐州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 48 , 1 , 6 , '盐城' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 49 , 1 , 6 , '扬州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 50 , 1 , 6 , '镇江' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 51 , 1 , 0 , '福建省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 52 , 1 , 51 , '福州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 53 , 1 , 51 , '龙岩' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 54 , 1 , 51 , '南平' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 55 , 1 , 51 , '宁德' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 56 , 1 , 51 , '莆田' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 57 , 1 , 51 , '泉州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 58 , 1 , 51 , '三明' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 59 , 1 , 51 , '厦门' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 60 , 1 , 51 , '漳州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 61 , 1 , 0 , '甘肃省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 62 , 1 , 61 , '兰州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 63 , 1 , 61 , '白银' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 64 , 1 , 61 , '定西' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 65 , 1 , 61 , '甘南藏族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 66 , 1 , 61 , '嘉峪关' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 67 , 1 , 61 , '金昌' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 68 , 1 , 61 , '酒泉' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 69 , 1 , 61 , '临夏回族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 70 , 1 , 61 , '陇南' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 71 , 1 , 61 , '淮南' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 72 , 1 , 61 , '平凉' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 73 , 1 , 61 , '庆阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 74 , 1 , 61 , '天水' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 75 , 1 , 61 , '武威' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 76 , 1 , 61 , '张掖' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 77 , 1 , 0 , '广东省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 78 , 1 , 77 , '深圳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 79 , 1 , 77 , '潮州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 80 , 1 , 77 , '东莞' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 81 , 1 , 77 , '佛山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 82 , 1 , 77 , '广州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 83 , 1 , 77 , '河源' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 84 , 1 , 77 , '惠州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 85 , 1 , 77 , '江门' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 86 , 1 , 77 , '揭阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 87 , 1 , 77 , '茂名' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 89 , 1 , 77 , '梅州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 90 , 1 , 77 , '清远' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 91 , 1 , 77 , '汕头' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 92 , 1 , 77 , '汕尾' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 93 , 1 , 77 , '韶关' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 94 , 1 , 77 , '阳江' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 95 , 1 , 77 , '云浮' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 96 , 1 , 77 , '湛江' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 98 , 1 , 77 , '肇庆' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 99 , 1 , 77 , '中山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 100 , 1 , 77 , '珠海' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 101 , 1 , 0 , '广西省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 102 , 1 , 101 , '南宁' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 103 , 1 , 101 , '百色' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 104 , 1 , 101 , '北海' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 105 , 1 , 101 , '崇左' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 106 , 1 , 101 , '防城港' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 107 , 1 , 101 , '桂林' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 108 , 1 , 101 , '贵港' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 109 , 1 , 101 , '河池' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 110 , 1 , 101 , '贺州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 111 , 1 , 101 , '来宾' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 112 , 1 , 101 , '柳州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 113 , 1 , 101 , '钦州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 114 , 1 , 101 , '梧州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 115 , 1 , 101 , '玉林' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 116 , 1 , 0 , '贵州省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 117 , 1 , 116 , '贵阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 118 , 1 , 116 , '安顺' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 119 , 1 , 116 , '毕节' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 120 , 1 , 116 , '六盘水' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 121 , 1 , 116 , '黔东南苗族侗族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 122 , 1 , 116 , '黔南布依族苗族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 123 , 1 , 116 , '黔西南布依族苗族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 124 , 1 , 116 , '遵义' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 125 , 1 , 0 , '海南省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 126 , 1 , 125 , '海口' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 127 , 1 , 125 , '白沙黎族自治县' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 128 , 1 , 125 , '保亭黎族苗族自治县' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 129 , 1 , 125 , '昌江黎族自治县' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 130 , 1 , 125 , '澄迈县' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 131 , 1 , 125 , '定安县' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 132 , 1 , 125 , '东方' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 133 , 1 , 125 , '乐东黎族自治县' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 134 , 1 , 125 , '临高县' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 135 , 1 , 125 , '陵水黎族自治县' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 136 , 1 , 125 , '琼海' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 137 , 1 , 125 , '琼中黎族苗族自治县' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 138 , 1 , 125 , '三亚' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 139 , 1 , 125 , '屯昌县' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 140 , 1 , 125 , '万宁' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 141 , 1 , 125 , '文昌' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 142 , 1 , 125 , '五指山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 143 , 1 , 125 , '儋州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 144 , 1 , 0 , '河北省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 145 , 1 , 144 , '保定' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 146 , 1 , 144 , '沧州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 147 , 1 , 144 , '承德' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 148 , 1 , 144 , '邯郸' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 149 , 1 , 144 , '衡水' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 150 , 1 , 144 , '廊坊' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 151 , 1 , 144 , '秦皇岛' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 152 , 1 , 144 , '唐山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 153 , 1 , 144 , '邢台' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 154 , 1 , 144 , '张家口' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 156 , 1 , 0 , '河南省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 157 , 1 , 156 , '郑州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 158 , 1 , 156 , '安阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 159 , 1 , 156 , '鹤壁' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 160 , 1 , 156 , '济源' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 161 , 1 , 156 , '焦作' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 162 , 1 , 156 , '开封' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 163 , 1 , 156 , '洛阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 164 , 1 , 156 , '南阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 165 , 1 , 156 , '平顶山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 166 , 1 , 156 , '三门峡' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 167 , 1 , 156 , '商丘' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 168 , 1 , 156 , '新乡' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 169 , 1 , 156 , '信阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 170 , 1 , 156 , '许昌' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 171 , 1 , 156 , '周口' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 172 , 1 , 156 , '驻马店' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 173 , 1 , 156 , '漯河' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 174 , 1 , 156 , '濮阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 175 , 1 , 0 , '黑龙江' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 176 , 1 , 175 , '哈尔滨' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 177 , 1 , 175 , '大庆' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 178 , 1 , 175 , '大兴安岭' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 179 , 1 , 175 , '鹤岗' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 180 , 1 , 175 , '黑河' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 181 , 1 , 175 , '鸡西' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 182 , 1 , 175 , '佳木斯' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 183 , 1 , 175 , '牡丹江' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 184 , 1 , 175 , '七台河' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 185 , 1 , 175 , '齐齐哈尔' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 186 , 1 , 175 , '双鸭山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 187 , 1 , 175 , '绥化' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 188 , 1 , 175 , '伊春' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 189 , 1 , 0 , '湖北省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 190 , 1 , 189 , '武汉' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 191 , 1 , 189 , '鄂州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 192 , 1 , 189 , '恩施土家族苗族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 193 , 1 , 189 , '黄冈' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 194 , 1 , 189 , '黄石' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 195 , 1 , 189 , '荆门' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 196 , 1 , 189 , '荆州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 197 , 1 , 189 , '潜江' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 198 , 1 , 189 , '神农架林区' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 199 , 1 , 189 , '十堰' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 200 , 1 , 189 , '随州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 201 , 1 , 189 , '天门' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 202 , 1 , 189 , '仙桃' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 203 , 1 , 189 , '咸宁' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 204 , 1 , 189 , '襄樊' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 205 , 1 , 189 , '襄樊' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 206 , 1 , 189 , '宜昌' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 207 , 1 , 0 , '湖南省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 208 , 1 , 207 , '长沙' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 209 , 1 , 207 , '常德' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 210 , 1 , 207 , '郴州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 211 , 1 , 207 , '衡阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 212 , 1 , 207 , '娄底' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 213 , 1 , 207 , '邵阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 214 , 1 , 207 , '湘潭' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 215 , 1 , 207 , '湘西土家族苗族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 216 , 1 , 207 , '益阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 217 , 1 , 207 , '永州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 218 , 1 , 207 , '岳阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 219 , 1 , 207 , '张家界' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 220 , 1 , 207 , '株洲' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 221 , 1 , 0 , '吉林省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 222 , 1 , 221 , '白城' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 223 , 1 , 221 , '白山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 224 , 1 , 221 , '长春' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 225 , 1 , 221 , '辽源' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 226 , 1 , 221 , '四平' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 227 , 1 , 221 , '松原' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 228 , 1 , 221 , '通化' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 229 , 1 , 221 , '延边朝鲜族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 230 , 1 , 0 , '江西省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 231 , 1 , 230 , '南昌' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 232 , 1 , 230 , '九江' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 233 , 1 , 230 , '抚州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 234 , 1 , 230 , '赣州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 235 , 1 , 230 , '吉安' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 236 , 1 , 230 , '景德镇' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 237 , 1 , 230 , '萍乡' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 238 , 1 , 230 , '上饶' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 239 , 1 , 230 , '新余' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 240 , 1 , 230 , '宜春' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 241 , 1 , 230 , '鹰潭' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 242 , 1 , 0 , '辽宁省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 243 , 1 , 242 , '沈阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 244 , 1 , 242 , '鞍山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 245 , 1 , 242 , '本溪' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 246 , 1 , 242 , '朝阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 247 , 1 , 242 , '大连' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 248 , 1 , 242 , '丹东' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 249 , 1 , 242 , '抚顺' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 250 , 1 , 242 , '阜新' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 251 , 1 , 242 , '葫芦岛' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 252 , 1 , 242 , '锦州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 253 , 1 , 242 , '辽阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 254 , 1 , 242 , '盘锦' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 255 , 1 , 242 , '铁岭' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 256 , 1 , 242 , '营口' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 257 , 1 , 0 , '内蒙古' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 258 , 1 , 257 , '包头' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 259 , 1 , 257 , '阿拉善盟' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 261 , 1 , 257 , '巴彦淖尔盟' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 262 , 1 , 257 , '赤峰' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 263 , 1 , 257 , '鄂尔多斯' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 264 , 1 , 257 , '呼和浩特' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 265 , 1 , 257 , '呼伦贝尔' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 266 , 1 , 257 , '通辽' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 267 , 1 , 257 , '乌海' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 268 , 1 , 257 , '乌兰察布盟' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 269 , 1 , 257 , '锡林郭勒盟' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 270 , 1 , 257 , '兴安盟' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 271 , 1 , 0 , '宁夏' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 272 , 1 , 271 , '银川' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 273 , 1 , 271 , '固原' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 274 , 1 , 271 , '石嘴山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 275 , 1 , 271 , '吴忠' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 276 , 1 , 0 , '青海省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 277 , 1 , 276 , '西宁' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 278 , 1 , 276 , '果洛藏族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 279 , 1 , 276 , '海北藏族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 280 , 1 , 276 , '海南藏族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 281 , 1 , 276 , '海西蒙古族藏族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 282 , 1 , 276 , '黄南藏族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 283 , 1 , 276 , '玉树藏族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 284 , 1 , 0 , '山东省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 285 , 1 , 284 , '济南' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 286 , 1 , 284 , '滨州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 287 , 1 , 284 , '德州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 288 , 1 , 284 , '东营' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 289 , 1 , 284 , '菏泽' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 290 , 1 , 284 , '济宁' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 291 , 1 , 284 , '莱芜' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 292 , 1 , 284 , '聊城' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 293 , 1 , 284 , '临沂' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 294 , 1 , 284 , '青岛' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 295 , 1 , 284 , '日照' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 296 , 1 , 284 , '泰安' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 297 , 1 , 284 , '威海' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 298 , 1 , 284 , '潍坊' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 299 , 1 , 284 , '烟台' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 300 , 1 , 284 , '枣庄' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 301 , 1 , 284 , '淄博' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 302 , 1 , 0 , '山西省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 303 , 1 , 302 , '太原' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 304 , 1 , 302 , '长治' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 305 , 1 , 302 , '大同' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 306 , 1 , 302 , '晋城' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 307 , 1 , 302 , '晋中' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 308 , 1 , 302 , '临汾' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 309 , 1 , 302 , '吕梁' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 310 , 1 , 302 , '朔州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 311 , 1 , 302 , '忻州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 312 , 1 , 302 , '阳泉' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 313 , 1 , 302 , '运城' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 314 , 1 , 0 , '陕西省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 315 , 1 , 314 , '西安' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 316 , 1 , 314 , '安康' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 317 , 1 , 314 , '宝鸡' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 318 , 1 , 314 , '汉中' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 319 , 1 , 314 , '商洛' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 320 , 1 , 314 , '铜川' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 321 , 1 , 314 , '渭南' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 322 , 1 , 314 , '咸阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 323 , 1 , 314 , '延安' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 324 , 1 , 314 , '榆林' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 325 , 1 , 2 , '上海' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 326 , 1 , 0 , '四川省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 327 , 1 , 326 , '成都' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 328 , 1 , 326 , '阿坝藏族羌族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 329 , 1 , 326 , '巴中' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 330 , 1 , 326 , '达州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 331 , 1 , 326 , '德阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 332 , 1 , 326 , '甘孜藏族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 333 , 1 , 326 , '广安' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 334 , 1 , 326 , '广元' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 335 , 1 , 326 , '乐山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 336 , 1 , 326 , '凉山彝族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 337 , 1 , 326 , '眉山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 338 , 1 , 326 , '绵阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 339 , 1 , 326 , '南充' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 340 , 1 , 326 , '内江' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 341 , 1 , 326 , '攀枝花' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 342 , 1 , 326 , '遂宁' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 343 , 1 , 326 , '雅安' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 344 , 1 , 326 , '宜宾' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 345 , 1 , 326 , '资阳' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 346 , 1 , 326 , '自贡' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 347 , 1 , 326 , '泸州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 348 , 1 , 3 , '天津' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 349 , 1 , 0 , '西藏' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 350 , 1 , 349 , '拉萨' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 351 , 1 , 349 , '阿里' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 352 , 1 , 349 , '昌都' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 353 , 1 , 349 , '林芝' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 354 , 1 , 349 , '那曲' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 355 , 1 , 349 , '日喀则' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 356 , 1 , 349 , '山南' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 357 , 1 , 0 , '新疆' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 358 , 1 , 357 , '乌鲁木齐' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 359 , 1 , 357 , '阿克苏' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 361 , 1 , 357 , '巴音郭楞蒙古自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 362 , 1 , 357 , '博尔塔拉蒙古自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 363 , 1 , 357 , '昌吉回族自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 364 , 1 , 357 , '哈密' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 365 , 1 , 357 , '和田' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 366 , 1 , 357 , '喀什' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 367 , 1 , 357 , '克拉玛依' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 368 , 1 , 357 , '克孜勒苏柯尔克孜自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 369 , 1 , 357 , '石河子' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 370 , 1 , 357 , '图木舒克' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 371 , 1 , 357 , '吐鲁番' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 372 , 1 , 357 , '五家渠' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 373 , 1 , 357 , '伊犁哈萨克自治州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 374 , 1 , 0 , '浙江省' , 1 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 375 , 1 , 374 , '杭州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 376 , 1 , 374 , '湖州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 377 , 1 , 374 , '嘉兴' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 378 , 1 , 374 , '金华' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 379 , 1 , 374 , '丽水' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 380 , 1 , 374 , '宁波' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 381 , 1 , 374 , '绍兴' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 382 , 1 , 374 , '台州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 383 , 1 , 374 , '温州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 384 , 1 , 374 , '舟山' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 385 , 1 , 374 , '衢州' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 386 , 1 , 4 , '重庆' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 387 , 1 , 1 , '丰台区' , 2 )
 INSERT [ZL_Grade] ( [GradeID] , [Cate] , [ParentID] , [GradeName] , [Grade] ) VALUES ( 388 , 1 , 1 , '通州区' , 2 )
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 389,2,0,N'电脑/网络',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 390,2,0,N'生活',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 391,2,0,N'医疗健康',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 392,2,0,N'体育/运动',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 393,2,0,N'电子数码',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 394,2,0,N'商业/理财',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 395,2,0,N'教育/科学',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 396,2,0,N'社会民生',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 397,2,0,N'文化/艺术',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 398,2,0,N'游戏',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 399,2,0,N'娱乐休闲',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 400,2,0,N'烦恼',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 401,2,0,N'资源共享',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 402,2,389,N'电脑装机',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 403,2,389,N'硬件',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 404,2,389,N'软件',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 405,2,389,N'反病毒',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 406,2,389,N'互联网',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 407,2,390,N'服装/首饰',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 408,2,390,N'美容/塑身',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 409,2,390,N'美食/烹饪',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 410,2,390,N'购车养车',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 411,2,390,N'交通出行',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 412,2,390,N'购物',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 413,2,391,N'内科',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 414,2,391,N'外科',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 415,2,391,N'妇产科',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 416,2,391,N'儿科',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 417,2,391,N'五官科',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 418,2,391,N'人体常识',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 419,2,392,N'足球',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 420,2,392,N'篮球',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 421,2,392,N'健身',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 422,2,392,N'赛车/F1',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 423,2,392,N'运动用品',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 424,2,392,N'武术搏击',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 425,2,393,N'手机购买',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 426,2,393,N'手机使用',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 427,2,393,N'照相机/摄像机',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 428,2,393,N'MP4/MP3',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 429,2,394,N'股票',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 430,2,394,N'财务税务',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 431,2,394,N'银行业务',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 432,2,394,N'创业投资',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 433,2,394,N'贸易',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 434,2,394,N'个人理财',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 435,2,395,N'升学入学',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 436,2,395,N'学习帮助',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 437,2,395,N'职业教育',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 438,2,395,N'英语考试',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 439,2,395,N'出国/留学',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 440,2,395,N'理工学科',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 441,2,396,N'法律',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 442,2,396,N'公务办理',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 443,2,396,N'时事政治',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 444,2,396,N'宗教',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 445,2,396,N'求职就业',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 446,2,397,N'文学',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 447,2,397,N'历史话题',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 448,2,397,N'民俗传统',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 449,2,397,N'器乐/声乐',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 450,2,397,N'舞蹈',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 451,2,397,N'书画美术',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 452,2,398,N'网络游戏',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 453,2,398,N'单机游戏',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 454,2,398,N'电视游戏',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 455,2,398,N'手机游戏',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 456,2,398,N'小游戏',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 457,2,399,N'音乐',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 458,2,399,N'电影',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 459,2,399,N'电视',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 460,2,399,N'动漫',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 461,2,399,N'星座/运势',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 462,2,399,N'宠物',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 463,2,400,N'恋爱',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 464,2,400,N'夫妻',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 465,2,400,N'家庭关系',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 466,2,400,N'校园生活',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 467,2,400,N'情感情绪',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 468,2,400,N'交友技巧',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 469,2,401,N'视频共享',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 470,2,401,N'音频/歌曲共享',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 471,2,401,N'软件共享',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 472,2,401,N'文档/报告共享',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 474,3,0,N'人物',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 475,3,0,N'文化',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 476,3,0,N'技术',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 477,3,0,N'历史',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 478,3,0,N'艺术',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 479,3,0,N'生活',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 480,3,0,N'地理',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 481,3,0,N'社会',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 482,3,0,N'体育',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 483,3,0,N'自然',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 484,3,0,N'科学',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 485,3,0,N'经济',1)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 486,3,474,N'自然科学',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 487,3,474,N'人文领域',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 488,3,474,N'社会科学',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 489,3,474,N'文学领域',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 490,3,474,N'军事领域',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 491,3,474,N'艺术领域',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 492,3,474,N'体育领域',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 493,3,474,N'虚拟人物',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 494,3,486,N'科学家',3)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 495,3,486,N'医学家',3)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 496,3,486,N'数学家',3)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 497,3,486,N'物理学家',3)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 498,3,486,N'化学家',3)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 499,3,486,N'农学家',3)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 500,3,486,N'农业学家',3)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 501,3,486,N'古生物学家',3)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 502,3,486,N'医师',3)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 503,3,475,N'文学',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 504,3,475,N'中华文化',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 505,3,475,N'文物古迹',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 506,3,475,N'学派',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 507,3,475,N'宗教',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 508,3,475,N'民俗',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 509,3,475,N'语种',2)
INSERT [ZL_Grade] ([GradeID],[Cate],[ParentID],[GradeName],[Grade]) VALUES ( 510,3,475,N'网络文化',2)

 SET IDENTITY_INSERT [ZL_Grade] OFF

 SET IDENTITY_INSERT [ZL_Defray] ON
 INSERT [ZL_Defray] ( [flow] , [Pay_name] , [Pay_intf] , [Client_id] , [Title] , [money_code] , [number] ) VALUES ( 2 , 'Paypal或Visa,Master,Solo等银行卡在线支付' , 'PayPal外贸必选(标准版)' , 'server@hx008.cn' , 'zoomla' , 'CNY,USD,EUR,GBP,CAD,AUD,NZD,RUB,HKD,TWD,KRW,SGD,JPY,MYR,CHF,SEK,DKK,PLZ,HUF,CSK,' , 'p*0.05' )
 SET IDENTITY_INSERT [ZL_Defray] OFF

 SET IDENTITY_INSERT [ZL_Datadiccategory] ON
 INSERT [ZL_Datadiccategory] ( [Diccateid] , [Categoryname] , [Isused] ) VALUES ( 1 , '地区选择' , 1 )
 INSERT [ZL_Datadiccategory] ( [Diccateid] , [Categoryname] , [Isused] ) VALUES ( 2 , '学历信息' , 1 )
 INSERT [ZL_Datadiccategory] ( [Diccateid] , [Categoryname] , [Isused] ) VALUES ( 3 , '从事行业' , 1 )
 SET IDENTITY_INSERT [ZL_Datadiccategory] OFF

 SET IDENTITY_INSERT [ZL_Datadic] ON
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 1 , 1 , '北京' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 2 , 1 , '上海' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 3 , 1 , '天津' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 4 , 1 , '重庆' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 5 , 1 , '江苏' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 6 , 1 , '浙江' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 7 , 1 , '广东' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 8 , 1 , '海南' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 9 , 1 , '福建' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 10 , 1 , '山东' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 11 , 1 , '江西' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 12 , 1 , '四川' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 13 , 1 , '安徽' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 14 , 1 , '河北' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 15 , 1 , '河南' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 16 , 1 , '湖北' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 17 , 1 , '湖南' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 18 , 1 , '陕西' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 19 , 1 , '山西' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 20 , 1 , '黑龙' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 21 , 1 , '辽宁' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 22 , 1 , '吉林' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 23 , 1 , '广西' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 24 , 1 , '云南' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 25 , 1 , '贵州' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 26 , 1 , '甘肃' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 27 , 1 , '内蒙' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 28 , 1 , '宁夏' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 29 , 1 , '西藏' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 30 , 1 , '新疆' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 31 , 1 , '青海' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 32 , 1 , '香港' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 33 , 1 , '澳门' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 34 , 1 , '台湾' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 35 , 1 , '国外' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 36 , 2 , '在读学生' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 37 , 2 , '应届毕业生' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 38 , 2 , '一年以上' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 39 , 2 , '二年以上' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 40 , 2 , '三年以上' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 41 , 2 , '五年以上' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 42 , 2 , '八年以上' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 43 , 2 , '十年以上' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 44 , 3 , '计算机硬件' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 45 , 3 , '计算机软件' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 46 , 3 , '互联网开发及应用' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 47 , 3 , 'IT-管理' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 48 , 3 , 'IT-品管' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 49 , 3 , '技术支持及其它' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 50 , 3 , '通信技术' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 51 , 3 , '销售管理' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 52 , 3 , '销售人员' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 53 , 3 , '销售行政及商务' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 54 , 3 , '客服及技术支持' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 55 , 3 , '银行' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 56 , 3 , '保险' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 57 , 3 , '质量安全管理' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 58 , 3 , '工程机械' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 59 , 3 , '能源' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 60 , 3 , '汽车' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 61 , 3 , '技工' , 1 )
 INSERT [ZL_Datadic] ( [Dicid] , [Diccate] , [Dicname] , [Isused] ) VALUES ( 62 , 3 , '服装' , 1 )
 SET IDENTITY_INSERT [ZL_Datadic] OFF

SET IDENTITY_INSERT ZL_Node ON
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ListTemplateFile],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[LastInfoTemplate],[HotinfoTemplate]) VALUES ( 1,N'资讯中心',1,N'news',0,2,7,1,0,0,1,0,N'频道首页/资讯频道首页.html',N'蓝色经典_首页.html',N'2,5',0,2,3,3,1,1,5,4,1,4,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,'栏目列表/打印页面.html',N'栏目列表/加载跟多帖子列表.html')INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ListTemplateFile],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 2,N'在线商城',1,N'shop',0,9,11,1,0,0,1,0,N'频道首页/商城频道首页.html',N'栏目列表/商城对比页面.html',N'6',0,2,3,3,1,2,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 3,N'网店频道',1,N'mall',0,8,10,1,0,0,1,0,N'频道首页/店铺频道首页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 8,N'男人',1,N'NR',3,1,5,2,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 9,N'女人',1,N'NR',3,2,1,2,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 10,N'服饰',1,N'FS',3,3,0,2,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 11,N'美容',1,N'MR',3,4,0,2,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 12,N'美容',1,N'MR',3,5,0,2,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 13,N'时尚',1,N'SS',3,6,0,2,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 15,N'母婴',1,N'MY',3,8,0,2,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 16,N'手机数码',1,N'SJSM',3,9,0,2,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 17,N'运动',1,N'YD',3,10,0,2,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 18,N'机票/酒店',1,N'JPJD',3,11,0,2,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 19,N'运动/户外/健身',1,N'sport',8,1,10,3,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 20,N'男装/T恤/衬衫',1,N'man',8,2,12,3,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 21,N'休闲裤/牛仔裤/内衣',1,N'ku',8,3,9,3,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 22,N'男鞋/休闲鞋/皮鞋',1,N'shoes',8,4,9,3,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 23,N'男女箱包/出门配件',1,N'bao',8,5,10,3,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 24,N'女鞋',1,N'shoes',9,1,0,3,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 25,N'耐克',1,N'NK',19,1,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 26,N'彪马',1,N'BM',19,2,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 27,N'李宁',1,N'LN',19,3,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 28,N'阿迪',1,N'AD',19,4,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 29,N'匡威',1,N'KW',19,5,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 30,N'Kappa',1,N'KAPPA',19,6,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 31,N'运动套装',1,N'YDTZ',19,7,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 32,N'专柜代购',1,N'ZGDG',19,8,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 33,N'08款',1,N'K08',19,9,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 34,N'三叶草',1,N'SYC',19,10,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 35,N'T恤',1,N'TX',20,1,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 36,N'衬衫',1,N'CS',20,2,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 37,N'polo衫',1,N'POLOS',20,3,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 38,N'纯棉',1,N'CM',20,4,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 39,N'夹克',1,N'JK',20,5,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 40,N'马甲',1,N'MJ',20,6,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 41,N'秋装',1,N'QZ',20,7,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 42,N'西装',1,N'XZ',20,8,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 43,N'卫衣',1,N'WY',20,9,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 44,N'外套',1,N'WT',20,10,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 45,N'jack',1,N'JACK',20,11,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 46,N'jones',1,N'JONES',20,12,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 47,N'直筒裤',1,N'ZTK',21,1,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 48,N'牛仔裤',1,N'NZK',21,2,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 49,N'休闲裤',1,N'XXK',21,3,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 50,N'休闲西裤',1,N'XXXK',21,4,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 51,N'工装裤',1,N'GZK',21,5,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 52,N'短裤',1,N'DK',21,6,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 53,N'新款秋裤',1,N'XKQK',21,7,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 54,N'ck内裤',1,N'CKNK',21,8,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 55,N'内衣',1,N'NY',21,9,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 56,N'帆布鞋',1,N'FBX',22,1,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 57,N'运动鞋',1,N'YDX',22,2,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 58,N'休闲鞋',1,N'XXX',22,3,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 59,N'热卖男鞋',1,N'RMNX',22,4,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 60,N'皮鞋',1,N'PX',22,5,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 61,N'男靴',1,N'NX',22,6,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 62,N'篮球鞋',1,N'LQX',22,7,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 63,N'户外靴',1,N'HWX',22,8,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 64,N'板鞋',1,N'BX',22,9,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 65,N'斜挎包',1,N'XKB',23,1,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 66,N'手提包',1,N'STB',23,2,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 67,N'休闲包',1,N'XXB',23,3,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 68,N'单肩包',1,N'DJB',23,4,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 69,N'爱车族',1,N'ACZ',23,5,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 70,N'汽车坐垫',1,N'QCZD',23,6,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 71,N'皮带',1,N'PD',23,7,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 72,N'眼镜',1,N'YJ',23,8,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 73,N'饰品',1,N'SP',23,9,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 74,N'秋款帽',1,N'QKM',23,10,0,4,0,0,1,0,N'栏目列表/店铺商品列表页.html',N'20',0,2,3,3,1,5,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 75,N'服饰鞋帽',1,N'fsxm',2,1,1,2,0,0,1,0,N'栏目列表/商城列表页.html',N'6',0,2,3,3,1,2,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[NodeUrl],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[Custom],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 76,N'网站公告',1,N'Announce',N'/Announce/index.html',105,1,0,2,0,0,1,0,N'栏目列表/通用一列子栏目列表.html',N'1,5',0,2,3,3,1,1,0,0,0,0,0,N'sdffasdsdfsafasd{SplitCustom}',0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 77,N'网站帮助',1,N'help',0,13,8,1,0,0,1,0,N'栏目列表/一列式左小右大子栏目列表.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 78,N'公司信息',1,N'gsxx',105,1,0,2,0,0,1,0,N'栏目列表/一列式左小右大子栏目列表.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)

INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[Custom],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[LastInfoTemplate]) VALUES ( 79,N'新闻动态',1,N'stu',1,2,0,2,0,0,1,0,N'栏目列表/一列式左小右大子栏目列表.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,N'asdfasfsafsa{SplitCustom}',0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[LastInfoTemplate]) VALUES ( 80,N'国际新闻',1,N'GJXW',1,3,0,2,0,0,1,0,N'栏目列表/一列式左小右大子栏目列表.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[LastInfoTemplate]) VALUES ( 81,N'经典阅读',1,N'JDYD',1,4,0,2,0,0,1,0,N'栏目列表/一列式左小右大子栏目列表.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[LastInfoTemplate]) VALUES ( 82,N'海外文摘',1,N'HWWZ',1,5,0,2,0,0,1,0,N'栏目列表/一列式左小右大子栏目列表.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[LastInfoTemplate]) VALUES ( 83,N'奇闻轶事',1,N'qi',1,6,0,2,0,0,1,0,N'栏目列表/一列式左小右大子栏目列表.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,0)

INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 84,N'资源下载',1,N'down',0,3,6,1,0,0,1,0,N'频道首页/多列并排频道首页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 85,N'图库中心',1,N'photo',0,4,12,1,0,0,1,0,N'频道首页/图库频道首页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 86,N'在线视频',1,N'Movie',0,6,2,1,0,0,1,0,N'频道首页/视频频道首页.html',N'7',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[LastinfoTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 87,N'人才招聘',1,N'job',105,7,0,2,0,0,1,0,N'频道首页/招聘频道首页.html',N'内容页/招聘模型内容页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 88,N'友情链接',1,N'Friendsite',0,24,0,1,0,0,1,0,N'栏目列表/友情链接栏目列表.html',N'8',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 89,N'计算机资料',1,N'JSJZL',84,1,0,2,0,0,1,0,N'栏目列表/通用列表页.html',N'4,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 90,N'行业资料',1,N'XYZL',84,2,0,2,0,0,1,0,N'栏目列表/通用列表页.html',N'4,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 91,N'管理资料',1,N'GLZL',84,3,0,2,0,0,1,0,N'栏目列表/通用列表页.html',N'4,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 92,N'电子书籍',1,N'DZSJ',84,4,0,2,0,0,1,0,N'栏目列表/通用列表页.html',N'4,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 93,N'音乐下载',1,N'YLXZ',84,5,0,2,0,0,1,0,N'栏目列表/通用列表页.html',N'4,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 94,N'程序源码',1,N'soft',84,6,0,2,0,0,1,0,N'栏目列表/通用列表页.html',N'4,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 95,N'科技视频',1,N'KJSP',86,1,0,2,0,0,1,0,N'栏目列表/一列式左小右大子栏目列表.html',N'7',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 96,N'娱乐视频',1,N'YLSP',86,2,0,2,0,0,1,0,N'栏目列表/一列式左小右大子栏目列表.html',N'7',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 97,N'产品图库',1,N'CPTK',85,1,0,2,0,0,1,0,N'栏目列表/通用图库列表页.html',N'3',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 98,N'明星收藏',1,N'MXSC',85,2,0,2,0,0,1,0,N'栏目列表/通用图库列表页.html',N'3',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 99,N'分类信息',1,N'fenlei',0,5,9,1,0,0,1,0,N'频道首页/分类信息频道首页.html',N'19',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 100,N'头条新闻',1,N'ttxw',1,1,0,2,0,0,1,0,N'栏目列表/通用一列子栏目列表.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 101,N'服务信息',1,N'fwxx',99,15,0,2,0,0,1,0,N'栏目列表/通用资讯子栏目列表页.html',N'19',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 102,N'跳蚤市场',1,N'tzsc',99,16,0,2,0,0,1,0,N'栏目列表/通用资讯子栏目列表页.html',N'19',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 103,N'交友征婚',1,N'jyzh',99,17,0,2,0,0,1,0,N'栏目列表/通用资讯子栏目列表页.html',N'19',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 104,N'车辆信息',1,N'jlxx',99,18,0,2,0,0,1,0,N'栏目列表/通用资讯子栏目列表页.html',N'19',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 105,N'官方信息',1,N'about',0,12,5,1,0,0,1,0,N'2',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 106,N'网站地图',2,N'WZDT',105,11,0,2,0,1,1,0,N'栏目列表/网站地图.html',N'/栏目列表/网站地图.html',0,0,3,0,1,0,0,0,0,0,0,1,N'0',N'0',0,0,0,0,0.0000,0,0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 107,N'搞笑趣图',1,N'gxqt',85,19,0,2,0,0,1,0,N'栏目列表/通用图库列表页.html',N'3',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 108,N'科技图说',1,N'kjty',85,20,0,2,0,0,1,0,N'栏目列表/通用图库列表页.html',N'3',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 109,N'风景名胜',1,N'fjms',85,21,0,2,0,0,1,0,N'栏目列表/通用图库列表页.html',N'3',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 110,N'精品贴图',1,N'jptt',85,22,0,2,0,0,1,0,N'栏目列表/通用图库列表页.html',N'3',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 111,N'美女图片',1,N'mntp',85,22,0,2,0,0,1,0,N'栏目列表/通用图库列表页.html',N'3',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 112,N'精品贴图',1,N'jptt',85,22,0,2,0,0,1,0,N'栏目列表/通用图库列表页.html',N'3',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_blank',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[LastinfoTemplate],[HotinfoTemplate],[ProposeTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 113,N'问答系统',1,N'ask',0,10,18,1,0,0,1,0,N'问答系统/所有问答列表.html',N'问答系统/问吧首页.html',N'问答系统/搜索已解答问答列表页.html',N'/问答系统/所有未解答问答列表页.html',N'/问答系统/所有零问答列表页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 114,N'问吧公告',1,N'wbgg',113,24,0,2,0,0,1,0,N'栏目列表/通用一列子栏目列表.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[HotinfoTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 115,N'全部问题',1,N'qbwt',113,25,0,2,0,0,1,0,N'问答系统/问答列表小类.html',N'问答系统/问答列表.html',N'问答系统/搜索已解答问答列表页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 116,N'已解决问题',1,N'yjjwt',113,26,0,2,0,0,1,0,N'问答系统/已解答问答列表页小类.html',N'问答系统/已解答问答列表页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 117,N'待解决问题',1,N'djjwt',113,27,0,2,0,0,1,0,N'问答系统/待解决问答列表页小类.html',N'问答系统/待解决问答列表页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 118,N'零回答',1,N'lhd',113,28,0,2,0,0,1,0,N'问答系统/零问答列表页小类.html',N'问答系统/零问答列表页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 119,N'提问',1,N'tw',113,29,0,2,0,0,1,0,N'问答系统/问答提交页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 120,N'问题显示',1,N'wtxs',113,30,0,2,0,0,1,0,N'/问答系统/待解决内容页.html',N'问答系统/已解决内容页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 121,N'问答推荐',1,N'wdtj',113,31,0,2,0,0,1,0,N'5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 122,N'问答分类',1,N'wdfl',113,32,0,2,0,0,1,0,N'问答系统/问答分类页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 123,N'店铺信息',1,N'mall',0,11,9,1,0,0,1,0,N'栏目列表/店铺列表页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 124,N'店铺公告',1,N'dpgg',123,34,0,2,0,0,1,0,N'栏目列表/店铺信息列表页.html',N'店铺模版/店铺信息列表页.html',N'2',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 125,N'促销信息',1,N'cxxx',123,36,0,2,0,0,1,0,N'栏目列表/店铺信息列表页.html',N'店铺模版/店铺信息列表页.html',N'2',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 126,N'店铺商品',1,N'dpsp',123,35,0,2,0,0,1,0,N'店铺模版/店铺商品列表页.html',0,2,3,3,1,0,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx],[Viewinglimit]) VALUES ( 127,N'人才招聘',1,N'rczp',123,37,0,2,0,0,1,0,N'栏目列表/店铺信息列表页.html',N'店铺模版/店铺信息列表页.html',N'2',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3,N'1=0|2=0')
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 128,N'店铺介绍',2,N'DPJS',123,33,0,2,0,0,0,0,N'店铺模版/店铺介绍页.html',N'店铺模版/店铺介绍页.html',0,0,3,0,1,0,0,0,0,0,0,1,N'0',N'0',0,0,0,0,0.0000,0,0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 129,N'日常用品',1,N'rcyp',2,38,0,2,0,0,1,0,N'栏目列表/商城列表页.html',N'6',0,2,3,3,1,2,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 130,N'手机数码',1,N'sjsm',2,39,0,2,0,0,1,0,N'栏目列表/商城列表页.html',N'6',0,2,3,3,1,2,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 131,N'体育用品',1,N'tyyp',2,40,0,2,0,0,1,0,N'栏目列表/商城列表页.html',N'6',0,2,3,3,1,2,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 132,N'珠宝首饰',1,N'zbss',2,41,0,2,0,0,1,0,N'栏目列表/商城列表页.html',N'6',0,2,3,3,1,2,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 133,N'营养美食',1,N'yyms',2,42,0,2,0,0,1,0,N'栏目列表/商城列表页.html',N'6',0,2,3,3,1,2,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 134,N'产品与服务',1,N'cpyfw',77,43,0,2,0,0,1,0,N'栏目列表/通用资讯子栏目列表页.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 135,N'常见问题',1,N'cjwt',77,44,0,2,0,0,1,0,N'栏目列表/通用资讯子栏目列表页.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 136,N'技术主机联盟',1,N'jzzjlm',77,45,0,2,0,0,1,0,N'栏目列表/通用资讯子栏目列表页.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 137,N'模板及插件下载',1,N'mbjcjxz',77,46,0,2,0,0,1,0,N'栏目列表/通用资讯子栏目列表页.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 138,N'推荐信息',1,N'tjxx',99,47,0,2,0,0,1,0,N'栏目列表/通用资讯子栏目列表页.html',N'19',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 139,N'促销信息',1,N'cxxx',105,48,0,2,0,0,1,0,N'栏目列表/通用列表页.html',N'2,5',0,2,3,3,1,1,0,0,0,0,0,0,N'_blank',N'0',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup>-1,1,2</ViewGroup><ViewSunGroup>-1,1,2</ViewSunGroup><input>-1,1,2</input><forum>1,2</forum>',0,0,3,3,3,3)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[Tips],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[ListTemplateFile],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) 
VALUES ( 140,N'微门户',2,N'wei',N'用于微门户展示（如移动访问、WebApp、微信接入展示）等。',0,25,0,1,0,1,1,0,N'微门户.html',N'微门户.html',N'',0,0,3,0,0,0,0,0,0,0,0,1,N'',N'0',0,0,0,0,0.0000,0,N'',0,0,0,0,0,0)
INSERT [ZL_Node] ([NodeID],[NodeName],[NodeType],[NodeDir],[ParentID],[OrderID],[Child],[Depth],[OpenType],[PurviewType],[CommentType],[HitsOfHot],[IndexTemplate],[ContentModel],[ItemOpenType],[ContentHtmlRule],[ListPageHtmlEx],[ContentFileEx],[HtmlPosition],[NodeListType],[ConsumePoint],[ConsumeType],[ConsumeTime],[ConsumeCount],[Shares],[SafeGuard],[ItemOpenTypeTrue],[OpenTypeTrue],[NodeBySite],[Contribute],[SiteContentAudit],[AddPoint],[AddMoney],[ClickTimeout],[Purview],[AddUserExp],[DeducUserExp],[ListPageEx],[LastinfoPageEx],[HotinfoPageEx],[ProposePageEx]) VALUES ( 143,N'文件工厂',1,N'wjgc',0,50,0,1,0,0,0,0,N'频道首页/律所通首页.html',N'25',0,2,3,3,1,1,0,0,0,0,0,0,N'_self',N'_self',0,0,0,0,0.0000,1,N'<View>allUser</View><ViewGroup></ViewGroup><ViewSunGroup></ViewSunGroup><input></input><forum>1,2</forum>',0,0,3,3,3,3)

SET IDENTITY_INSERT ZL_Node OFF


INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 1,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 76,1,N'内容页/默认公告内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 77,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 77,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 78,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 78,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 79,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 79,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 80,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 80,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 82,2,N'内容页/默认文章模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 82,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 85,3,N'内容页/仿新浪幻灯片_图库模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 81,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 81,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 83,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 83,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 84,4,N'内容页/默认下载模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 88,8,N'内容页/默认友情链接内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 76,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 86,7,N'内容页/默认视频模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 75,6,N'内容页/默认商品模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 89,4,N'内容页/默认下载模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 89,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 84,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 90,4,N'内容页/默认下载模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 90,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 91,4,N'内容页/默认下载模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 91,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 92,4,N'内容页/默认下载模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 92,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 93,4,N'内容页/默认下载模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 93,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 94,4,N'内容页/默认下载模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 94,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 97,3,N'内容页/默认图库模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 98,3,N'内容页/默认图库模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 2,6,N'内容页/默认商品模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 99,19,N'内容页/默认信息模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 95,7,N'内容页/默认视频模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 96,7,N'内容页/默认视频模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 100,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 100,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 101,19,N'内容页/默认信息模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 102,19,N'内容页/默认信息模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 105,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 107,3,N'内容页/仿新浪幻灯片_图库模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 108,3,N'内容页/仿新浪幻灯片_图库模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 109,3,N'内容页/仿新浪幻灯片_图库模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 112,3,N'内容页/仿新浪幻灯片_图库模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 121,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 114,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 114,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 3,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 124,2,N'/店铺模版/店铺信息内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 125,2,N'/店铺模版/店铺信息内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 127,2,N'/店铺模版/店铺信息内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 129,6,N'内容页/默认商品模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 130,6,N'内容页/默认商品模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 131,6,N'内容页/默认商品模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 132,6,N'内容页/默认商品模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 133,6,N'内容页/默认商品模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 134,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 134,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 135,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 135,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 136,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 136,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 137,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 137,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 138,19,N'内容页/默认信息模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 139,2,N'内容页/两列式标准内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 139,5,N'内容页/默认转向链接模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 103,19,N'内容页/默认信息模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 104,19,N'内容页/默认信息模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 111,3,N'内容页/仿新浪幻灯片_图库模型内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 25,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 8,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 19,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 26,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 27,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 28,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 29,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 30,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 31,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 32,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 33,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 34,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 20,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 35,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 36,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 37,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 38,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 39,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 40,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 41,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 42,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 43,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 44,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 45,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 46,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 21,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 47,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 48,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 49,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 50,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 51,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 52,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 53,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 54,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 55,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 22,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 56,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 57,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 58,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 59,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 60,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 61,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 62,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 63,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 64,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 23,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 65,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 66,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 67,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 68,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 69,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 70,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 71,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 72,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 73,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 74,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 9,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 24,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 10,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 11,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 12,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 13,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 15,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 16,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 17,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 18,20,N'/店铺模版/默认店铺商品内容页.html')
INSERT [ZL_Node_ModelTemplate] ([NodeID],[ModelID],[Template]) VALUES ( 143,25,N'内容页/默认文件工厂内容页.html')

SET IDENTITY_INSERT [ZL_Role] ON
INSERT [ZL_Role] ( [RoleID] , [RoleName] , [Description] , [NodeID] ) VALUES ( 1 , '超级管理员' , '拥有最高的权限' , 0 )
INSERT [ZL_Role] ( [RoleID] , [RoleName] , [Description] , [NodeID] ) VALUES ( 2 , '内容管理员' , '仅能管理与发布信息' , 0 )
INSERT [ZL_Role] ( [RoleID] , [RoleName] , [Description] , [NodeID] ) VALUES ( 3 , '商铺管理员' , '仅能拥有管理商铺与网店权限' , 0 )
INSERT [ZL_Role] ( [RoleID] , [RoleName] , [Description] , [NodeID] ) VALUES ( 4 , '商城管理员' , '仅具备商城管理权限' , 0 )
INSERT [ZL_Role] ( [RoleID] , [RoleName] , [Description] , [NodeID] ) VALUES ( 5 , '用户管理员' , '具备管理系统用户权限' , 0 )
INSERT [ZL_Role] ( [RoleID] , [RoleName] , [Description] , [NodeID] ) VALUES ( 6 , '网站设计师' , '仅能管理网站模板风格等权限,提供给设计师使用' , 0 )
INSERT [ZL_Role] ( [RoleID] , [RoleName] , [Description] , [NodeID] ) VALUES ( 7 , '黄页管理员' , '仅具备管理黄页的权限' , 0 )
INSERT [ZL_Role] ( [RoleID] , [RoleName] , [Description] , [NodeID] ) VALUES ( 8 , '配置管理员' , '具备管理系统节点、栏目、专题、广告等权限' , 0 )
INSERT [ZL_Role] ( [RoleID] , [RoleName] , [Description] , [NodeID] ) VALUES ( 9 , '空间管理员' , '具备管理SNS空间的权限' , 0 )
SET IDENTITY_INSERT [ZL_Role] OFF

INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ContentMange' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ContentEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ContentSpec' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ContentRecycle' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ComentManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'CreateHtmL' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ModelManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ModelEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ShopModelManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ShopModelEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'PageModelManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'AddPageModel' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'NodeManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'NodeEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'SpecCateManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'SpecManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'TemplateManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'TemplateEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'CssManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'CssEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'LabelManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'LabelEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'LabelImport' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'LabelExport' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'AdminManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'AdminEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'RoleMange' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'RoleEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'UserManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'UserGroup' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'UserModel' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'UserModelField' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'UserRoleMange' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'UserRoleEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'MessManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'EmailManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ProductManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'StockManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'AddStock' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'CartManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'OrderList' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'BankRollList' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'SaleList' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'PayList' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'InvoiceList' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'TotalSale' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ProductSale' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'CategotySale' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'UserOrders' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'UserExpenditure' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'DeliverType' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'PageModel' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'PageManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'PageAudit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'PageContent' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'PageStyle' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'AddPageStyle' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ApplyStoreStyle' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ApplyStoreStyleAdd' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'StoreManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'StoreExamine' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'StoreStyleManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'StoreStyleAdd' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'StoreProductManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'StoreinfoManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ZoneConfig' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ZoneManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ZoneApply' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ZoneStyleManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ZoneProductManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ZoneParking' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ZoneMoney' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ZoneGS' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ZoneInfo' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'ADManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'SurveyManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'FileManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'AuthorManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'DownServerManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'SourceManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 1 , 'DicManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 2 , 'ContentMange' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 2 , 'ContentEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 2 , 'ContentSpec' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 2 , 'ContentRecycle' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 2 , 'ComentManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 2 , 'CreateHtmL' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 3 , 'ApplyStoreStyle' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 3 , 'ApplyStoreStyleAdd' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 3 , 'StoreManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 3 , 'StoreExamine' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 3 , 'StoreStyleManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 3 , 'StoreStyleAdd' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 3 , 'StoreProductManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 3 , 'StoreinfoManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'ProductManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'StockManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'AddStock' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'CartManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'OrderList' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'BankRollList' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'SaleList' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'PayList' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'InvoiceList' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'TotalSale' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'ProductSale' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'CategotySale' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'UserOrders' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'UserExpenditure' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 4 , 'DeliverType' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'AdminManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'AdminEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'RoleMange' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'RoleEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'UserManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'UserGroup' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'UserModel' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'UserModelField' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'UserRoleMange' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'UserRoleEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'MessManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 5 , 'EmailManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 6 , 'TemplateManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 6 , 'TemplateEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 6 , 'CssManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 6 , 'CssEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 6 , 'LabelManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 6 , 'LabelEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 6 , 'LabelImport' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 6 , 'LabelExport' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 7 , 'PageModelManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 7 , 'PageModel' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 7 , 'PageManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 7 , 'PageAudit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 7 , 'PageContent' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 7 , 'PageStyle' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 7 , 'AddPageStyle' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'ModelManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'ModelEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'ShopModelManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'ShopModelEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'ADManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'AddPageModel' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'NodeManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'NodeEdit' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'SpecCateManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'SpecManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'SurveyManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'FileManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'AuthorManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'DownServerManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'SourceManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 8 , 'DicManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 9 , 'ZoneConfig' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 9 , 'ZoneManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 9 , 'ZoneApply' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 9 , 'ZoneStyleManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 9 , 'ZoneProductManage' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 9 , 'ZoneParking' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 9 , 'ZoneMoney' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 9 , 'ZoneGS' )
INSERT [ZL_RolePermissions] ( [RoleID] , [OperateCode] ) VALUES ( 9 , 'ZoneInfo' )

SET IDENTITY_INSERT [dbo].[ZL_Search] ON
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 1,N'系统配置',0,1,1,2,0,1,N'2012/1/1 0:00:00',N'/manage/Config/SiteInfo.aspx',N'glyphicon glyphicon-cog',2,0)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 2,N'内容管理',0,1,1,2,0,1,N'2012/1/1 0:00:00',N'/manage/Content/ContentManage.aspx',N'glyphicon glyphicon-tree-conifer',3,1)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 3,N'模型管理',0,1,1,2,0,1,N'2012/1/1 0:00:00',N'/manage/Content/ModelManage.aspx?ModelType=1',N'glyphicon glyphicon-file',2,0)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 4,N'标签管理',0,1,1,2,0,1,N'2012/1/1 0:00:00',N'/manage/Template/LabelManage.aspx',N'glyphicon glyphicon-pushpin',2,0)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 5,N'模板管理',0,1,1,2,0,1,N'2012/1/1 0:00:00',N'/manage/Template/TemplateManage.aspx',N'glyphicon glyphicon-list-alt',2,0)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 6,N'会员管理',0,1,1,2,0,1,N'2012/1/1 0:00:00',N'/manage/User/UserManage.aspx',N'glyphicon glyphicon-user',2,1)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 7,N'邮件配置',0,1,1,2,0,1,N'2012/1/1 0:00:00',N'/manage/Config/MailConfig.aspx',N'glyphicon glyphicon-envelope',2,0)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 8,N'安全设定',0,1,1,2,0,1,N'2012/1/1 0:00:00',N'/manage/User/AdminManage.aspx',N'glyphicon glyphicon-fire',2,0)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 9,N'留言管理',0,1,1,2,0,1,N'2012/1/1 0:00:00',N'/manage/GuestBook/GuestCateMana.aspx',N'glyphicon glyphicon-comment',2,0)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 10,N'订单列表',0,1,1,2,0,1,N'2012/1/1 0:00:00',N'/manage/Shop/OrderList.aspx',N'glyphicon glyphicon-shopping-cart',2,1)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 11,N'技术论坛',1,2,1,2,1,1,N'2012/1/1 0:00:00',N'http://bbs.zoomla.cn',N'glyphicon glyphicon-question-sign',1,0)
INSERT [ZL_Search] ([ID],[name],[type],[linkType],[state],[linkState],[OpenType],[AdminID],[time],[fileUrl],[ico],[Size],[Mobile]) VALUES ( 12,N'视频教程',1,2,1,2,1,1,N'2012/1/1 0:00:00',N'http://www.zoomla.cn/help/mtv/',N'glyphicon glyphicon-film',1,0)
SET IDENTITY_INSERT  [dbo].[ZL_Search] OFF

SET IDENTITY_INSERT [ZL_UserFriendGroup] ON
INSERT [ZL_UserFriendGroup] ( [ID] , [UserID] , [GroupName] , [BlackGroup] , [OrderID] ) VALUES ( 1 , 1 , '黑名单' , 1 , 99 )
INSERT [ZL_UserFriendGroup] ( [ID] , [UserID] , [GroupName] , [BlackGroup] , [OrderID] ) VALUES ( 2 , 1 , '默认分组' , 2 , 1 )
SET IDENTITY_INSERT [ZL_UserFriendGroup] OFF

SET IDENTITY_INSERT [ZL_UserPromotions] ON
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 1,1,1,1,1,1,1,1,1,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 2,1,1,1,1,1,1,1,2,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 3,1,1,1,1,1,1,1,3,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 4,1,1,1,1,1,1,1,8,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 5,1,1,1,1,1,1,1,9,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 6,1,1,1,1,1,1,1,10,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 7,1,1,1,1,1,1,1,11,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 8,1,1,1,1,1,1,1,12,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 9,1,1,1,1,1,1,1,13,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 10,1,1,1,1,1,1,1,15,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 11,1,1,1,1,1,1,1,16,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 12,1,1,1,1,1,1,1,17,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 13,1,1,1,1,1,1,1,18,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 14,1,1,1,1,1,1,1,19,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 15,1,1,1,1,1,1,1,20,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 16,1,1,1,1,1,1,1,21,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 17,1,1,1,1,1,1,1,22,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 18,1,1,1,1,1,1,1,23,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 19,1,1,1,1,1,1,1,24,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 20,1,1,1,1,1,1,1,25,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 21,1,1,1,1,1,1,1,26,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 22,1,1,1,1,1,1,1,27,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 23,1,1,1,1,1,1,1,28,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 24,1,1,1,1,1,1,1,29,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 25,1,1,1,1,1,1,1,30,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 26,1,1,1,1,1,1,1,31,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 27,1,1,1,1,1,1,1,32,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 28,1,1,1,1,1,1,1,33,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 29,1,1,1,1,1,1,1,34,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 30,1,1,1,1,1,1,1,35,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 31,1,1,1,1,1,1,1,36,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 32,1,1,1,1,1,1,1,37,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 33,1,1,1,1,1,1,1,38,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 34,1,1,1,1,1,1,1,39,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 35,1,1,1,1,1,1,1,40,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 36,1,1,1,1,1,1,1,41,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 37,1,1,1,1,1,1,1,42,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 38,1,1,1,1,1,1,1,43,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 39,1,1,1,1,1,1,1,44,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 40,1,1,1,1,1,1,1,45,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 41,1,1,1,1,1,1,1,46,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 42,1,1,1,1,1,1,1,47,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 43,1,1,1,1,1,1,1,48,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 44,1,1,1,1,1,1,1,49,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 45,1,1,1,1,1,1,1,50,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 46,1,1,1,1,1,1,1,51,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 47,1,1,1,1,1,1,1,52,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 48,1,1,1,1,1,1,1,53,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 49,1,1,1,1,1,1,1,54,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 50,1,1,1,1,1,1,1,55,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 51,1,1,1,1,1,1,1,56,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 52,1,1,1,1,1,1,1,57,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 53,1,1,1,1,1,1,1,58,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 54,1,1,1,1,1,1,1,59,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 55,1,1,1,1,1,1,1,60,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 56,1,1,1,1,1,1,1,61,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 57,1,1,1,1,1,1,1,62,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 58,1,1,1,1,1,1,1,63,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 59,1,1,1,1,1,1,1,64,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 60,1,1,1,1,1,1,1,65,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 61,1,1,1,1,1,1,1,66,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 62,1,1,1,1,1,1,1,67,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 63,1,1,1,1,1,1,1,68,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 64,1,1,1,1,1,1,1,69,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 65,1,1,1,1,1,1,1,70,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 66,1,1,1,1,1,1,1,71,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 67,1,1,1,1,1,1,1,72,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 68,1,1,1,1,1,1,1,73,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 69,1,1,1,1,1,1,1,74,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 70,1,1,1,1,1,1,1,75,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 71,1,1,1,1,1,1,1,76,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 72,1,1,1,1,1,1,1,77,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 73,1,1,1,1,1,1,1,78,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 74,1,1,1,1,1,1,1,79,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 75,1,1,1,1,1,1,1,80,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 76,1,1,1,1,1,1,1,81,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 77,1,1,1,1,1,1,1,82,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 78,1,1,1,1,1,1,1,83,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 79,1,1,1,1,1,1,1,84,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 80,1,1,1,1,1,1,1,85,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 81,1,1,1,1,1,1,1,86,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 82,1,1,1,1,1,1,1,87,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 83,1,1,1,1,1,1,1,88,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 84,1,1,1,1,1,1,1,89,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 85,1,1,1,1,1,1,1,90,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 86,1,1,1,1,1,1,1,91,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 87,1,1,1,1,1,1,1,92,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 88,1,1,1,1,1,1,1,93,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 89,1,1,1,1,1,1,1,94,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 90,1,1,1,1,1,1,1,95,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 91,1,1,1,1,1,1,1,96,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 92,1,1,1,1,1,1,1,97,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 93,1,1,1,1,1,1,1,98,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 94,1,1,1,1,1,1,1,99,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 95,1,1,1,1,1,1,1,100,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 96,1,1,1,1,1,1,1,101,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 97,1,1,1,1,1,1,1,102,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 98,1,1,1,1,1,1,1,103,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 99,1,1,1,1,1,1,1,104,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 100,1,1,1,1,1,1,1,105,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 101,1,1,1,1,1,1,1,106,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 102,1,1,1,1,1,1,1,107,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 103,1,1,1,1,1,1,1,108,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 104,1,1,1,1,1,1,1,109,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 105,1,1,1,1,1,1,1,110,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 106,1,1,1,1,1,1,1,111,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 107,1,1,1,1,1,1,1,112,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 108,1,1,1,1,1,1,1,113,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 109,1,1,1,1,1,1,1,114,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 110,1,1,1,1,1,1,1,115,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 111,1,1,1,1,1,1,1,116,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 112,1,1,1,1,1,1,1,117,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 113,1,1,1,1,1,1,1,118,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 114,1,1,1,1,1,1,1,119,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 115,1,1,1,1,1,1,1,120,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 116,1,1,1,1,1,1,1,121,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 117,1,1,1,1,1,1,1,122,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 118,1,1,1,1,1,1,1,123,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 119,1,1,1,1,1,1,1,124,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 120,1,1,1,1,1,1,1,125,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 121,1,1,1,1,1,1,1,126,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 122,1,1,1,1,1,1,1,127,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 123,1,1,1,1,1,1,1,128,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 124,1,1,1,1,1,1,1,129,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 125,1,1,1,1,1,1,1,130,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 126,1,1,1,1,1,1,1,131,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 127,1,1,1,1,1,1,1,132,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 128,1,1,1,1,1,1,1,133,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 129,1,1,1,1,1,1,1,134,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 130,1,1,1,1,1,1,1,135,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 131,1,1,1,1,1,1,1,136,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 132,1,1,1,1,1,1,1,137,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 133,1,1,1,1,1,1,1,138,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 134,1,1,1,1,1,1,1,139,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 135,1,1,1,1,1,1,1,201,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 136,1,1,1,1,1,1,1,203,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 137,1,1,1,1,1,1,1,206,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 138,2,1,1,1,1,1,1,1,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 139,2,1,1,1,1,1,1,2,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 140,2,1,1,1,1,1,1,3,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 141,2,1,1,1,1,1,1,8,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 142,2,1,1,1,1,1,1,9,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 143,2,1,1,1,1,1,1,10,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 144,2,1,1,1,1,1,1,11,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 145,2,1,1,1,1,1,1,12,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 146,2,1,1,1,1,1,1,13,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 147,2,1,1,1,1,1,1,15,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 148,2,1,1,1,1,1,1,16,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 149,2,1,1,1,1,1,1,17,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 150,2,1,1,1,1,1,1,18,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 151,2,1,1,1,1,1,1,19,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 152,2,1,1,1,1,1,1,20,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 153,2,1,1,1,1,1,1,21,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 154,2,1,1,1,1,1,1,22,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 155,2,1,1,1,1,1,1,23,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 156,2,1,1,1,1,1,1,24,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 157,2,1,1,1,1,1,1,25,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 158,2,1,1,1,1,1,1,26,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 159,2,1,1,1,1,1,1,27,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 160,2,1,1,1,1,1,1,28,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 161,2,1,1,1,1,1,1,29,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 162,2,1,1,1,1,1,1,30,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 163,2,1,1,1,1,1,1,31,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 164,2,1,1,1,1,1,1,32,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 165,2,1,1,1,1,1,1,33,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 166,2,1,1,1,1,1,1,34,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 167,2,1,1,1,1,1,1,35,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 168,2,1,1,1,1,1,1,36,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 169,2,1,1,1,1,1,1,37,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 170,2,1,1,1,1,1,1,38,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 171,2,1,1,1,1,1,1,39,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 172,2,1,1,1,1,1,1,40,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 173,2,1,1,1,1,1,1,41,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 174,2,1,1,1,1,1,1,42,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 175,2,1,1,1,1,1,1,43,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 176,2,1,1,1,1,1,1,44,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 177,2,1,1,1,1,1,1,45,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 178,2,1,1,1,1,1,1,46,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 179,2,1,1,1,1,1,1,47,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 180,2,1,1,1,1,1,1,48,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 181,2,1,1,1,1,1,1,49,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 182,2,1,1,1,1,1,1,50,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 183,2,1,1,1,1,1,1,51,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 184,2,1,1,1,1,1,1,52,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 185,2,1,1,1,1,1,1,53,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 186,2,1,1,1,1,1,1,54,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 187,2,1,1,1,1,1,1,55,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 188,2,1,1,1,1,1,1,56,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 189,2,1,1,1,1,1,1,57,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 190,2,1,1,1,1,1,1,58,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 191,2,1,1,1,1,1,1,59,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 192,2,1,1,1,1,1,1,60,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 193,2,1,1,1,1,1,1,61,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 194,2,1,1,1,1,1,1,62,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 195,2,1,1,1,1,1,1,63,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 196,2,1,1,1,1,1,1,64,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 197,2,1,1,1,1,1,1,65,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 198,2,1,1,1,1,1,1,66,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 199,2,1,1,1,1,1,1,67,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 200,2,1,1,1,1,1,1,68,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 201,2,1,1,1,1,1,1,69,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 202,2,1,1,1,1,1,1,70,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 203,2,1,1,1,1,1,1,71,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 204,2,1,1,1,1,1,1,72,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 205,2,1,1,1,1,1,1,73,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 206,2,1,1,1,1,1,1,74,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 207,2,1,1,1,1,1,1,75,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 208,2,1,1,1,1,1,1,76,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 209,2,1,1,1,1,1,1,77,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 210,2,1,1,1,1,1,1,78,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 211,2,1,1,1,1,1,1,79,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 212,2,1,1,1,1,1,1,80,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 213,2,1,1,1,1,1,1,81,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 214,2,1,1,1,1,1,1,82,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 215,2,1,1,1,1,1,1,83,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 216,2,1,1,1,1,1,1,84,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 217,2,1,1,1,1,1,1,85,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 218,2,1,1,1,1,1,1,86,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 219,2,1,1,1,1,1,1,87,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 220,2,1,1,1,1,1,1,88,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 221,2,1,1,1,1,1,1,89,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 222,2,1,1,1,1,1,1,90,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 223,2,1,1,1,1,1,1,91,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 224,2,1,1,1,1,1,1,92,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 225,2,1,1,1,1,1,1,93,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 226,2,1,1,1,1,1,1,94,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 227,2,1,1,1,1,1,1,95,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 228,2,1,1,1,1,1,1,96,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 229,2,1,1,1,1,1,1,97,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 230,2,1,1,1,1,1,1,98,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 231,2,1,1,1,1,1,1,99,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 232,2,1,1,1,1,1,1,100,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 233,2,1,1,1,1,1,1,101,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 234,2,1,1,1,1,1,1,102,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 235,2,1,1,1,1,1,1,103,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 236,2,1,1,1,1,1,1,104,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 237,2,1,1,1,1,1,1,105,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 238,2,1,1,1,1,1,1,106,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 239,2,1,1,1,1,1,1,107,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 240,2,1,1,1,1,1,1,108,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 241,2,1,1,1,1,1,1,109,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 242,2,1,1,1,1,1,1,110,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 243,2,1,1,1,1,1,1,111,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 244,2,1,1,1,1,1,1,112,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 245,2,1,1,1,1,1,1,113,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 246,2,1,1,1,1,1,1,114,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 247,2,1,1,1,1,1,1,115,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 248,2,1,1,1,1,1,1,116,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 249,2,1,1,1,1,1,1,117,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 250,2,1,1,1,1,1,1,118,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 251,2,1,1,1,1,1,1,119,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 252,2,1,1,1,1,1,1,120,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 253,2,1,1,1,1,1,1,121,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 254,2,1,1,1,1,1,1,122,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 255,2,1,1,1,1,1,1,123,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 256,2,1,1,1,1,1,1,124,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 257,2,1,1,1,1,1,1,125,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 258,2,1,1,1,1,1,1,126,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 259,2,1,1,1,1,1,1,127,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 260,2,1,1,1,1,1,1,128,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 261,2,1,1,1,1,1,1,129,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 262,2,1,1,1,1,1,1,130,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 263,2,1,1,1,1,1,1,131,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 264,2,1,1,1,1,1,1,132,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 265,2,1,1,1,1,1,1,133,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 266,2,1,1,1,1,1,1,134,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 267,2,1,1,1,1,1,1,135,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 268,2,1,1,1,1,1,1,136,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 269,2,1,1,1,1,1,1,137,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 270,2,1,1,1,1,1,1,138,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 271,2,1,1,1,1,1,1,139,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 272,2,1,1,1,1,1,1,201,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 273,2,1,1,1,1,1,1,203,1,1)
INSERT [ZL_UserPromotions] ([pid],[GroupID],[look],[addTo],[Modify],[Columns],[Comments],[Deleted],[NodeID],[quote],[down]) VALUES ( 274,2,1,1,1,1,1,1,206,1,1)
SET IDENTITY_INSERT [ZL_UserPromotions] OFF

SET IDENTITY_INSERT [ZL_PageTemplate] ON
INSERT [ZL_PageTemplate] ( [TemplateID] , [TemplateName] , [TemplateUrl] , [TemplateType] , [OpenType] , [UserGroup] , [Addtime] , [IsTrue] , [Userid] , [UserName] , [OrderID] , [ParentID] , [Modelinfo] , [identifiers] , [NodeFileEx] , [ContentFileEx] , [Nodeimgurl] , [Nodeimgtext] , [Pagecontent] , [PageMetakeyword] , [PageMetakeyinfo] , [linkurl] , [linkimg] , [linktxt] ) VALUES ( 1 , '企业介绍' , '' , 2 , '_blank' , '0' , '2010-02-27 20:22:54.000' , 1 , 0 , '' , 0 , 0 , '0,' , 'QYJS' , 'html' , 'html' , '' , '' , '' , '' , '' , '' , '' , '' )
INSERT [ZL_PageTemplate] ( [TemplateID] , [TemplateName] , [TemplateUrl] , [TemplateType] , [OpenType] , [UserGroup] , [Addtime] , [IsTrue] , [Userid] , [UserName] , [OrderID] , [ParentID] , [Modelinfo] , [identifiers] , [NodeFileEx] , [ContentFileEx] , [Nodeimgurl] , [Nodeimgtext] , [Pagecontent] , [PageMetakeyword] , [PageMetakeyinfo] , [linkurl] , [linkimg] , [linktxt] ) VALUES ( 2 , '产品发布' , '' , 2 , '_blank' , '0' , '2010-02-27 20:24:11.000' , 1 , 0 , '' , 0 , 0 , '0,' , 'CPFB' , 'html' , 'html' , 'product' , '' , '' , '' , '' , '' , '' , '' )
SET IDENTITY_INSERT [ZL_PageTemplate] OFF

SET IDENTITY_INSERT [ZL_GradeCate] ON
INSERT [ZL_GradeCate] ( [CateID] , [CateName] , [Remark] , [GradeField] ) VALUES ( 1 , '省市二级联动' , '' , '省或直辖市|地级市' )
INSERT [ZL_GradeCate] ([CateID],[CateName],[GradeField]) VALUES ( 2,N'问题分类',N'大类|小类')
INSERT [ZL_GradeCate] ([CateID],[CateName],[GradeField]) VALUES ( 3,N'百科分类',N'一级|二级|三级')
SET IDENTITY_INSERT [ZL_GradeCate] OFF

GO
CREATE TABLE [dbo].[ZL_Compete](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[AucType] [int] NULL,
	[PaulPrice] [money] NULL,
	[AucExecType] [int] NULL,
	[DepVal] [int] NULL,
	[AddPrice] [money] NULL,
	[ShopId] [int] NULL,
	[ShopNum] [int] NULL,
	[Timedown] [float] NULL,
	[AutoAction] [int] NULL,
	[SperTime] [float] NULL,
	[NoticeTime] [float] NULL,
	[Times] [int] NULL,
	[AddMShPrice] [money] NULL,
	[AddMPointVal] [int] NULL,
	[PostPrice] [money] NULL,
	[UserType] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ShopState] [int] NULL,
	[AddTime] [datetime] NULL CONSTRAINT [DF_ZL_Compete_AddTime]  DEFAULT (getdate()),
	[BegionTime] [datetime] NULL CONSTRAINT [DF_ZL_Compete_BegionTime]  DEFAULT (getdate()),
	[EndTime] [datetime] NULL CONSTRAINT [DF_ZL_Compete_EndTime]  DEFAULT (getdate()),
	[ComState] [int] NULL,
	[LastUserID] [int] NULL,
	[ModeID] [int] NULL,
	[NodeID] [int] NULL,
	[InitPrice] [money] NULL,
	[AddMTimesCount] [int] NULL,
	[ComPeteCount] [int] NULL,
	[GuessXML] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[OrderBy] [int] NULL,
	[TimeTop] [float] NULL,
	[isStarSec] [int] NULL,
	[GuMaxPrice] [money] NULL,
	[OrderID] [int] NULL,
	[Pruse] [money] NULL,
	[CompeteXmlName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍类型：0为交易区,1为体验区' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'AucType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'保价价格' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'PaulPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍流程类型：0为普通竞拍,1为加码竞拍' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'AucExecType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'每次出价消耗宝点数量' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'DepVal'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'每次竞拍商品价格增数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'AddPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'ShopId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品参与竞拍数量' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'ShopNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍倒计时:多少秒' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'Timedown'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否自动进入竞拍:0为是,1为否' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'AutoAction'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'进入下一期商品竞拍间隔时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'SperTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'提前多少小时进行预告' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'NoticeTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'加码机制:已拍多少次开始加码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'Times'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'加码竞拍商品价格增加值' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'AddMShPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'加码竞拍出价点值减少数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'AddMPointVal'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'邮费' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'PostPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'参与竞拍的会员组类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'UserType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍商品状态：0为正在竞拍,1为竞拍成功，2为保价购买,3为放弃购买' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'ShopState'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'AddTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍开始时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'BegionTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍结束时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'EndTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍状态:1-正在竞拍,2-竞拍成功,3-即将竞拍 ,4-保价购买,5-放弃购买' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'ComState'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'最后竞拍会员ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'LastUserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模型ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'ModeID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'节点ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'NodeID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'初始出价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'InitPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'加码的次数增倍(开始加码后竞拍次数以多少倍增加后继续加码)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'AddMTimesCount'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍次数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'ComPeteCount'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍干扰模式' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'GuessXML'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'OrderBy'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'时间封顶' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'TimeTop'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否开启竞拍秘书(0为否，1为是)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'isStarSec'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'干扰最高价格限制(即竞拍到多少价格干扰关闭)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'GuMaxPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'OrderID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'拍到此商品送虚拟金币(即可用于保价购买的拍点)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'Pruse'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍XML文件名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Compete', @level2type=N'COLUMN',@level2name=N'CompeteXmlName'

GO
CREATE TABLE [dbo].[ZL_CompleteHistory](
	[ID] [int] IDENTITY(1,1) NOT  NULL,
	[AddTime] [datetime] NULL CONSTRAINT [DF_ZL_CompleteHistory_AddTime]  DEFAULT (getdate()),
	[UserId] [int] NULL,
	[BidType] [int] NULL,
	[BidPrice] [money] NULL,
	[IP] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ShopId] [int] NULL,
	[CompeteID] [int] NULL,
	[Remark] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[ComeType] [int] NULL,
	[CouType] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[CState] [int] NULL,
        [Operator] [int]  NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'出价时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompleteHistory', @level2type=N'COLUMN',@level2name=N'AddTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompleteHistory', @level2type=N'COLUMN',@level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'出价类型:0为手动,1为自动' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompleteHistory', @level2type=N'COLUMN',@level2name=N'BidType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'出价' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompleteHistory', @level2type=N'COLUMN',@level2name=N'BidPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'IP地址' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompleteHistory', @level2type=N'COLUMN',@level2name=N'IP'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞价商品' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompleteHistory', @level2type=N'COLUMN',@level2name=N'ShopId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompleteHistory', @level2type=N'COLUMN',@level2name=N'CompeteID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'来源区：0为交易区，1为体验区' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompleteHistory', @level2type=N'COLUMN',@level2name=N'ComeType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'付款方式：扣值(宝点) 扣钱' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompleteHistory', @level2type=N'COLUMN',@level2name=N'CouType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍状态:0-竞拍成功,1-竞拍失败' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompleteHistory', @level2type=N'COLUMN',@level2name=N'CState'

GO
CREATE TABLE [dbo].[ZL_CompSecretary](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[MaxPrice] [money] NULL,
	[Times] [int] NULL,
	[UserID] [int] NULL,
	[UserName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[State] [int] NULL,
	[ShopID] [int] NULL,
	[SetTime] [datetime] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'最高价格' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompSecretary', @level2type=N'COLUMN',@level2name=N'MaxPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'次数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompSecretary', @level2type=N'COLUMN',@level2name=N'Times'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompSecretary', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompSecretary', @level2type=N'COLUMN',@level2name=N'UserName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'启用状态：0为启用,1为停用' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompSecretary', @level2type=N'COLUMN',@level2name=N'State'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'设置时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompSecretary', @level2type=N'COLUMN',@level2name=N'SetTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_CompSecretary', @level2type=N'COLUMN',@level2name=N'ShopID'


GO
CREATE TABLE [dbo].[ZL_S_FloPack](
	[ID] [int]  IDENTITY (1, 1) NOT NULL,
	[UserID] [int] NULL,
	[PackName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[PackPrice] [money] NULL,
	[Remark] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[SID] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_S_FloPack', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'包装名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_S_FloPack', @level2type=N'COLUMN',@level2name=N'PackName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'包装费用(含包装、设计及服务费)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_S_FloPack', @level2type=N'COLUMN',@level2name=N'PackPrice'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_S_FloPack', @level2type=N'COLUMN',@level2name=N'Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'店铺ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_S_FloPack', @level2type=N'COLUMN',@level2name=N'SID'

GO
CREATE TABLE [dbo].[ZL_S_FloGoods](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[GoodsMethod] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Userid] [int] NULL,
	[Sid] [int] NULL,
	[Remark] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Price] [money] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'运货方式' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_S_FloGoods', @level2type=N'COLUMN',@level2name=N'GoodsMethod'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_S_FloGoods', @level2type=N'COLUMN',@level2name=N'Userid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商铺ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_S_FloGoods', @level2type=N'COLUMN',@level2name=N'Sid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_S_FloGoods', @level2type=N'COLUMN',@level2name=N'Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'运费' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_S_FloGoods', @level2type=N'COLUMN',@level2name=N'Price'


SET IDENTITY_INSERT [ZL_S_FloGoods] ON
INSERT [ZL_S_FloGoods] ( [ID] , [GoodsMethod] , [Userid] , [Sid] , [Remark] , [Price] ) VALUES ( 1 , '先送货后付款' , 1 , 1 , '下午直接送达 ' , .0000 )
INSERT [ZL_S_FloGoods] ( [ID] , [GoodsMethod] , [Userid] , [Sid] , [Remark] , [Price] ) VALUES ( 2 , '上午直接送达' , 1 , 1 , '收货时间将由店铺和收货人预约确定' , .0000 )
INSERT [ZL_S_FloGoods] ( [ID] , [GoodsMethod] , [Userid] , [Sid] , [Remark] , [Price] ) VALUES ( 3 , '下午直接送达 ' , 1 , 1 , '下午直接送达 ' , .0000 )
INSERT [ZL_S_FloGoods] ( [ID] , [GoodsMethod] , [Userid] , [Sid] , [Remark] , [Price] ) VALUES ( 6 , 'sdfdsf' , 69 , 2 , '23424' , 2.0000 )
SET IDENTITY_INSERT [ZL_S_FloGoods] OFF

SET IDENTITY_INSERT [ZL_S_FloPack] ON
INSERT [ZL_S_FloPack] ( [ID] , [UserID] , [PackName] , [PackPrice] , [Remark] , [SID] ) VALUES ( 2 , 1 , '标准包装' , 50.0000 , '含包装、设计及服务费' , 1 )
INSERT [ZL_S_FloPack] ( [ID] , [UserID] , [PackName] , [PackPrice] , [Remark] , [SID] ) VALUES ( 3 , 1 , '豪华包装' , 70.0000 , '含包装、设计及服务费' , 1 )
INSERT [ZL_S_FloPack] ( [ID] , [UserID] , [PackName] , [PackPrice] , [Remark] , [SID] ) VALUES ( 4 , 1 , '玻璃瓶' , 60.0000 , '' , 1 )
INSERT [ZL_S_FloPack] ( [ID] , [UserID] , [PackName] , [PackPrice] , [Remark] , [SID] ) VALUES ( 7 , 69 , '标准包装' , 50.0000 , '光电股份' , 2 )
SET IDENTITY_INSERT [ZL_S_FloPack] OFF

SET IDENTITY_INSERT [ZL_CommonModel] ON
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID]) VALUES ( 2,255,75,6,1,N'ZL_P_Shop',N'示例商品',N'admin',72,N'2015-10-13 17:00:06',0,0,0,N'2015-12-23 10:38:57',0,0,0,0,0,0,2)
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[Subtitle],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 3,256,79,2,1,N'ZL_C_Article',N'周末趣图：图说史上30大超囧发明',N'admin',8,N'2015-5-6 14:50:29',99,1,0,N'2015-5-10 18:28:11',1,0,0,N'囧囧有神',N'z',0.0000,0,0,0,0,0,0,1,N',1,79,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 4,257,79,2,2,N'ZL_C_Article',N'围观各种奇葩情侣照 你也来张吧',N'admin',1,N'2015-5-6 14:54:45',99,1,0,N'2015-5-6 14:54:45',1,0,0,N'w',0.0000,0,0,0,0,0,0,1,N',1,79,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[Subtitle],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 5,258,79,2,3,N'ZL_C_Article',N'娱乐圈十大美女劳模',N'admin',2,N'2015-5-6 14:55:59',99,1,0,N'2015-5-10 20:34:04',1,0,0,N'娱乐行业中的劳动模范',N'y',0.0000,0,0,0,0,0,0,1,N',1,79,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[Subtitle],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 6,259,79,2,4,N'ZL_C_Article',N'Zoomla!逐浪CMS2 x1.4全面发布',N'admin',4,N'2015-5-6 15:09:41',99,1,0,N'2015-5-6 16:09:11',1,0,0,N'最新最好的CMS！',N'z',0.0000,0,0,0,0,0,0,1,N',1,79,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 7,260,76,5,1,N'ZL_C_RedirectLink',N'视频教程中心全新改版精彩推出',N'admin',0,N'2015-5-6 15:12:31',99,0,0,N'2015-5-6 15:12:31',1,0,0,N's',0.0000,0,0,0,0,0,0,76,N',76,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 8,261,76,1,1,N'ZL_C_Announce',N'另一种交互-Kinect体感研发与应用侧记',N'admin',0,N'2015-5-6 15:13:23',99,0,0,N'2015-5-6 15:13:23',1,0,0,N'l',0.0000,0,0,0,0,0,0,76,N',76,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 9,262,76,1,2,N'ZL_C_Announce',N'Zoomla!逐浪CMS多语言版即将面世',N'admin',0,N'2015-5-6 15:14:17',99,0,0,N'2015-5-6 15:14:17',1,0,0,N'z',0.0000,0,0,0,0,0,0,76,N',76,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 10,263,76,1,3,N'ZL_C_Announce',N'逐浪CMS走进江苏高校',N'admin',0,N'2015-5-6 15:14:52',99,0,0,N'2015-5-6 15:14:52',1,0,0,N'z',0.0000,0,0,0,0,0,0,76,N',76,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 11,264,76,5,2,N'ZL_C_RedirectLink',N'2012年3月江西旅游商贸学院培训',N'admin',0,N'2015-5-6 15:15:24',99,0,0,N'2015-5-6 15:15:24',1,0,0,N'2',0.0000,0,0,0,0,0,0,76,N',76,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 12,265,76,1,4,N'ZL_C_Announce',N'龙年春晓-逐浪CMS同步教学与知识加密系统全面发布',N'admin',0,N'2015-5-6 15:16:12',99,0,0,N'2015-5-6 15:16:12',1,0,0,N'l',0.0000,0,0,0,0,0,0,76,N',76,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 13,266,76,1,5,N'ZL_C_Announce',N'代号河豚-逐浪CMS6.0版发布计划',N'admin',0,N'2015-5-6 15:16:42',99,0,0,N'2015-5-6 15:16:42',1,0,0,N'd',0.0000,0,0,0,0,0,0,76,N',76,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 19,272,138,19,1,N'ZL_C_Info',N'景德镇登峰文化传媒有限公司',N'admin',7,N'2015-5-6 16:49:58',99,0,0,N'2015-5-9 0:42:25',1,0,0,N'j',0.0000,0,0,0,0,0,0,99,N',99,138,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 20,273,78,2,6,N'ZL_C_Article',N'关于我们',N'admin',0,N'2015-5-7 8:54:33',99,0,0,N'2015-5-7 8:54:33',1,0,0,N'g',0.0000,0,0,0,0,0,0,105,N',105,78,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 21,274,78,2,7,N'ZL_C_Article',N'联系我们',N'admin',1,N'2015-5-7 8:56:09',99,0,0,N'2015-5-7 8:57:27',1,0,0,N'l',0.0000,0,0,0,0,0,0,105,N',105,78,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 22,275,78,2,8,N'ZL_C_Article',N'法律声明',N'admin',20,N'2015-5-7 8:58:28',99,0,0,N'2015-5-7 8:58:28',1,0,0,N'f',0.0000,0,0,0,0,0,0,105,N',105,78,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 23,276,78,2,9,N'ZL_C_Article',N'鸣谢名单',N'admin',0,N'2015-5-7 9:00:10',99,0,0,N'2015-5-7 9:00:10',1,0,0,N'm',0.0000,0,0,0,0,0,0,105,N',105,78,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 24,277,97,3,1,N'ZL_C_Photo',N'逐浪产品展示区',N'admin',51,N'2015-5-7 9:43:29',99,1,0,N'2015-5-7 9:50:51',1,0,0,N'z',0.0000,0,0,0,0,0,0,85,N',85,97,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 25,278,104,19,2,N'ZL_C_Info',N'出售07年吉利自由舰2万元',N'admin',28,N'2015-5-7 10:49:54',99,1,0,N'2015-5-7 10:49:54',1,0,0,N'c',0.0000,0,0,0,0,0,0,99,N',99,104,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 26,279,92,4,1,N'ZL_C_soft',N'百年家族传奇：福地',N'admin',17,N'2015-5-7 11:01:37',99,1,0,N'2015-5-7 11:01:37',1,0,0,N'b',0.0000,0,0,0,0,0,0,84,N',84,92,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 27,280,1,2,10,N'ZL_C_Article',N'sdfsdf',N'admin',0,N'2015-5-8 8:35:21',99,0,0,N'2015-5-8 8:35:34',1,0,0,N's',0.0000,0,0,0,0,0,0,1,N',1,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 28,281,1,2,11,N'ZL_C_Article',N'ddd',N'admin',1,N'2015-5-8 8:37:52',99,0,0,N'2015-5-8 8:38:27',1,0,0,N'd',0.0000,0,0,0,0,0,0,1,N',1,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[SpecialID],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 29,282,1,2,12,N'ZL_C_Article',N'ssss',N'admin',0,N'2015-5-8 8:53:36',99,0,N'1,2,3,',0,N'2015-5-8 9:08:12',1,0,0,N's',0.0000,0,0,0,0,0,0,1,N',1,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[SpecialID],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 30,283,1,2,13,N'ZL_C_Article',N'sds',N'admin',0,N'2015-5-8 8:55:33',99,0,N'2,3,',0,N'2015-5-9 8:42:30',1,0,0,N's',0.0000,0,0,0,0,0,0,1,N',1,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateType],[DefaultSkins]) VALUES ( 31,1,25,14,0,N'ZL_S_Flower',N'耐克鞋',N'admin',0,N'2015-5-8 20:58:08',99,0,0,0,0)
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateType],[DefaultSkins]) VALUES ( 32,1,25,20,0,N'ZL_S_shop',N'耐克 男篮球鞋 宝蓝/白/黑 488370-400',N'admin',0,N'2015-5-8 22:09:29',99,0,0,0,0)
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 33,284,88,8,1,N'ZL_C_FriendSite',N'华夏互联',N'admin',0,N'2015-5-8 23:44:04',99,0,0,N'2015-5-8 23:44:04',1,0,0,N'h',0.0000,0,0,0,0,0,0,88,N',88,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 34,285,88,8,2,N'ZL_C_FriendSite',N'一特网',N'admin',0,N'2015-5-8 23:47:38',99,0,0,N'2015-5-8 23:47:38',1,0,0,N'y',0.0000,0,0,0,0,0,0,88,N',88,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 35,286,88,8,3,N'ZL_C_FriendSite',N'华夏营销网',N'admin',0,N'2015-5-8 23:48:56',99,0,0,N'2015-5-8 23:48:56',1,0,0,N'h',0.0000,0,0,0,0,0,0,88,N',88,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 36,287,88,8,4,N'ZL_C_FriendSite',N'Zoomla！逐浪CMS',N'admin',0,N'2015-5-8 23:50:10',99,0,0,N'2015-5-8 23:50:10',1,0,0,N'z',0.0000,0,0,0,0,0,0,88,N',88,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 42,293,102,19,8,N'ZL_C_Info',N'二手房新想dd',N'admin',4,N'2015-5-9 0:45:12',99,0,0,N'2015-5-9 0:45:12',1,0,0,N'e',0.0000,0,0,0,0,0,0,99,N',99,102,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 43,294,103,19,9,N'ZL_C_Info',N'交个女朋友',N'admin',2,N'2015-5-9 0:46:11',99,0,0,N'2015-5-9 0:46:11',1,0,0,N'j',0.0000,0,0,0,0,0,0,99,N',99,103,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 46,297,95,7,1,N'ZL_C_video',N'逐浪软件',N'admin',23,N'2015-5-9 19:51:37',99,0,0,N'2015-5-9 19:53:29',1,0,0,N'z',0.0000,0,0,0,0,0,0,86,N',86,95,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 49,300,100,2,14,N'ZL_C_Article',N'汇聚智能门户与云计算引擎的Zoomla!逐浪CMS',N'admin',1,N'2015-5-10 18:21:56',99,1,0,N'2015-5-10 18:21:55',1,0,0,N'h',0.0000,0,0,0,0,0,0,1,N',1,100,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 50,301,100,2,15,N'ZL_C_Article',N'融聚移动应用与桌面软件平台',N'admin',0,N'2015-5-10 18:24:19',99,0,0,N'2015-5-10 18:24:19',1,0,0,N'r',0.0000,0,0,0,0,0,0,1,N',1,100,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 51,302,100,2,16,N'ZL_C_Article',N'多门户子站切换系统',N'admin',0,N'2015-5-10 18:24:27',99,0,0,N'2015-5-10 18:24:27',1,0,0,N'd',0.0000,0,0,0,0,0,0,1,N',1,100,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 52,303,100,2,17,N'ZL_C_Article',N'千万级数据库负载测试级别',N'admin',0,N'2015-5-10 18:24:33',99,0,0,N'2015-5-10 18:24:33',1,0,0,N'q',0.0000,0,0,0,0,0,0,1,N',1,100,')
INSERT [ZL_CommonModel] ([GeneralID],[OrderID],[NodeID],[ModelID],[ItemID],[TableName],[Title],[Inputer],[Hits],[CreateTime],[Status],[EliteLevel],[IsCreate],[UpDateTime],[UpDateType],[cast_file],[SuccessfulUserID],[PYtitle],[BidMoney],[IsBid],[Pronum],[ProWeek],[BidType],[DefaultSkins],[OrederClass],[FirstNodeID],[ParentTree]) VALUES ( 53,304,100,2,18,N'ZL_C_Article',N'云台百套模板智能切换',N'admin',0,N'2015-5-10 18:24:39',99,0,0,N'2015-5-10 18:24:39',1,0,0,N'y',0.0000,0,0,0,0,0,0,1,N',1,100,')
SET IDENTITY_INSERT [ZL_CommonModel] OFF

SET IDENTITY_INSERT [ZL_StoreStyleTable] ON
INSERT [ZL_StoreStyleTable] ( [ID] , [StyleName] , [StylePic] , [StyleUrl] , [ListStyle] , [ContentStyle] , [ModelID] , [IsTrue] ) VALUES ( 1 , '默认店铺模板方案' , '' , '/内容页/默认公告内容页.html' , '店铺模版/店铺信息列表页.html' , '店铺模版/店铺信息内容页.html' , 36 , 1 )
SET IDENTITY_INSERT [ZL_StoreStyleTable] OFF

GO
CREATE TABLE [dbo].[ZL_BindFlolar](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Shopid] [int] NULL,
	[BindSid] [int] NULL,
	[Addtime] [datetime] NULL,
	[Userid] [int] NULL,
	[SNum] [int] NULL,
 CONSTRAINT [PK_ZL_BindFlolar] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BindFlolar', @level2type=N'COLUMN',@level2name=N'Shopid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品绑定花材id编号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BindFlolar', @level2type=N'COLUMN',@level2name=N'BindSid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BindFlolar', @level2type=N'COLUMN',@level2name=N'Addtime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID,添加商品用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BindFlolar', @level2type=N'COLUMN',@level2name=N'Userid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'花材数量' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_BindFlolar', @level2type=N'COLUMN',@level2name=N'SNum'

CREATE TABLE [dbo].[ZL_Store_reg] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[UserID] [int]  NOT NULL,
[UserName] [nvarchar]  (255) NULL,
[StoreName] [varchar]  (50) NULL,
[StoreCredit] [int]  NULL DEFAULT (0),
[StoreCommendState] [int]  NULL DEFAULT (0),
[StoreState] [int]  NULL DEFAULT (0),
[StoreStyleID] [int]  NULL DEFAULT (0),
[StoreModelID] [int]  NULL,
[StoreStyle] [int]  NULL DEFAULT (0),
[AddTime] [datetime]  NULL DEFAULT (getdate()),
[area] [nvarchar]  (255) NULL DEFAULT (''),
[logo] [nvarchar]  (255) NULL DEFAULT (''),
[content] [ntext]  NULL DEFAULT (''),
[lxr] [nvarchar]  (255) NULL DEFAULT (''),
[tel] [nvarchar]  (255) NULL DEFAULT (''),
[addr] [nvarchar]  (255) NULL DEFAULT (''),
[weibo] [nvarchar]  (255) NULL DEFAULT (''),
[map] [ntext]  NULL DEFAULT (''),
[tyy] [ntext]  NULL DEFAULT (''))

ALTER TABLE [ZL_Store_reg] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Store_reg] PRIMARY KEY  NONCLUSTERED ( [ID] )

GO
CREATE TABLE [dbo].[ZL_UserRecei](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[ReceivName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Street] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[Zipcode] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[phone] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[MobileNum] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[isDefault] [int] NULL,
	[UserID] [int] NULL,
	[Provinces] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Email] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'收货人姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserRecei', @level2type=N'COLUMN',@level2name=N'ReceivName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'街道' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserRecei', @level2type=N'COLUMN',@level2name=N'Street'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'邮政编码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserRecei', @level2type=N'COLUMN',@level2name=N'Zipcode'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'电话号码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserRecei', @level2type=N'COLUMN',@level2name=N'phone'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'手机号码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserRecei', @level2type=N'COLUMN',@level2name=N'MobileNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否默认:0为是,1为否' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserRecei', @level2type=N'COLUMN',@level2name=N'isDefault'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserRecei', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'省市' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserRecei', @level2type=N'COLUMN',@level2name=N'Provinces'

GO
CREATE TABLE [dbo].[ZL_Package](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Tname] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Timg] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Tinfo] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[Tform] [int] NULL,
	[Ito] [int] NULL,
	[Tnum] [int] NULL,
	[Point] [int] NULL,
 CONSTRAINT [PK_ZL_Package] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'套餐名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Package', @level2type=N'COLUMN',@level2name=N'Tname'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'套餐图片' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Package', @level2type=N'COLUMN',@level2name=N'Timg'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'套餐说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Package', @level2type=N'COLUMN',@level2name=N'Tinfo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'套餐兑换需要金钱' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Package', @level2type=N'COLUMN',@level2name=N'Tform'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'兑换宝点数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Package', @level2type=N'COLUMN',@level2name=N'Ito'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'套餐数量' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Package', @level2type=N'COLUMN',@level2name=N'Tnum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'赠送玩点' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Package', @level2type=N'COLUMN',@level2name=N'Point'

GO
CREATE TABLE [dbo].[ZL_UserDay](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[D_name] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NULL,
	[D_date] [datetime] NULL,
	[D_Content] [nvarchar](200) COLLATE Chinese_PRC_CI_AS NULL,
	[D_UserID] [int] NULL,
	[D_mail] [int] NULL CONSTRAINT [DF_ZL_UserDay_D_mail]  DEFAULT (0),
	[D_mobile] [int] NULL CONSTRAINT [DF_ZL_UserDay_D_mobile]  DEFAULT (0),
	[D_SendNum] [int] NULL CONSTRAINT [DF_ZL_UserDay_D_SendNum]  DEFAULT (0),
 CONSTRAINT [PK_ZL_UserDate] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'节日名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserDay', @level2type=N'COLUMN',@level2name=N'D_name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'节日日期' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserDay', @level2type=N'COLUMN',@level2name=N'D_date'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'提醒内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserDay', @level2type=N'COLUMN',@level2name=N'D_Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserDay', @level2type=N'COLUMN',@level2name=N'D_UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'邮件发送状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserDay', @level2type=N'COLUMN',@level2name=N'D_mail'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'手机发送状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserDay', @level2type=N'COLUMN',@level2name=N'D_mobile'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发送次数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserDay', @level2type=N'COLUMN',@level2name=N'D_SendNum'

GO
CREATE TABLE [dbo].[ZL_OrderDelivery](
	[ID] [int] IDENTITY (1, 1) NOT NULL,
	[DeName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ModelNum] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[UserID] [int] NULL,
	[AddTime] [datetime] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发货人姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderDelivery', @level2type=N'COLUMN',@level2name=N'DeName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'手机号码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderDelivery', @level2type=N'COLUMN',@level2name=N'ModelNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderDelivery', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderDelivery', @level2type=N'COLUMN',@level2name=N'AddTime'

GO
CREATE TABLE [dbo].[ZL_OrderBaseField](
	[FieldID] [int] IDENTITY(1,1) NOT NULL,
	[FieldName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[FieldAlias] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[FieldTips] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Description] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[IsNotNull] [bit] NULL CONSTRAINT [DF_ZL_OrderBaseField_IsNotNull]  DEFAULT (0),
	[FieldType] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[Content] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[OrderId] [int] NULL CONSTRAINT [DF_ZL_OrderBaseField_OrderId]  DEFAULT (1),
	[ShowList] [bit] NULL,
	[ShowWidth] [int] NULL CONSTRAINT [DF_ZL_OrderBaseField_ShowWidth]  DEFAULT (0),
	[NoEdit] [int] NULL CONSTRAINT [DF_ZL_OrderBaseField_NoEdit]  DEFAULT (0),
	[Type] [int] NULL,
 CONSTRAINT [PK_ZL_OrderBaseField] PRIMARY KEY NONCLUSTERED 
(
	[FieldID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'FieldName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段别名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'FieldAlias'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'FieldTips'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段描述' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'Description'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段允许空，1：允许，2：不允许' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'IsNotNull'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'FieldType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'字段内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'OrderId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'列表显示。1：显示，2不显示' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'ShowList'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'显示列宽度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'ShowWidth'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否允许修改' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'NoEdit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'模型类型：0为网站订单,1为店铺订单' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_OrderBaseField', @level2type=N'COLUMN',@level2name=N'Type'

GO
CREATE TABLE [dbo].[ZL_UserCaritHis](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NOT NULL CONSTRAINT [DF_ZL_UserCaritHis_UserID]  DEFAULT (null),
	[UserCarit] [int] NOT NULL CONSTRAINT [DF_ZL_UserCaritHis_Score]  DEFAULT (0),
	[HisTime] [datetime] NULL CONSTRAINT [DF_ZL_UserCaritHis_HisTime]  DEFAULT (getdate()),
	[Operator] [int] NULL,
	[Detail] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[OperatorIP] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_UserCaritHis] PRIMARY KEY NONCLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCaritHis', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'信誉值变化数量' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCaritHis', @level2type=N'COLUMN',@level2name=N'UserCarit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'变更时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCaritHis', @level2type=N'COLUMN',@level2name=N'HisTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'操作人ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCaritHis', @level2type=N'COLUMN',@level2name=N'Operator'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'详细备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCaritHis', @level2type=N'COLUMN',@level2name=N'Detail'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'操作IP' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCaritHis', @level2type=N'COLUMN',@level2name=N'OperatorIP'

GO
CREATE TABLE [dbo].[ZL_InvtoType](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[InvtoType] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Invto] [float] NULL,
	[Addtime] [datetime] NULL,
	[AdminID] [int] NULL,
	[Remark] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_InvtoType] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发票类型名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_InvtoType', @level2type=N'COLUMN',@level2name=N'InvtoType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'发票税率' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_InvtoType', @level2type=N'COLUMN',@level2name=N'Invto'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_InvtoType', @level2type=N'COLUMN',@level2name=N'Addtime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'管理员ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_InvtoType', @level2type=N'COLUMN',@level2name=N'AdminID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_InvtoType', @level2type=N'COLUMN',@level2name=N'Remark'

GO
CREATE TABLE [dbo].[ZL_PointGrounp](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[PointVal] [float] NULL,
	[Remark] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[AddTime] [datetime] NULL,
	[GroupName] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NULL ,
	[ImgUrl] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'积分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PointGrounp', @level2type=N'COLUMN',@level2name=N'PointVal'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PointGrounp', @level2type=N'COLUMN',@level2name=N'Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PointGrounp', @level2type=N'COLUMN',@level2name=N'AddTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'等级名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PointGrounp', @level2type=N'COLUMN',@level2name=N'GroupName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片路径' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_PointGrounp', @level2type=N'COLUMN',@level2name=N'ImgUrl'

GO
CREATE TABLE [dbo].[ZL_BiaoQian](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Count] [int] NULL CONSTRAINT [DF_ZL_BiaoQian_count]  DEFAULT (0),
	[Time] [datetime] NULL,
 CONSTRAINT [PK_ZL_BiaoQian] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_GroupBuy](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[price] [money] NULL,
	[number] [int] NULL,
	[ShopID] [int] NULL,
	[count] [money] NULL,
 CONSTRAINT [PK_ZL_GroupBuy] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]
go
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'团购ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupBuy', @level2type=N'COLUMN', @level2name=N'ID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'价格' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupBuy', @level2type=N'COLUMN', @level2name=N'price'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'人数' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupBuy', @level2type=N'COLUMN', @level2name=N'number'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupBuy', @level2type=N'COLUMN', @level2name=N'ShopID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'总价' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_GroupBuy', @level2type=N'COLUMN', @level2name=N'count'

GO
CREATE TABLE [dbo].[ZL_Course](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[CourseName] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[CoureseThrun] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[CoureseCode] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[CoureseCredit] [float] NULL,
	[CoureseRemark] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[Hot] [int] NULL,
	[CoureseClass] [int] NULL,
	[AddTime] [datetime] NULL,
	[AddUser] [int] NULL,
 CONSTRAINT [PK_ZL_Course] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Course', @level2type=N'COLUMN',@level2name=N'CourseName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程缩写' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Course', @level2type=N'COLUMN',@level2name=N'CoureseThrun'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程代码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Course', @level2type=N'COLUMN',@level2name=N'CoureseCode'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学分' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Course', @level2type=N'COLUMN',@level2name=N'CoureseCredit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程简介' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Course', @level2type=N'COLUMN',@level2name=N'CoureseRemark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否热门:0为否,1为是' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Course', @level2type=N'COLUMN',@level2name=N'Hot'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程分类ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Course', @level2type=N'COLUMN',@level2name=N'CoureseClass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Course', @level2type=N'COLUMN',@level2name=N'AddTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Course', @level2type=N'COLUMN',@level2name=N'AddUser'

GO
CREATE TABLE [dbo].[ZL_UserCourse](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[CourseID] [int] NULL,
	[ClassID] [int] NULL,
	[UserID] [int] NULL,
	[CurrCoureHour] [float] NULL,
	[State] [int] NULL,
	[AddTime] [datetime] NULL,
	[PayMent] [int] NULL,
	[OrderID] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Aunit] [int] NULL,
	[Remark] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCourse', @level2type=N'COLUMN',@level2name=N'CourseID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'班级ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCourse', @level2type=N'COLUMN',@level2name=N'ClassID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCourse', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'当前课时' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCourse', @level2type=N'COLUMN',@level2name=N'CurrCoureHour'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'开放状态' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCourse', @level2type=N'COLUMN',@level2name=N'State'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'申请时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCourse', @level2type=N'COLUMN',@level2name=N'AddTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否付款' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCourse', @level2type=N'COLUMN',@level2name=N'PayMent'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCourse', @level2type=N'COLUMN',@level2name=N'OrderID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否审核:0为否,1为是' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCourse', @level2type=N'COLUMN',@level2name=N'Aunit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserCourse', @level2type=N'COLUMN',@level2name=N'Remark'

GO
CREATE TABLE [dbo].[ZL_Courseware](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Courseware] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[CoursNum] [int] NULL,
	[Listen] [int] NULL,
	[UpdateTime] [datetime] NULL,
	[FileUrl] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[CourseID] [int] NULL,
	[Speaker] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,[SJName] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Status] [int] NULL,
	[Description] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Classification] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[CoursType] [int] NULL,
	[CreationTime] [datetime] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课件主题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'Courseware'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课件次序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'CoursNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'可否试听：0为否,1为是' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'Listen'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'UpdateTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试听地址' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'FileUrl'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'CourseID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'主讲人' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Courseware', @level2type=N'COLUMN',@level2name=N'Speaker'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'状态:0为可用;1为不可用' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Courseware', @level2type=N'COLUMN', @level2name=N'Status'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'简介' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Courseware', @level2type=N'COLUMN', @level2name=N'Description'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Courseware', @level2type=N'COLUMN', @level2name=N'Classification'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课件类型:0为外部课件;1为SCORM标准课件 ' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Courseware', @level2type=N'COLUMN', @level2name=N'CoursType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课件创建时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Courseware', @level2type=N'COLUMN', @level2name=N'CreationTime'

GO
CREATE TABLE [dbo].[ZL_ExLecturer](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[TechName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[TechType] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[TechSex] [int] NULL,
	[TechTitle] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[TechPhone] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[CreateTime] [datetime] NULL,
	[TechSpecialty] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[TechHobby] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[TechIntrodu] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[TechLevel] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[TechDepart] [int] NULL,
	[TechClass] [int] NULL,
	[TechRecom] [int] NULL,
	[Popularity] [int] NULL,
	[Awardsinfo] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[FileUpload] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NULL,
	[AddUser] [int] NULL,
	[Professional] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'教师名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'教师类型：内训,外请' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechType'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'教师性别:0为男,1为女' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechSex'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'职称：初级,中级，副高,正高' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechTitle'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'教师电话' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechPhone'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'CreateTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'特长' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechSpecialty'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'爱好' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechHobby'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'教师级别：一级，二级，三级' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechLevel'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'部门' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechDepart'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'专业类别：英语,计算机' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechClass'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'推荐讲师' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'TechRecom'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'人气' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'Popularity'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'获奖情况' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'Awardsinfo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上传照片' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'FileUpload'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'AddUser'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'专业ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExLecturer', @level2type=N'COLUMN',@level2name=N'Professional'

GO
CREATE TABLE [dbo].[ZL_ExTeacher](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[TClsss] [int] NULL,
	[TName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Post] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Teach] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[FileUpload] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[Remark] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[CreatTime] [datetime] NULL,
	[AddUser] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'老师分类' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'TClsss'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'老师名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'TName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'职位' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'Post'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'授课' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'Teach'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'图片' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'FileUpload'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'老师信息' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExTeacher', @level2type=N'COLUMN',@level2name=N'AddUser'

GO
CREATE TABLE [dbo].[ZL_ExamPoint](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[TestPoint] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[TID] [int] NULL,
	[OrderBy] [int] NULL,
	[AddUser] [int] NULL,
	[AddTime] [datetime] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考点ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'ID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考点名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'TestPoint'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'上级考点' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'TID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'OrderBy'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'管理员' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'AddUser'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ExamPoint', @level2type=N'COLUMN',@level2name=N'AddTime'

GO
CREATE TABLE [dbo].[ZL_Paper_Questions](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[QuestionTitle] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[PaperID] [int] NULL,
	[OrderBy] [int] NULL,
	[QuestionType] [int] NULL,
	[Subtitle] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[Course] [float] NULL,
	[QuesNum] [int] NULL,
	[Remark] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[QuestIDs] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[CreateTime] [datetime] NULL,
	[AddUser] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'大题标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Paper_Questions', @level2type=N'COLUMN',@level2name=N'QuestionTitle'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Paper_Questions', @level2type=N'COLUMN',@level2name=N'PaperID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'题型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Paper_Questions', @level2type=N'COLUMN',@level2name=N'QuestionType'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'副标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Paper_Questions', @level2type=N'COLUMN',@level2name=N'Subtitle'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'每小题分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Paper_Questions', @level2type=N'COLUMN',@level2name=N'Course'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'包含题数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Paper_Questions', @level2type=N'COLUMN',@level2name=N'QuesNum'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'答题说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Paper_Questions', @level2type=N'COLUMN',@level2name=N'Remark'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题ID(多个以逗号隔开)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Paper_Questions', @level2type=N'COLUMN',@level2name=N'QuestIDs'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Paper_Questions', @level2type=N'COLUMN',@level2name=N'CreateTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Paper_Questions', @level2type=N'COLUMN',@level2name=N'AddUser'

GO
CREATE TABLE [dbo].[ZL_Class](	
	[CID] [int] IDENTITY(1,1) NOT NULL,
	[ClassName] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程分类名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Class', @level2type=N'COLUMN',@level2name=N'ClassName'

GO
CREATE TABLE [dbo].[ZL_ScoreStatics](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[CourseID] [int] NULL,
	[PID] [int] NULL,
	[UserID] [int] NULL,
	[Fraction] [float] NULL,
	[ExamTime] [datetime] NULL,
	[ErrorID] [int] NULL,
	[QuestionIDs] [nvarchar](250) COLLATE Chinese_PRC_CI_AS NULL,
	[Answer] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[ProfileScore] [float] NULL,
	[GraderWill] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ScoreStatics', @level2type=N'COLUMN',@level2name=N'CourseID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ScoreStatics', @level2type=N'COLUMN',@level2name=N'PID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ScoreStatics', @level2type=N'COLUMN',@level2name=N'UserID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ScoreStatics', @level2type=N'COLUMN',@level2name=N'Fraction'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考试时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ScoreStatics', @level2type=N'COLUMN',@level2name=N'ExamTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'错误ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ScoreStatics', @level2type=N'COLUMN',@level2name=N'ErrorID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题ID(包含的所有试题)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ScoreStatics', @level2type=N'COLUMN',@level2name=N'QuestionIDs'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户答案(id+"|||"+答案)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ScoreStatics', @level2type=N'COLUMN',@level2name=N'Answer'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'实际分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ScoreStatics', @level2type=N'COLUMN',@level2name=N'ProfileScore'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'评卷老师' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_ScoreStatics', @level2type=N'COLUMN',@level2name=N'GraderWill'

GO
CREATE TABLE [dbo].[ZL_Exam_Sys_Papers](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[p_name] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[p_type] [int] NOT NULL,
	[p_class] [int] NULL,
	[p_UseTime] [float] NULL,
	[p_Modus] [int] NULL,
	[p_BeginTime] [datetime] NULL,
	[p_endTime] [datetime] NULL,
	[p_Style] [int] NULL,
	[p_Remark] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[p_QuestionID] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[p_rtype] [int] NULL,
 CONSTRAINT [PK_Exam_Sys_Papers] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_name'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'出题方式：手工，随机' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_type'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_class'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'考试时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_UseTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷形式:视频(没有时间限制),手工(需要考试时间)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_Modus'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'有效时间：开始时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_BeginTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'有效时间： 结束时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_endTime'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷类型:考试,练习,作业' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_Style'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_Remark'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_QuestionID'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'阅卷方式' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Papers', @level2type=N'COLUMN',@level2name=N'p_rtype'

GO
CREATE TABLE [dbo].[ZL_Exam_Type](
	[t_id] [int] IDENTITY(1,1) NOT NULL,
	[t_name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NOT NULL,
	[t_type] [int] NULL,
	[t_remark] [nvarchar](500) COLLATE Chinese_PRC_CI_AS NULL,
	[t_createtime] [datetime] NULL,
	[t_creatuser] [int] NULL,
 CONSTRAINT [PK_ZL_Exam_Type] PRIMARY KEY CLUSTERED 
(
	[t_id] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Type', @level2type=N'COLUMN',@level2name=N't_id'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'题型名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Type', @level2type=N'COLUMN',@level2name=N't_name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类型：单选,多选,操作,判断，填空，语音,问答,组合' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Type', @level2type=N'COLUMN',@level2name=N't_type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Type', @level2type=N'COLUMN',@level2name=N't_remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Type', @level2type=N'COLUMN',@level2name=N't_createtime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'创建用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Type', @level2type=N'COLUMN',@level2name=N't_creatuser'

GO
CREATE TABLE [dbo].[ZL_Exam_Class](
	[C_id] [int] IDENTITY(1,1) NOT NULL,
	[C_ClassName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[C_Classid] [int] NULL,
	[C_OrderBy] [int] NOT NULL,
	[C_ClassType] [int] NULL
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类名称' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Class', @level2type=N'COLUMN',@level2name=N'C_ClassName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Class', @level2type=N'COLUMN',@level2name=N'C_Classid'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Class', @level2type=N'COLUMN',@level2name=N'C_OrderBy'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'类别类型 1-答题类型 2-视频操作类型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Class', @level2type=N'COLUMN',@level2name=N'C_ClassType'

GO
CREATE TABLE [dbo].[ZL_Exam_Sys_Questions](
	[p_id] [int] IDENTITY(1,1) NOT NULL,
	[p_title] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[p_Difficulty] [int] NULL,
	[p_Class] [int] NULL,
	[p_Views] [int] NULL,
	[p_Inputer] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[p_Type] [int] NULL,
	[p_Knowledge] [int] NOT NULL,
	[p_Answer] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[p_Content] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[p_CreateTime] [datetime] NULL CONSTRAINT [DF_ZL_Exam_Sys_Questions_p_CreateTime]  DEFAULT (getdate()),
	[Paper_Id] [int] NOT NULL,
	[p_Order] [int] NULL CONSTRAINT [DF_ZL_Exam_Sys_Questions_p_Order]  DEFAULT (0),
	[p_Shipin] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[p_Optioninfo] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[p_ChoseNum] [int] NULL,
	[p_shuming] [varchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[p_defaultScores] [float] NULL,
	[IsToShare] [int] NUll,
	[parentId] [int] NULL
 CONSTRAINT [PK_ZL_Exam_Sys_Questions] PRIMARY KEY CLUSTERED 
(
	[p_id] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题标题' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_title'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'难度' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_Difficulty'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'分类' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_Class'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'使用次数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_Views'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'作者' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_Inputer'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'题型' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_Type'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'知识点' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_Knowledge'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'答案' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_Answer'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试题内容' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_Content'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_CreateTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'所属试卷ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'Paper_Id'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'试卷排序' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_Order'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'选项' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_Optioninfo'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'选项个数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_ChoseNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'说明' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_shuming'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'缺省分数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'p_defaultScores'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否共享0:为否,1:为是' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'IsToShare'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'父题ID(组合题所属小题)' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Exam_Sys_Questions', @level2type=N'COLUMN',@level2name=N'parentId'

GO
CREATE TABLE [dbo].[ZL_GroupBuyList](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NULL,
	[ProID] [int] NULL,
	[Deposit] [money] NULL,
	[DepositTime] [datetime] NULL,
	[isbuy] [int] NULL CONSTRAINT [DF_ZL_GroupBuyList_isbuy]  DEFAULT (0),
	[buytime] [datetime] NULL,
	[buymoney] [money] NULL,
	[Btime] [datetime] NULL,
	[PayID] [int] NULL,
	[DepositPayID] [int] NULL,
	[Snum] [int] NULL,
	[OrderID] [int] NULL,
	[IsReceipt] [int] null,
 CONSTRAINT [PK_ZL_GroupBuyList] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'ProID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支付订金' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'Deposit'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支付订金时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'DepositTime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否购买' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'isbuy'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支付时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'buytime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'购买价格' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'buymoney'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'团购时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'Btime'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'支付ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'PayID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订金支付ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'DepositPayID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'报名人数' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'Snum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'OrderID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'确认收货' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_GroupBuyList', @level2type=N'COLUMN',@level2name=N'IsReceipt'
GO

 SET IDENTITY_INSERT [ZL_Class] ON
 INSERT [ZL_Class] ( [CID] , [ClassName] ) VALUES ( 1 , '精讲班' )
 INSERT [ZL_Class] ( [CID] , [ClassName] ) VALUES ( 2 , '冲刺班' )
 INSERT [ZL_Class] ( [CID] , [ClassName] ) VALUES ( 3 , '串讲班' )
 INSERT [ZL_Class] ( [CID] , [ClassName] ) VALUES ( 4 , '套题班' )
 SET IDENTITY_INSERT [ZL_Class] OFF

  SET IDENTITY_INSERT [ZL_Exam_Class] ON
 INSERT [ZL_Exam_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 4 , '计算机' , 0 , 0 )
 INSERT [ZL_Exam_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 5 , '计算机第一单元' , 4 , 1 )
 INSERT [ZL_Exam_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 6 , '英语' , 0 , 0 )
 INSERT [ZL_Exam_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 7 , '英语综合类' , 6 , 0 )
 INSERT [ZL_Exam_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 10 , '英语卫生类' , 6 , 0 )
 INSERT [ZL_Exam_Class] ( [C_id] , [C_ClassName] , [C_Classid] , [C_OrderBy] ) VALUES ( 9 , '英语理工类' , 6 , 0 )
 SET IDENTITY_INSERT [ZL_Exam_Class] OFF

 SET IDENTITY_INSERT [ZL_Exam_Sys_Papers] ON
INSERT [ZL_Exam_Sys_Papers] ([ID],[p_name],[p_type],[p_class],[p_UseTime],[p_Modus],[p_BeginTime],[p_endTime],[p_Style],[p_Remark],[p_rtype]) VALUES ( 1,'职称英语单选题经典(一)',2,6,123,0,'2010/09/23 0:00:00','2011/09/29 0:00:00',0,'1',2)
INSERT [ZL_Exam_Sys_Papers] ([ID],[p_name],[p_type],[p_class],[p_UseTime],[p_Modus],[p_BeginTime],[p_endTime],[p_Style],[p_Remark],[p_rtype]) VALUES ( 2,'职称英语选择题经典(二)',2,7,13,0,'2010/09/22 0:00:00','2011/09/29 0:00:00',0,'1',1)
INSERT [ZL_Exam_Sys_Papers] ([ID],[p_name],[p_type],[p_class],[p_UseTime],[p_Modus],[p_BeginTime],[p_endTime],[p_Style],[p_Remark],[p_rtype]) VALUES ( 3,'职称计算机试题经典',2,4,10,0,'2011/07/03 0:00:00','2011/07/30 0:00:00',0,'1',1)
INSERT [ZL_Exam_Sys_Papers] ([ID],[p_name],[p_type],[p_class],[p_UseTime],[p_Modus],[p_BeginTime],[p_endTime],[p_Style],[p_Remark],[p_rtype]) VALUES ( 4,'职称英语选择题经典(四)',2,4,120,0,'2010/09/29 0:00:00','2011/09/30 0:00:00',0,'sda',1)
INSERT [ZL_Exam_Sys_Papers] ([ID],[p_name],[p_type],[p_class],[p_UseTime],[p_Modus],[p_BeginTime],[p_endTime],[p_Style],[p_Remark],[p_rtype]) VALUES ( 5,'职称英语选择题经典(五)',2,7,120,0,'2010/09/30 0:00:00','2010/10/12 0:00:00',0,'asdasgg',1)
INSERT [ZL_Exam_Sys_Papers] ([ID],[p_name],[p_type],[p_class],[p_UseTime],[p_Modus],[p_BeginTime],[p_endTime],[p_Style],[p_Remark],[p_rtype]) VALUES ( 9,'QQ的应用',2,6,80,0,'2011/07/07 0:00:00','2011/07/28 0:00:00',0,'随着社会的发展，QQ的使用越来越广泛',1)
INSERT [ZL_Exam_Sys_Papers] ([ID],[p_name],[p_type],[p_class],[p_UseTime],[p_Modus],[p_BeginTime],[p_endTime],[p_Style],[p_Remark],[p_rtype]) VALUES ( 13,'王的诱惑',2,6,60,0,'2011/07/07 0:00:00','2011/07/16 0:00:00',0,'宫廷对战',1)
INSERT [ZL_Exam_Sys_Papers] ([ID],[p_name],[p_type],[p_class],[p_UseTime],[p_Modus],[p_BeginTime],[p_endTime],[p_Style],[p_Remark],[p_rtype]) VALUES ( 14,'啊呀呀~',2,6,0.2,0,'2011/07/07 0:00:00','2011/08/14 0:00:00',0,'啊呀呀~',1)
 SET IDENTITY_INSERT [ZL_Exam_Sys_Papers] OFF

 SET IDENTITY_INSERT [ZL_Exam_Sys_Questions] ON
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores]) VALUES ( 4,'测试多选题',2,7,1,'admin',2,1,'A,C','反对党顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
的反反复复反反复复方法','2010/09/25 0:00:00',0,0,'A对的,A错的,都是错的,都是对的',4,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Shipin],[p_Optioninfo],[p_ChoseNum],[p_defaultScores]) VALUES ( 6,'计算机测试',3,4,1,'admin',1,1,'B','计算机测试计算机测试计算机测试计算机测试计算机测试','2010/09/25 0:00:00',0,0,'/UploadFiles/Exam/gudao.flv','aaa,bbbb,ccc,ddd',4,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_shuming],[p_defaultScores]) VALUES ( 7,'单选题测试单选题测试',2,7,1,'admin',1,1,'B','<p>Museums in the Modern World
</p>
<p><span lang="EN-US"><font face="宋体">Museums have changed. They are no longer places for the privileged few or for bored vacationers to visit on rainy days. Action and democracy are words used in descriptions of museums now.</font></span>
</p>
<p><font face="宋体">　　<span lang="EN-US">At a science museum in Ontario</span>，<span lang="EN-US"> Canada</span>，<span lang="EN-US"> you can feel your hair stand on end as harmless electricity passes through your body. At the Metropolitan Museum of Art in New York City</span>，<span lang="EN-US"> you can look at 17th century instruments while listening to their music. At the Modern Museum in Sweden</span>，<span lang="EN-US"> you can put on costumes provided by the Stockholm Opera. As these examples show</span>，<span lang="EN-US"> museums are reaching out to new audiences</span>，<span lang="EN-US"> particularly the young</span>，<span lang="EN-US"> the poor</span>，<span lang="EN-US"> and the less educated members of the population. As a result</span>，<span lang="EN-US"> attendance is increasing.</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">More and more</span>，<span lang="EN-US"> museums directors are realizing that people learn best when they can somehow become part of what they are seeing. In many science museums</span>，<span lang="EN-US"> for example</span>，<span lang="EN-US"> there are no guided tours. The visitor is encouraged to touch</span>，<span lang="EN-US"> listen</span>，<span lang="EN-US"> operate</span>，<span lang="EN-US"> and experiment so as to discover scientific principles for himself. He can have the experience of operating a spaceship or a computer. He can experiment with glass blowing and paper making. The purpose is not only to provide fun but also to help people feel at home in the world of science. The theory is that people who do not understand science will probably fear it</span>，<span lang="EN-US"> and those who fear science will not use it to best advantage. Many museums now provide educational services and children s departments. In addition to the usual displays</span>，<span lang="EN-US"> they also offer film showings and dance programs. Instead of being places that one “should” visit</span>，<span lang="EN-US"> they are places to enjoy.</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">One cause of all these changes is the increase in wealth and leisure time. Another cause is the rising percentage of young people in the population. Many of these young people are college students or college graduates. They are better educated than their parents. They see things in a new and different way. They are not content to stand and look at works of are; they want art they can participate in. The same is true of science and history. In the US</span>，<span lang="EN-US"> certain groups who formerly were too poor to care about anything beyond the basic needs of daily life are now becoming curious about the world around them. The young people in these groups</span>，<span lang="EN-US"> like young people in general</span>，<span lang="EN-US"> have benefited from a better education than their parents received. All these groups</span>，<span lang="EN-US"> and the rest of the population as well</span>，<span lang="EN-US"> have been influenced by television</span>，<span lang="EN-US"> which has taught them about other places and other times.</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">The effect of all this has been to change existing museums and to encourage the building of new ones. In the US and Canada alone</span>，<span lang="EN-US"> there are now more than 6</span>，<span lang="EN-US">000 museums</span>，<span lang="EN-US"> almost twice as many as there were 25 years ago. About half of them are devoted to history</span>，<span lang="EN-US"> and the rest are evenly divided between the arts and sciences. The number of visitors</span>，<span lang="EN-US"> according to the American Association of museums</span>，<span lang="EN-US"> has risen to more than 700 million a year.</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">In fact</span>，<span lang="EN-US"> the crowds of visitors at some museums are creating a major problem. Admission to museums has always been either free or very inexpensive</span>，<span lang="EN-US"> but now some museums are charging entrance fees for the first time or raising their prices. Even when raised</span>，<span lang="EN-US"> however</span>，<span lang="EN-US"> entrance fees are generally too low to support a museum</span>，<span lang="EN-US"> with its usually large building and its highly trained staff.</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">1. Paragraph 2().</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">2. Paragraph 3().</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">3. Paragraph 4().</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">4. Paragraph 5().</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">A Causes of changes</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">B Increasing number of museums and visitors</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">C Museums getting closer to more spectators</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">D Movies shown in museums</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">E New notions about the management of museumsF Places to visit</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">5. Now museums are no longer restricted to the privileged few</span>，<span lang="EN-US"> but().</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">6. With the development of society</span>，<span lang="EN-US"> people</span>，<span lang="EN-US"> especially the young people</span>， <span lang="EN-US">().</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">7. To meet the needs of society</span>，<span lang="EN-US"> more museums().</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">8. Two major problems for museums are that they have too many visitors and they ().</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">A have higher demands of museums</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">B are open to more people with different social background</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">C to lengthen their opening hours</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">D charge too little for admission</span></font>
</p>
<p><font face="宋体">　　<span lang="EN-US">E have been built and open to public</span></font>
</p>
<div></div>','2010/09/27 0:00:00',0,0,'vvv,cccc,bbbb,ddee',4,'sdfdf',0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores]) VALUES ( 8,'判断下题是否正确',1,7,1,'admin',4,1,'1','顶顶顶顶顶顶顶顶顶顶顶顶顶顶顶
的经历坎坷坷快快快快快快快快快快快快快快快快
当初咔咔咔咔咔咔咔咔咔咔
课程顶顶顶顶顶顶顶顶顶顶顶顶顶顶
<br/>以上说法是否正确','2010/09/27 0:00:00',0,0,1,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 54,'Museums in the Modern World',1,7,1,'admin',5,1,'C,E,A,B&0.5,0.5,0.5,0.5','<p>Museums in the Modern World </p>
<p><span lang="EN-US"><span style="font-family:宋体;">Museums have changed. They are no longer places for the privileged few or for bored vacationers to visit on rainy days. Action and democracy are words used in descriptions of museums now.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">At a science museum in Ontario</span>，<span lang="EN-US"> Canada</span>，<span lang="EN-US"> you can feel your hair stand on end as harmless electricity passes through your body. At the Metropolitan Museum of Art in New York City</span>，<span lang="EN-US"> you can look at 17th century instruments while listening to their music. At the Modern Museum in Sweden</span>，<span lang="EN-US"> you can put on costumes provided by the Stockholm Opera. As these examples show</span>，<span lang="EN-US"> museums are reaching out to new audiences</span>，<span lang="EN-US"> particularly the young</span>，<span lang="EN-US"> the poor</span>，<span lang="EN-US"> and the less educated members of the population. As a result</span>，<span lang="EN-US"> attendance is increasing.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">More and more</span>，<span lang="EN-US"> museums directors are realizing that people learn best when they can somehow become part of what they are seeing. In many science museums</span>，<span lang="EN-US"> for example</span>，<span lang="EN-US"> there are no guided tours. The visitor is encouraged to touch</span>，<span lang="EN-US"> listen</span>，<span lang="EN-US"> operate</span>，<span lang="EN-US"> and experiment so as to discover scientific principles for himself. He can have the experience of operating a spaceship or a computer. He can experiment with glass blowing and paper making. The purpose is not only to provide fun but also to help people feel at home in the world of science. The theory is that people who do not understand science will probably fear it</span>，<span lang="EN-US"> and those who fear science will not use it to best advantage. Many museums now provide educational services and children s departments. In addition to the usual displays</span>，<span lang="EN-US"> they also offer film showings and dance programs. Instead of being places that one “should” visit</span>，<span lang="EN-US"> they are places to enjoy.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">One cause of all these changes is the increase in wealth and leisure time. Another cause is the rising percentage of young people in the population. Many of these young people are college students or college graduates. They are better educated than their parents. They see things in a new and different way. They are not content to stand and look at works of are; they want art they can participate in. The same is true of science and history. In the US</span>，<span lang="EN-US"> certain groups who formerly were too poor to care about anything beyond the basic needs of daily life are now becoming curious about the world around them. The young people in these groups</span>，<span lang="EN-US"> like young people in general</span>，<span lang="EN-US"> have benefited from a better education than their parents received. All these groups</span>，<span lang="EN-US"> and the rest of the population as well</span>，<span lang="EN-US"> have been influenced by television</span>，<span lang="EN-US"> which has taught them about other places and other times.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">The effect of all this has been to change existing museums and to encourage the building of new ones. In the US and Canada alone</span>，<span lang="EN-US"> there are now more than 6</span>，<span lang="EN-US">000 museums</span>，<span lang="EN-US"> almost twice as many as there were 25 years ago. About half of them are devoted to history</span>，<span lang="EN-US"> and the rest are evenly divided between the arts and sciences. The number of visitors</span>，<span lang="EN-US"> according to the American Association of museums</span>，<span lang="EN-US"> has risen to more than 700 million a year.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">In fact</span>，<span lang="EN-US"> the crowds of visitors at some museums are creating a major problem. Admission to museums has always been either free or very inexpensive</span>，<span lang="EN-US"> but now some museums are charging entrance fees for the first time or raising their prices. Even when raised</span>，<span lang="EN-US"> however</span>，<span lang="EN-US"> entrance fees are generally too low to support a museum</span>，<span lang="EN-US"> with its usually large building and its highly trained staff.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">1. Paragraph 2().</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">2. Paragraph 3().</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">3. Paragraph 4().</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">4. Paragraph 5().</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">A Causes of changes</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">B Increasing number of museums and visitors</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">C Museums getting closer to more spectators</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">D Movies shown in museums</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">E New notions about the management of museumsF Places to visit</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">A have higher demands of museums</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">B are open to more people with different social background</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">C to lengthen their opening hours</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">D charge too little for admission</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">E have been built and open to public</span></span> </p>
<div></div>','2010/09/27 0:00:00',0,0,4,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_shuming],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 55,'1111',2,6,1,'admin',1,1,'C','1111','2011/07/07 0:00:00',0,1,'1,2,3,4',4,'1111',0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 56,',net',1,4,1,'admin',4,1,'1','hbndhasdanhsfa','2011/07/07 0:00:00',0,1,1,10,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 57,'23',1,4,1,'admin',1,1,'A','sdahrtsu','2011/07/07 0:00:00',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_shuming],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 59,'温度',1,0,1,'admin',1,2,'A','阿斯顿斯对此','2011/07/07 0:00:00',0,0,'1,12,13,14',4,'4545',2,0,58)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_shuming],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 61,'test',2,6,1,'admin',3,2,'&aa&10','<p>qingwesdahfjalhfoiuwehrl&lt;br/&gt;gfadgfagsfa&amp;nbsprtrqytrqyqyqe</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>鸡丝豆腐</p>','2011/07/07 0:00:00',0,0,1,'hgfhfghfg',0,1,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 62,'uhakh1',2,4,1,'admin',2,2,'A,B','三三四四','2011/07/07 0:00:00',0,0,'看见撒谎的,去看哈,俄方和我,废话',4,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 63,'000',1,6,1,'admin',1,2,'A','000000000000000000000000000000000000000','2011/07/07 0:00:00',0,0,'00000000',1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 64,'啊us基地',1,4,1,'admin',1,8,'阿企鹅的钱啊我','2011/07/07 0:00:00',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 65,'呵呵呵呵呵',1,6,1,'admin',1,2,'B','钱钱钱钱钱钱钱钱钱钱钱','2011/07/07 0:00:00',0,0,'1,2,3,4',4,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 66,'123',1,9,1,'admin',1,7,'A','怎么才能做好','2011/07/07 0:00:00',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 71,'快餐店较为i',1,9,1,'admin',5,7,'窝窝&5','其日方非法窃取其','2011/07/07 0:00:00',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 72,'法国人日',1,9,1,'admin',1,7,'A','散弹枪','2011/07/07 0:00:00',0,0,'阿德亲王',1,3,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 73,'鹅房桥',1,9,1,'admin',6,7,'我去打球','2011/07/07 0:00:00',0,5,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 74,'a',1,6,1,'admin',1,1,'B','abc<img title=" " border="0" alt=" " src="\UploadFiles\UserUpload\gif\2011\7\201107150939330505.gif " />','2011/07/07 0:00:00',0,0,'a,a,a',3,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 75,'ab',1,8,1,'admin',1,1,'A','ab','2011/07/07 0:00:00',0,0,'a',1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 76,'语法填空',3,6,1,'admin',5,1,'a,b,c&','fhsdfhlk()hdjaksdhl()gdhgakls()','2011/07/07 0:00:00',0,4,3,0,1,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 77,'标题（考点：完形填空，中难）',3,4,1,'admin',1,1,'D','<p>内容 单选 排序5 共享否</p>','2011/07/07 18:39:07',0,5,'A,B,C,D对',4,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_shuming],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 78,'英语单选test标题',3,6,1,'admin',1,4,'D','试题内容内容','2011/07/14 10:01:30',0,5,'aaaaaaaaaaaa,bbbbbbbbbbbbbb,cccccccccccc,dddddddddddddddddddddddddd',4,'说明',0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_shuming],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 79,'多选英语',3,6,1,'admin',2,6,'B,C,D','多选题一道~','2011/07/14 10:50:47',0,2,'刚刚看了广发聚丰,变化过程需不准备,反对方的合法多环芳烃,官方公告飞洒规范化和德国哈',4,'说明',0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 80,'应用题',1,4,1,'admin',3,2,'One cause of all these changes is the increase in wealth and leisure time. Another cause is the rising percentage of young people in the population. Many of these young people are college students or college graduates. They are better educated than their parents. They see things in a new and different way. They are not content to stand and look at works of are; they want art they can participate in. The same is true of science and history. In the US， certain groups who formerly were too poor to care about anything beyond the basic needs of daily life are now becoming curious about the world around them. The young people in these groups， like young people in general， have benefited from a better education than their parents received. All these groups， and the rest of the population as well， have been influenced by television， which has taught them about other places and other times. &times$television$taught$population&5$5$5$5','<p>Museums in the Modern World </p>
<p><span lang="EN-US"><span style="font-family:宋体;">Museums have changed. They are no longer places for the privileged few or for bored vacationers to visit on rainy days. Action and democracy are words used in descriptions of museums now.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">At a science museum in Ontario</span>，<span lang="EN-US"> Canada</span>，<span lang="EN-US"> you can feel your hair stand on end as harmless electricity passes through your body. At the Metropolitan Museum of Art in New York City</span>，<span lang="EN-US"> you can look at 17th century instruments while listening to their music. At the Modern Museum in Sweden</span>，<span lang="EN-US"> you can put on costumes provided by the Stockholm Opera. As these examples show</span>，<span lang="EN-US"> museums are reaching out to new audiences</span>，<span lang="EN-US"> particularly the young</span>，<span lang="EN-US"> the poor</span>，<span lang="EN-US"> and the less educated members of the population. As a result</span>，<span lang="EN-US"> attendance is increasing.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">More and more</span>，<span lang="EN-US"> museums directors are realizing that people learn best when they can somehow become part of what they are seeing. In many science museums</span>，<span lang="EN-US"> for example</span>，<span lang="EN-US"> there are no guided tours. The visitor is encouraged to touch</span>，<span lang="EN-US"> listen</span>，<span lang="EN-US"> operate</span>，<span lang="EN-US"> and experiment so as to discover scientific principles for himself. He can have the experience of operating a spaceship or a computer. He can experiment with glass blowing and paper making. The purpose is not only to provide fun but also to help people feel at home in the world of science. The theory is that people who do not understand science will probably fear it</span>，<span lang="EN-US"> and those who fear science will not use it to best advantage. Many museums now provide educational services and children s departments. In addition to the usual displays</span>，<span lang="EN-US"> they also offer film showings and dance programs. Instead of being places that one “should” visit</span>，<span lang="EN-US"> they are places to enjoy.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">One cause of all these changes is the increase in wealth and leisure time. Another cause is the rising percentage of young people in the population. Many of these young people are college students or college graduates. They are better educated than their parents. They see things in a new and different way. They are not content to stand and look at works of are; they want art they can participate in. The same is true of science and history. In the US</span>，<span lang="EN-US"> certain groups who formerly were too poor to care about anything beyond the basic needs of daily life are now becoming curious about the world around them. The young people in these groups</span>，<span lang="EN-US"> like young people in general</span>，<span lang="EN-US"> have benefited from a better education than their parents received. All these groups</span>，<span lang="EN-US"> and the rest of the population as well</span>，<span lang="EN-US"> have been influenced by television</span>，<span lang="EN-US"> which has taught them about other places and other times.</span></span> </p>','2011/07/14 11:20:38',0,1,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 81,'英语应用题',1,6,1,'admin',3,1,'方的还是付了哦通过过分的是管理法鲁士大夫发不过不分开来说的不是发了多少不发生看到了伐部分开了就撒备份了斯柯达人格李蕊蕊不了开始的不必了恐慌i路发生的备份了考试的符合规定使用
&发生的备份&10','<p>方的还是付了哦通过过分的是管理法鲁士大夫发不过不分开来说的不是发了多少不发生看到了伐部分开了就撒备份了斯柯达人格李蕊蕊不了开始的不必了恐慌i路发生的备份了考试的符合规定使用</p>','2011/07/14 11:22:40',0,2,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 82,'英语综合类应用题',1,7,1,'admin',3,7,'beyond the basic needs of daily life are now becoming curious about the world around them. The young people in these groups， like young people in general， have benefited from a better education than their parents received. All these groups， and the rest of the population as well， have been influenced by television， which has taught them about other places and other times. &&','<p><span style="font-family:宋体;">　　<span lang="EN-US">At a science museum in Ontario</span>，<span lang="EN-US"> Canada</span>，<span lang="EN-US"> you can feel your hair stand on end as harmless electricity passes through your body. At the Metropolitan Museum of Art in New York City</span>，<span lang="EN-US"> you can look at 17th century instruments while listening to their music. At the Modern Museum in Sweden</span>，<span lang="EN-US"> you can put on costumes provided by the Stockholm Opera. As these examples show</span>，<span lang="EN-US"> museums are reaching out to new audiences</span>，<span lang="EN-US"> particularly the young</span>，<span lang="EN-US"> the poor</span>，<span lang="EN-US"> and the less educated members of the population. As a result</span>，<span lang="EN-US"> attendance is increasing.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">More and more</span>，<span lang="EN-US"> museums directors are realizing that people learn best when they can somehow become part of what they are seeing. In many science museums</span>，<span lang="EN-US"> for example</span>，<span lang="EN-US"> there are no guided tours. The visitor is encouraged to touch</span>，<span lang="EN-US"> listen</span>，<span lang="EN-US"> operate</span>，<span lang="EN-US"> and experiment so as to discover scientific principles for himself. He can have the experience of operating a spaceship or a computer. He can experiment with glass blowing and paper making. The purpose is not only to provide fun but also to help people feel at home in the world of science. The theory is that people who do not understand science will probably fear it</span>，<span lang="EN-US"> and those who fear science will not use it to best advantage. Many museums now provide educational services and children s departments. In addition to the usual displays</span>，<span lang="EN-US"> they also offer film showings and dance programs. Instead of being places that one “should” visit</span>，<span lang="EN-US"> they are places to enjoy.</span></span> </p>
<p><span style="font-family:宋体;">　　<span lang="EN-US">One cause of all these changes is the increase in wealth and leisure time. Another cause is the rising percentage of young people in the population. Many of these young people are college students or college graduates. They are better educated than their parents. They see things in a new and different way. They are not content to stand and look at works of are; they want art they can participate in. The same is true of science and history. In the US</span>，<span lang="EN-US"> certain groups who formerly were too poor to care about anything beyond the basic needs of daily life are now becoming curious about the world around them. The young people in these groups</span>，<span lang="EN-US"> like young people in general</span>，<span lang="EN-US"> have benefited from a better education than their parents received. All these groups</span>，<span lang="EN-US"> and the rest of the population as well</span>，<span lang="EN-US"> have been influenced by television</span>，<span lang="EN-US"> which has taught them about other places and other times.</span></span> </p>','2011/07/14 11:54:59',0,2,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 83,'英语综合判断',4,7,1,'admin',4,1,'0','分公司更好的覅法国进口','2011/07/14 14:08:27',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 84,'英语综合判断2',1,7,1,'admin',4,3,'1','复合肥料u币看；哦','2011/07/14 14:10:06',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 85,'计算机填空题',1,4,1,'admin',5,1,'fsdf,fsdf,fdsf,fdsf&','<p>试题内容里可能有图()，也要完整的显示()，必须是一个DIV块()，且与下面有一个完整的界线().</p>
<p></p>','2011/07/14 15:08:24',0,2,4,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 86,'英语多选2',1,6,1,'admin',2,4,'C,D','恢复了的优惠哦回就回吧发挥的流苏和哦副科级乐山大佛办法的发布的萨芬的深刻理解方式给答复发了gas迪欧恶如发表过的萨连科基本法律会计师部分旅客的苏菲恢复了覅噢asp惹人办理开户费办法撒了不断发生大了','2011/07/14 19:49:27',0,0,'范德萨方的,的份上,过分过分,换个飞',4,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 87,'英语多选3',1,6,1,'admin',2,7,'A,B','和管理费的鲨鱼服id是否备份的考试了合法的随老夫不得分离开的身份和iulds符合为了日后二批','2011/07/14 19:50:20',0,0,'股份sdk,官方 ,和规范化狗日,刚分开的是个头发idol',4,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 88,'计算机判断题',1,4,1,'admin',4,3,'1','我这是一道判断题，看看下面的选项是否与判断题的选项相符','2011/07/18 10:28:45',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 89,'基础判断',1,4,1,'admin',4,4,'1','这道题目是正确的，请判断此题的正误。','2011/07/18 10:46:19',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 90,'PC填空题',1,4,1,'admin',5,1,'a|b|c,sd,ss&2,3,4','第一个空()，第二个空()，第三个空().','2011/07/18 10:58:33',0,0,3,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 91,'英语单选11',1,6,1,'admin',1,1,'B','航空股份看了和方式决定看','2011/07/18 14:29:53',0,0,'防盗锁,第三方,官方,方的好',4,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 92,'英语多选1',1,6,1,'admin',2,2,'C,D','刚发给对方方的飞过萨嘎复合肥个','2011/07/18 14:30:33',0,0,'的个, 的份上,后感觉,就规划局',4,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 93,'英语啊主观题',1,6,1,'admin',3,1,'不过分还是过分了科萨复古撒发生百度合法的搜返回i股份不低俗风呼呼范德萨度复古速度与佛山的喝了多少了功法lsd功法哦发生的&不过分$科萨复古&5$5','梵蒂冈的共和国功法撒地方等级回来的发挥了的话辅导老师哈哈河坊街给大家看法格式的hgl 的说法萨达撒地方的说法伤口恢复和格式克里夫个','2011/07/18 16:53:18',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 94,'计算机填空单',1,4,1,'admin',5,1,'gfldksf&5','购房客户说过的菲利克斯分公司的客观控件理工肯定是()','2011/07/18 19:58:58',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 95,'asd',1,4,1,'admin',5,1,'asd,asd,asd&,,','as()asdasd()asd)()','2011/07/18 21:09:14',0,0,3,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 96,'英语判断',1,6,1,'admin',4,1,'1','这个是正确的？','2011/07/20 8:41:55',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 97,'英语判断1',1,6,1,'admin',4,4,'1','判断是错的？','2011/07/20 8:42:38',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 98,'英语填空是',1,6,1,'admin',5,1,'333,111&,','填空啊()填空()','2011/07/20 8:44:33',0,0,2,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 99,'英语啊填空',1,6,1,'admin',5,1,'1,2,3&,,','真的()是一个()填空题()','2011/07/20 8:45:31',0,0,3,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 100,'填填填',1,6,1,'admin',5,1,'fds&','这是一个只有一个空的填空题()','2011/07/20 8:49:36',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 101,'英语判断',1,6,1,'admin',4,2,'0','发生大幅防盗锁方的是','2011/07/20 11:34:23',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 102,'ggs',1,4,1,'admin',3,1,'dsf&&','fsdafsagasfggf','2011/07/20 17:37:28',0,0,1,0,0,0)
INSERT [ZL_Exam_Sys_Questions] ([p_id],[p_title],[p_Difficulty],[p_Class],[p_Views],[p_Inputer],[p_Type],[p_Knowledge],[p_Answer],[p_Content],[p_CreateTime],[Paper_Id],[p_Order],[p_Optioninfo],[p_ChoseNum],[p_defaultScores],[IsToShare],[parentId]) VALUES ( 103,'11多选',1,4,1,'admin',2,1,'A,B,C,D','如果说这是一个多选题，你认为最可能选什么？','2011/07/20 21:02:55',0,0,'aa,bb,cc,dd',4,0,0,0)
SET IDENTITY_INSERT [ZL_Exam_Sys_Questions] OFF

SET IDENTITY_INSERT [ZL_Exam_Type] ON
INSERT [ZL_Exam_Type] ([t_id],[t_name],[t_type],[t_remark],[t_createtime],[t_creatuser]) VALUES ( 1,'单选题',1,'sel','2010/09/24 14:03:39',1)
INSERT [ZL_Exam_Type] ([t_id],[t_name],[t_type],[t_remark],[t_createtime],[t_creatuser]) VALUES ( 2,'多选题',2,'sfds','2010/09/25 10:08:28',1)
INSERT [ZL_Exam_Type] ([t_id],[t_name],[t_type],[t_remark],[t_createtime],[t_creatuser]) VALUES ( 3,'主观题',5,'sdfs','2010/09/27 14:35:23',1)
INSERT [ZL_Exam_Type] ([t_id],[t_name],[t_type],[t_remark],[t_createtime],[t_creatuser]) VALUES ( 4,'判断题',3,'sdfds','2010/09/27 14:35:43',1)
INSERT [ZL_Exam_Type] ([t_id],[t_name],[t_type],[t_remark],[t_createtime],[t_creatuser]) VALUES ( 5,'填空题',4,'sdf','2010/09/27 14:35:56',1)
SET IDENTITY_INSERT [ZL_Exam_Type] OFF

SET IDENTITY_INSERT [ZL_ExamPoint] ON
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 1,'完型填空',1,1,1,'2011/07/07 12:35:28')
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 2,'阅读理解',0,1,1,'2011/07/07 10:39:09')
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 3,'概括大意',0,1,1,'2011/07/07 10:39:22')
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 4,'基础知识',0,1,1,'2011/07/07 9:46:26')
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 6,'知识巩固',0,1,1,'2011/07/07 13:17:53')
INSERT [ZL_ExamPoint] ([ID],[TestPoint],[TID],[OrderBy],[AddUser],[AddTime]) VALUES ( 7,'单元复习',0,2,1,'2011/07/07 13:34:30')
 SET IDENTITY_INSERT [ZL_ExamPoint] OFF
 
 SET IDENTITY_INSERT [ZL_ExTeacher] ON
 INSERT [ZL_ExTeacher] ( [ID] , [TClsss] , [TName] , [Post] , [Teach] , [FileUpload] , [Remark] , [CreatTime] , [AddUser] ) VALUES ( 1 , 4 , '吴晓1' , '教授' , '职称英语' , '/UploadFiles/Teacher/200912171601120431.jpg' , '规划局很久很久' , '2010-09-18 17:24:15.000' , 1 )
 INSERT [ZL_ExTeacher] ( [ID] , [TClsss] , [TName] , [Post] , [Teach] , [FileUpload] , [Remark] , [CreatTime] , [AddUser] ) VALUES ( 3 , 7 , '城东' , '教授' , '职称计算机' , '' , '&lt;p&gt;法国国歌各国国歌各国国歌各国国歌各国国歌各国国歌各国国歌广告歌根据国家规划dffffffffffffffffffffff&lt;/p&gt;
&lt;p&gt;fg法国国歌各国国歌各国国歌各国国歌&lt;/p&gt;' , '2010-09-18 17:32:18.620' , 1 )
 SET IDENTITY_INSERT [ZL_ExTeacher] OFF

SET IDENTITY_INSERT [ZL_Paper_Questions] ON
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 1,'填空题',2,1,5,2,5,'2010/09/20 18:10:09',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 2,'单选题',2,2,1,'请选择正确答案',2,5,'sdfds','2010/09/20 18:11:37',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 3,'多选题',2,3,2,'从选项中找出与下面句子中的括号单词的相近的单词意思',2,5,'2010/09/20 18:12:40',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 4,'判断题',2,4,4,'sdfdsf',5,3,'从选项中 找出与括号相近的词汇','2010/09/20 18:13:17',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 5,'应用题',2,5,3,10,1,'2010/09/20 18:17:03',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 9,'ssas',5,1,1,'as',0,5,'as','2010/09/24 18:17:29',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 10,'单选题',1,1,1,'单选副标题',5,5,'单选答题说明','2010/09/25 10:19:14',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 11,'多选题',1,2,2,'多选副标题',5,3,'答题说明','2010/09/25 11:44:00',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 12,'主观题',1,3,3,'应用题副标题',2,2,'答题说明','2011/07/07 11:29:36',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 13,'基础知识',0,1,3,'基础知识',5,5,'基础知识','2011/07/07 14:32:46',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 14,'阅读理解',9,1,3,'阅读理解',5,3,'阅读','2011/07/07 14:33:44',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 15,'单选',9,2,1,'撒旦gas',2,2,'2011/07/07 14:41:31',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 16,'判断题',9,3,4,'风中日月',5,3,'观察公司股东及化工','2011/07/07 14:53:43',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 31,'单选题',4,1,1,3,1,'2011/07/19 17:45:27',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 18,'选择题',13,1,1,2,1,'无','2011/07/07 15:35:52',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 19,'判断题',13,2,4,2,1,'无','2011/07/07 15:36:30',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 20,'应用题',13,3,3,10,1,'意思差不多就行','2011/07/07 15:37:18',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 21,'改革的改革',13,4,2,2,1,'高高挂','2011/07/07 15:46:41',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 29,'计算机判断题',3,2,4,'计算机基础判断',2,2,'2011/07/18 10:29:25',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 23,'11111',14,1,1,'1111',10,2,'11111','2011/07/07 19:49:56',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Subtitle],[Course],[QuesNum],[Remark],[CreateTime],[AddUser]) VALUES ( 24,'222222',14,2,2,'22222',5,2,'222','2011/07/07 19:50:13',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 25,'单项选择题',15,1,1,5,2,'2011/07/14 11:28:17',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 26,'多项选择题',15,2,2,5,2,'2011/07/14 11:28:39',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 27,'实际应用题',15,3,3,10,2,'2011/07/14 11:29:03',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 28,'填空题',3,1,5,16,2,'2011/07/14 15:10:35',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 30,'大题',9,4,5,20,2,'2011/07/18 22:15:09',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 32,'多选题',4,2,2,5,2,'2011/07/19 17:45:55',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 33,'判断题',4,3,4,5,2,'2011/07/19 17:46:13',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 34,'填空题',4,4,5,5,1,'2011/07/19 17:46:35',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 35,'主观题',4,5,3,10,1,'2011/07/19 17:46:50',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 36,'单选',17,1,1,5,2,'2011/07/20 21:00:36',1)
INSERT [ZL_Paper_Questions] ([ID],[QuestionTitle],[PaperID],[OrderBy],[QuestionType],[Course],[QuesNum],[CreateTime],[AddUser]) VALUES ( 37,'多选题',17,2,2,5,2,'2011/07/20 21:00:53',1)
 SET IDENTITY_INSERT [ZL_Paper_Questions] OFF
 
 GO
  SET IDENTITY_INSERT [ZL_Course] ON
 INSERT [ZL_Course] ( [ID] , [CourseName] , [CoureseThrun] , [CoureseCode] , [CoureseCredit] , [CoureseRemark] , [Hot] , [CoureseClass] , [AddTime] , [AddUser] ) VALUES ( 1 , '复古风格' , 'fgfg' , 'sds' , 10.0 , 'sd' , 1 , 11 , '2010-09-16 09:31:53.000' , 1 )
 INSERT [ZL_Course] ( [ID] , [CourseName] , [CoureseThrun] , [CoureseCode] , [CoureseCredit] , [CoureseRemark] , [Hot] , [CoureseClass] , [AddTime] , [AddUser] ) VALUES ( 2 , '搞好规划' , 'ghgh' , 'er' , 10.0 , 'werw' , 0 , 11 , '2010-09-16 09:32:50.000' , 1 )
 INSERT [ZL_Course] ( [ID] , [CourseName] , [CoureseThrun] , [CoureseCode] , [CoureseCredit] , [CoureseRemark] , [Hot] , [CoureseClass] , [AddTime] , [AddUser] ) VALUES ( 6 , 'sdf' , 'sdf' , 'sd' , 0.0 , 'sdf' , 0 , 11 , '2010-09-16 09:39:45.237' , 1 )
 INSERT [ZL_Course] ( [ID] , [CourseName] , [CoureseThrun] , [CoureseCode] , [CoureseCredit] , [CoureseRemark] , [Hot] , [CoureseClass] , [AddTime] , [AddUser] ) VALUES ( 7 , 'sdfds' , 'sdfds' , 'sdf' , 10.0 , 'sdf' , 0 , 7 , '2010-09-16 09:40:36.997' , 1 )
 INSERT [ZL_Course] ( [ID] , [CourseName] , [CoureseThrun] , [CoureseCode] , [CoureseCredit] , [CoureseRemark] , [Hot] , [CoureseClass] , [AddTime] , [AddUser] ) VALUES ( 8 , '风吹过vfgggfgf' , 'fcgvfgggfgf' , 'er' , 10.0 , '' , 1 , 7 , '2010-09-16 17:31:07.000' , 1 )
 SET IDENTITY_INSERT [ZL_Course] OFF

 SET IDENTITY_INSERT [ZL_ScoreStatics] ON
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[ProfileScore]) VALUES ( 36,0,9,1,0,'2011/07/07 13:55:20',0,0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 39,0,1,1,0,'2011/07/07 14:21:46',0,'0,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 60,0,9,1,0,'2011/07/07 15:01:42',0,'0,61,63,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 73,0,9,1,0,'2011/07/07 15:22:22',0,'0,61,63,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore],[GraderWill]) VALUES ( 74,0,9,1,80,'2011/07/07 15:25:21',0,'0,61,63,55',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[ProfileScore]) VALUES ( 75,0,12,1,0,'2011/07/07 15:25:35',0,0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 76,0,9,1,0,'2011/07/07 15:26:55',0,'0,61,65,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 77,0,9,1,0,'2011/07/07 15:41:39',0,'0,61,65,63',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 79,0,13,1,0,'2011/07/07 15:44:51',0,'0,68,67,66',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 80,0,13,1,0,'2011/07/07 15:45:31',0,'0,68,67,66',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore],[GraderWill]) VALUES ( 81,0,13,1,77,'2011/07/07 15:47:59',0,'0,70,68,67,66',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 82,0,13,1,0,'2011/07/07 15:51:16',0,'0,69,68,67,66',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 83,0,13,1,0,'2011/07/07 15:52:01',0,'0,70,68,67,66',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore],[GraderWill]) VALUES ( 86,0,13,1,88,'2011/07/07 15:53:48',0,'0,69,68,67,66',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore],[GraderWill]) VALUES ( 92,0,13,1,55,'2011/07/07 16:20:28',0,'0,70,68,67,66',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 93,0,13,1,0,'2011/07/07 16:26:57',0,'0,70,68,67,66',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 94,0,13,1,0,'2011/07/07 16:27:14',0,'0,70,68,67,66',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 95,0,13,1,0,'2011/07/07 16:28:02',0,'0,70,68,67,66',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 96,0,13,1,0,'2011/07/07 16:28:59',0,'0,68,67,66',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 97,0,13,1,0,'2011/07/07 16:30:00',0,'0,66,72',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 110,0,13,1,0,'2011/07/07 16:58:47',0,'0,61,63',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 111,0,9,1,0,'2011/07/07 17:13:59',0,'0,61,63,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 112,0,13,1,0,'2011/07/07 17:14:07',0,'0,61,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 113,0,9,1,0,'2011/07/07 17:14:13',0,'0,61,55,65',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 114,0,1,1,0,'2011/07/07 17:17:59',0,'0,61,74,65,55,63',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 115,0,1,1,0,'2011/07/07 17:22:22',0,'0,61,55,74,65,63',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 116,0,1,1,0,'2011/07/07 17:32:06',0,'0,61,63,74,65,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 117,0,13,1,0,'2011/07/07 17:34:21',0,'0,61,65',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 118,0,9,1,0,'2011/07/07 17:34:32',0,'0,61,65,55,74,63',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 119,0,9,1,0,'2011/07/07 17:57:08',0,'0,61,74,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[ProfileScore]) VALUES ( 120,0,12,1,0,'2011/07/07 18:48:29',0,0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 121,0,9,1,0,'2011/07/07 18:48:48',0,'0,61,55,74',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 122,0,1,1,0,'2011/07/07 18:49:58',0,'0,61,63,55,74,65',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 123,0,13,1,0,'2011/07/07 18:57:10',0,'0,61,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 126,0,1,1,0,'2011/07/07 19:50:28',0,'0,61,65,63,55,74',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 127,0,14,1,0,'2011/07/08 8:19:34',0,'0',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 128,0,14,1,0,'2011/07/08 8:21:15',0,'0,65,55,63',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 129,0,14,1,0,'2011/07/08 8:22:20',0,'0,65,55,74',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 130,0,1,1,0,'2011/07/08 8:32:25',0,'0,61,65,63,55,74',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 131,0,1,1,0,'2011/07/08 8:33:29',0,'0,61,55,74,63,65',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 132,0,1,1,0,'2011/07/08 8:35:19',0,'0,61,74,63,55,65',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 133,0,1,1,0,'2011/07/08 8:35:49',0,'0,61,55,65,63,74',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 134,0,13,1,0,'2011/07/14 9:19:00',0,'0,61,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 135,0,1,1,0,'2011/07/14 9:20:50',0,'0,61,74,65,63,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 136,0,1,1,0,'2011/07/14 9:23:29',0,'0,61,63,74,65,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 137,0,1,1,0,'2011/07/14 9:39:01',0,'0,61,74,63,65,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 144,0,1,1,0,'2011/07/14 9:52:12',0,'0,61,74,63,55,65,78',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 145,0,1,1,0,'2011/07/14 10:02:25',0,'0,61,65,55,63,74,78',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 146,0,1,1,0,'2011/07/14 10:38:56',0,'0,61,74,78,55,63,65',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 147,0,1,1,0,'2011/07/14 10:51:20',0,'0,61,79,78,63,65,55,74',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 178,0,2,1,0,'2011/07/14 11:15:20',0,'0,8,4,7,54',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 184,0,2,1,0,'2011/07/14 11:22:48',0,'0,8,4,7,54',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 185,0,2,1,0,'2011/07/14 11:23:05',0,'0,8,4,7,54',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 186,0,2,1,0,'2011/07/14 11:23:56',0,'0,8,4,7,54',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 187,0,1,1,0,'2011/07/14 11:24:03',0,'0,81,61,79,65,63,74,55,78',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 188,0,9,1,0,'2011/07/14 11:26:48',0,'0,81,61,78,74',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 189,0,2,1,0,'2011/07/14 11:56:45',0,'0,54,7,4,8,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 191,0,2,1,0,'2011/07/14 11:59:31',0,'0,54,7,4,8,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 194,0,2,1,0,'2011/07/14 14:00:45',0,'0,54,7,4,8,82,83,84',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 230,0,2,1,0,'2011/07/14 14:13:56',0,'0,54,7,4,83,84,8,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 231,0,2,1,0,'2011/07/14 14:14:04',0,'0,54,7,4,83,8,84,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 245,0,2,1,0,'2011/07/14 14:27:43',0,'0,54,7,4,8,83,84,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 256,0,1,1,0,'2011/07/14 14:53:23',0,'0,65,74,55,63,78,79,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 276,0,2,1,0,'2011/07/14 15:04:44',0,'0,54,7,4,84,8,83,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[ProfileScore]) VALUES ( 285,0,3,1,0,'2011/07/14 18:39:46',0,0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 286,0,3,1,0,'2011/07/14 15:10:45',0,'0,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 290,0,2,1,0,'2011/07/14 15:17:20',0,'0,54,7,4,8,84,83,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 291,0,2,1,0,'2011/07/14 15:18:30',0,'0,54,7,4,8,83,84,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 308,0,2,1,0,'2011/07/14 15:22:55',0,'0,54,7,4,8,84,83,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 309,0,2,1,0,'2011/07/14 15:30:15',0,'0,54,7,4,83,8,84,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 310,0,2,1,0,'2011/07/14 15:33:01',0,'0,54,7,4,8,84,83,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 314,0,2,1,0,'2011/07/14 15:33:47',0,'0,54,7,4,84,8,83,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 315,0,2,1,0,'2011/07/14 15:34:10',0,'0,54,7,4,83,8,84,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 316,0,2,1,0,'2011/07/14 15:35:41',0,'0,54,7,4,84,83,8,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 317,0,9,1,0,'2011/07/14 15:36:32',0,'0,81,61,74,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 318,0,1,1,0,'2011/07/14 15:49:48',0,'0,55,65,63,78,74,79,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 319,0,1,1,0,'2011/07/14 15:51:30',0,'0,74,55,63,78,65,79,81,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 320,0,1,1,0,'2011/07/14 16:06:23',0,'0,63,74,65,55,78,79,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 321,0,3,1,0,'2011/07/14 16:16:06',0,'0,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 322,0,1,1,0,'2011/07/14 16:16:15',0,'0,65,55,78,63,74,79,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 324,0,13,1,0,'2011/07/14 16:18:46',0,'0,55,81,79',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 327,0,4,1,0,'2011/07/14 16:23:11',0,'0',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 328,0,13,1,0,'2011/07/14 16:23:19',0,'0,63,61,79',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 330,0,13,1,0,'2011/07/14 16:29:25',0,'0,55,61,79',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 331,0,13,1,0,'2011/07/14 16:31:33',0,'0,63,81,79',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 332,0,13,1,0,'2011/07/14 16:37:42',0,'0,63,81,79',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 333,0,13,1,0,'2011/07/14 16:41:00',0,'0,55,81,79',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 334,0,13,1,0,'2011/07/14 16:41:11',0,'0,74,81,79',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 336,0,13,1,0,'2011/07/14 16:42:30',0,'0,74,61,79,55,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 338,0,13,1,0,'2011/07/14 16:53:04',0,'0,74,61,79',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 339,0,13,1,0,'2011/07/14 16:57:51',0,'0,78,81,79',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 340,0,1,1,0,'2011/07/14 17:13:47',0,'0,65,74,63,78,55,79,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 351,0,3,1,0,'2011/07/14 17:20:07',0,'0,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 352,0,1,1,0,'2011/07/14 18:05:29',0,'0,78,65,55,74,63,79,81,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 353,0,3,1,0,'2011/07/14 18:06:38',0,'0,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 354,0,4,1,0,'2011/07/14 18:10:04',0,'0',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 355,0,9,1,0,'2011/07/14 18:10:31',0,'0,61,81,55,63',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 356,0,3,1,0,'2011/07/14 18:13:02',0,'0,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 357,0,9,1,0,'2011/07/14 18:14:12',0,'0,81,61,55,74',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 358,0,3,1,0,'2011/07/14 18:38:52',0,'0,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 359,0,3,1,0,'2011/07/14 19:04:02',0,'0,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 360,0,9,1,0,'2011/07/14 19:22:55',0,'0,81,61,78,55',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 361,0,1,1,0,'2011/07/14 19:46:13',0,'0,63,65,78,74,55,79,81,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 362,0,1,1,0,'2011/07/14 19:47:32',0,'0,65,55,78,63,74,79,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 363,0,1,1,0,'2011/07/14 19:50:29',0,'0,78,65,63,74,55,79,87,86,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 364,0,1,1,0,'2011/07/14 20:01:05',0,'0,63,55,65,74,78,87,79,86,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 409,0,1,1,0,'2011/07/14 20:19:14',0,'0,78,74,63,55,65,86,87,79,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 415,0,4,1,0,'2011/07/14 20:19:45',0,'0',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 416,0,1,1,0,'2011/07/14 20:19:54',0,'0,55,74,63,65,78,86,79,87,81,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 420,0,1,1,0,'2011/07/14 20:20:17',0,'0,78,63,55,65,74,87,86,79,81,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 422,0,1,1,0,'2011/07/14 20:27:39',0,'0,65,78,74,63,55,87,79,86,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 424,0,1,1,0,'2011/07/14 20:31:15',0,'0,74,78,65,55,63,86,79,87,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 431,0,1,1,0,'2011/07/14 20:32:58',0,'0,74,55,63,78,65,87,86,79,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 438,0,1,1,0,'2011/07/14 20:48:45',0,'0,65,63,55,78,74,79,86,87,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 442,0,1,1,0,'2011/07/14 20:59:38',0,'0,78,63,74,65,55,79,87,86,81,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 443,0,1,1,0,'2011/07/15 9:04:34',0,'0,55,65,78,63,74,79,86,87,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 445,0,1,1,0,'2011/07/15 9:06:42',0,'0,55,74,63,78,65,79,87,86,81,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 459,0,1,1,0,'2011/07/15 9:39:43',0,'0,63,65,74,78,55,86,79,87,81,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 473,0,1,1,0,'2011/07/15 9:38:56',0,'0,74,78,63,55,65,87,86,79,81,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 474,0,3,1,0,'2011/07/15 9:42:56',0,'0,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 486,0,1,1,0,'2011/07/16 14:17:57',0,'0,78,55,65,63,74,87,86,79,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 497,0,1,1,0,'2011/07/18 8:46:18',0,'0,65,63,74,55,78,87,79,86,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 498,0,3,1,0,'2011/07/18 10:30:23',0,'0,88,56,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 505,0,3,1,0,'2011/07/18 11:30:36',0,'0,56,89,90,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 511,0,3,1,0,'2011/07/18 11:49:49',0,'0,89,88,90,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 518,0,3,1,0,'2011/07/18 12:39:06',0,'0,89,56,85,90,88',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 523,0,1,1,0,'2011/07/18 12:50:13',0,'0,63,78,74,65,55,79,86,87,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 528,0,2,1,0,'2011/07/18 12:52:14',0,'0,54,7,4,84,83,8,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 529,0,1,1,0,'2011/07/18 13:50:55',0,'0,74,65,78,63,55,87,79,86,81,61,91,92',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 530,0,1,1,0,'2011/07/18 14:53:47',0,'0,55,91,65,78,74,92,87,79,81,61,63,86',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[ProfileScore]) VALUES ( 602,0,1,1,0,'2011/07/18 17:08:54',0,0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 603,0,1,1,0,'2011/07/18 17:10:04',0,'0,78,91,55,65,74,86,87,92,81,93,63,61,79',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 604,0,1,1,0,'2011/07/18 17:17:23',0,'0,55,65,74,63,78,79,87,86,93,81,91,92,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 605,0,1,1,0,'2011/07/18 17:18:15',0,'0,91,78,65,63,74,79,92,87,61,81,55,86,93',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 606,0,1,1,0,'2011/07/18 17:20:59',0,'0,74,65,78,63,55,79,86,92,93,81,91,87,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 607,0,1,1,0,'2011/07/18 17:23:17',0,'0,55,78,74,91,63,86,79,92,81,93,87,65,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 608,0,1,1,0,'2011/07/18 17:24:33',0,'0,55,65,91,63,78,86,87,79,81,61,74,93,92',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 610,0,1,1,0,'2011/07/18 17:42:56',0,'0,65,91,74,63,78,87,92,86,93,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 611,0,1,1,0,'2011/07/18 17:46:37',0,'0,74,91,78,63,55,87,92,86,61,93',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 612,0,1,1,0,'2011/07/18 17:49:19',0,'0,74,55,78,63,91,87,92,86,81,93,65,79,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 620,0,1,1,0,'2011/07/18 18:14:25',0,'0,65,63,91,55,78,79,86,87,61,93',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 621,0,3,1,0,'2011/07/18 18:18:58',0,'0,89,56,85,90',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 627,0,3,1,0,'2011/07/18 18:38:12',0,'0,88,56,90,85,89',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 628,0,3,1,0,'2011/07/18 19:33:36',0,'0,88,56,85,90,89',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 639,0,4,1,0,'2011/07/18 19:44:54',0,'0',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 640,0,1,1,0,'2011/07/18 19:45:05',0,'0,63,74,78,55,65,92,86,87,61,81,91,79,93',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore],[GraderWill]) VALUES ( 641,0,3,1,66,'2011/07/18 19:46:21',0,'0,56,88,85,90,89',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 651,0,1,1,0,'2011/07/18 19:48:58',0,'0,63,91,74,55,78,86,92,79,61,93',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 652,0,3,1,0,'2011/07/18 19:57:57',0,'0,89,56,85,90',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 653,0,3,1,0,'2011/07/18 19:59:04',0,'0,56,88,94,90,89',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 666,0,3,1,0,'2011/07/18 20:13:34',0,'0,88,56,90,94',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 667,0,3,1,0,'2011/07/18 20:14:23',0,'0,56,88,85,94,89,90',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 668,0,3,1,0,'2011/07/18 20:24:48',0,'0,89,56,94,85,88,90',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 669,0,3,1,0,'2011/07/18 20:35:35',0,'0,89,56,85,94',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 670,0,3,1,0,'2011/07/18 20:38:17',0,'0,56,89,94,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 671,0,3,1,0,'2011/07/18 20:39:13',0,'0,89,88,85,90,56,94',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 672,0,3,1,0,'2011/07/18 20:41:47',0,'0,56,88,85,90',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 683,0,3,1,0,'2011/07/18 20:43:41',0,'0,89,56,94,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 686,0,3,1,0,'2011/07/18 20:45:17',0,'0,89,56,90,85,88,94',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[ProfileScore]) VALUES ( 687,0,3,1,0,'2011/07/18 20:54:10',0,0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 688,0,3,1,0,'2011/07/18 20:54:27',0,'0,88,89,85,94',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 696,0,3,1,0,'2011/07/18 20:55:35',0,'0,56,89,90,85',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 699,0,2,1,0,'2011/07/18 20:56:19',0,'0,54,7,4,8,84,83,82',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 700,0,1,1,0,'2011/07/18 20:56:31',0,'0,78,55,74,63,65,79,86,92,93,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 705,0,1,1,0,'2011/07/18 20:56:58',0,'0,78,65,63,55,74,86,87,92,61,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 716,0,1,1,0,'2011/07/18 21:01:20',0,'0,65,91,55,78,63,87,92,79,93,61',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 717,0,1,1,0,'2011/07/18 21:16:13',0,'0,63,78,91,74,55,79,92,87,93,81',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 718,0,3,1,0,'2011/07/18 21:16:26',0,'0,88,89,85,90',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 726,0,3,1,0,'2011/07/18 21:32:40',0,'89',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 771,0,3,1,67,'2011/07/18 22:09:12',0,'0,56,89,90,95','56,|89,|90,^^|95,^^|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 772,0,3,1,88,'2011/07/18 22:10:42',0,'0,89,88,90,95','89,|88,|90,^^|95,^^|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 773,0,1,145,78,'2011/07/19 9:33:09',0,'0,74,55,78,65,63,87,92,86,61,81','74,A|55,B|78,D|65,C|63,A|87,A,B|92,B,C|86,C,D|61,fasd |81,f dfds |',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore]) VALUES ( 788,0,1,145,0,'2011/07/19 15:35:30',0,'0,55,74,63,91,65,79,92,86,93,61','55,A|74,B|63,A|91,D|65,D|79,|92,|86,|93,|61,|',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 810,0,2,145,40,'2011/07/19 17:21:24',0,'0,54,7,4,84,83,8,82','54,fgfd^gfdg^fgf^gfdgfdg|7,C|4,A,B|84,0|83,1|8,0|82,hgfjhgkf|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 824,0,3,145,20,'2011/07/19 17:22:15',0,'0,89,88,90,85','89,0|88,1|90,dsfd^gfdg^hgfh|85,fsd^fds^fdgf^cxvcx|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 825,0,1,145,70,'2011/07/19 17:36:09',0,'0,63,65,78,74,55,79,86,92,93,81','63,A|65,B|78,A|74,C|55,D|79,A,B|86,C,D|92,A,B|93,asdf|81,adsf|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 826,0,4,145,80,'2011/07/19 17:47:35',0,'0,57,62,89,56,85,80','57,A|62,A,C|89,1|56,0|85,fds^gfg^dfsdf^gfs|80,hgfhfghfghfgh|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 829,0,1,145,16,'2011/07/19 19:07:15',0,'0,65,91,63,78,74,87,86,79,81,93','65,D|91,A|63,A|78,C|74,B|87,A,B|86,A,B|79,A,B|81,hfksjh;|93,tgyreruyoi|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 830,0,1,145,22,'2011/07/19 19:17:03',0,'0,65,78,91,74,55,79,87,86,81,61','65,C|78,D|91,C|74,B|55,A|79,B,C|87,B,C|86,B,C|81,bnjhohoiounbhbgvigioui|61,gygoiyguyougo|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 832,0,9,1,0,'2011/07/20 8:39:15',0,'0,81,61,93,55,91,78,65',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 833,0,9,1,40,'2011/07/20 8:51:34',0,'0,93,61,81,78,65,96,97,100,99','93,afaf|61,fgfdg|81,hhgjhgj|78,C|65,B|96,0|97,1|100,qqw|99,q^w^e|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 834,0,9,1,66,'2011/07/20 10:36:57',0,'0,81,93,61,65,91,96,97,98,99','81,gfdgfdg|93,hgfh|61,hgfhgf|65,B|91,D|96,0|97,1|98,fd^f|99,^^|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore]) VALUES ( 846,0,1,1,0,'2011/07/20 11:53:04',0,'0,91,63,74,55,65,92,86,87,81,93','91,B|63,A|74,A|55,B|65,A|92,A,B|86,A,B|87,A,B|81,3126|93,fdsf|',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 847,0,9,1,0,'2011/07/20 11:55:24',0,'0,81,61,93,65,55,101,96,97,98,99',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore]) VALUES ( 848,0,4,1,0,'2011/07/20 11:57:06',0,'0,6,62,88,89,90,80','6,|62,|88,|89,|90,^^|80,|',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore]) VALUES ( 858,0,14,1,0,'2011/07/20 13:29:50',0,'0,65,74,87,86','65,D|74,A|87,A|86,C|',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 859,0,14,1,5,'2011/07/20 13:30:55',0,'0,78,91,79,86','78,B|91,D|79,B,C|86,A,B|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 863,0,14,1,0,'2011/07/20 14:26:10',0,'0,55,91,86,79,65,63,87',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 864,0,14,1,15,'2011/07/20 14:30:46',0,'0,65,55,87,79','65,B|55,D|87,A,B,C|79,B,C,D|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 865,0,3,1,0,'2011/07/20 14:33:44',0,'0,56,89,94,85,88,90',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[ProfileScore]) VALUES ( 866,0,3,1,0,'2011/07/20 14:36:09',0,'0,56,88,85,95,89,94,90',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore]) VALUES ( 867,0,3,1,0,'2011/07/20 14:44:11',0,'0,56,88,95,94','56,0|88,1|95,fg^gfg^gfdg|94,gfdgdf|',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 868,0,3,1,10,'2011/07/20 17:26:54',0,'0,89,88,85,95','89,1|88,0|85,das^^ddd^dd|95,^fds^fff|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore]) VALUES ( 869,0,14,1,0,'2011/07/20 17:38:43',0,'0,91,65,79,92','91,C|65,B|79,B,C,D|92,A,B,C|',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore]) VALUES ( 870,0,14,1,0,'2011/07/20 17:39:06',0,'0,78,91,86,87','78,|91,|86,|87,|',0)
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 871,0,14,1,7,'2011/07/20 17:40:01',0,'0,65,74,92,79','65,D|74,A|92,A,B|79,B,C|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 872,0,14,1,8,'2011/07/20 17:43:36',0,'0,78,91,92,87','78,B|91,A|92,B,C|87,A,B|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore],[GraderWill]) VALUES ( 873,0,2,1,40,'2011/07/20 20:40:14',0,'0,54,7,4,83,8,84,82','54,fds^gf^hj^jhj|7,D|4,A,B|83,0|8,1|84,0|82,fdgfdg|',1,'admin')
INSERT [ZL_ScoreStatics] ([ID],[CourseID],[PID],[UserID],[Fraction],[ExamTime],[ErrorID],[QuestionIDs],[Answer],[ProfileScore]) VALUES ( 874,0,17,1,0,'2011/07/20 21:01:19',0,'0,77,6,62','77,C|6,B|62,A,B|',0)
SET IDENTITY_INSERT [ZL_ScoreStatics] OFF

GO
CREATE TABLE [dbo].[ZL_EnrollList](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UesrID] [int] NULL,
	[CreateTime] [datetime] NULL CONSTRAINT [DF_ZL_EnrollList_AddTime]  DEFAULT (getdate()),
	[infos] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL
 CONSTRAINT [PK_ZL_EnrollList] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Recruitment](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Studioname] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[PriorUserName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[LogPassWord] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[TechID] [int] NULL,
	[CourseID] [int] NULL,
	[ClassID] [int] NULL,
	[Remark] [nvarchar](1000) COLLATE Chinese_PRC_CI_AS NULL,
	[AddTime] [datetime] NULL,
 CONSTRAINT [PK_ZL_Recruitment] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'学员姓名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'Studioname'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'预设用户名' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'PriorUserName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'预设登录密码' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'LogPassWord'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'招生员ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'TechID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'课程ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'CourseID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'班级' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'ClassID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'Remark'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Recruitment', @level2type=N'COLUMN',@level2name=N'AddTime'


GO
CREATE TABLE [dbo].[ZL_VideoRoom](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[RoomNum] [varchar](50) NULL,
	[RoomName] [nvarchar](100) NULL,
	[AddUserOrAdmin] [int] NOT NULL,
	[IsUserAdmin] [bit] NOT NULL,
	[UserGradeID] [int] NOT NULL,
	[AddDateTime] [datetime] NULL DEFAULT (getdate()),
	[MaxPerson] [int] NULL DEFAULT ((0)),
	[MaxFootfall] [int] NULL DEFAULT ((0)),
	[Score] [int] NULL DEFAULT ((0)),
	[VideoServer] [varchar](255) NULL,
	[VideoHallID] [int] NOT NULL,
	[Remark] [nvarchar](255) NOT NULL,
	[OrderNum] [int] NULL,
	[RoomFace] [nvarchar](255) NULL,
	[IsSuo] [int] NULL,
	[RoomUpUser] [int] NULL,
	[IsPassword] [int] NULL,
	[Password] [nvarchar](255) NULL
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键,自增' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'ID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'房间号，唯一的' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'RoomNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'房间名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'RoomName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'引用、创建用户、管理、ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'AddUserOrAdmin'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'true用户创建、false管理创建' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'IsUserAdmin'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'房间等级限制，外键引用ZL_UserGrad表ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'UserGradeID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'AddDateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最大人数限制' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'MaxPerson'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'房间最高人气数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'MaxFootfall'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'房间积分' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'Score'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'视频服务器地址' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'VideoServer'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'外键引用ZL_VideoHall表ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'VideoHallID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'房间说明' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'Remark'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'OrderNum'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'房间头像' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'RoomFace'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否有锁' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoRoom', @level2type=N'COLUMN',@level2name=N'IsSuo'

GO
CREATE TABLE [dbo].[ZL_RoomUser] (
	[ID] [int] IDENTITY (1, 1) primary key NOT NULL ,
	[UserId] [int] NOT NULL ,
	[UserGradeId] [int]  NOT NULL ,	
	[VideoRoomHallID] [int] NOT NULL,
	[IsHallRoom] [bit] NOT NULL
) ON [PRIMARY]

GO
exec sp_addextendedproperty N'MS_Description', N'主键,自增', N'user', N'dbo', N'table', N'ZL_RoomUser', N'column', N'id'
GO
exec sp_addextendedproperty N'MS_Description', N'外键引用、ZL_User表ID', N'user', N'dbo', N'table', N'ZL_RoomUser', N'column', N'UserId'
GO
exec sp_addextendedproperty N'MS_Description', N'用户等级、引用ZL_RoomUserGrade表ID', N'user', N'dbo', N'table', N'ZL_RoomUser', N'column', N'UserGradeId'
GO
exec sp_addextendedproperty N'MS_Description', N'房间ID、外键引用ZL_VideoRoom、ZL_VideoHall表ID', N'user', N'dbo', N'table', N'ZL_RoomUser', N'column', N'VideoRoomHallID'
GO
exec sp_addextendedproperty N'MS_Description', N'true为大厅、false为房间', N'user', N'dbo', N'table', N'ZL_RoomUser', N'column', N'IsHallRoom'

GO
CREATE TABLE [dbo].[ZL_RoomCall] (
	[ID] [int] IDENTITY (1, 1) primary key NOT NULL ,
	[UserId] [int] default(0) NULL ,
	[UpdateTime] [datetime] default(getdate()) NOT NULL ,
	[VideoHall] [int]  NOT NULL,
	[VideoRoomID] [int] NOT NULL 
) ON [PRIMARY]

GO
exec sp_addextendedproperty N'MS_Description', N'主键,自增', N'user', N'dbo', N'table', N'ZL_RoomCall', N'column', N'id'
GO
exec sp_addextendedproperty N'MS_Description', N'用户ID、0为游客', N'user', N'dbo', N'table', N'ZL_RoomCall', N'column', N'UserId'
GO
exec sp_addextendedproperty N'MS_Description', N'和客户端的最后交互时间', N'user', N'dbo', N'table', N'ZL_RoomCall', N'column', N'UpdateTime'
GO
exec sp_addextendedproperty N'MS_Description', N'大厅ID(减少聚合查询)', N'user', N'dbo', N'table', N'ZL_RoomCall', N'column', N'VideoHall'
GO
exec sp_addextendedproperty N'MS_Description', N'房间ID', N'user', N'dbo', N'table', N'ZL_RoomCall', N'column', N'VideoRoomId'

GO
CREATE TABLE [dbo].[ZL_VideoMessage] (
	[ID] [int] IDENTITY (1, 1) primary key NOT NULL ,
	[Content] [nvarchar] (255)  NULL ,
	[SendDatetime] [datetime]  default(getdate()) NULL ,
	[SendUserID] [int]  NOT NULL,
	[MsgGrade] [int] default(0)  NULL ,
	[IsPrivate] [bit] NOT NULL ,
	[AdmitUserId] [varchar] (255)  NULL ,
	[VideoRoomId] [int] default(0) NULL 
) ON [PRIMARY]

GO
exec sp_addextendedproperty N'MS_Description', N'主键,自增', N'user', N'dbo', N'table', N'ZL_VideoMessage', N'column', N'id'
GO
exec sp_addextendedproperty N'MS_Description', N'消息内容', N'user', N'dbo', N'table', N'ZL_VideoMessage', N'column', N'Content'
GO
exec sp_addextendedproperty N'MS_Description', N'发送时间', N'user', N'dbo', N'table', N'ZL_VideoMessage', N'column', N'SendDatetime'
GO
exec sp_addextendedproperty N'MS_Description', N'发送用户ID', N'user', N'dbo', N'table', N'ZL_VideoMessage', N'column', N'SendUserID'
GO
exec sp_addextendedproperty N'MS_Description', N'消息等级、0为普通消息、1为小喇叭、2为公告', N'user', N'dbo', N'table', N'ZL_VideoMessage', N'column', N'MsgGrade'
GO
exec sp_addextendedproperty N'MS_Description', N'是否私聊', N'user', N'dbo', N'table', N'ZL_VideoMessage', N'column', N'IsPrivate'
GO
exec sp_addextendedproperty N'MS_Description', N'接收用户ID', N'user', N'dbo', N'table', N'ZL_VideoMessage', N'column', N'AdmitUserId'
GO
exec sp_addextendedproperty N'MS_Description', N'房间ID、0为全部房间、且不能为私聊', N'user', N'dbo', N'table', N'ZL_VideoMessage', N'column', N'VideoRoomId'

GO
CREATE TABLE [dbo].[ZL_ArticlePromotion] (
	[Id] [int] IDENTITY (1, 1) primary key NOT NULL ,
	[PromotionUserId] [int] NOT  NULL ,
	[CartProId] [int]   NOT NULL ,
	[PromotionUrl] [varchar] (255)   NULL,
	[IsBalance] [bit] default(0)  NULL ,
	[IsEnable] [bit] default(0)  NULL ,
	[AddTime] [datetime] default(getdate())  NULL ,
	[BalanceTime] [datetime] default(getdate())  NULL ,
	[RebatesId] [int] default(0) NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Chart](
	[ChartID] [int] IDENTITY (1, 1) primary key NOT NULL ,
	[ChartTitle] [nvarchar] (50) not null,
	[ChartType] [nvarchar] (10) not null,
	[ChartUnit] [nvarchar] (10) not null,
	[ChartWidth] [int] not null,
	[ChartHeight] [int] not null,
	[CharData] [ntext]
) ON [PRIMARY]
go

CREATE  proc [dbo].[PR_Chart_Add]
@ChartID int,
@ChartTitle nvarchar(50),
@ChartType nvarchar(10),
@ChartUnit  nvarchar(10),
@ChartWidth   int ,
@ChartHeight  int ,
@CharData ntext
as 
insert into ZL_Chart
(
ChartTitle,
ChartType,
ChartUnit ,
ChartWidth,
ChartHeight,
CharData
) values(
@ChartTitle,
@ChartType,
@ChartUnit,
@ChartWidth,
@ChartHeight,
@CharData
)

GO
exec sp_addextendedproperty N'MS_Description', N'主键Id，自增', N'user', N'dbo', N'table', N'ZL_ArticlePromotion', N'column', N'Id'
GO
exec sp_addextendedproperty N'MS_Description', N'推广用户ID', N'user', N'dbo', N'table', N'ZL_ArticlePromotion', N'column', N'PromotionUserId'
GO
exec sp_addextendedproperty N'MS_Description', N'推广商品ID', N'user', N'dbo', N'table', N'ZL_ArticlePromotion', N'column', N'CartProId'
GO
exec sp_addextendedproperty N'MS_Description', N'推广地址', N'user', N'dbo', N'table', N'ZL_ArticlePromotion', N'column', N'PromotionUrl'
GO
exec sp_addextendedproperty N'MS_Description', N'是否已结算', N'user', N'dbo', N'table', N'ZL_ArticlePromotion', N'column', N'IsBalance'
GO
exec sp_addextendedproperty N'MS_Description', N'是否禁用、是否删除', N'user', N'dbo', N'table', N'ZL_ArticlePromotion', N'column', N'IsEnable'
GO
exec sp_addextendedproperty N'MS_Description', N'增加时间', N'user', N'dbo', N'table', N'ZL_ArticlePromotion', N'column', N'AddTime'
GO
exec sp_addextendedproperty N'MS_Description', N'结算时间', N'user', N'dbo', N'table', N'ZL_ArticlePromotion', N'column', N'BalanceTime'
GO
exec sp_addextendedproperty N'MS_Description', N'结算信息ID', N'user', N'dbo', N'table', N'ZL_ArticlePromotion', N'column', N'RebatesId'

GO
CREATE TABLE [dbo].[ZL_Rebates](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NULL,
	[BalanceMoney] [money] NULL,
	[Scale] [float] NULL,
	[Money] [money] NULL,
	[ShopCount] [int] NULL,
	[OrderID] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
 CONSTRAINT [PK_ZL_Rebates] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'推广人ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Rebates', @level2type=N'COLUMN', @level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'结算金额' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Rebates', @level2type=N'COLUMN', @level2name=N'BalanceMoney'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'返利比例' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Rebates', @level2type=N'COLUMN', @level2name=N'Scale'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'返利金额' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Rebates', @level2type=N'COLUMN', @level2name=N'Money'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'总商品件数' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Rebates', @level2type=N'COLUMN', @level2name=N'ShopCount'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'订单号ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Rebates', @level2type=N'COLUMN', @level2name=N'OrderID'

GO
CREATE TABLE [dbo].[ZL_RoomInfo](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[RoomId] [int] NOT NULL CONSTRAINT [DF_ZL_RoomInfo_RoomId]  DEFAULT (0),
	[UserId] [int] NOT NULL CONSTRAINT [DF_ZL_RoomInfo_UserId]  DEFAULT (0),
	[MarkNum] [int] NULL CONSTRAINT [DF_ZL_RoomInfo_MarkNum]  DEFAULT (0),
	[IsUpMark] [bit] NULL CONSTRAINT [DF_ZL_RoomInfo_IsUpMark]  DEFAULT (0),
 CONSTRAINT [PK_ZL_RoomInfo] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'房间ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomInfo', @level2type=N'COLUMN', @level2name=N'RoomId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户Id' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomInfo', @level2type=N'COLUMN', @level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'麦序' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomInfo', @level2type=N'COLUMN', @level2name=N'MarkNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否在视频上' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_RoomInfo', @level2type=N'COLUMN', @level2name=N'IsUpMark'

GO
CREATE TABLE [dbo].[ZL_UserGrade](	
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Grade] [int] NULL,
	[Name] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Remark] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户等级' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserGrade', @level2type=N'COLUMN',@level2name=N'Grade'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'游客,白领，金领、等' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserGrade', @level2type=N'COLUMN',@level2name=N'Name'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'等级备注' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UserGrade', @level2type=N'COLUMN',@level2name=N'Remark'

GO
CREATE TABLE [dbo].[ZL_VideoUser](	
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserNum] [varchar](50) null,
	[UserID] [int] null,
	[Score] [int] NULL,
	[Experience] [float] NULL,
	[UserGrade] [int] NULL,
	[UserFall] [int] NULL,
	[GradeEndTime] [varchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[Status] [int] null,
	[LoginKey] [varchar] (50) null,
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'视频用户编号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoUser', @level2type=N'COLUMN',@level2name=N'UserNum'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户积分，为用户消费换取' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoUser', @level2type=N'COLUMN',@level2name=N'Score'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoUser', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户经验、为用户在线时间为准1小时==1' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoUser', @level2type=N'COLUMN',@level2name=N'Experience'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户等级，引用ZL_UserGrade表Grade' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoUser', @level2type=N'COLUMN',@level2name=N'UserGrade'
GO	
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户人气' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoUser', @level2type=N'COLUMN',@level2name=N'UserFall'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'0，表示无期限' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoUser', @level2type=N'COLUMN',@level2name=N'GradeEndTime'
GO	
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'0为离线，1为在线，2隐身，3为离开' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoUser', @level2type=N'COLUMN',@level2name=N'Status'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户登录以后验证的Key' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_VideoUser', @level2type=N'COLUMN',@level2name=N'LoginKey'

GO
CREATE TABLE [dbo].[ZL_Agent](	
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] null,	
	[AgentRoomID] [nvarchar](50) NULL,
	[AgentTime] [datetime] NULL,
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Agent', @level2type=N'COLUMN',@level2name=N'UserID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'代理房间号' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Agent', @level2type=N'COLUMN',@level2name=N'AgentRoomID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'代理时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Agent', @level2type=N'COLUMN',@level2name=N'AgentTime'


GO
CREATE TABLE [dbo].[ZL_VideoUserFriend](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserId] [int] NULL,
	[FriendId] [int] NULL,
	[UserGroupId] [int] NULL,
	[AddTime] [datetime] NULL,
 CONSTRAINT [PK_ZL_VideoUserFriend] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoUserFriend', @level2type=N'COLUMN', @level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'好友ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoUserFriend', @level2type=N'COLUMN', @level2name=N'FriendId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'-2,为黑名单，-1陌生人，0为好友，其他引用VideoUserGroup表ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoUserFriend', @level2type=N'COLUMN', @level2name=N'UserGroupId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'增加时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoUserFriend', @level2type=N'COLUMN', @level2name=N'AddTime'

GO
CREATE TABLE [dbo].[ZL_VideoUserGroup](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserId] [int] NULL,
	[GroupName] [nvarchar](255) COLLATE Chinese_PRC_CI_AS NULL,
	[AddTime] [datetime] NULL,
 CONSTRAINT [PK_ZL_VideoUserGroup] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoUserGroup', @level2type=N'COLUMN', @level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户组名称' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoUserGroup', @level2type=N'COLUMN', @level2name=N'GroupName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'添加时间' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_VideoUserGroup', @level2type=N'COLUMN', @level2name=N'AddTime'

GO
CREATE TABLE [dbo].[ZL_Auction](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[AuctionID] [int] NULL,
	[ShopId] [int] NULL,
	[UserId] [int] NULL,
	[Price] [money] NULL,
 CONSTRAINT [PK_ZL_Auction] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'竞拍ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Auction', @level2type=N'COLUMN', @level2name=N'AuctionID'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'商品ID' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Auction', @level2type=N'COLUMN', @level2name=N'ShopId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Auction', @level2type=N'COLUMN', @level2name=N'UserId'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'价格' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_Auction', @level2type=N'COLUMN', @level2name=N'Price'

GO

CREATE TABLE [dbo].[ZL_EditWord](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [int] NULL,
	[Type] [nvarchar](4000) NULL,
	[Content] [nvarchar](4000) NULL,
	[CreateTime] [datetime] NULL,
	[Title] [nvarchar](4000) NULL,
	[Status] [image] NULL,
 CONSTRAINT [PK_ZL_EditWord] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_FTPConfig](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[FtpServer] [nvarchar](255) NULL,
	[FtpPort] [nvarchar](50) NULL,
	[FtpUsername] [nvarchar](50) NULL,
	[FtpPassword] [nvarchar](50) NULL,
	[OutTime] [nvarchar](50) NULL,
	[SavePath] [nvarchar](50) NULL,
	[Alias] [nvarchar](50) NULL,
	[Url] [nvarchar](4000) NULL,
 CONSTRAINT [PK_ZL_FTPConfig] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_UserGroup](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserGroupName] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[UserID] [int] NULL,
 CONSTRAINT [PK_ZL_UserGroup_1] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户组' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserGroup', @level2type=N'COLUMN', @level2name=N'UserGroupName'
GO
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'用户标识' ,@level0type=N'USER', @level0name=N'dbo', @level1type=N'TABLE', @level1name=N'ZL_UserGroup', @level2type=N'COLUMN', @level2name=N'UserID'

GO
CREATE TABLE [dbo].[ZL_Chat](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[Content] [nvarchar](1000) NULL,
	[SendDatetime] [datetime] NULL,
	[SendUserID] [int] NULL,
	[AdmitUserId] [int] NULL,
	[type] [int] NULL,
	[All_People] [varchar](5000) NULL,
	[ImgUrl] [nvarchar](500) NULL,
	[Roomid] [int] NULL,
	[state] [int] DEFAULT (0)
 CONSTRAINT [PK_ZL_Chat] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Chat', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发送时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Chat', @level2type=N'COLUMN',@level2name=N'SendDatetime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'发送者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Chat', @level2type=N'COLUMN',@level2name=N'SendUserID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'接收者' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Chat', @level2type=N'COLUMN',@level2name=N'AdmitUserId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上传图片' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Chat', @level2type=N'COLUMN',@level2name=N'ImgUrl'

GO

CREATE TABLE [dbo].[ZL_ComponentPlatform](
	[ComID] [int] IDENTITY(1,1) NOT NULL,
	[ComTitle] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ComUid] [int] NULL,
	[ComClassID] [int] NULL,
	[ComTypeID] [int] NULL,
	[ComUrl] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[PositionTop] [int] NOT NULL,
	[PositionLeft] [int] NOT NULL,
	[PositionWidth] [int] NOT NULL,
	[PositionHeight] [int] NOT NULL,
	[ComImg] [nvarchar](100) COLLATE Chinese_PRC_CI_AS NULL,
	[ComKeys] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ComNote] [ntext] COLLATE Chinese_PRC_CI_AS NULL,
	[ComDateTitle] [datetime] NOT NULL
 CONSTRAINT [PK_ZL_ComponentPlatform] PRIMARY KEY CLUSTERED 
(
	[ComID] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_ComponentClass](
	[ClassID] [int] IDENTITY(1,1) NOT NULL,
	[ClassTitle] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
	[ParentID] [int] NULL CONSTRAINT [DF__ZL_Compon__Paren__2FE5BFD1]  DEFAULT (0),
	[explain] [nvarchar](200) COLLATE Chinese_PRC_CI_AS NULL,
	[OrderNum] [int] NULL,
 CONSTRAINT [PK_ZL_ComponentClass] PRIMARY KEY CLUSTERED 
(
	[ClassID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Bider] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[GeneralID] [int]  NOT NULL,
[UID] [int]  NOT NULL,
[CID] [nvarchar]  (100) NOT NULL,
[Type] [int]  NOT NULL,
[WinID] [nvarchar]  (100) NULL,
[Check] [int]  NULL DEFAULT (0))
ALTER TABLE [ZL_Bider] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Bider] PRIMARY KEY  NONCLUSTERED ( [ID] )

GO
CREATE TABLE [dbo].[ZL_Hits](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[GID] [int] NOT NULL,
	[Uid] [int] NULL,
	[UpdateTime] [datetime] NOT NULL,
	[Ip] [nvarchar](50) NULL,
	[status] [int] NULL,
 CONSTRAINT [PK_ZL_Hits] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
SET IDENTITY_INSERT [ZL_Delivier] ON
INSERT [ZL_Delivier] ([ID],[deliname],[delitype],[shuilv],[selectto],[isuse],[istype]) VALUES ( 1,'邮政快递',28.0000,0.0000,1,1,3)
INSERT [ZL_Delivier] ([ID],[deliname],[shuilv],[selectto],[isuse],[istype]) VALUES ( 2,'上门取件',0.0000,0,1,1)
SET IDENTITY_INSERT [ZL_Delivier] OFF

GO
SET IDENTITY_INSERT [ZL_InvtoType] ON
INSERT [ZL_InvtoType] ([ID],[InvtoType],[Invto],[Addtime],[AdminID],[Remark]) VALUES ( 1,'普通服务业发票[4%税率]',4,'2015-8-3 10:14:08',1,'如果您购买的是服务则选择此项')
INSERT [ZL_InvtoType] ([ID],[InvtoType],[Invto],[Addtime],[AdminID],[Remark]) VALUES ( 2,'国税发票[6%税率]',6,'2015-8-3 9:50:18',1,'如果购买的是实物，则应选择国税发票')
INSERT [ZL_InvtoType] ([ID],[InvtoType],[Invto],[Addtime],[AdminID],[Remark]) VALUES ( 3,'增值税发票[8%税率]',8,'2015-8-3 9:50:01',1,'用于生产领域的发票')
SET IDENTITY_INSERT [ZL_InvtoType] OFF

GO
CREATE TABLE [dbo].[ZL_Map] (
[mid] [int]  IDENTITY (1, 1)  NOT NULL,
[lx] [varchar]  (100) NULL,
[ly] [varchar]  (100) NULL,
[lz] [int]  NULL,
[uid] [int]  NULL,
[flag] [bit]  NULL,
[CreateTime] [datetime] NULL,
[type] [nchar]  (40) NULL)
ALTER TABLE [ZL_Map] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Map] PRIMARY KEY  NONCLUSTERED ( [mid] )

GO
CREATE TABLE [dbo].[ZL_Zone_Node]
(
[ID] [int] NOT NULL IDENTITY(1, 1),
[UserID] [int] NULL,
[NodeID] [int] NULL,
[PageID] [int] NULL,
[LabelID] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
[style] [nvarchar] (4000) COLLATE Chinese_PRC_CI_AS NULL,
[Content] [nvarchar] (4000) COLLATE Chinese_PRC_CI_AS NULL,
[Position] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
[Z_index] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
[Background] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
[Border] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
[Font_size] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
[Display] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
[Overflow] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
[mtop] [int] NULL,
[mleft] [int] NULL,
[width] [int] NULL,
[height] [int] NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[ZL_Zone_Node] ADD CONSTRAINT [PK_ZL_Zone_Node] PRIMARY KEY CLUSTERED  ([ID]) ON [PRIMARY]
GO
EXEC sp_addextendedproperty N'MS_Description', N'标识ID', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Node', 'COLUMN', N'ID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'所属页面的ID', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Node', 'COLUMN', N'UserID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Node', 'COLUMN', N'NodeID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'所属页面的ID', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Node', 'COLUMN', N'PageID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'标签的ID属性', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Node', 'COLUMN', N'LabelID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'标签样式字符串（上，下，宽，高）', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Node', 'COLUMN', N'style'
GO
EXEC sp_addextendedproperty N'MS_Description', N'层', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Node', 'COLUMN', N'Z_index'
GO
EXEC sp_addextendedproperty N'MS_Description', N'显示', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Node', 'COLUMN', N'Display'
GO
EXEC sp_addextendedproperty N'MS_Description', N'设置当对象的内容超过其指定高度及宽度时如何管理内容的属性', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Node', 'COLUMN', N'Overflow'

GO
CREATE TABLE [dbo].[ZL_Zone_Site]
(
[ID] [int] NOT NULL IDENTITY(1, 1),
[UserID] [int] NULL,
[SkinID] [int] NULL,
[SiteName] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[SiteKeyWord] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[SiteDesc] [nvarchar] (4000) COLLATE Chinese_PRC_CI_AS NULL,
[Contact] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[PhoneNum] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
[Addr] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[Postcode] [varchar] (50) COLLATE Chinese_PRC_CI_AS NULL,
[Labels] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[Copyright] [varchar] (255) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[ZL_Zone_Site] ADD CONSTRAINT [PK_ZL_Zone_Site] PRIMARY KEY CLUSTERED  ([ID]) ON [PRIMARY]
GO
EXEC sp_addextendedproperty N'MS_Description', N'标识ID', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'ID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'用户ID', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'UserID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'模板风格ID', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'SkinID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'网站名称', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'SiteName'
GO
EXEC sp_addextendedproperty N'MS_Description', N'网站关键字', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'SiteKeyWord'
GO
EXEC sp_addextendedproperty N'MS_Description', N'网站描述', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'SiteDesc'
GO
EXEC sp_addextendedproperty N'MS_Description', N'联系人', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'Contact'
GO
EXEC sp_addextendedproperty N'MS_Description', N'电话号码', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'PhoneNum'
GO
EXEC sp_addextendedproperty N'MS_Description', N'联系地址', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'Addr'
GO
EXEC sp_addextendedproperty N'MS_Description', N'邮编', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'Postcode'
GO
EXEC sp_addextendedproperty N'MS_Description', N'用户可用标签，如：免费和已付费标签', 'USER', N'dbo', 'TABLE', N'ZL_Zone_Site', 'COLUMN', N'Labels'

GO
CREATE TABLE [dbo].[ZL_Zone_question]
(
[FormsId] [int] NOT NULL IDENTITY(1, 1),
[FormsTitle] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[FormsExplain] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[TextTips] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[Email] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[FormsSet] [nvarchar] (20) COLLATE Chinese_PRC_CI_AS NULL,
[Permissions] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[FormContent] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[ZL_Zone_question] ADD CONSTRAINT [PK_ZL_Zone_question] PRIMARY KEY CLUSTERED  ([FormsId]) ON [PRIMARY]
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单ID', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'FormsId'
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单标题', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'FormsTitle'
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单说明', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'FormsExplain'
GO
EXEC sp_addextendedproperty N'MS_Description', N'提示文字', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'TextTips'
GO
EXEC sp_addextendedproperty N'MS_Description', N'邮箱', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'Email'
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单设置', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'FormsSet'
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单权限', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'Permissions'
GO
EXEC sp_addextendedproperty N'MS_Description', N'表单内容', 'USER', N'dbo', 'TABLE', N'ZL_Zone_question', 'COLUMN', N'FormContent'

GO
CREATE TABLE [dbo].[ZL_page_app]
(
[ID] [int] NOT NULL IDENTITY(1, 1),
[Alias] [nvarchar] (50) COLLATE Chinese_PRC_CI_AS NOT NULL,
[Lname] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NOT NULL,
[Img] [nvarchar] (255) COLLATE Chinese_PRC_CI_AS NULL,
[Price] [decimal] (18, 0) NULL,
[Groups] [int] NULL
) ON [PRIMARY]

GO
ALTER TABLE [dbo].[ZL_page_app] ADD CONSTRAINT [PK_ZL_page_app] PRIMARY KEY CLUSTERED  ([ID]) ON [PRIMARY]
GO
EXEC sp_addextendedproperty N'MS_Description', N'标识ID', 'USER', N'dbo', 'TABLE', N'ZL_page_app', 'COLUMN', N'ID'
GO
EXEC sp_addextendedproperty N'MS_Description', N'标签价格', 'USER', N'dbo', 'TABLE', N'ZL_page_app', 'COLUMN', N'Price'

GO
CREATE TABLE [dbo].[ZL_Pub_TW] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[Pubupid] [int]  NULL,
[PubUserName] [nvarchar]  (255) NULL,
[PubUserID] [int]  NULL,
[PubContentid] [int]  NULL,
[PubInputer] [nvarchar]  (255) NULL,
[Parentid] [int]  NULL DEFAULT (0),
[PubIP] [nvarchar]  (255) NULL,
[Pubnum] [int]  NULL DEFAULT (0),
[Pubstart] [int]  NULL DEFAULT (0),
[PubTitle] [nvarchar]  (255) NULL,
[PubContent] [ntext]  NULL,
[PubAddTime] [datetime]  NULL DEFAULT (getdate()),
[Optimal] [int]  NULL DEFAULT (0),
[ClassLevel1] [nvarchar]  (255) NULL DEFAULT (''),
[ClassLevel2] [nvarchar]  (255) NULL DEFAULT (''))

ALTER TABLE [ZL_Pub_TW] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Pub_TW] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_Pub_TW] ON
INSERT [ZL_Pub_TW] ([ID],[Pubupid],[PubUserName],[PubUserID],[PubContentid],[PubInputer],[Parentid],[PubIP],[Pubnum],[Pubstart],[PubTitle],[PubContent],[PubAddTime],[Optimal],[ClassLevel1],[ClassLevel2]) VALUES ( 1,4,N'admin',1,119,N'admin',0,N'192.168.1.24',1,1,N'119ss是地对地导弹',N'对地方发反反复复士大夫发反反复复发反反复复刚高规格刚刚刚刚刚刚',N'2015-5-8 14:12:45',0,N'389',N'403')
INSERT [ZL_Pub_TW] ([ID],[Pubupid],[PubUserName],[PubUserID],[PubContentid],[PubInputer],[Parentid],[PubIP],[Pubnum],[Pubstart],[PubTitle],[PubContent],[PubAddTime],[Optimal]) VALUES ( 2,4,N'bbbbbb',3,0,N'admin',0,N'192.168.1.91',1,1,N'投票',N'投票',N'2015-5-9 17:53:43',0)
INSERT [ZL_Pub_TW] ([ID],[Pubupid],[PubUserName],[PubUserID],[PubContentid],[PubInputer],[Parentid],[PubIP],[Pubnum],[Pubstart],[PubTitle],[PubContent],[PubAddTime],[Optimal]) VALUES ( 3,4,N'admin',1,0,N'admin',2,N'192.168.1.24',0,1,N'yyy',N'yyyy',N'2015-5-10 16:46:45',0)
INSERT [ZL_Pub_TW] ([ID],[Pubupid],[PubUserName],[PubUserID],[PubContentid],[PubInputer],[Parentid],[PubIP],[Pubnum],[Pubstart],[PubTitle],[PubContent],[PubAddTime],[Optimal]) VALUES ( 4,4,N'admin',1,0,N'admin',2,N'192.168.1.91',0,1,N'fff',N'fff',N'2015-5-10 16:49:14',0)
SET IDENTITY_INSERT [ZL_Pub_TW] OFF
GO

CREATE TABLE [dbo].[ZL_Pub_WTHD] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[Pubupid] [int]  NULL,
[PubUserName] [nvarchar]  (255) NULL,
[PubUserID] [int]  NULL,
[PubContentid] [int]  NULL,
[PubInputer] [nvarchar]  (255) NULL,
[Parentid] [int]  NULL DEFAULT (0),
[PubIP] [nvarchar]  (255) NULL,
[Pubnum] [int]  NULL DEFAULT (0),
[Pubstart] [int]  NULL DEFAULT (0),
[PubTitle] [nvarchar]  (255) NULL,
[PubContent] [ntext]  NULL,
[PubAddTime] [datetime]  NULL DEFAULT (getdate()),
[Optimal] [int]  NULL DEFAULT (0),
[tuijian] [nvarchar]  (255) NULL DEFAULT (''),
[setresult] [nvarchar]  (255) NULL DEFAULT (''),
[getid] [nvarchar]  (255) NULL DEFAULT (''),
[textfield] [nvarchar]  (255) NULL DEFAULT (''))

ALTER TABLE [ZL_Pub_WTHD] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Pub_WTHD] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_Pub_WTHD] ON
INSERT [ZL_Pub_WTHD] ([ID],[Pubupid],[PubUserName],[PubUserID],[PubContentid],[PubInputer],[Parentid],[PubIP],[Pubnum],[Pubstart],[PubTitle],[PubContent],[PubAddTime],[Optimal],[getid],[textfield]) VALUES ( 1,5,N'qqqqqq',2,0,N'admin',0,N'192.168.1.24',1,1,N'119ss是地对地导弹',N'回复问题sdfsfddd是对的',N'2015-5-8 15:20:50',0,N'1',N'ddddd')
SET IDENTITY_INSERT [ZL_Pub_WTHD] OFF
GO

CREATE TABLE [dbo].[ZL_Pub_WZTP] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[Pubupid] [int]  NULL,
[PubUserName] [nvarchar]  (255) NULL,
[PubUserID] [int]  NULL,
[PubContentid] [int]  NULL,
[PubInputer] [nvarchar]  (255) NULL,
[Parentid] [int]  NULL DEFAULT (0),
[PubIP] [nvarchar]  (255) NULL,
[Pubnum] [int]  NULL DEFAULT (0),
[Pubstart] [int]  NULL DEFAULT (0),
[PubTitle] [nvarchar]  (255) NULL,
[PubContent] [ntext]  NULL,
[PubAddTime] [datetime]  NULL DEFAULT (getdate()),
[Optimal] [int]  NULL DEFAULT (0),
[Mood] [nvarchar]  (255) NULL DEFAULT (''))
GO

CREATE TABLE [dbo].[ZL_Pub_ZJDA] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[Pubupid] [int]  NULL,
[PubUserName] [nvarchar]  (255) NULL,
[PubUserID] [int]  NULL,
[PubContentid] [int]  NULL,
[PubInputer] [nvarchar]  (255) NULL,
[Parentid] [int]  NULL DEFAULT (0),
[PubIP] [nvarchar]  (255) NULL,
[Pubnum] [int]  NULL DEFAULT (0),
[Pubstart] [int]  NULL DEFAULT (0),
[PubTitle] [nvarchar]  (255) NULL,
[PubContent] [ntext]  NULL,
[PubAddTime] [datetime]  NULL DEFAULT (getdate()),
[Optimal] [int]  NULL DEFAULT (0),
[daid] [nvarchar]  (255) NULL DEFAULT (''),
[getid] [nvarchar]  (255) NULL DEFAULT (''))
GO
CREATE TABLE [dbo].[ZL_Pub_ZXDC] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[Pubupid] [int]  NULL,
[PubUserName] [nvarchar]  (255) NULL,
[PubUserID] [int]  NULL,
[PubContentid] [int]  NULL,
[PubInputer] [nvarchar]  (255) NULL,
[Parentid] [int]  NULL DEFAULT (0),
[PubIP] [nvarchar]  (255) NULL,
[Pubnum] [int]  NULL DEFAULT (0),
[Pubstart] [int]  NULL DEFAULT (0),
[PubTitle] [nvarchar]  (255) NULL,
[PubContent] [ntext]  NULL,
[PubAddTime] [datetime]  NULL DEFAULT (getdate()),
[Optimal] [int]  NULL DEFAULT (0))

ALTER TABLE [ZL_Pub_ZXDC] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Pub_ZXDC] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_Pub_ZXDC] ON
INSERT [ZL_Pub_ZXDC] ([ID],[Pubupid],[PubUserName],[PubUserID],[PubContentid],[PubInputer],[Parentid],[PubIP],[Pubnum],[Pubstart],[PubTitle],[PubContent],[PubAddTime],[Optimal]) VALUES ( 1,3,N'admin',0,-1,N'admin',0,N'192.168.1.23',1,1,N'信息质量,栏目设置',N'dddd',N'2015-5-6 14:12:59',0)
INSERT [ZL_Pub_ZXDC] ([ID],[Pubupid],[PubUserName],[PubUserID],[PubContentid],[PubInputer],[Parentid],[PubIP],[Pubnum],[Pubstart],[PubContent],[PubAddTime],[Optimal]) VALUES ( 2,3,N'admin',1,-1,N'admin',1,N'192.168.1.91',0,1,N'dddddd',N'2015-5-10 16:47:32',0)
INSERT [ZL_Pub_ZXDC] ([ID],[Pubupid],[PubUserName],[PubUserID],[PubContentid],[PubInputer],[Parentid],[PubIP],[Pubnum],[Pubstart],[PubContent],[PubAddTime],[Optimal]) VALUES ( 7,3,N'admin',1,-1,N'admin',1,N'192.168.1.91',0,1,N'eeeeeeeeee',N'2015-5-10 17:22:45',0)
INSERT [ZL_Pub_ZXDC] ([ID],[Pubupid],[PubUserName],[PubUserID],[PubContentid],[PubInputer],[Parentid],[PubIP],[Pubnum],[Pubstart],[PubTitle],[PubContent],[PubAddTime],[Optimal]) VALUES ( 6,3,N'admin',1,-1,N'admin',1,N'192.168.1.91',0,1,N'rr',N'rr',N'2015-5-10 17:13:58',0)
SET IDENTITY_INSERT [ZL_Pub_ZXDC] OFF

GO 
CREATE TABLE [dbo].[ZL_Adbuy](
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[ADID] [int] NULL,
[UID] [int] NULL,
[Time] [datetime] NULL,
[ShowTime] [int] NULL,
[Scale] [int] NULL,
[Ptime] [datetime] NULL,
[Content] [nvarchar](450) COLLATE Chinese_PRC_CI_AS NULL,
[Files] [nvarchar](400) COLLATE Chinese_PRC_CI_AS NULL,
[State] [int] NULL,
[Price] [money]  NULL,
[Audit] [bit] NULL,
CONSTRAINT [PK_ZL_Adbuy] PRIMARY KEY CLUSTERED 
(
[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_View](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ViewName] [nvarchar](50) NOT NULL,
[FieldName] [nvarchar](50) NOT NULL,
[TableName] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_ZL_View] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_ViewHistory](
[ID] [int] IDENTITY(1,1) NOT NULL,
[InfoId] [int] NULL,
[type] [nvarchar](50) COLLATE Chinese_PRC_CI_AS NULL,
[UserID] [int] NULL,
[addtime] [datetime] NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_PageReg](
[ID] [int] IDENTITY(1,1) NOT NULL,
[CompanyName] [nvarchar](255) NULL,
[PageTitle] [nvarchar](255) NULL,
[Keyword] [nvarchar](255) NULL,
[Description] [nvarchar](255) NULL,
[LOGO] [nvarchar](255) NULL,
[Domain] [nvarchar](255) NULL,
[Style] [int] NULL,
[NodeStyle] [int] NULL,
[NavHeight] [nvarchar](255) NULL,
[NavColor] [nvarchar](255) NULL,
[NavBackground] [nvarchar](255) NULL,
[TableName] [nvarchar](255) NULL,
[Hits] [int] NULL,
[InfoID] [int] NULL,
[Recommendation] [nvarchar](255) NULL,
[Status] [int] NULL,
[UserID] [int] NULL,
[UserName] [nvarchar](255) NULL,
[ParentPageID] [int] NULL,
[ParentPageUserID] [int] NULL,
[PageInfo] [ntext] NUll,
[TopWords] [nvarchar](255) NULL,
[BottonWords] [nvarchar](255) NULL,
[CreationTime] [datetime] NULL,
[UpdateTime] [datetime] NULL,
[Template] [nvarchar](255)NULL,
[ModelID] [int] NULL,
CONSTRAINT [PK_ZL_PageReg] PRIMARY KEY CLUSTERED 
(
[ID] ASC
) ON [PRIMARY]
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_UserApp] (
[Aid] [int] IDENTITY (1, 1) NOT NULL ,
[AppUid] [nvarchar] (50) NULL ,
[Uid] [int] NULL 
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_ArticleOrders] (
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[InfoID] [int] NULL,
[Title] [nvarchar] (4000) NULL,
[UserID] [int] NULL,
[CreateTime] [datetime] NULL,
[status] [int] NULL,
[Price] [nvarchar] (4000) NULL 
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_Magazine] (
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[UserID] [int] NULL,
[MagName] [nvarchar] (50) NULL,
[MagPic] [nvarchar] (500)NULL,
[CreatTime] [datetime] NULL,
[Synopsis] [ntext] NULL,
[Url] [nvarchar] (100) NULL,
[MusicUrl][nvarchar](100) NULL,
[IsOpen][int] null,
[Backgroud] [nvarchar] (100) NULL,
[IsRepeat][int] null,
[Magclass][nvarchar](50)NULL
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_PlanSql] ( 
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[PlanID] [int] NULL,
[txtSql] [nvarchar] (255)NULL, 
[CreateTime] [datetime] NULL,
[statu][int] null
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_Plan] ( 
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[PlanName] [nvarchar](500) NULL,
[PlanRule] [nvarchar] (500)NULL, 
[DataSet] [nvarchar] (50) NULL,
[ExecutionTime][datetime] null,
[Description][ntext]null,
[Step][nvarchar](500) null,
[CreationTime][datetime] null
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_UserCoinHis](
[CoinHisID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NOT NULL,
[SilverCoin] [money] NOT NULL CONSTRAINT [DF_ZL_UserCoinHis_score]  DEFAULT (0),
[HisTime] [datetime] NULL CONSTRAINT [DF_ZL_UserCoinHis_HisTime]  DEFAULT (getdate()),
[Operator] [int] NULL,
[Detail] [nvarchar](1000) NULL,
[OperatorIP] [nvarchar](50) NULL,
CONSTRAINT [PK_ZL_UserCoinHis] PRIMARY KEY CLUSTERED 
(
[CoinHisID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO   
CREATE TABLE [dbo].[ZL_Ask] ( 
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[Qcontent] [nvarchar](500) NULL,
[Supplyment] [nvarchar] (500)NULL, 
[QueType] [nvarchar] (100) NULL,
[AddTime][datetime] null,
[UserId] [int] null,
[UserName][nvarchar](500) null,
[Elite] [int] null DEFAULT (0), 
[Score] [int] null DEFAULT (0), 
[Status] [int] null DEFAULT (0),
[IsNi] [int] NULL DEFAULT (0) 
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_GuestAnswer] ( 
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[QueId] [int] NULL,
[Content] [nvarchar] (500)NULL, 
[supplyment] [nvarchar] (500) NULL,
[AddTime][datetime] null,
[UserId] [int] null,
[UserName][nvarchar](255) null,
[Status] [int] null DEFAULT (0),
[supplymentid] [int] NULL,
[audit] [int] NULL,
[IsNi] [int] NULL DEFAULT (0)
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_AskCommon](
[ID] [int] IDENTITY(1,1) NOT NULL,
[AskID] [int] NULL,
[AswID] [int] NULL,
[UserID] [int] NULL,
[Content] [nvarchar](max) NULL,
[AddTime] [datetime] NULL,
[Type] [int] NULL
)ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_Baike] ( 
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[Tittle] [nvarchar](255) NULL,
[UserId][int] null,
[UserName] [nvarchar] (255) NULL, 
[AddTime] [datetime]  NULL,
[Status][int] null DEFAULT (0),
[UpdateTime] [datetime] null,
[Contents][ntext] null,
[Btype][nvarchar](500) null,
[Reference] [nvarchar](1000) null,
[Extend] [nvarchar](2000) null,
[Merge][nvarchar](50) null DEFAULT (0),
[Elite][int] null,
[Brief][nvarchar](500)null, 
[Classification][nvarchar](50)null,
[Editnumb] [int] NULL

) ON [PRIMARY]
GO
Create Table [dbo].[ZL_BaikeEdit](
[ID][int] IDENTITY(1,1) NOT NULL,
[Tittle][nvarchar](50) NULL,
[UserId][int] null,
[UserName][nvarchar](255) NULL,
[EditTime][datetime] null,
[Contents][ntext] null,
[Reference][nvarchar](1000) null,
[Btype][nvarchar](255) null,
[Extend][nvarchar](2000) null,
[Status][int] null,
[Why][nvarchar](500) null
)ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_MailTemp] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[TempName] [nvarchar]  (255) NULL,
[Pic] [nvarchar]  (255) NULL,
[Type] [int]  NULL,
[AddUser] [nvarchar]  (50) NULL,
[CreateTime] [datetime]  NULL,
[Content] [ntext]  NULL)
GO

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[ZL_OrderSql](
[ID] [int] IDENTITY(1,1) NOT NULL,
[OrderType] [int] NULL,
[UserName] [int] NULL,
[AddTime] [datetime] NULL,
[money] [money] NULL,
[PuserID] [int] NULL,
[PuserName] [nvarchar](255) NULL,
[Status] [int] NULL DEFAULT (0),
[PayState] [int] NULL DEFAULT (0),
[SQlstate] [int] NULL DEFAULT (0),
[Remark] [nvarchar](1000) NULL,
[Sqlstr] [nvarchar](4000) null,
[Sqlurl] [nvarchar](255) NULL,
[RunNum] [int] NULL DEFAULT (0) 
CONSTRAINT [PK_ZL_OrderSql] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] 

GO
ALTER TABLE [ZL_MailTemp] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_MailTemp] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_MailTemp] ON
INSERT [ZL_MailTemp] ([ID],[TempName],[Pic],[Type],[AddUser],[CreateTime],[Content]) VALUES ( 3,N'测试模板',N'UploadFiles/Nopic.gif',1,N'admin',N'2015-9-17 15:54:55',N'<table border="0" cellpadding="0" style="background: rgb(239, 239, 239); width: 100%;">
<tbody>
<tr>
<td>
<table align="center" border="0" cellpadding="0" cellspacing="0" style="padding: 10px; width: 760px;">
<tbody>
<tr>
<td>
<p align="left">{$LogoUrl/}</p>
</td>
<td><p align="right">The following message was generated before2012/9/15 8:54:21</p></td>
</tr>
</tbody>
</table>
<div style="clear: both;">
&nbsp;</div>
<table align="center" cellpadding="0" cellspacing="0" height="70" style="background: rgb(255, 255, 255); padding: 30px; border: 1px solid rgb(217, 217, 217); width: 700px; font-size: 12px;">
<tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" style="color: rgb(136, 136, 155);" width="100%">
<tbody>
<tr>
<td><h1>{$Title/}</h1></td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td>
<div align="center">
<hr align="center" size="2" width="100%" />
</div>
<p>Dear&nbsp;&nbsp;{$Webmaster/},</p>
<p>I&#39;m interested in your product(s)</p>
<p align="left">&nbsp;</p>
<table cellpadding="0" cellspacing="0" style="border: 1px solid rgb(217, 217, 217);">
<tbody>
<tr><td>
<p>内容区</p>
</td>
</tr>
</tbody>
</table>
<p align="left">&nbsp;</p>
<table cellpadding="0" cellspacing="0" style="border: 1px solid rgb(217, 217, 217); width: 100%;">
<tbody>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
<tbody>
<tr>
<td style="width: 42px;">
{$UserFace/}</td>
<td style="width: 500px;">
<h4><a href="{$SiteUrl/}/User/Login.aspx">Mr.{$HoneyName/}</a></h4>
</td>
<td>
&nbsp;</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td style="width: 148px;">
<strong>Company: </strong></td>
<td style="width: 430px;">
&nbsp;{$Company/}</td>
</tr>
<tr>
<td>
<strong>Country/Region: </strong></td>
<td style="width: 430px;">
&nbsp;{$Country/}/{$Province/}{$City/}</td>
</tr>
<tr>
<td>
<strong>Address: </strong></td>
<td style="width: 430px;">
{$County/}{$Address/} ({$ZipCode/})</td>
</tr>
<tr>
<td>
<strong>Email:</strong></td>
<td style="width: 430px;">&nbsp;{$Email/}</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td></tr>
</tbody>
</table>
</td></tr>
</tbody></table>
<p>&nbsp;</p>')
SET IDENTITY_INSERT [ZL_MailTemp] OFF

CREATE TABLE [dbo].[ZL_SQL](
[ID] [int] IDENTITY(1,1) NOT NULL,
[TagName] [nvarchar](50) NOT NULL,
[TableName] [nvarchar](50) NOT NULL,
[Unit] [nvarchar](50) NULL,
[Icon] [nvarchar](50) NULL,
[UserID] [nvarchar](50) NULL,
[BtnName] [nvarchar](50) NULL,
[SqlUrl] [nvarchar](50) NULL,
[RunTime] [nvarchar](50) NULL,
[RunNum] [int] NULL,
[Explain] [nvarchar](255) NULL
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_DocModel] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[DocName] [nvarchar]  (255) NULL,
[AddUser] [nvarchar]  (50) NULL,
[AddTime] [datetime]  NULL,
[AllowGroup] [nvarchar]  (10) NULL,
[Status] [int]  NULL,
[Form] [nvarchar]  (4000) NULL,
[TemUrl] [nvarchar]  (255) NULL,
[Priority] [varchar]  (20) NULL,
[ParentID] [varchar]  (50) NULL)
ALTER TABLE [ZL_DocModel] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_DocModel] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_DocModel] ON
INSERT [ZL_DocModel] ([ID],[DocName],[AddUser],[AddTime],[AllowGroup],[Status]) VALUES ( 1,N'公司合同',N'admin',N'2013/8/2 11:08:44',N'1',1)
INSERT [ZL_DocModel] ([ID],[DocName],[AddUser],[AddTime],[AllowGroup],[Status]) VALUES ( 2,N'法律文函',N'admin',N'2013/8/2 11:09:16',N'1',1)
INSERT [ZL_DocModel] ([ID],[DocName],[AddTime],[AllowGroup],[Status],[TemUrl],[ParentID]) VALUES ( 3,N'购销合同.doc',N'2013/8/14 14:34:19',N'1',2,N'~/UploadFiles/DocTemp/First购销合同.doc',N'1')
INSERT [ZL_DocModel] ([ID],[DocName],[AddTime],[AllowGroup],[Status],[TemUrl],[ParentID]) VALUES ( 4,N'劳动合同书.doc',N'2013/8/14 14:34:19',N'1',2,N'~/UploadFiles/DocTemp/First劳动合同书.doc',N'1')
INSERT [ZL_DocModel] ([ID],[DocName],[AddTime],[AllowGroup],[Status],[TemUrl],[ParentID]) VALUES ( 5,N'试用员工考核表.doc',N'2013/8/14 14:34:19',N'1',2,N'~/UploadFiles/DocTemp/First试用员工考核表.doc',N'1')
INSERT [ZL_DocModel] ([ID],[DocName],[AddTime],[AllowGroup],[Status],[TemUrl],[ParentID]) VALUES ( 6,N'团体培训申请表.doc',N'2013/8/14 14:34:19',N'1',2,N'~/UploadFiles/DocTemp/First团体培训申请表.doc',N'1')
INSERT [ZL_DocModel] ([ID],[DocName],[AddTime],[AllowGroup],[Status],[TemUrl],[ParentID]) VALUES ( 7,N'继承权证明书.doc',N'2013/8/14 14:34:33',N'1',2,N'~/UploadFiles/DocTemp/第二个测试继承权证明书.doc',N'2')
INSERT [ZL_DocModel] ([ID],[DocName],[AddTime],[AllowGroup],[Status],[TemUrl],[ParentID]) VALUES ( 8,N'诉讼财产保全申请.doc',N'2013/8/14 14:34:33',N'1',2,N'~/UploadFiles/DocTemp/第二个测试诉讼财产保全申请.doc',N'2')
SET IDENTITY_INSERT [ZL_DocModel] OFF

GO
CREATE TABLE [dbo].[ZL_DocList](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ModelID] [int] NULL,
[FileName] [nvarchar](255) NULL,
[AddUser] [nvarchar](50) NULL,
[CreateTime] [datetime] NULL,
[FileUrl] [nvarchar](255) NULL,
CONSTRAINT [PK_ZL_DocList] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

CREATE TABLE [dbo].[ZL_DocPermission] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[UserID] [varchar]  (50) NULL,
[UserName] [nvarchar]  (50) NULL,
[GroupName] [nvarchar]  (50) NULL,
[Status] [varchar]  (10) NULL,
[OnlyMe] [varchar]  (10) NULL,
[AllowNodes] [varchar]  (100) NULL,
[CreateAble] [varchar]  (10) NULL,
[RetrieveAble] [varchar]  (10) NULL,
[UpdateAble] [varchar]  (10) NULL,
[DeleteAble] [varchar]  (10) NULL,
[Remind] [nvarchar]  (100) NULL,
[OwnGroupID] [varchar]  (10) NULL)

ALTER TABLE [ZL_DocPermission] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_DocPermission] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_DocPermission] ON
INSERT [ZL_DocPermission] ([ID],[UserID],[GroupName],[Status],[OnlyMe],[AllowNodes],[CreateAble],[RetrieveAble],[UpdateAble],[DeleteAble],[Remind]) VALUES ( 1,N'0',N'默认组',N'1',N'1',N'1',N'1',N'1',N'1',N'0',N'当你未给用户指定组,默认拥有此组权限')
INSERT [ZL_DocPermission] ([ID],[UserID],[GroupName],[Status],[OnlyMe],[AllowNodes],[CreateAble],[RetrieveAble],[UpdateAble],[DeleteAble]) VALUES ( 2,N'0',N'用户组',N'1',N'0',N'1',N'1',N'1',N'0',N'0')
INSERT [ZL_DocPermission] ([ID],[UserID],[GroupName],[Status],[OnlyMe],[CreateAble],[UpdateAble],[DeleteAble]) VALUES ( 3,N'0',N'管理组',N'1',N'1',N'1',N'1',N'1')
SET IDENTITY_INSERT [ZL_DocPermission] OFF

CREATE TABLE [dbo].[ZL_Structure](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Group] [int] NULL,
[ParentID] [int] NULL,
[Name] [nvarchar](255) NULL,
[AddTime] [datetime] NULL,
[Opens] [int] NULL,
[Status] [int] NULL,
[UserID] [int] NULL,
[Remind][nvarchar](255) NULL,
CONSTRAINT [PK_ZL_Structure] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否为管理员组' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Structure', @level2type=N'COLUMN',@level2name=N'Group'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'父ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Structure', @level2type=N'COLUMN',@level2name=N'ParentID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'该结构名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Structure', @level2type=N'COLUMN',@level2name=N'Name'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Structure', @level2type=N'COLUMN',@level2name=N'AddTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否开放，默认为0，1则开放' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Structure', @level2type=N'COLUMN',@level2name=N'Opens'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Structure', @level2type=N'COLUMN',@level2name=N'Status'
GO
CREATE TABLE [dbo].[ZL_Ucenter](
[ID] [int] IDENTITY(1,1) NOT NULL,
[WebSite] [nvarchar](255) NULL,
[IsAdd] [bit] NULL,
[IsUpdate] [bit] NULL,
[IsDel] [bit] NULL,
[IsOrder] [bit] NULL,
[AddTime] [datetime] NULL
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Ucenter', @level2type=N'COLUMN',@level2name=N'ID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'授权网址' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Ucenter', @level2type=N'COLUMN',@level2name=N'WebSite'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'可增加' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Ucenter', @level2type=N'COLUMN',@level2name=N'IsAdd'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'可更新' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Ucenter', @level2type=N'COLUMN',@level2name=N'IsUpdate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'可删除' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Ucenter', @level2type=N'COLUMN',@level2name=N'IsDel'

GO
CREATE TABLE [dbo].[ZL_App](
[ID] [int] IDENTITY(1,1) NOT NULL,
[AppName] [nvarchar](255) NOT NULL,
[Thumbnails] [nvarchar](255) NULL,
[Clearimg] [nvarchar](255) NULL,
[Description] [text] NULL,
[Author] [nvarchar](255) NULL,
[NodeID] [int] NULL CONSTRAINT [DF_ZL_App_NodeID]  DEFAULT ((0)),
[AddTime] [datetime] NULL,
[Furl] [nvarchar](255) NULL,
[Colors] [nvarchar](255) NULL,
[Type] [int] NULL,
) ON [PRIMARY]
GO 
CREATE TABLE [dbo].[ZL_Mis](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Title] [nvarchar](255) NULL,
[Rate] [int] NULL,
[ComTime] [datetime] NULL,
[limitTime] [datetime] NULL,
[Type] [int] NULL,
[Content] [ntext] NULL,
[Status] [int] NULL,
[Joiner] [nvarchar](255) NULL,
[CreateTime] [datetime] NULL,
[ParentID] [int] NULL,
[Inputer] [nvarchar](255) NULL,
[Pic] [nvarchar](255) NULL,
CONSTRAINT [PK_ZL_Mis] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'完成比例(%)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Mis', @level2type=N'COLUMN',@level2name=N'Rate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'完成日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Mis', @level2type=N'COLUMN',@level2name=N'ComTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'时限，倒数日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Mis', @level2type=N'COLUMN',@level2name=N'limitTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类型：0事业 ,1财富,2 家庭,3 休闲,4 学习' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Mis', @level2type=N'COLUMN',@level2name=N'Type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'描述' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Mis', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态：0未启动 ,1进行中,2 已完成' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Mis', @level2type=N'COLUMN',@level2name=N'Status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'参与人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Mis', @level2type=N'COLUMN',@level2name=N'Joiner'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'父ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Mis', @level2type=N'COLUMN',@level2name=N'ParentID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Mis', @level2type=N'COLUMN',@level2name=N'Inputer'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'梦想图' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_Mis', @level2type=N'COLUMN',@level2name=N'Pic'
GO  
CREATE TABLE [dbo].[ZL_MisInfo](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Title] [nvarchar](255) NULL,
[Inputer] [nvarchar](50) NULL,
[CreateTime] [datetime] NULL,
[Type] [int] NULL,
[Content] [ntext] NULL,
[ProID] [int] NULL,
[MID] [int] NULL,
[Status] [int] NULL,
[IsShare][ntext] NULL,
[IsWarn][ntext] NULL,
[Level][int] NULL  DEFAULT (0),
[IsElit][int] NULL  DEFAULT (0)
CONSTRAINT [PK_ZL_MisInfo] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'标题' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisInfo', @level2type=N'COLUMN',@level2name=N'Title'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisInfo', @level2type=N'COLUMN',@level2name=N'Inputer'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'创建时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisInfo', @level2type=N'COLUMN',@level2name=N'CreateTime'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类型：记录、小结、今日计划、备忘' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisInfo', @level2type=N'COLUMN',@level2name=N'Type'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisInfo', @level2type=N'COLUMN',@level2name=N'Content'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目ID' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisInfo', @level2type=N'COLUMN',@level2name=N'ProID'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'共享' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisInfo', @level2type=N'COLUMN',@level2name=N'IsShare'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'提醒' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisInfo', @level2type=N'COLUMN',@level2name=N'IsWarn'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'紧要程度:0不重要不紧急,1 重要,2 紧急 ,3重要且紧急' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisInfo', @level2type=N'COLUMN',@level2name=N'Level'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'推荐' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisInfo', @level2type=N'COLUMN',@level2name=N'IsElit'

GO 
CREATE TABLE [dbo].[ZL_MailSet](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NOT NULL,
[Smtp] [nvarchar](255) NOT NULL,
[POP3] [nvarchar](255) NOT NULL,
[UserMail] [nvarchar](50) NOT NULL,
[Password] [nvarchar](50) NOT NULL,
[CreateTime] [datetime] NULL,
[Status] [int] NULL,
[IsDefault] [bit] NULL CONSTRAINT [DF_ZL_MailSet_IsDefault]  DEFAULT ((0))
) ON [PRIMARY]

GO
if exists (select * from sysobjects where objectproperty(object_id('SplitToTable'), 'isansinullson')=1)--判断方法存在
DROP FUNCTION SplitToTable

GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
Create Function [dbo].[SplitToTable]
(
 @SplitString nvarchar(max),
 @Separator nvarchar(10)=' '
)
RETURNS @SplitStringsTable TABLE
(
[ID] int identity(1,1),
[value] nvarchar(255)
)
AS
BEGIN
 DECLARE @CurrentIndex int;
 DECLARE @NextIndex int;
 DECLARE @ReturnText nvarchar(255);
 Set @CurrentIndex=1;
 WHILE(@CurrentIndex<=len(@SplitString))
     BEGIN
         Set @NextIndex=CharIndex(@Separator,@SplitString,@CurrentIndex);
         IF(@NextIndex=0 OR @NextIndex IS NULL)
             Set @NextIndex=Len(@SplitString)+1;
         Set @ReturnText=SubString(@SplitString,@CurrentIndex,@NextIndex-@CurrentIndex);
         INSERT INTO @SplitStringsTable([value]) VALUES(@ReturnText);
         Set @CurrentIndex=@NextIndex+1;
     END
 return;
END 

GO
CREATE TABLE [dbo].[ZL_UAgent](
[ID] [int] IDENTITY(1,1) NOT NULL,
[UserAgent] [nvarchar](50) NULL,
[Headers] [nvarchar](50) NULL,
[Status] [int] NULL  CONSTRAINT [DF_ZL_UAgent_Status]  DEFAULT ((0)),
[Url] [nvarchar](500) NULL
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'关键字' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UAgent', @level2type=N'COLUMN',@level2name=N'UserAgent'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'设备名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UAgent', @level2type=N'COLUMN',@level2name=N'Headers'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'状态' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UAgent', @level2type=N'COLUMN',@level2name=N'Status'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Url目标地址' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_UAgent', @level2type=N'COLUMN',@level2name=N'Url'
GO
ALTER TABLE [ZL_UAgent] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_UAgent] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_UAgent] ON
INSERT [ZL_UAgent] ([ID],[UserAgent],[Headers],[Status],[Url]) VALUES (1,N'android',N'',0,N'http://www.hx008.com')
INSERT [ZL_UAgent] ([ID],[UserAgent],[Headers],[Status],[Url]) VALUES (2,N'windows phone',N'',0,N'http://www.hx008.com')
INSERT [ZL_UAgent] ([ID],[UserAgent],[Headers],[Status],[Url]) VALUES (3,N'mac os x',N'',0,N'http://www.hx008.com')
INSERT [ZL_UAgent] ([ID],[UserAgent],[Headers],[Status],[Url]) VALUES (4,N'BlackBerry',N'',0,N'http://www.hx008.com')
INSERT [ZL_UAgent] ([ID],[UserAgent],[Headers],[Status],[Url]) VALUES (5,N'ubuntu',N'',0,N'http://www.hx008.com')
INSERT [ZL_UAgent] ([ID],[UserAgent],[Headers],[Status],[Url]) VALUES (6,N'symbian',N'',0,N'http://www.hx008.com')
SET IDENTITY_INSERT [ZL_UAgent] OFF 
GO
CREATE TABLE [dbo].[ZL_MisAttendance](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Department] [nvarchar](255) NULL,
[BeginTime] [nvarchar](100) NULL,
[EndTime] [nvarchar](100) NULL,
[UserName] [nvarchar](50) NULL,
[Comment] [nvarchar](500) NULL,
[BeginStatus] [int] NULL CONSTRAINT [DF_ZL_MisAttendance_BeginStatus]  DEFAULT ((0)),
[EndStatus] [int] NULL CONSTRAINT [DF_ZL_MisAttendance_EndStatus]  DEFAULT ((0)),
CONSTRAINT [PK_ZL_MisAttendance] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0为未签到 1为签到' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisAttendance', @level2type=N'COLUMN',@level2name=N'BeginStatus'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0为未签退 1为签退' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisAttendance', @level2type=N'COLUMN',@level2name=N'EndStatus'

GO
CREATE TABLE [dbo].[ZL_MisSign](
[ID] [int] IDENTITY(1,1) NOT NULL,
[WorkDate] [nvarchar](50) NULL,
[WorkBegin] [nvarchar](50) NULL,
[WorkEnd] [nvarchar](50) NULL,
[Status] [int] NULL,
[BeginDate] [datetime] NULL,
CONSTRAINT [PK_ZL_MisSign] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0 执行中 1 未执行' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_MisSign', @level2type=N'COLUMN',@level2name=N'Status'
GO
SET IDENTITY_INSERT [ZL_MisSign] ON
INSERT [ZL_MisSign] ([ID],[WorkDate],[WorkBegin],[WorkEnd],[Status],[BeginDate]) VALUES (1,N'2013-3-30 19:54:21',N'2013-3-30 20:12:21',N'123',1,1)
SET IDENTITY_INSERT [ZL_MisSign] OFF 
GO
CREATE TABLE [dbo].[ZL_QrCode](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ImageUrl] [nvarchar](255) NULL,
[CodeType] [nvarchar](50) NULL,
[CodeLevel] [nvarchar](50) NULL,
[CodeVersion] [int] NULL,
[CodeContents] [nvarchar](255) NULL,
[UserName] [nvarchar](50) NULL,
[Type] [int]  NULL  DEFAULT ((0)),
[CreateTime] [datetime]  NULL
CONSTRAINT [PK_ZL_QrCode] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'纠错等级 分为' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_QrCode', @level2type=N'COLUMN',@level2name=N'CodeLevel'

CREATE TABLE [dbo].[ZL_MailReceive](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ReEmail] [nvarchar](50) NOT NULL,
[FromName] [nvarchar](50) NOT NULL,
[CreateTime] [datetime] NULL,
[type] [int] NOT NULL,
CONSTRAINT [PK_ZL_MailReceive] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
GO

CREATE TABLE [dbo].[ZL_MailType](
[ID] [int] IDENTITY(1,1) NOT NULL,
[TypeName] [nvarchar](50) NOT NULL,
CONSTRAINT [PK_ZL_MailType] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
CREATE TABLE [dbo].[ZL_wxMsg](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Keys] [nvarchar](50) NULL,
[GetType] [nvarchar](50) NULL,
[MsgType] [nvarchar](50) NOT NULL,
[Type] [int] NULL,
[Status] [int] NULL,
[CreateTime] [datetime] NULL,
[Title] [nvarchar](255) NULL,
[ObjUrl] [nvarchar](255) NULL,
[LinkUrl] [nvarchar](255) NULL,
[Content] [ntext] NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

CREATE TABLE [dbo].[ZL_DataSource] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[DSName] [nvarchar]  (20) NULL,
[Type] [nvarchar]  (20) NULL,
[ConnectionString] [nvarchar]  (100) NULL,
[CreateTime] [datetime]  NULL,
[CreateMan] [nvarchar]  (20) NULL,
[Status] [char]  (10) NULL DEFAULT (1),
[Remind] [nvarchar]  (100) NULL)
ALTER TABLE [dbo].[ZL_DataSource] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_DataSource] PRIMARY KEY  NONCLUSTERED ( [ID] )

CREATE TABLE [dbo].[ZL_Client_Additional] (
[Flow] [int]  IDENTITY (1, 1)  NOT NULL,
[Code] [varchar]  (50) NOT NULL,
[HtmlType] [varchar]  (50) NULL,
[HtmlName] [varchar]  (50) NULL,
[HtmlValue] [varchar]  (50) NULL,
[Add_Date] [datetime]  NULL,
[Add_Man] [nvarchar]  (50) NULL,
[Remind] [varchar]  (50) NULL)
ALTER TABLE [dbo].[ZL_Client_Additional] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Client_Additional] PRIMARY KEY  NONCLUSTERED ( [Flow] )

CREATE TABLE [dbo].[ZL_CrmAuthList] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[RoleID] [int]  NOT NULL DEFAULT (0),
[AllowOption] [nvarchar]  (10) NULL,
[AllowOptionValue] [nvarchar]  (10) NULL,
[AllowExcel] [nvarchar]  (10) NULL,
[AllowAddClient] [nvarchar]  (10) NULL,
[AllCustomer] [nvarchar]  (10) NULL,
[AssignFPMan] [nvarchar]  (10) NULL,
[AllowFPAll] [nvarchar]  (10) NULL,
[IsSalesMan] [nvarchar]  (10) NULL,
[Add_Man] [nvarchar]  (10) NULL,
[Add_Date] [datetime]  NULL,
[NodeID] [nvarchar]  (255) NULL,
[Remind] [nvarchar]  (50) NULL)
ALTER TABLE [dbo].[ZL_CrmAuthList] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_CrmAuthList] PRIMARY KEY  NONCLUSTERED ( [ID] )

GO
CREATE TABLE [dbo].[ZL_ClientRequire](
[RequireID] [int] IDENTITY(1,1) NOT NULL,
[UserID] [int] NOT NULL,
[Require] [ntext] NOT NULL,
[ReuqireDate] [datetime] NOT NULL CONSTRAINT [DF_ZL_ClientRequire_ReuqireDate]  DEFAULT (getdate()),
CONSTRAINT [PK_ZL_ClientRequire] PRIMARY KEY CLUSTERED 
(
[RequireID] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]


CREATE TABLE [dbo].[ZL_Reg_Page] ([ID] [int] IDENTITY (1, 1) NOT NULL, [UserID] [int] NOT NULL, [UserName] [nvarchar] (255) NULL, [Styleid] [int] NULL, [PageSkins_ID] [int] NULL, [logo] [nvarchar] (255) NULL)
ALTER TABLE [dbo].[ZL_Reg_Page] WITH NOCHECK ADD CONSTRAINT [DF_ZL_Reg_Page_Styleid] DEFAULT (0) FOR [Styleid],CONSTRAINT [DF_ZL_Reg_Page_PageSkins_ID] DEFAULT (0) FOR [PageSkins_ID],CONSTRAINT [DF_ZL_Reg_Page_logo] DEFAULT ('') FOR [logo],CONSTRAINT [PK_ZL_Reg_Page] PRIMARY KEY NONCLUSTERED ([ID])

GO
CREATE TABLE [dbo].[ZL_P_Shop] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[is_chu] [nvarchar]  (255) NULL DEFAULT (''),
[pic] [nvarchar]  (255) NULL DEFAULT (''),
[size] [ntext]  NULL DEFAULT (''),
[color] [ntext]  NULL DEFAULT (''),
[picture] [nvarchar]  (255) NULL DEFAULT (''),
[pictures] [ntext]  NULL DEFAULT (''),
[Nums] [ntext]  NULL DEFAULT (''))

ALTER TABLE [ZL_P_Shop] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_P_Shop] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_P_Shop] ON
INSERT [ZL_P_Shop] ([ID],[is_chu],[pic],[size],[color],[Nums],[picture]) VALUES ( 1,N'否',N'asdfasdfsdfsaf',N'M,L,S',N'紫色,蓝色',N'2008款|1',N'图片地址1|demo/02.jpg$图片地址2|demo/04.jpg')
INSERT [ZL_P_Shop] ([ID],[is_chu],[size],[color],[picture]) VALUES ( 2,N'否',N'L,S',N'紫色,蓝色,红色',N'图片地址1|demo/03.jpg$图片地址2|demo/04.jpg')
INSERT [ZL_P_Shop] ([ID],[is_chu],[size],[color],[Nums],[picture]) VALUES ( 3,N'否',N'S',N'白色,紫色,蓝色,红色',N'2008款|3333',N'图片地址1|demo/04.jpg$图片地址2|demo/03.jpg')SET IDENTITY_INSERT [ZL_P_Shop] OFF

CREATE TABLE [dbo].[ZL_Content_ScheTask] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[TaskName] [nvarchar]  (50) NULL,
[TaskContent] [nvarchar]  (50) NULL,
[TaskType] [int]  NULL,
[IsLoop] [int]  NULL,
[ExecuteType] [int]  NULL,
[ExecuteTime] [nvarchar] (255)  NULL,
[LastTime] [datetime]  NULL,
[Status] [int]  NULL,
[Remind] [nvarchar]  (50) NULL)
ALTER TABLE [dbo].[ZL_Content_ScheTask] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Content_ScheTask] PRIMARY KEY  NONCLUSTERED ( [ID] )
Go
CREATE TABLE [dbo].[ZL_IDC_Sites] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[SiteName] [nvarchar]  (50) NULL,
[SiteKey] [nvarchar]  (50) NULL,
[SiteUrl] [nvarchar]  (200) NULL,
[Nodes] [varchar]  (200) NULL,
[SiteDesc] [nvarchar]  (100) NULL,
[LastTime] [datetime]  NULL,
[CreateTime] [datetime]  NULL,
[Status] [int]  NULL,
[AdminID] [int]  NULL)
ALTER TABLE [ZL_IDC_Sites] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_Sites] PRIMARY KEY  NONCLUSTERED ( [ID] )
Go
CREATE TABLE [dbo].[ZL_IDC_SiteList] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[SiteID] [int]  NULL,
[SiteName] [nvarchar]  (50) NULL,
[SiteManager] [nvarchar]  (50) NULL,
[Remind] [nvarchar]  (50) NULL,
[CreateDate] [datetime]  NULL DEFAULT (getdate()),
[EndDate] [datetime]  NULL,
[CreateMan] [nvarchar]  (50) NULL,
[OrderNum] [ntext]  NULL)
ALTER TABLE [ZL_IDC_SiteList] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_SiteList] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_IDC_Log] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[OwnUserID] [int]  NULL,
[OwnAdminID] [int]  NULL,
[SiteID] [int]  NULL,
[Type] [int]  NULL,
[LogTypeStr] [nvarchar]  (50) NULL,
[Remind] [nvarchar]  (500) NULL,
[CreateDate] [datetime]  NULL)
ALTER TABLE [ZL_IDC_Log] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_Log] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_IDC_Server] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[SiteName] [nvarchar]  (50) NULL,
[SiteUrl] [varchar]  (50) NULL,
[SiteUser] [nvarchar]  (50) NULL,
[SitePasswd] [nvarchar]  (50) NULL,
[CustomPath] [varchar]  (50) NULL)
ALTER TABLE [ZL_IDC_Server] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_Server] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_IDC_DomainTemp] (
[ID] [int] IDENTITY(1,1) NOT NULL,
[TempName] [nvarchar](50) NULL,
[TempValue] [nvarchar](2000) NULL,
[OwnUserID] [int] NULL)
ALTER TABLE [ZL_IDC_DomainTemp] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_DomainTemp] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_InviteRecord](
[ID] [int] IDENTITY(1,1) NOT NULL,
[userid] [int] NULL,
[RecommUserId] [int] NULL,
[RegData] [datetime] NULL,
[isValid] [int] NULL,
[isReset] [int] NULL
) ON [PRIMARY]
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'当前用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_InviteRecord', @level2type=N'COLUMN',@level2name=N'userid'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'推荐注册用户' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_InviteRecord', @level2type=N'COLUMN',@level2name=N'RecommUserId'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'时间' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_InviteRecord', @level2type=N'COLUMN',@level2name=N'RegData'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否是有效用户:0为否,1为是' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_InviteRecord', @level2type=N'COLUMN',@level2name=N'isValid'
EXEC dbo.sp_addextendedproperty @name=N'MS_Description', @value=N'是否已重置:0为否,1为是' , @level0type=N'USER',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'ZL_InviteRecord', @level2type=N'COLUMN',@level2name=N'isReset'
GO
CREATE TABLE [dbo].[ZL_IDC_DomainLog] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[CartID] [int]  NULL,
[DomName] [nvarchar]  (50) NULL,
[Type] [int]  NULL,
[OwnUserID] [int]  NULL,
[Detail] [ntext]  NULL,
[CreateDate] [datetime]  NULL DEFAULT (getdate()))
ALTER TABLE [ZL_IDC_DomainLog] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_DomainLog] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_IDC_DomainList] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[DomName] [nvarchar]  (50) NULL,
[EndDate] [datetime]  NULL,
[OwnUserID] [varchar]  (50) NULL,
[RegInfo] [nvarchar]  (500) NULL,
[Remind] [nvarchar]  (50) NULL,
[Year] [int]  NULL,
[CreatDate] [datetime]  NULL)
ALTER TABLE [ZL_IDC_DomainList] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_DomainList] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_IDC_DomainPrice] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[DomType] [int]  NULL,
[Status] [int]  NULL DEFAULT (1),
[IFSupplier] [int]  NULL,
[CreateDate] [datetime]  NULL DEFAULT (getdate()),
[DomPrice] [decimal]  (18,2) NOT NULL,
[DomName] [nvarchar]  (50) NOT NULL,
[ProDetail] [nvarchar]  (200) NULL)
ALTER TABLE [ZL_IDC_DomainPrice] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_DomainPrice] PRIMARY KEY  NONCLUSTERED ( [ID] )

GO
CREATE TABLE [dbo].[ZL_IDC_DNSSubDom] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[MainDomID] [int]  NULL,
[SubDomain] [nvarchar]  (50) NULL,
[SubDomType] [int]  NULL DEFAULT (1),
[SubDomData] [nvarchar]  (50) NULL,
[AddTime] [datetime]  NULL DEFAULT (getdate()),
[CreateBy] [int]  NULL)
ALTER TABLE [ZL_IDC_DNSSubDom] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_DNSSubDom] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_IDC_DNSTable] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[Domain] [nvarchar]  (50) NULL,
[IP] [nvarchar]  (50) NULL,
[MX] [nvarchar]  (50) NULL,
[Max_sub_domain] [nvarchar]  (50) NULL,
[Max_url_forward] [nvarchar]  (50) NULL,
[State] [int]  NULL,
[Site_ID] [int]  NULL,
[SiteProperty_ID] [int]  NULL,
[User_ID] [int]  NULL,
[Server_ID] [int]  NULL,
[Closed_By] [int]  NULL,
[MultiByte] [int]  NULL,
[MultiByte_Domain] [int]  NULL)
ALTER TABLE [ZL_IDC_DNSTable] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_DNSTable] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_IDC_DBList] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[SiteID] [int]  NULL,
[SiteName] [nvarchar]  (50) NULL,
[DBName] [nvarchar]  (50) NULL,
[DBUser] [nvarchar]  (50) NULL,
[DBInitPwd] [nvarchar]  (50) NULL,
[UserID] [int]  NULL,
[UserName] [nvarchar]  (50) NULL,
[CreateTime] [datetime]  NULL,
[Remind] [nvarchar]  (50) NULL,
[Status] [int]  NULL)
ALTER TABLE [ZL_IDC_DBList] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_IDC_DBList] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_VideoHall] (
[ID] [int] IDENTITY (1, 1) primary key NOT NULL ,
[HallNumber] [int] NOT NULL ,
[Name] [nvarchar] (50) NOT NULL ,
[AddUserOrAdmin] [int]  NOT NULL,
[IsUserAdmin] [bit] NOT NULL ,
[AddDateTime] [datetime] default(getdate()) NULL ,
[MaxPerson] [int] default(0) NULL ,
[Remark] [nvarchar] (255)  NULL ,
[OrderNum] [int] NULL,
[HallType] [nvarchar] (255) NULL
) ON [PRIMARY]
exec sp_addextendedproperty N'MS_Description', N'主键ID', N'user', N'dbo', N'table', N'ZL_VideoHall', N'column', N'id'
exec sp_addextendedproperty N'MS_Description', N'唯一键，大厅号码', N'user', N'dbo', N'table', N'ZL_VideoHall', N'column', N'HallNumber'
exec sp_addextendedproperty N'MS_Description', N'大厅名称', N'user', N'dbo', N'table', N'ZL_VideoHall', N'column', N'Name'
exec sp_addextendedproperty N'MS_Description', N'引用、创建用户、管理、ID', N'user', N'dbo', N'table', N'ZL_VideoHall', N'column', N'AddUserOrAdmin'
exec sp_addextendedproperty N'MS_Description', N'true用户创建、false管理创建', N'user', N'dbo', N'table', N'ZL_VideoHall', N'column', N'IsUserAdmin'
exec sp_addextendedproperty N'MS_Description', N'创建时间', N'user', N'dbo', N'table', N'ZL_VideoHall', N'column', N'AddDateTime'
exec sp_addextendedproperty N'MS_Description', N'最大人数限制、0为非限制', N'user', N'dbo', N'table', N'ZL_VideoHall', N'column', N'MaxPerson'
exec sp_addextendedproperty N'MS_Description', N'大厅说明', N'user', N'dbo', N'table', N'ZL_VideoHall', N'column', N'Remark'
exec sp_addextendedproperty N'MS_Description', N'排序', N'user', N'dbo', N'table', N'ZL_VideoHall', N'column', N'OrderNum'
GO
CREATE TABLE [dbo].[ZL_OA_Document] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[Secret] [int]  NULL,
[Urgency] [int]  NULL,
[Importance] [int]  NULL,
[Type] [int]  NULL,
[Cont] [ntext]  NULL,
[Title] [nvarchar]  (50) NULL,
[Keywords] [nvarchar]  (50) NULL,
[Branch] [nvarchar]  (50) NULL,
[UserID] [int]  NULL,
[CreateTime] [datetime]  NULL,
[Status] [int]  NULL,
[ProID] [int]  NOT NULL,
[CurStepNum] [int]  NULL,
[PublicAttach] [nvarchar]  (300) NULL,
[PrivateAttach] [nvarchar]  (300) NULL,
[SignID] [nvarchar]  (50) NULL,
[DocType] [int] NULL
)
ALTER TABLE [ZL_OA_Document] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_OA_Document] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_MisProcedure] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[ProcedureName] [nvarchar]  (50) NOT NULL,
[TypeID] [int]  NULL,
[ClassID] [int]  NULL,
[ModelID] [varchar]  (50) NULL,
[CommType] [int]  NULL,
[AllowAttach] [int]  NULL,
[AllowFlow] [int]  NULL,
[Remind] [nvarchar]  (200) NULL,
[Status] [int]  NULL,
[Sponsor] [nvarchar]  (300) NULL,
[NodeID] [int]  NULL,
[SponsorGroup] [nvarchar]  (300) NULL)
ALTER TABLE [ZL_MisProcedure] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_MisProcedure] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_MisProLevel] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[ProID] [int]  NULL,
[stepNum] [int]  NOT NULL,
[stepName] [nvarchar]  (50) NULL,
[SendMan] [nvarchar]  (255) NULL,
[ReferUser] [nvarchar]  (255) NULL,
[ReferGroup] [nvarchar]  (255) NULL,
[CCUser] [nvarchar]  (255) NULL,
[CCGroup] [nvarchar]  (255) NULL,
[HQoption] [int]  NULL,
[Qzzjoption] [int]  NULL,
[HToption] [int]  NULL,
[EmailAlert] [nvarchar]  (200) NULL,
[EmailGroup] [nvarchar]  (200) NULL,
[SmsAlert] [nvarchar]  (200) NULL,
[SmsGroup] [nvarchar]  (200) NULL,
[BackOption] [int]  NULL,
[PublicAttachOption] [int]  NULL,
[PrivateAttachOption] [int]  NULL,
[Status] [int]  NULL,
[CreateTime] [datetime]  NULL,
[Remind] [nvarchar]  (100) NULL)
ALTER TABLE [ZL_MisProLevel] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_MisProLevel] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_Mis_AppProg] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[AppID] [int]  NULL,
[ProID] [int]  NULL,
[ProLevel] [int]  NULL,
[ProLevelName] [nvarchar]  (50) NULL,
[ApproveID] [int]  NULL,
[Result] [int]  NULL,
[Remind] [nvarchar]  (255) NULL,
[CreateTime] [datetime]  NULL DEFAULT (getdate()),
[Remind2] [nvarchar]  (100) NULL,
[HQUserID] [nvarchar]  (300) NULL,
[Sign] [nvarchar]  (50) NULL,
[SignID] [nvarchar]  (50) NULL,
[Status] [int] NULL)
ALTER TABLE [ZL_Mis_AppProg] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Mis_AppProg] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_MisApproval] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[Inputer] [nvarchar]  (255) NULL,
[department] [nvarchar]  (255) NULL,
[PID] [int]  NULL,
[content] [ntext]  NULL,
[Approver] [nvarchar]  (255) NULL,
[CreateTime] [datetime]  NULL,
[Results] [int]  NULL,
[Send] [nvarchar]  (255) NULL,
[ProcedureID] [int]  NULL)
GO
CREATE TABLE [dbo].[ZL_MisType] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[TypeName] [nvarchar]  (50) NOT NULL,
[TypeDescribe] [nvarchar]  (255) NULL,
[CreateTime] [datetime]  NULL)
ALTER TABLE [ZL_MisType] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_MisType] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_MisType] ON
INSERT [ZL_MisType] ([ID],[TypeName],[TypeDescribe],[CreateTime]) VALUES ( 1,N'公文类',N'公文类',N'2014/4/2 11:24:01')
INSERT [ZL_MisType] ([ID],[TypeName],[TypeDescribe],[CreateTime]) VALUES ( 2,N'事务类',N'事务类',N'2014/4/3 17:26:24')
SET IDENTITY_INSERT [ZL_MisType] OFF
GO
CREATE TABLE [dbo].[ZL_Message] (
[MsgID] [int]  IDENTITY (1, 1)  NOT NULL,
[Title] [nvarchar]  (255) NOT NULL,
[Content] [ntext]  NOT NULL,
[Sender] [nvarchar]  (500) NOT NULL,
[Incept] [ntext]   NOT NULL,
[PostDate] [datetime]  NULL DEFAULT (getdate()),
[Savedata] [int]  NULL,
[status] [int]  NULL DEFAULT (0),
[IsDelInbox] [int]  NULL DEFAULT (0),
[IsDelSendbox] [int]  NULL DEFAULT (0),
[receipt] [ntext]   NULL,
[MsgType] [int]  NULL DEFAULT (0),
[CCUser] [ntext]  NULL,
[ReadUser] [varchar] (8000) NULL,
[Attachment] [nvarchar] (4000) NULL,
[DelIDS] [nvarchar] (4000) NULL,
[RealDelIDS] [nvarchar] (4000) NULL)
ALTER TABLE [ZL_Message] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Message] PRIMARY KEY  NONCLUSTERED ( [MsgID] )
GO
CREATE TABLE [dbo].[ZL_UserPurview] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[RoleID] [int]  NULL,
[PurviewCode] [nvarchar]  (255) NULL,
[NodeID] [nvarchar]  (500) NULL)
ALTER TABLE [ZL_UserPurview] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_UserPurview] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_OA_UserConfig] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[UserID] [int]  NOT NULL,
[LeftChk] [nvarchar]  (300) NULL,
[MainChk] [nvarchar]  (300) NULL,
[PopChk] [nvarchar]  (300) NULL,
[Status] [int]  NULL,
[Remind] [nvarchar]  (100) NULL)
ALTER TABLE [ZL_OA_UserConfig] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_OA_UserConfig] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_Mis_Model] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[ModelName] [nvarchar]  (255) NULL,
[ModelContent] [ntext]  NULL,
[CreateTime] [datetime]  NULL,
[BindNode] [nvarchar] (255)NULL,
[DocType] [int] NULL
)
ALTER TABLE [ZL_Mis_Model] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Mis_Model] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_Mis_Model] ON
INSERT [ZL_Mis_Model] ([ID],[ModelName],[ModelContent],[CreateTime],[DocType]) VALUES ( 1,N'公告模板',N'<table cellspacing="0" cellpadding="0"><tbody><tr style=";page-break-inside:avoid;height:39px" class="firstRow"><td width="295" style="padding: 0px;" height="39"><p><span style="font-family:仿宋_GB2312">No:0000001</span></p></td><td width="296" colspan="2" style="padding: 0px;" height="39"><p style="text-align: right"><span style="font-family:黑体">机密</span><span style="font-family:黑体">★</span><span style="font-family:黑体">一年</span></p></td></tr><tr style=";page-break-inside:avoid;height:28px"><td width="591" colspan="3" style="padding: 0px;" height="28"><p style="text-align: right"><span style="font-family:黑体">特　急</span></p></td></tr><tr style=";page-break-inside:avoid;height:17px"><td width="591" colspan="3" style="padding: 0px;" height="17"><br/></td></tr><tr style=";page-break-inside:avoid;height:75px"><td width="412" colspan="2" style="padding: 0px; word-break: break-all;" height="75"><p style="text-align: right"><span style="font-size:56px;font-family:方正小标宋_GBK;color:red">□□□□□□</span></p></td><td width="179" style="padding: 0px;" height="75"><p><span style="font-size:56px;font-family:方正小标宋_GBK;color:red">文件</span></p></td></tr><tr style=";page-break-inside:avoid;height:37px"><td width="591" colspan="3" style="padding: 0px;" height="37"><br/></td></tr><tr style=";page-break-inside:avoid;height:41px"><td width="591" colspan="3" style="padding: 0px;" height="41"><p style="text-align: center"><span style="font-family:仿宋_GB2312"><a name="Text2"></a></span><span style="font-family:仿宋_GB2312">□□□</span><span style="font-family:仿宋_GB2312">〔20</span><span style="font-family:仿宋_GB2312">09</span><span style="font-family:仿宋_GB2312">〕</span><span style="font-family:仿宋_GB2312"><a name="Text3"></a></span><span style="font-family:仿宋_GB2312">□</span><span style="font-family:仿宋_GB2312">号</span></p></td></tr><tr style=";page-break-inside:avoid;height:5px"><td width="591" colspan="3" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-color: red; border-bottom-width: 2px; padding: 0px;" height="5"><br/></td></tr><tr style=";page-break-inside:avoid;height:77px"><td width="591" colspan="3" style="padding: 0px;" height="77"><br/></td></tr><tr style=";page-break-inside:avoid;height:36px"><td width="591" colspan="3" style="padding: 0px; word-break: break-all;" height="36"><p style="text-align: center"><span style="font-size:29px;font-family:方正小标宋_GBK">□□□□□□</span><span style="font-size:29px;font-family:方正小标宋_GBK">公告</span></p></td></tr><tr style=";page-break-inside:avoid;height:18px"><td width="591" colspan="3" style="padding: 0px;" height="18"><br/></td></tr><tr style=";page-break-inside:avoid;height:39px"><td width="591" colspan="3" style="padding: 0px; word-break: break-all;" height="39"><p><span style="font-family:仿宋_GB2312"></span><span style="font-family:仿宋_GB2312">□□□□□□</span><span style="font-family:仿宋_GB2312">：</span></p></td></tr><tr height="0"><td width="295" style="border: none"><br/></td><td width="117" style="border: none"><br/></td><td width="179" style="border: none"><br/></td></tr></tbody></table><p style="text-indent:42px">&nbsp;</p><p style="text-indent:42px">&nbsp;</p><p style="text-indent:42px"><span style="font-family:仿宋_GB2312">&nbsp;</span></p><p style="text-indent:42px">&nbsp;</p><p style="text-indent:42px"><br/></p><p style="text-indent:42px"><br/></p><p style="text-indent:42px"><br/></p><p style="text-indent:42px"><br/></p><p style="text-indent:42px"><br/></p><p style="text-indent:42px"><span style="font-family: 仿宋_GB2312;"><br/></span></p><p style="text-indent:42px"><span style="font-family: 仿宋_GB2312;">特此公告</span><br/></p><table cellspacing="0" cellpadding="0"><tbody><tr style=";page-break-inside:avoid;height:21px" class="firstRow"><td width="591" colspan="3" style="border: none; padding: 0px;" height="21"><br/></td></tr><tr style=";page-break-inside:avoid"><td width="109" valign="top" style="border: none; padding: 0px;"><p><span style="font-family:仿宋_GB2312">　　附件：</span></p></td><td width="482" colspan="2" valign="top" style="border: none; padding: 0px;"><p style="margin-left:28px;line-height:   124%"><span style="font-family:仿宋_GB2312">1.<span style="font-stretch: normal;font-size: 9px;line-height: normal;font-family: &#39;Times New Roman&#39;">&nbsp; </span></span><span style="font-family:仿宋_GB2312"><a name="Text12"></a></span><span style="font-family:仿宋_GB2312">□□□□□□</span></p><p style="margin-left:28px;line-height:   124%"><span style="font-family:仿宋_GB2312">2.<span style="font-stretch: normal;font-size: 9px;line-height: normal;font-family: &#39;Times New Roman&#39;">&nbsp; </span></span><span style="font-family:仿宋_GB2312">□□□□□□</span></p></td></tr><tr style=";page-break-inside:avoid;height:19px"><td width="591" colspan="3" style="border: none; padding: 0px;" height="19"><br/></td></tr><tr style=";page-break-inside:avoid;height:150px"><td width="242" colspan="2" style="border: none; padding: 0px;" height="150"><br/></td><td width="349" valign="bottom" style="border: none; padding: 0px;" height="150"><p style="text-align:right"><span style="font-family:仿宋_GB2312">二○</span><span style="font-family:仿宋_GB2312"><a name="Text14"></a></span><span style="font-family:仿宋_GB2312">□□</span><span style="font-family:仿宋_GB2312">年</span><span style="font-family:仿宋_GB2312"><a name="Text15"></a></span><span style="font-family:仿宋_GB2312">□</span><span style="font-family:仿宋_GB2312">月</span><span style="font-family:仿宋_GB2312"><a name="Text16"></a></span><span style="font-family:仿宋_GB2312">□□</span><span style="font-family:仿宋_GB2312">日　　　　</span></p></td></tr><tr style=";page-break-inside:avoid;height:39px"><td width="591" colspan="3" valign="top" style="border: none; padding: 0px;" height="39"><p><span style="font-family:仿宋_GB2312">　　（附注）</span></p></td></tr><tr height="0"><td width="109" style="border: none; word-break: break-all;">{$SignInfo}</td><td width="133" style="border: none"><br/></td><td width="349" style="border: none"><br/></td></tr></tbody></table><p><span style="font-family:方正仿宋_GBK">&nbsp;</span></p><p><span style="font-family:方正仿宋_GBK">&nbsp;</span></p><p><span style="font-family:方正仿宋_GBK">&nbsp;</span></p><table cellspacing="0" cellpadding="0"><tbody><tr style=";page-break-inside:avoid;height:39px" class="firstRow"><td width="92" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-color: windowtext; border-bottom-width: 1px; padding: 0px;" height="39"><p><span style="font-family:黑体">主题词：</span></p></td><td width="499" colspan="2" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-color: windowtext; border-bottom-width: 1px; padding: 0px;" height="39"><p><span style="font-family:方正小标宋_GBK"><a name="Text17"></a></span><span style="font-family:方正小标宋_GBK">□□</span>　<span style="font-family:方正小标宋_GBK">□□</span>　<span style="font-family:方正小标宋_GBK">□□</span><span style="font-family:方正小标宋_GBK">　公告</span></p></td></tr><tr style=";page-break-inside:avoid;height:39px"><td width="92" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-color: windowtext; border-bottom-width: 1px; padding: 0px;" height="39"><p>　<span style="font-family:仿宋_GB2312">抄送：</span></p></td><td width="499" colspan="2" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-color: windowtext; border-bottom-width: 1px; padding: 0px;" height="39"><p><span style="font-family:仿宋_GB2312"><a name="Text20"></a></span><span style="font-family:仿宋_GB2312">□□□</span><span style="font-family:仿宋_GB2312">，</span><span style="font-family:仿宋_GB2312">□□□</span><span style="font-family:仿宋_GB2312">。</span></p></td></tr><tr style=";page-break-inside:avoid;height:39px"><td width="354" colspan="2" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-color: windowtext; border-bottom-width: 1px; padding: 0px;" height="39"><p>　<span style="font-family:仿宋_GB2312"><a name="Text22"></a></span><span style="font-family:仿宋_GB2312">□□□□□□□□□□</span></p></td><td width="237" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-color: windowtext; border-bottom-width: 1px; padding: 0px;" height="39"><p style="text-align:right"><span style="font-family:仿宋_GB2312">20</span><span style="font-family:仿宋_GB2312">□□</span><span style="font-family:仿宋_GB2312">年</span><span style="font-family:仿宋_GB2312">□</span><span style="font-family:仿宋_GB2312">月</span><span style="font-family:仿宋_GB2312">□</span><span style="font-family:仿宋_GB2312">日印发</span></p></td></tr><tr height="0"><td width="92" style="border: none"><br/></td><td width="262" style="border: none"><br/></td><td width="237" style="border: none"><br/></td></tr></tbody></table><p>&nbsp;</p><p><br/></p>',N'2014/11/20 15:38:36',0)
INSERT [ZL_Mis_Model] ([ID],[ModelName],[ModelContent],[CreateTime],[DocType]) VALUES ( 2,N'会议邀请函',N'<p style="margin-top:auto;margin-bottom: auto;text-align:center"><span style="font-size:35px;font-family:黑体">邀请函</span></p><p><span style="font-size:14px;font-family:宋体">尊敬的<span style="text-decoration:underline;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&nbsp;先生/女士：</span></p><p style="margin-top:auto;margin-bottom:auto;text-indent:28px"><span style="font-size:14px;font-family:宋体">您好！ </span></p><p style="margin-top:auto;margin-bottom:auto;text-indent:28px"><span style="font-size:14px;font-family:宋体">我们很荣幸地邀请您参加将于</span><span style="font-size:14px;font-family:宋体"><a name="Text1"></a></span><span style="font-size:14px;font-family:宋体">【会议日期】</span><span style="font-size:14px;font-family:宋体">在</span><span style="font-size:14px;font-family:宋体"><a name="Text2"></a></span><span style="font-size:14px;font-family:宋体">【会议地点】</span><span style="font-size:14px;font-family:宋体">举办的</span><span style="font-size:14px;font-family:宋体"><a name="Text3"></a></span><span style="font-size:14px;font-family:宋体">【会议名称】</span><span style="font-size:14px;font-family:宋体">。本次会议的主题是：</span><span style="font-size:14px;font-family:宋体"><a name="Text4"></a></span><span style="font-size:14px;font-family:宋体">【会议主题】</span><span style="font-size:14px;font-family:宋体">。此次</span><span style="font-size:14px;font-family:宋体"><a name="Text5"></a></span><span style="font-size:14px;font-family:宋体">【会议主办方】</span><span style="font-size:14px;font-family:宋体">主办，</span><span style="font-size:14px;font-family:宋体"><a name="Text6"></a></span><span style="font-size:14px;font-family:宋体">【会议协办方】</span><span style="font-size:14px;font-family:宋体">。届时，来自</span><span style="font-size:14px;font-family:宋体"><a name="Text7"></a></span><span style="font-size:14px;font-family:宋体">【会议参加人员】</span><span style="font-size:14px;font-family:宋体">将参加会议。&nbsp; </span></p><p><span style="font-size:14px;font-family:宋体">&nbsp;&nbsp; </span><span style="font-size:14px;font-family:宋体">本次会议的主要议题包括： </span></p><p style="margin-top:auto;margin-bottom:auto;margin-left:24px"><span style="font-size:14px;font-family:宋体">1</span><span style="font-size:14px;font-family:宋体">． xxx</span></p><p style="margin-top:auto;margin-bottom:auto;margin-left:24px"><span style="font-size:14px;font-family:宋体">2</span><span style="font-size:14px;font-family:宋体">． xxx </span></p><p style="margin-top:auto;margin-bottom:auto;margin-left:24px"><span style="font-size:14px;font-family:宋体">3</span><span style="font-size:14px;font-family:宋体">． xxx</span></p><p><span style="font-size:14px;font-family:宋体">&nbsp;&nbsp; </span><span style="font-size:14px;font-family:宋体">真诚地期待着您的积极支持与参与！&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></p><p style="margin-top:auto;margin-bottom:auto;text-indent:70px"><span style="font-size:14px;font-family:宋体"><a name="Text8"></a></span><span style="font-size:14px;font-family:宋体">【邀请者职称】</span><span style="font-size:14px;font-family:宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="font-size:14px;font-family:宋体"><a name="Text9"></a></span><span style="font-size:14px;font-family:宋体">【国家】【姓名】</span></p><p><span style="font-size:14px;font-family:宋体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:14px;font-family:宋体"><a name="Text10"></a></span><span style="font-size:14px;font-family:宋体">【邀请日期】</span></p><p style="text-align: center;"><br/></p><p>{$SignImg}</p>',N'2014/11/20 15:56:27',0)
INSERT [ZL_Mis_Model] ([ID],[ModelName],[ModelContent],[CreateTime],[DocType]) VALUES ( 3,N'决定模板',N'<p style="text-align: center;"><br/></p><table cellspacing="0" cellpadding="0"><tbody><tr style=";page-break-inside:avoid;height:39px" class="firstRow"><td width="295" style="padding: 0px;" height="39"><p><span style="font-family:仿宋_GB2312">No:0000001</span></p></td><td width="296" colspan="2" style="padding: 0px;" height="39"><p style="text-align: right"><span style="font-family:黑体">机密</span><span style="font-family:黑体">★</span><span style="font-family:黑体">一年</span></p></td></tr><tr style=";page-break-inside:avoid;height:28px"><td width="591" colspan="3" style="padding: 0px;" height="28"><p style="text-align: right"><span style="font-family:黑体">特　急</span></p></td></tr><tr style=";page-break-inside:avoid;height:17px"><td width="591" colspan="3" style="padding: 0px;" height="17"><br/></td></tr><tr style=";page-break-inside:avoid;height:75px"><td width="404" colspan="2" style="padding: 0px;" height="75"><p style="text-align: right"><span style="font-size:56px;font-family:方正小标宋_GBK;color:red"><a name="Text1"></a></span><span style="font-size:56px;font-family:方正小标宋_GBK;color:red">□□□□□□</span></p></td><td width="187" style="padding: 0px;" height="75"><p><span style="font-size:56px;font-family:方正小标宋_GBK;color:red">文件</span></p></td></tr><tr style=";page-break-inside:avoid;height:37px"><td width="591" colspan="3" style="padding: 0px;" height="37"><br/></td></tr><tr style=";page-break-inside:avoid;height:41px"><td width="591" colspan="3" style="padding: 0px;" height="41"><p style="text-align: center"><span style="font-family:仿宋_GB2312"><a name="Text2"></a></span><span style="font-family:仿宋_GB2312">□□□</span><span style="font-family:仿宋_GB2312">〔20</span><span style="font-family:仿宋_GB2312">09</span><span style="font-family:仿宋_GB2312">〕</span><span style="font-family:仿宋_GB2312"><a name="Text3"></a></span><span style="font-family:仿宋_GB2312">□</span><span style="font-family:仿宋_GB2312">号</span></p></td></tr><tr style=";page-break-inside:avoid;height:5px"><td width="591" colspan="3" style="border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-color: red; border-bottom-width: 2px; padding: 0px;" height="5"><br/></td></tr><tr style=";page-break-inside:avoid;height:77px"><td width="591" colspan="3" style="padding: 0px;" height="77"><br/></td></tr><tr style=";page-break-inside:avoid;height:36px"><td width="591" colspan="3" style="padding: 0px;" height="36"><p style="text-align: center"><span style="font-size:29px;font-family:方正小标宋_GBK"><a name="Text5"></a></span><span style="font-size:29px;font-family:方正小标宋_GBK">□□□□□□</span><span style="font-size:29px;font-family:方正小标宋_GBK">决定</span></p></td></tr><tr style=";page-break-inside:avoid;height:18px"><td width="591" colspan="3" style="padding: 0px;" height="18"><br/></td></tr><tr style=";page-break-inside:avoid;height:39px"><td width="591" colspan="3" style="padding: 0px;" height="39"><p><span style="font-family:仿宋_GB2312"><a name="Text6"></a></span><span style="font-family:仿宋_GB2312">□□□□□□</span><span style="font-family:仿宋_GB2312">：</span></p></td></tr><tr height="0"><td width="295" style="border: none"><br/></td><td width="109" style="border: none"><br/></td><td width="187" style="border: none"><br/></td></tr></tbody></table><p style="text-indent:41px"><span style="font-family:仿宋_GB2312">&nbsp;</span></p><p style="text-indent:41px"><span style="font-family:仿宋_GB2312">&nbsp;</span></p><p style="text-indent:41px"><span style="font-family:仿宋_GB2312">&nbsp;</span></p><p style="text-indent:41px"><span style="font-family:仿宋_GB2312">&nbsp;</span></p><p style="text-indent:41px"><br/></p><p style="text-indent:41px"><br/></p><p style="text-indent:41px"><br/></p><p style="text-indent:41px">&nbsp;</p><table cellspacing="0" cellpadding="0"><tbody><tr style=";page-break-inside:avoid;height:21px" class="firstRow"><td width="591" colspan="3" style="border: none; padding: 0px;" height="21"><br/></td></tr><tr style=";page-break-inside:avoid"><td width="109" valign="top" style="border: none; padding: 0px;"><p><span style="font-family:仿宋_GB2312">　　附件：</span></p></td><td width="482" colspan="2" valign="top" style="border: none; padding: 0px;"><p style="margin-left:28px;line-height:   124%"><span style="font-family:仿宋_GB2312">1.<span style="font-stretch: normal;font-size: 9px;line-height: normal;font-family: &#39;Times New Roman&#39;">&nbsp; </span></span><span style="font-family:仿宋_GB2312"><a name="Text12"></a></span><span style="font-family:仿宋_GB2312">□□□□□□</span></p><p style="margin-left:28px;line-height:   124%"><span style="font-family:仿宋_GB2312">2.<span style="font-stretch: normal;font-size: 9px;line-height: normal;font-family: &#39;Times New Roman&#39;">&nbsp; </span></span><span style="font-family:仿宋_GB2312">□□□□□□</span></p></td></tr><tr style=";page-break-inside:avoid;height:19px"><td width="591" colspan="3" style="border: none; padding: 0px;" height="19"><br/></td></tr><tr style=";page-break-inside:avoid;height:150px"><td width="242" colspan="2" style="border: none; padding: 0px; word-break: break-all;" height="150"><br/></td><td width="349" valign="bottom" style="border: none; padding: 0px; word-break: break-all;" height="150"><p style="text-align:right"><span style="font-family:仿宋_GB2312">二○</span><span style="font-family:仿宋_GB2312"><a name="Text14"></a></span><span style="font-family:仿宋_GB2312">□□</span><span style="font-family:仿宋_GB2312">年</span><span style="font-family:仿宋_GB2312"><a name="Text15"></a></span><span style="font-family:仿宋_GB2312">□</span><span style="font-family:仿宋_GB2312">月</span><span style="font-family:仿宋_GB2312"><a name="Text16"></a></span><span style="font-family:仿宋_GB2312">□□</span><span style="font-family:仿宋_GB2312">日　　　　</span></p></td></tr><tr style=";page-break-inside:avoid;height:39px"><td width="591" colspan="3" valign="top" style="border: none; padding: 0px;" height="39"><p><span style="font-family:仿宋_GB2312">　　（附注）</span></p></td></tr></tbody></table><p style="text-align: center;"><br/></p>',N'2014/11/20 15:58:46',0)
SET IDENTITY_INSERT [ZL_Mis_Model] OFF
GO
CREATE TABLE [dbo].[ZL_OA_Sign] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[SignName] [nvarchar]  (50) NULL,
[VPath] [nvarchar]  (100) NULL,
[OwnUserID] [int]  NULL,
[SignKey] [nvarchar]  (50) NULL,
[CreateTime] [datetime]  NULL,
[CreateMan] [int]  NULL,
[Remind] [nvarchar]  (255) NULL,
[Status] [int]  NULL)
ALTER TABLE [ZL_OA_Sign] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_OA_Sign] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_OA_PBTable] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[UserID] [int]  NULL,
[Monday] [nvarchar]  (50) NULL,
[Tuesday] [nvarchar]  (50) NULL,
[Wednesday] [nvarchar]  (50) NULL,
[Fourday] [nvarchar]  (50) NULL,
[Friday] [nvarchar]  (50) NULL,
[Saturday] [nvarchar]  (50) NULL,
[Sunday] [nvarchar]  (50) NULL,
[PBInfo] [nvarchar]  (500) NULL,
[StartTime] [datetime]  NULL,
[EndTime] [datetime]  NULL,
[CreateTime] [datetime]  NULL,
[Status] [int]  NULL)
ALTER TABLE [ZL_OA_PBTable] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_OA_PBTable] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_OA_BC] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[BCName] [nvarchar]  (50) NULL,
[StartTime] [datetime]  NULL,
[EndTime] [datetime]  NULL,
[Remind] [nvarchar]  (200) NULL,
[AddTime] [datetime]  NULL,
[BackColor] [nvarchar]  (50) NULL)
ALTER TABLE [ZL_OA_BC] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_OA_BC] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_Order_LuckCode] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[UserID] [int]  NULL,
[Code] [int]  NULL,
[ProID] [int]  NULL,
[OrderID] [int]  NULL,
[OrderNO] [nvarchar]  (50) NULL,
[CreateTime] [datetime]  NULL,
[CreateTime2] [nvarchar]  (50))
ALTER TABLE [ZL_Order_LuckCode] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Order_LuckCode] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_Order_PayLog] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[OrderID] [int]  NULL,
[PayMethod] [int]  NULL,
[PayMoney] [decimal]  (18,2) NULL,
[PayPlatID] [int]  NULL,
[UserID] [int]  NULL,
[AddTime] [datetime]  NULL,
[Remind] [nvarchar]  (255) NULL)

GO
CREATE TABLE [dbo].[ZL_OA_FreePro] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[ProID] [int]  NULL,
[stepNum] [int]  NOT NULL,
[stepName] [nvarchar]  (50) NULL,
[SendMan] [nvarchar]  (255) NULL,
[ReferUser] [nvarchar]  (255) NULL,
[ReferGroup] [nvarchar]  (255) NULL,
[CCUser] [nvarchar]  (255) NULL,
[CCGroup] [nvarchar]  (255) NULL,
[HQoption] [int]  NULL,
[Qzzjoption] [int]  NULL,
[HToption] [int]  NULL,
[EmailAlert] [nvarchar]  (200) NULL,
[EmailGroup] [nvarchar]  (200) NULL,
[SmsAlert] [nvarchar]  (200) NULL,
[SmsGroup] [nvarchar]  (200) NULL,
[BackOption] [int]  NULL,
[PublicAttachOption] [int]  NULL,
[PrivateAttachOption] [int]  NULL,
[Status] [int]  NULL,
[CreateTime] [datetime]  NULL,
[Remind] [nvarchar]  (100) NULL)
ALTER TABLE [ZL_OA_FreePro] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_OA_FreePro] PRIMARY KEY  NONCLUSTERED ( [ID] )

GO
CREATE TABLE [dbo].[ZL_Count_Browser](
	[Count_Browser] [nvarchar](50)  NULL,
	[Count_Count] [int]  NULL CONSTRAINT [DF_Count_Browser_Count_Count]  DEFAULT (0)
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Count_Iplocal](
[CountStartip] [nvarchar](17) NOT NULL,
[CountEndip] [nvarchar](17) NULL,
[CountCountry] [nvarchar](55) NULL,
[CountIplocal] [nvarchar](58) NULL,
CONSTRAINT [PK_Count_Iplocal] PRIMARY KEY CLUSTERED 
(
[CountStartip] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Count_Local](
[Count_Local] [nvarchar](20) NOT NULL,
[Count_Count] [int] NOT NULL CONSTRAINT [DF_Count_Local_Count_Count]  DEFAULT (0)
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Count_Month](
[CountMonth] [int] NULL CONSTRAINT [DF_Count_Month_CountMonth]  DEFAULT (0),
[CountD1] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD1]  DEFAULT (0),
[CountD2] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD2]  DEFAULT (0),
[CountD3] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD3]  DEFAULT (0),
[CountD4] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD4]  DEFAULT (0),
[CountD5] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD5]  DEFAULT (0),
[CountD6] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD6]  DEFAULT (0),
[CountD7] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD7]  DEFAULT (0),
[CountD8] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD8]  DEFAULT (0),
[CountD9] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD9]  DEFAULT (0),
[CountD10] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD10]  DEFAULT (0),
[CountD11] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD11]  DEFAULT (0),
[CountD12] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD12]  DEFAULT (0),
[CountD13] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD13]  DEFAULT (0),
[CountD14] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD14]  DEFAULT (0),
[CountD15] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD15]  DEFAULT (0),
[CountD16] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD16]  DEFAULT (0),
[CountD17] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD17]  DEFAULT (0),
[CountD18] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD18]  DEFAULT (0),
[CountD19] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD19]  DEFAULT (0),
[CountD20] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD20]  DEFAULT (0),
[CountD21] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD21]  DEFAULT (0),
[CountD22] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD22]  DEFAULT (0),
[CountD23] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD23]  DEFAULT (0),
[CountD24] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD24]  DEFAULT (0),
[CountD25] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD25]  DEFAULT (0),
[CountD26] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD26]  DEFAULT (0),
[CountD27] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD27]  DEFAULT (0),
[CountD28] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD28]  DEFAULT (0),
[CountD29] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD29]  DEFAULT (0),
[CountD30] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD30]  DEFAULT (0),
[CountD31] [smallint] NULL CONSTRAINT [DF_Count_Month_CountD31]  DEFAULT (0)
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Count_Os](
[Count_Os] [nvarchar](50) NULL,
[Count_Count] [int] NULL CONSTRAINT [DF_Count_Os_Count_Count]  DEFAULT (0)
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Count_Site](
[Count_Site] [nvarchar](20) NULL,
[Count_Count] [int] NULL CONSTRAINT [DF_Count_Site_Count_Count]  DEFAULT (0)
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Count_Visitor](
[CountId] [int] IDENTITY(1,1) NOT NULL,
[CountIp] [nvarchar](20) NULL,
[CountLogtime] [datetime] NULL,
[CountCountry] [nvarchar](30) NULL,
[CountLocal] [nvarchar](50) NULL,
[CountReferer] [nvarchar](250) NULL,
[CountBrowser] [nvarchar](50) NULL,
[CountOs] [nvarchar](50) NULL,
[CountSource] [nvarchar] (250) NULL,
CONSTRAINT [PK_Count_Visitor] PRIMARY KEY CLUSTERED 
(
[CountId] ASC
) ON [PRIMARY]
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Count_Year](
[CountYear] [smallint] NOT NULL CONSTRAINT [DF_Count_Year_CountYear]  DEFAULT (0),
[CountM1] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM1]  DEFAULT (0),
[CountM2] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM2]  DEFAULT (0),
[CountM3] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM3]  DEFAULT (0),
[CountM4] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM4]  DEFAULT (0),
[CountM5] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM5]  DEFAULT (0),
[CountM6] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM6]  DEFAULT (0),
[CountM7] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM7]  DEFAULT (0),
[CountM8] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM8]  DEFAULT (0),
[CountM9] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM9]  DEFAULT (0),
[CountM10] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM10]  DEFAULT (0),
[CountM11] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM11]  DEFAULT (0),
[CountM12] [smallint] NULL CONSTRAINT [DF_Count_Year_CountM12]  DEFAULT (0)
) ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Count_dtproperties](
[ID] [int] IDENTITY(1,1) NOT NULL,
[objectid] [int] NULL,
[property] [varchar](64) NOT NULL,
[value] [varchar](255) NULL,
[uvalue] [nvarchar](255) NULL,
[lvalue] [image] NULL,
[version] [int] NOT NULL CONSTRAINT [DF__dtpropert__versi__77BFCB91]  DEFAULT (0),
CONSTRAINT [pk_Count_dtproperties] PRIMARY KEY CLUSTERED 
(
[ID] ASC,
[property] ASC
) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO
CREATE TABLE [dbo].[ZL_Content_WordChain] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[KeyWord] [nvarchar]  (255) NULL,
[KeyValue] [nvarchar]  (255) NULL,
[Priority] [int]  NULL,
[Regex] [nvarchar]  (255) NULL,
[RegexValue] [nvarchar]  (255) NULL)

ALTER TABLE [ZL_Content_WordChain] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Content_WordChain] PRIMARY KEY  NONCLUSTERED ( [ID] )
GO
CREATE TABLE [dbo].[ZL_3DShop] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[ShopName] [nvarchar]  (50) NULL,
[ShopImg] [nvarchar]  (100) NULL,
[UserID] [int]  NULL,
[UserName] [nvarchar]  (50) NULL,
[posX] [nvarchar]  (50) NULL,
[posY] [nvarchar]  (50) NULL,
[ShopStatus] [int]  NULL,
[Remind] [nvarchar]  (50) NULL)

ALTER TABLE [ZL_3DShop] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_3DShop] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_3DShop] ON
INSERT [ZL_3DShop] ([ID],[ShopName],[ShopImg],[UserID],[UserName],[posX],[posY]) VALUES ( 1,N'日用百货',N'/Images/Style3D/c1.png',1,N'admin',N'600',N'210')
INSERT [ZL_3DShop] ([ID],[ShopName],[ShopImg],[UserID],[UserName],[posX],[posY]) VALUES ( 2,N'家居杂货',N'/Images/Style3D/node.gif',1,N'admin',N'500',N'300')
INSERT [ZL_3DShop] ([ID],[ShopName],[ShopImg],[UserID],[UserName],[posX],[posY]) VALUES ( 3,N'小靓服饰',N'/Images/Style3D/node.gif',1,N'admin',N'500',N'400')
INSERT [ZL_3DShop] ([ID],[ShopName],[ShopImg],[UserID],[UserName],[posX],[posY]) VALUES ( 4,N'华毅装修',N'/Images/Style3D/c1.png',1,N'admin',N'400',N'450')
SET IDENTITY_INSERT [ZL_3DShop] OFF

CREATE TABLE [dbo].[ZL_Plat_Blog] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[pid] [int]  NULL,
[Title] [nvarchar]  (4000) NULL,
[MsgContent] [ntext]  NULL,
[MsgType] [int]  NULL,
[Status] [int]  NULL,
[CreateUser] [int]  NULL,
[CreateTime] [datetime]  NULL,
[ReplyID] [int]  NULL,
[CreateUName] [nvarchar]  (30) NULL,
[ReplyUserID] [int]  NULL,
[ReplyUName] [nvarchar]  (30) NULL,
[CompID] [int]  NULL,
[GroupID] [int]  NULL,
[Attach] [nvarchar]  (3000) NULL,
[ColledIDS] [nvarchar]  (4000) NULL,
[GroupIDS] [nvarchar]  (500) NULL,
[EndTime] [datetime]  NULL,
[VoteOP] [nvarchar]  (500) NULL,
[VoteResult] [ntext]  NULL,
[LikeIDS] [ntext]  NULL,
[ForwardID] [int]  NULL,
[ProID] [int]  NULL,
[ATUser] [nvarchar] (400)  NULL)
ALTER TABLE [ZL_Plat_Blog] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Plat_Blog] PRIMARY KEY  NONCLUSTERED ( [ID] )

CREATE TABLE [dbo].[ZL_Plat_Project](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Name] [nvarchar](100) NOT NULL,
[LeaderIDS] [varchar](200) NOT NULL,
[ParterIDS] [varchar](4000) NULL,
[LookIDS] [varchar](4000) NULL,
[StartDate] [datetime] NULL,
[EndDate] [datetime] NULL,
[IsOpen] [int] NULL,
[Status] [int] NULL,
[UserID] [int] NULL,
[Desc] [nvarchar](500) NULL,
[Attach] [nvarchar](500) NULL,
CONSTRAINT [PK_ZL_Plat_Project] PRIMARY KEY NONCLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

CREATE TABLE [dbo].[ZL_Plat_Group] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[PGroup] [int]  NULL,
[GroupName] [nvarchar]  (200) NULL,
[GroupDesc] [nvarchar]  (500) NULL,
[ManageIDS] [ntext]  NULL,
[MemberIDS] [ntext]  NULL,
[GroupType] [int]  NULL,
[Status] [int]  NULL,
[CreateUser] [int]  NULL,
[CreateTime] [datetime]  NULL)
ALTER TABLE [ZL_Plat_Group] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Plat_Group] PRIMARY KEY  NONCLUSTERED ( [ID] )
Go
CREATE TABLE [dbo].[ZL_Plat_Task] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[TaskName] [nvarchar]  (50) NULL,
[TaskContent] [ntext]  NULL,
[TaskType] [int]  NULL,
[BeginTime] [datetime]  NULL,
[EndTime] [datetime]  NULL,
[LeaderIDS] [ntext]  NULL,
[PartTakeIDS] [ntext]  NULL,
[Color] [nvarchar]  (50) NULL,
[Status] [int]  NULL,
[Remind] [nvarchar]  (200) NULL,
[CreateUser] [int]  NULL,
[CreateUName] [nvarchar]  (50) NULL,
[CreateTime] [datetime]  NULL,
[Attach] [nvarchar] (500) NULL)
ALTER TABLE [ZL_Plat_Task] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Plat_Task] PRIMARY KEY  NONCLUSTERED ( [ID] )
Go

CREATE TABLE [dbo].[ZL_Plat_MailConfig](
[ID] [int] IDENTITY(1,1) NOT NULL,
[POP] [nvarchar](200) NULL,
[SMTP] [nvarchar](200) NULL,
[Acount] [nvarchar](200) NULL,
[Passwd] [nvarchar](200) NULL,
[UserID] [int] NULL,
[CDate] [datetime] NULL,
[Status] [int] NULL,
[Alias] [nvarchar](50) NULL,
[Days] [int] NULL,
 CONSTRAINT [PK_ZL_Plat_MailConfig] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

CREATE TABLE [dbo].[ZL_Plat_Mail](
[ID] [int] IDENTITY(1,1) NOT NULL,
[Title] [nvarchar](200) NULL,
[Content] [ntext] NULL,
[Sender] [nvarchar](200) NULL,
[CCUser] [nvarchar](500) NULL,
[Receiver] [nvarchar](500) NULL,
[Attach] [nvarchar](3000) NULL,
[MailDate] [datetime] NULL,
[CDate] [datetime] NULL,
[UserID] [int] NULL,
[MailID] [nvarchar](300) NULL,
[Status] [int] NULL,
[MailType] [int] NULL,
CONSTRAINT [PK_ZL_Plat_Mail] PRIMARY KEY CLUSTERED 
(
[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

CREATE TABLE [dbo].[ZL_User_SignIn] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[UserID] [int]  NULL,
[UserText] [nvarchar]  (200) NULL,
[Status] [int]  NULL,
[CreateTime] [datetime]  NULL,
[Remind] [nvarchar]  (200) NULL,
[Class1] [int] NOT NULL,
[Class2] [nvarchar](200) NULL)
ALTER TABLE [ZL_User_SignIn] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_User_SignIn] PRIMARY KEY  NONCLUSTERED ( [ID] )
Go
ALTER TABLE [dbo].[ZL_User_SignIn] ADD  CONSTRAINT [DF_ZL_User_SignIn_Class1]  DEFAULT ((0)) FOR [Class1]
GO
CREATE TABLE [dbo].[ZL_Plat_Schedule] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[Name] [nvarchar]  (50) NOT NULL,
[Place] [nvarchar]  (200) NULL,
[Describe] [nvarchar]  (200) NULL,
[TaskType] [int]  NULL,
[StartDate] [datetime]  NOT NULL,
[EndDate] [datetime]  NOT NULL,
[AllDay] [int]  NULL DEFAULT (0),
[Repeat] [int]  NULL DEFAULT (0),
[LeaderIDS] [ntext]  NULL,
[ParterIDS] [ntext]  NULL,
[UserID] [int]  NULL)
ALTER TABLE [ZL_Plat_Schedule] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Plat_Schedule] PRIMARY KEY  NONCLUSTERED ( [ID] )

Go
CREATE TABLE [dbo].[ZL_Plat_TaskMsg] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[TaskID] [int]  NULL,
[MsgContent] [nvarchar]  (200) NULL,
[Attach] [nvarchar]  (200) NULL,
[MsgType] [int]  NULL,
[CreateTime] [datetime]  NULL,
[UserID] [int]  NULL,
[UserName] [nvarchar]  (50) NULL,
[Status] [int]  NULL)
ALTER TABLE [ZL_Plat_TaskMsg] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Plat_TaskMsg] PRIMARY KEY  NONCLUSTERED ( [ID] )

Go
CREATE TABLE [dbo].[ZL_User_Plat](
[UserID] [int] NOT NULL,
[CompID] [int] NULL,
[Plat_Group] [varchar](500) NULL,
[Plat_Role] [nvarchar](200) NULL,
[Status] [int] NULL,
[CreateTime] [datetime] NULL,
[Mobile] [nvarchar](50) NULL,
[TrueName] [nvarchar](50) NULL,
[Post] [nvarchar](50) NULL,
[UserFace] [nvarchar](150) NULL,
[ATCount] [int]
CONSTRAINT [PK_ZL_User_Plat] PRIMARY KEY CLUSTERED 
([UserID] ASC)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]
INSERT [ZL_User_Plat] ([UserID],[CompID],[Plat_Role],[Status],[CreateTime],[Mobile],[TrueName],[Post],[UserFace]) VALUES ( 1,1,N',1,',1,N'2014/11/7 13:59:25',N'13912345678',N'初始能力用户',N'研发部','/Images/userface/noface.gif')

Go
CREATE TABLE [dbo].[ZL_User_Token](
[ID] [int] IDENTITY(1,1) NOT NULL,
[uid] [int] NOT NULL,
[SinaToken] [nvarchar](500) NULL,
[QQOpenID] [nvarchar](500) NULL,
[QQToken] [nvarchar](500) NULL,
[QQUName] [nvarchar](100) NULL,
CONSTRAINT [PK_ZL_User_Token] PRIMARY KEY CLUSTERED 
([ID] ASC)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]) ON [PRIMARY]

GO
ALTER TABLE [dbo].[ZL_User_Token] ADD  CONSTRAINT [DF_ZL_User_Token_uid]  DEFAULT ((0)) FOR [uid]
GO

CREATE TABLE [dbo].[ZL_Plat_UserRole] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[CompID] [int]  NULL,
[RoleName] [nvarchar]  (50) NULL,
[RoleDesc] [nvarchar]  (100) NULL,
[RoleAuth] [nvarchar]  (4000) NULL,
[UserID] [int]  NULL,
[CreateTime] [datetime]  NULL,
[IsSuper] [int]  NULL)
ALTER TABLE [ZL_Plat_UserRole] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Plat_UserRole] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_Plat_UserRole] ON
INSERT [ZL_Plat_UserRole] ([ID],[CompID],[RoleName],[RoleDesc],[UserID],[CreateTime],[IsSuper]) VALUES ( 1,1,N'网络管理员',N'公司网络管理员,拥有全部权限,该角色只允许存在一个',2,N'2014/11/7 14:05:41',1)
SET IDENTITY_INSERT [ZL_Plat_UserRole] OFF

Go
CREATE TABLE [dbo].[ZL_Plat_Comp] (
[ID] [int]  IDENTITY (1, 1)  NOT NULL,
[CompLogo] [nvarchar]  (200) NULL,
[CompName] [nvarchar]  (100) NULL,
[CompDesc] [nvarchar]  (500) NULL,
[CompType] [int]  NULL,
[Status] [int]  NULL,
[CreateUser] [int]  NULL,
[CreateTime] [datetime]  NULL,
[Mails] [nvarchar]  (200) NULL,
[CompHref] [nvarchar]  (100) NULL)
ALTER TABLE [ZL_Plat_Comp] WITH NOCHECK ADD  CONSTRAINT [PK_ZL_Plat_Comp] PRIMARY KEY  NONCLUSTERED ( [ID] )
SET IDENTITY_INSERT [ZL_Plat_Comp] ON
INSERT [ZL_Plat_Comp] ([ID],[CompLogo],[CompName],[CompType],[Status],[CreateUser],[CreateTime],[Mails]) VALUES ( 1,'/favicon.ico',N'初始企业名称',0,0,1,N'2014/12/31 00:00:00',N'zoomla.cn')
SET IDENTITY_INSERT [ZL_Plat_Comp] OFF

Go
CREATE TABLE [dbo].[ZL_Chat_Msg](
	[ID] [int] IDENTITY(1,1) NOT NULL,
	[UserID] [nvarchar](50) NULL,
	[UserName] [nvarchar](100) NULL,
	[UserFace] [nvarchar](100) NULL,
	[ReceUser] [varchar](500) NULL,
	[Content] [ntext] NULL,
	[CDate] [datetime] NULL,
	[MsgType] [int] NULL,
 CONSTRAINT [PK_ZL_Chat_Msg] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
----------------------------View Begin
Go
CREATE VIEW [dbo].[ZL_User_PlatView]
AS
SELECT     a_1.*, b.CompName
,Cast(','+(SELECT GroupName+',' FROM ZL_Plat_Group  Where MemberIDS Like '%,'+ CAST(UserID as varchar(20))+',%' FOR XML PATH(''))as varchar(300)) as GroupName
,Cast(','+(SELECT CAST(ID as varchar(20))+',' FROM ZL_Plat_Group  Where MemberIDS Like '%,'+ CAST(UserID as varchar(20))+',%' FOR XML PATH(''))as varchar(300)) as Gid
FROM          (SELECT     u.UserName, up.*
FROM  dbo.ZL_User AS u INNER JOIN
      dbo.ZL_User_Plat AS up ON u.UserID = up.UserID) AS a_1 LEFT OUTER JOIN
      dbo.ZL_Plat_Comp AS b ON a_1.CompID = b.ID
----------------------------Procedure Begin
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Result_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_Result]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Model_Del]
@TableName nvarchar(255)
AS
Exec(N''DROP Table ''+@TableName+'''')
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Student_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_Student]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_CallNode_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_CallNode]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_CallNote_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_CallNote]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Result_Select_Where]
	@WhereCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	[ID],
	[Result],
	[ResultTime],
	[ProblemID],
	[UserID]
FROM
	[dbo].[ZL_Result]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MultiNode_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MultiNode]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_NodeRole_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_NodeRole]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_CallNote_Select_Where]
@WhereCondition NVARCHAR(500),
@Outcome NVARCHAR(250)
AS
DECLARE @sql VARCHAR(800)
SET @sql=''SELECT ''+@Outcome+'' FROM ZL_CallNote WHERE 1=1 ''+@WhereCondition
EXEC (@sql)
'

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Card_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_Card]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_RoomActiveJoin_Select_Where]
	@WhereCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	[ID],
	[ActiveID],
	[UserID],
	[UserName],
	[AddTime]
FROM
	[dbo].[ZL_RoomActiveJoin]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_RoomActive_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_RoomActive]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_NodeRole_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_NodeRole]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END

EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Node_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_Node]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END

EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Card_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_Card]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 


GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_OnlineUser_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_OnlineUsers]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
'

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_RoomActive_Select_Where]
	@WhereCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS

SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)

SET @SQL = ''
SELECT
	[AID],
	[ActiveUserID],
	[ActiveTitle],
	[ActiveContext],
	[ActiveStateTime],
	[ActiveEndTime],
	[ActiveAddTime],
	[ActivePic],
	[RoomID]
FROM
	[dbo].[ZL_RoomActive]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END

EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_RoomNotify_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)

SET @SQL = ''
DELETE FROM
	[dbo].[ZL_RoomNotify]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_RoomNotify_Select_ByValue] 
@SelectCondition nvarchar(500),
@WhereCondition nvarchar(500),
@OrderByExpression nvarchar(250)
 AS 
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
 DECLARE @SQL nvarchar(3250)

SET @SQL = ''
SELECT
	''+ @SelectCondition +''
FROM
	[dbo].[ZL_RoomNotify]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END

EXEC sp_executesql @SQL
' 


GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_RoomNotify_Select_Where]
	@WhereCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	[ID],
	[NotifyTitle],
	[NotifyContext],
	[AddTime],
	[RoomID],
	[UserID]
FROM
	[dbo].[ZL_RoomNotify]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_ClassRoom_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_ClassRoom]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_RoomUpFile_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_RoomUpFile]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_RoomUpFile_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_RoomUpFile]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_ClassRoom_Select_Where]
	@WhereCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	[RoomID],
	[RoomName],
	[SchoolID],
	[ClassName],
	[Room],
	[Teacher],
	[Adviser],
	[Monitor],
	[Creation],
	[CreateUser],
	[Integral],
	[Classinfo],
	[Grade],
	[IsTrue]
FROM
	[dbo].[ZL_ClassRoom]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_SchemeInfo_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_SchemeInfo]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_CollectionInfo_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_CollectionInfo]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 


GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_SchemeInfo_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_SchemeInfo]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Scheme_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_Scheme]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_CollectionInfo_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_CollectionInfo]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END

EXEC sp_executesql @SQL
'
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_CollectionItem_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_CollectionItem]
WHERE
	'' + @WhereCondition

EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Interlocution_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_Interlocution]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_UserExpDomP_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_UserExpDomP]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Scheme_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_Scheme]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Interlocution_Select_Where]
	@WhereCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	[ID],
	[UserID],
	[ProblemTitle],
	[ProblemContext],
	[AddTime],
	[RoomID]
FROM
	[dbo].[ZL_Interlocution]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_School_Select_Where]
	@WhereCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	[ID],
	[SchoolName],
	[Country],
	[Province],
	[SchoolType],
	[Visage],
	[Addtime],
	[SchoolInfo]
FROM
	[dbo].[ZL_School]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 


GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_ServiceSeat_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_ServiceSeat]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_GetRecordFromPage]
@TableName varchar(350),        --表名
 @Identity VARCHAR(100),         --主键，可以为空，但@Order为空时该值不能为空
 @Fields varchar(5000) = ''*'',    --字段名(全部字段为*)
 @OrderField varchar(5000),        --排序字段(必须!支持多字段)
 @sqlWhere varchar(5000) = Null,--条件语句(不用加where)
 @pageSize int,                    --每页多少条记录
 @pageIndex int = 0            --指定当前为第几页 0=第一页
as
begin
    Declare @sql nvarchar(4000);
    Declare @totalRecord int;    
    DECLARE @totalPage INT;
    --计算总记录数
    if (@SqlWhere='''' or @sqlWhere=NULL)
        set @sql = ''select @totalRecord = count(1) from '' + @TableName
    else
        set @sql = ''select @totalRecord = count(1) from '' + @TableName + '' where '' + @sqlWhere
 
    EXEC sp_executesql @sql,N''@totalRecord int OUTPUT'',@totalRecord OUTPUT--计算总记录数    
    --计算总页数
    SELECT @totalPage=CEILING((@totalRecord+0.0)/@PageSize)
    --SELECT @totalRecord AS ''fldtotalRecord'',@totalPage AS ''fldTotalPage''
 
    if (@SqlWhere='''' or @sqlWhere=NULL)
        set @sql = ''Select * FROM (select ROW_NUMBER() Over(order by '' + @OrderField + '') as rowId,'' + @Fields + '' from '' + @TableName
    else
        set @sql = ''Select * FROM (select ROW_NUMBER() Over(order by '' + @OrderField + '') as rowId,'' + @Fields + '' from '' + @TableName + '' where '' + @SqlWhere    
         
    --处理页数超出范围情况
    if @PageIndex<0 
        Set @pageIndex = 0    
    if @pageIndex>@TotalPage
        Set @pageIndex = @TotalPage-1 
     --处理开始点和结束点
    Declare @StartRecord int
    Declare @EndRecord int    
    set @StartRecord = @pageIndex*@PageSize + 1
    set @EndRecord = @StartRecord + @pageSize - 1
 
    --继续合成sql语句

    set @Sql = @Sql + '') as tempTable where rowId >='' + CONVERT(VARCHAR(50),@StartRecord) + '' and rowid<= '' +  CONVERT(VARCHAR(50),@EndRecord)
    
    Exec(@Sql)

end' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE proc [dbo].[PR_Commodities_Souch]
	@tablename varchar(255),
	@keyword varchar(255)
as
	declare @s varchar(2000)
	set @s = ''select * from ZL_Commodities''
	set @s=@s+'' where Recycler=0 and '' +@tablename+'' like ''''%''+@keyword+''%''''''
	exec (@s)
	return
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Common_List2]
@TableNames VARCHAR(200),    --表名，可以是多个表，但不能用别名
@PrimaryKey VARCHAR(100),    --主键，可以为空，但@Order为空时该值不能为空
@Fields    VARCHAR(200),        --要取出的字段，可以是多个表的字段，可以为空，为空表示select *
@PageSize INT,            --每页记录数
@CurrentPage INT,        --当前页，0表示第1页
@Filter VARCHAR(200) = '''',    --条件，可以为空，不用填 where
@Order VARCHAR(200) = ''''    --排序，可以为空，为空默认按主键升序排列，不用填 order by
AS
BEGIN
    DECLARE @SortColumn VARCHAR(200)
    DECLARE @Operator CHAR(2)
    DECLARE @SortTable VARCHAR(200)
    DECLARE @SortName VARCHAR(200)
    IF @Fields = ''''
        SET @Fields = ''*''
    IF @Filter = ''''
        SET @Filter = ''WHERE 1=1''
    ELSE
        SET @Filter = ''WHERE '' +  @Filter    

    IF @Order <> ''''
    BEGIN
        DECLARE @pos1 INT, @pos2 INT
        SET @Order = REPLACE(REPLACE(@Order, '' asc'', '' ASC''), '' desc'', '' DESC'')
        IF CHARINDEX('' DESC'', @Order) > 0
            IF CHARINDEX('' ASC'', @Order) > 0
            BEGIN
                IF CHARINDEX('' DESC'', @Order) < CHARINDEX('' ASC'', @Order)
                    SET @Operator = ''<=''
                ELSE
                    SET @Operator = ''>=''
            END
            ELSE
                SET @Operator = ''<=''
        ELSE
            SET @Operator = ''>=''
        SET @SortColumn = REPLACE(REPLACE(REPLACE(@Order, '' ASC'', ''''), '' DESC'', ''''), '' '', '''')
        SET @pos1 = CHARINDEX('','', @SortColumn)
        IF @pos1 > 0
            SET @SortColumn = SUBSTRING(@SortColumn, 1, @pos1-1)
        SET @pos2 = CHARINDEX(''.'', @SortColumn)
        IF @pos2 > 0
        BEGIN
            SET @SortTable = SUBSTRING(@SortColumn, 1, @pos2-1)
            IF @pos1 > 0 
                SET @SortName = SUBSTRING(@SortColumn, @pos2+1, @pos1-@pos2-1)
            ELSE
                SET @SortName = SUBSTRING(@SortColumn, @pos2+1, LEN(@SortColumn)-@pos2)
        END
        ELSE
        BEGIN
            SET @SortTable = @TableNames
            SET @SortName = @SortColumn
        END
    END
    ELSE
    BEGIN
        SET @SortColumn = @PrimaryKey
        SET @SortTable = @TableNames
        SET @SortName = @SortColumn
        SET @Order = @SortColumn
        SET @Operator = ''>=''
    END

    DECLARE @type varchar(50)
    set @type = ''datetime''
    DECLARE @prec int
    SELECT @type=t.name, @prec=c.prec
    FROM sysobjects o 
    JOIN syscolumns c on o.id=c.id
    JOIN systypes t on c.xusertype=t.xusertype
    WHERE o.name = @SortTable AND c.name = @SortName
    IF CHARINDEX(''char'', @type) > 0
    SET @type = @type + ''('' + CAST(@prec AS varchar) + '')''

    DECLARE @TopRows INT
    SET @TopRows = @PageSize * @CurrentPage + 1
    print @TopRows
    print @Operator
    EXEC(''
        DECLARE @SortColumnBegin '' + @type + ''
        SET ROWCOUNT '' + @TopRows + ''
        SELECT @SortColumnBegin='' + @SortColumn + '' FROM  '' + @TableNames + '' '' + @Filter + '' ORDER BY '' + @Order + ''
        SET ROWCOUNT '' + @PageSize + ''
        SELECT '' + @Fields + '' FROM  '' + @TableNames + '' '' + @Filter  + '' AND '' + @SortColumn + '''' + @Operator + ''@SortColumnBegin '' + '' ORDER BY '' + @Order + ''    
    '')    
END
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_Add]
(
	@TableName nvarchar(50),
	@FieldList nvarchar,
	@FieldValue nvarchar,
	@NodeID int,
	@ModelID int,
	@Title nvarchar,
	@Inputer nvarchar,
	@EliteLevel int,
	@InfoID nvarchar,
	@SpecialID nvarchar,
	@PdfLink nvarchar
)
AS
	EXEC(''Insert Into '' + @TableName + '' ('' + @FieldList + '') values('' + @FieldValue + '')'')
	DECLARE @ItemID int
	Set @ItemID=(select @@IDENTITY AS newID)
	EXEC(
	''Insert Into ZL_CommonModel (NodeID,ModelID,ItemID,Title,Inputer,EliteLevel,InfoID,SpecialID,Titlecolor,PdfLink)
	 Values (''+@NodeID+'',''+@ModelID+'',''+@ItemID+'',''+@Title+'',''+@Inputer+'',''
	 +@EliteLevel+'',''+@InfoID+'',''+@SpecialID+'',''+@PdfLink+'')'')
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_ServiceSeat_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_ServiceSeat]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_CreateCount]
(
	@Count int
)
AS
	Exec(''select top ''+@Count+'' * from ZL_CommonModel  order by GeneralID Desc'')
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_Del]
(
	@TableName nvarchar(50),
	@ItemID int,
	@GeneralID int
)
AS
	EXEC(''Delete From ''+@TableName +'' Where [ID]=''+@ItemID)	
	EXEC(''Delete From ZL_CommonModel Where GeneralID=''+@GeneralID)
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_Read]
(
	@TableName nvarchar(100),
	@ItemID int
)
AS
	DECLARE @SqlID nvarchar(500)
	Set @SqlID=CAST(@ItemID as nvarchar)
	EXEC (''Select * From ''+@TableName +'' Where ID=''+@SqlID)
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_UpDate]
(
	@TableName nvarchar(50),
	@FieldSet nvarchar,
	@Title nvarchar,
	@EliteLevel int,
	@InfoID nvarchar,
	@SpecialID nvarchar,
	@ItemID int,
	@GeneralID int,
	@PdfLink nvarchar(500)
)
AS
		
	EXEC(''Update ''+@TableName +'' Set ''+@FieldSet +'' Where [ID]=''+@ItemID)	
	EXEC(''Update ZL_CommonModel Set Title=''+@Title+'',EliteLevel=''+@EliteLevel+'',InfoID=''+@InfoID+'',SpecialID=''+@SpecialID+'',PdfLink=''+@PdfLink+'' Where GeneralID=''+@GeneralID)
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_ShopCompete_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_ShopCompete]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_CustomerService_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_CustomerService]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MTit_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MTit]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END

EXEC sp_executesql @SQL
'
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MailIdiograph_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MailIdiograph]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_ShopCompete_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_ShopCompete]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_CustomerService_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_CustomerService]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MailIdiograph_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MailIdiograph]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MailInfo_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MailInfo]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MailInfo_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MailInfo]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
'
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MailManage_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MailManage]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_AddFieldToTable]
@TableName nvarchar(50),
@FieldName nvarchar(50),
@FieldType nvarchar(50),
@DefaultValue nvarchar(150)
AS
	declare @sqlstr nvarchar(1000)
	if(@FieldType=''nvarchar'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] nvarchar(255) DEFAULT (''''''+@DefaultValue+'''''')''
	else if(@FieldType=''varchar'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] varchar(255) DEFAULT (''''''+@DefaultValue+'''''')''
	else if(@FieldType=''ntext'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] ntext DEFAULT (''''''+@DefaultValue+'''''')''
	else if(@FieldType=''int'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] int DEFAULT (0)''
	else if(@FieldType=''bit'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] bit DEFAULT (0)''
	else if(@FieldType=''char'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] char(10)''
	else if(@FieldType=''datetime'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] datetime DEFAULT (getdate())''
	else if(@FieldType=''decimal'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] decimal(8)''
	else if(@FieldType=''money'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] money''
	else if(@FieldType=''nchar'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] nchar(10)''
	else if(@FieldType=''bit'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] bit DEFAULT (0)''
	else if(@FieldType=''text'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] text''	
	else if(@FieldType=''float'')
		set @sqlstr = ''ALTER TABLE [''+@TableName+''] ADD [''+@FieldName+''] float(8)''
execute sp_executesql @sqlstr
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MailManage_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MailManage]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
'
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MiUserInfo_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MiUserInfo]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Pub_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_Pub]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
SET ANSI_NULLS ON
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_BindPro_Delete_Where]
	@WhereCondition nvarchar(500)
AS
SET NOCOUNT ON
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_BindPro]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_DelTableField]
@TableName  varchar(128), --表名
@FieldName varchar(128)--列名
as
set @TableName = ltrim(rtrim(@TableName))
set @FieldName = ltrim(rtrim(@FieldName))
declare @string varchar(8000)
declare @name varchar(100)

--DF为约束名称前缀
select @name=b.name from syscolumns a,sysobjects b where a.id=object_id(@TableName) and b.id=a.cdefault and a.name=@FieldName and b.name like ''DF%''
--删除约束

select @string=''alter table ''+@TableName+'' drop constraint ''+@name
execute(@string)

IF  EXISTS( select * from syscolumns where id=object_id(@TableName) and name = @FieldName )
begin
select  @string =''  ALTER  TABLE ''+ @TableName + '' DROP COLUMN  ['' + ltrim(rtrim(@FieldName))  + '']''
print @string
execute(@string)
end
'

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MiUserInfo_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MiUserInfo]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Pub_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_Pub]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_BindPro_Select_Where]
	@WhereCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	[ID],
	[BindProID],
	[ProID],
	[ProName],
	[Jiage],
	[Pronum]
FROM
	[dbo].[ZL_BindPro]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_CallNode_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_CallNode]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE proc [dbo].[PR_Commodities_Update]
	@id int,
	@Class int,
	@Nodeid int,
	@ModelID int,
	@Categoryid int,
	@ProCode varchar(50),
	@BarCode varchar(50),
	@Proname varchar(255),
	@Kayword varchar(255),
	@ProUnit varchar(50),
	@Weight int,
	@ServerPeriod int,
	@ServerType int,
	@ProClass int,
	@Properties int,
	@Sales int,
	@Proinfo text,
	@Procontent text,
	@Clearimg varchar(255),
	@Thumbnails varchar(255),
	@Producer varchar(255),
	@Brand varchar(50),
	@Allowed int,
	@Quota int,
	@DownQuota int,
	@Stock int,
	@StockDown int,
	@JisuanFs int,
	@Rate money,
	@Rateset int,
	@Dengji int,
	@ShiPrice money,
	@LinPrice money,
	@Wholesales int,
	@Wholesaleone int,
	@Preset varchar(255),
	@Integral int,
	@Propeid int,
	@Recommend int,
	@Priority int,
	@AllClickNum int,
	@ModeTemplate varchar(255),
	@AddUser varchar(50),
	@DownCar int,
	@AddTime datetime,
	@UpdateTime datetime,
	@TableName varchar(50),
	@Istrue int,
	@Isgood int,
	@MakeHtml int,
	@Sold int,
	@isnew int,
	@ishot int,
	@isbest int,
	@Wholesalesinfo varchar(255),
	@ItemID int,
	@ComModelID int,
	@Largess int,
	@Largesspirx money,
	@ProjectType int,
	@ProjectPronum int,
	@ProjectMoney money,
	@IntegralNum int,
	@PesentNames nvarchar(255),
	@PesentNameid int,
	@GuessType int,
	@GuessXML nvarchar(1000),
	@FirstNodeID int,
	@PointVal int,
	@BookPrice money,
	@bookDay int,
	@UserType int,
	@UserPrice nvarchar(50),
	@FestlPrice money,
	@FestPeriod nvarchar(255),
	@ColonelTime nvarchar(255),
        @ColoneDeposit money,
        @FarePrice nvarchar(400),
	@ExpRemind int
as
	update ZL_Commodities set 
	Class=@Class,
	Nodeid=@Nodeid,
	ModelID=@ModelID,
	Categoryid=@Categoryid,
	ProCode=@ProCode,
	BarCode=@BarCode,
	Proname=@Proname,
	Kayword=@Kayword,
	ProUnit=@ProUnit,
	Weight=@Weight,
	ServerPeriod=@ServerPeriod,
	ServerType=@ServerType,
	ProClass=@ProClass,
	Properties=@Properties,
	Sales=@Sales,
	Proinfo=@Proinfo,
	Procontent=@Procontent,
	Clearimg=@Clearimg,
	Thumbnails=@Thumbnails,
	Producer=@Producer,
	Brand=@Brand,
	Allowed=@Allowed,
	Quota=@Quota,
	DownQuota=@DownQuota,
	Stock=@Stock,
	StockDown=@StockDown,
	JisuanFs=@JisuanFs,
	Rate=@Rate,
	Rateset=@Rateset,
	Dengji=@Dengji,
	ShiPrice=@ShiPrice,
	LinPrice=@LinPrice,
	Wholesales=@Wholesales,
	Wholesaleone=@Wholesaleone,
	Preset=@Preset,
	Integral=@Integral,
	Propeid=@Propeid,
	Recommend=@Recommend,
	Priority=@Priority,
	AllClickNum=@AllClickNum,
	ModeTemplate=@ModeTemplate,
	AddUser=@AddUser,
	DownCar=@DownCar,
	AddTime=@AddTime,
	UpdateTime=@UpdateTime,
	TableName=@TableName,
	Istrue=@Istrue,
	Isgood=@Isgood,
	MakeHtml=@MakeHtml,
	Sold=@Sold,
	isnew=@isnew,
	ishot=@ishot,
	isbest=@isbest,
	Wholesalesinfo=@Wholesalesinfo,
	ItemID=@ItemID,
	ComModelID=@ComModelID,
	Largess=@Largess,
	Largesspirx=@Largesspirx,
	ProjectType = @ProjectType,
	ProjectPronum = @ProjectPronum,
	ProjectMoney = @ProjectMoney,
	IntegralNum = @IntegralNum,
	PesentNames = @PesentNames,
	PesentNameid = @PesentNameid,
	GuessType=@GuessType,
	GuessXML=@GuessXML,
	FirstNodeID=@FirstNodeID,
	PointVal=@PointVal,
	BookPrice=@BookPrice,
	bookDay=@bookDay,
	UserType=@UserType,
	UserPrice=@UserPrice,
	FestlPrice=@FestlPrice,
	FestPeriod=@FestPeriod,
	ColonelTime=@ColonelTime,
	ColoneDeposit=@ColoneDeposit,
	FarePrice=@FarePrice,
	ExpRemind=@ExpRemind
where id=@id
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE proc [dbo].[PR_Commodities_GetById]
	@id int
as
	select * from ZL_Commodities where id=@id
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE proc [dbo].[PR_Commodities_Del]
	@id int
as
	delete from ZL_Commodities  
	where id=@id
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE proc [dbo].[PR_Commodities_Add]
@id int,
@Class int,
@Nodeid int,
@ModelID int,
@Categoryid int,
@ProCode varchar(50),
@BarCode varchar(50),
@Proname varchar(255),
@Kayword varchar(255),
@ProUnit varchar(50),
@Weight int,
@ServerPeriod int,
@ServerType int,
@ProClass int,
@Properties int,
@Sales int,
@Rateset int,
@Proinfo text,
@Procontent text,
@Clearimg varchar(255),
@Thumbnails varchar(255),
@Producer varchar(255),
@Brand varchar(50),
@Allowed int,
@Quota int,
@DownQuota int,
@Stock int,
@StockDown int,
@JisuanFs int,
@Rate money,
@Dengji int,
@ShiPrice money,
@LinPrice money,
@Wholesales int,
@Wholesaleone int,
@Preset varchar(255),
@Integral int,
@Propeid int,
@Recommend int,
@Priority int,
@AllClickNum int,
@UpdateTime datetime,
@ModeTemplate varchar(255),
@AddUser varchar(50),
@DownCar int,
@AddTime datetime,
@TableName varchar(50),
@Istrue int,
@Isgood int,
@MakeHtml int,
@Sold int,
@isnew int,
@ishot int,
@isbest int,
@Wholesalesinfo varchar(255),
@ItemID int,
@ComModelID int,
@Largess int,
@Largesspirx money,
@ProjectType int,
@ProjectPronum int,
@ProjectMoney money,
@IntegralNum int,
@PesentNames nvarchar(255),
@PesentNameid int,
@GuessType int,
@GuessXML nvarchar(1000),
@FirstNodeID int,
@PointVal int,
@BookPrice money,
@bookDay int,
@UserType int,
@UserPrice nvarchar(50),
@FestlPrice money,
@FestPeriod nvarchar(255),
@ColonelTime nvarchar(255),
@ColoneDeposit money,
@FarePrice nvarchar(400),
@ExpRemind int
as
DECLARE @OrderID int
Set @OrderID=(select max(OrderID) from ZL_Commodities)
if @OrderID is null Set @OrderID=1
else Set @OrderID=(select max(OrderID) from ZL_Commodities)+1;
insert into ZL_Commodities
(OrderID,Class,Nodeid,ModelID,Categoryid,ProCode,BarCode,Proname,Kayword,ProUnit,Weight,ServerPeriod,ServerType,ProClass,Properties,Sales,Proinfo,Procontent,Clearimg,Thumbnails,Producer,Brand,Allowed,Quota,DownQuota,Stock,StockDown,JisuanFs,Rate,Rateset,Dengji,ShiPrice,LinPrice,Wholesales,Wholesaleone,Preset,Integral,Propeid,Recommend,Priority,AllClickNum,UpdateTime,ModeTemplate,AddUser,DownCar,AddTime,TableName,Istrue,Isgood,MakeHtml,Sold,isnew,ishot,isbest,Wholesalesinfo,ItemID,ComModelID,Largess,Largesspirx,ProjectType,ProjectPronum,ProjectMoney,IntegralNum,PesentNames,PesentNameid,GuessType,GuessXML,FirstNodeID,PointVal,BookPrice,
bookDay,UserType,UserPrice,FestlPrice,FestPeriod,ColonelTime,ColoneDeposit,FarePrice,ExpRemind)
	values
(@OrderID,@Class,@Nodeid,@ModelID,@Categoryid,@ProCode,@BarCode,@Proname,@Kayword,@ProUnit,@Weight,@ServerPeriod,@ServerType,@ProClass,@Properties,@Sales,@Proinfo,@Procontent,@Clearimg,@Thumbnails,@Producer,@Brand,@Allowed,@Quota,@DownQuota,@Stock,@StockDown,@JisuanFs,@Rate,@Rateset,@Dengji,@ShiPrice,@LinPrice,@Wholesales,@Wholesaleone,@Preset,@Integral,@Propeid,@Recommend,@Priority,@AllClickNum,@UpdateTime,@ModeTemplate,@AddUser,@DownCar,@AddTime,@TableName,@Istrue,@Isgood,@MakeHtml,@Sold,@isnew,@ishot,@isbest,@Wholesalesinfo,@ItemID,@ComModelID,@Largess,@Largesspirx,@ProjectType,@ProjectPronum,@ProjectMoney,@IntegralNum,@PesentNames,@PesentNameid,@GuessType,@GuessXML,@FirstNodeID,@PointVal,@BookPrice
,@bookDay,@UserType,@UserPrice,@FestlPrice,@FestPeriod,@ColonelTime,@ColoneDeposit,@FarePrice,@ExpRemind)
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_Reset]
(
	@GeneralID int
)
AS
UPDATE  ZL_CommonModel SET
	Status=0
	Where GeneralID=@GeneralID
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_CreateDate]
(
	@startTime datetime,
	@endTime datetime
)
AS
	select * from ZL_CommonModel Where (CreateTime between @startTime and @endTime) order by GeneralID Desc
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_CreateID]
(
	@startID int,
	@endID int
)
AS
	select * from ZL_CommonModel Where (GeneralID between @startID and @endID) and IsCreate=0 order by GeneralID Desc
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_CreateAll]
 AS
	Select * from ZL_CommonModel Where IsCreate=0
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_Common]
(
	@GeneralID int
)
AS
Select * from ZL_CommonModel
	Where GeneralID=@GeneralID
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE proc [dbo].[PR_CommonModel_Update]
	@GeneralID int,
	@NodeID int,
	@ModelID int,
	@ItemID int,
	@TableName nvarchar(50),
	@Title nvarchar(255),
	@Inputer nvarchar(50),
	@Hits int,
	@Status int,
	@EliteLevel int,
	@InfoID nvarchar(255),
	@SpecialID nvarchar(255),
	@IsCreate int,
	@HtmlLink nvarchar(500),
	@Template nvarchar(255),
	@CreateTime DATETIME,
	@Tagkey nvarchar(1000),
	@UpDateTime DATETIME,
	@UpDateType int,
	@Titlecolor nvarchar(255),
	@PdfLink nvarchar(500),
	@Pronum int,
	@ProWeek int,
	@BidType int,
	@DefaultSkins int,
	@because_back nvarchar(200),
	@FirstNodeID int,
	@TitleStyle nvarchar(255),
	@ParentTree nvarchar(255),
	@TopImg nvarchar(100)
as
	update ZL_CommonModel set 
		NodeID=@NodeID,
		ModelID=@ModelID,
		ItemID=@ItemID,
		TableName=@TableName,
		Title=@Title,
		Inputer=@Inputer,
		Hits=@Hits,
		Status=@Status,
		EliteLevel=@EliteLevel,
		InfoID=@InfoID,
		SpecialID=@SpecialID,
		IsCreate=@IsCreate,
		HtmlLink=@HtmlLink,
		Template=@Template,
		CreateTime=@CreateTime,
		Tagkey=@Tagkey,
		UpDateTime=@UpDateTime,
		UpDateType=@UpDateType,
		Titlecolor=@Titlecolor,
		PdfLink=@PdfLink,
		pronum=@pronum,
		ProWeek=@ProWeek,
		BidType=@BidType,
		DefaultSkins=@DefaultSkins,
		because_back=@because_back,
		FirstNodeID=@FirstNodeID,
		TitleStyle=@TitleStyle,
		ParentTree=@ParentTree,
		TopImg=@TopImg
	where GeneralID=@GeneralID
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_SetAudit]
(
	@Status int,
	@GeneralID int
)
AS
UPDATE  ZL_CommonModel SET
	Status=@Status
	Where GeneralID=@GeneralID
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_SetDel]
(
	@GeneralID int
)
AS
UPDATE  ZL_CommonModel SET
	Status=-2
	Where GeneralID=@GeneralID
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Content_ResetAll]
AS
UPDATE  ZL_CommonModel SET
	Status=0
	Where Status=-2
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE  proc [dbo].[PR_GetUserAnswers]
	@sid int,
	@uid int,
	@time varchar(30)
as
Begin
	select Qid, Answercontent 
	from zl_answer
	where Surveyid = @sid and Userid = @uid and datediff(m, @time, Submitdate)= 0
End
' 

GO
EXEC dbo.sp_executesql @statement = N'
create  proc [dbo].[PR_UserCartPro_Update]
	@id int,
	@Orderlistid int,
	@CartID int,
	@ProID int,
	@Pronum int,
	@Username varchar(255),
	@Proname varchar(255),
	@Danwei varchar(50),
	@Shijia money,
	@AllMoney money,
	@Addtime datetime,
	@FarePrice nvarchar(400)
as
	update ZL_UserCartPro set 
	CartID=@CartID,
	ProID=@ProID,
	Pronum=@Pronum,
	Username=@Username,
	Proname=@Proname,
	Danwei=@Danwei,
	Shijia=@Shijia,
	AllMoney=@AllMoney,
	Addtime=@Addtime,
	FarePrice=@FarePrice
	where id=@id
' 

GO
EXEC dbo.sp_executesql @statement = N'
create proc [dbo].[PR_UserCartPro_GetById]
	@id int
as
	select * from ZL_UserCartPro where id=@id
' 

GO
EXEC dbo.sp_executesql @statement = N'
create proc [dbo].[PR_UserCartPro_Add]
	 @id int,
	@Orderlistid int,
	@CartID int,
	@ProID int,
	@Pronum int,
	@Username varchar(255),
	@Proname varchar(255),
	@Danwei varchar(50),
	@Shijia money,
	@AllMoney money,
	@Addtime datetime,
	@FarePrice nvarchar(400)
as
	insert into ZL_UserCartPro(Orderlistid,CartID,ProID,Pronum,Username,Proname,Danwei,Shijia,AllMoney,Addtime,FarePrice)
	values (@Orderlistid,@CartID,@ProID,@Pronum,@Username,@Proname,@Danwei,@Shijia,@AllMoney,@Addtime,@FarePrice)
' 

GO
EXEC dbo.sp_executesql @statement = N'
create proc [dbo].[PR_UserCartPro_Del]
	@id int
as
	delete from ZL_UserCartPro  
	where id=@id
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_UserExpDomP_GetSelect]
	@ID int
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
SELECT
	[ID],
	[UserID],
	[Score],
	[HisTime],
	[Operator],
	[Detail],
	[OperatorIP]
FROM
	[dbo].[ZL_UserExpDomP]
WHERE
	[ID] = @ID
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_UserExpDomP_GetInsert]
	@UserID int,
	@Score money,
	@HisTime datetime,
	@Operator int,
	@Detail nvarchar(1000),
	@OperatorIP nvarchar(50),
	@ID int OUTPUT
AS
SET NOCOUNT ON
INSERT INTO [dbo].[ZL_UserExpDomP] (
	[UserID],
	[Score],
	[HisTime],
	[Operator],
	[Detail],
	[OperatorIP]
) VALUES (
	@UserID,
	@Score,
	@HisTime,
	@Operator,
	@Detail,
	@OperatorIP
)
SET @ID = SCOPE_IDENTITY()
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_ExpHis_Add]
(
@UserID int,
@Operator int,
@Detail nvarchar(1000),
@score int,
@HisTime datetime,
@OperatorIP nvarchar(50),
@ScoreType int,
@Remark nvarchar(50)
)
AS
Insert Into ZL_UserExpHis
(
UserID,
Operator,
Detail,
score,
HisTime,
OperatorIP,
ScoreType,
Remark
)
values
(
@UserID,
@Operator,
@Detail,
@score,
@HisTime,
@OperatorIP,
@ScoreType,
@Remark
)
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Model_Add]	
(
    @ModelID int,
    @ModelName NVarChar(50),    
    @Description NVarChar(250),
    @TableName nvarchar(50),
    @ItemName nvarchar(50),
    @ItemUnit nvarchar(20), 
    @ItemIcon nvarchar(255),
    @ModelType int,
    @ContentTemplate nvarchar(255),
    @MultiFlag bit,
    @NodeID int,
    @SysModel int,
    @FromModel int,
    @Thumbnail nvarchar(500),
	@Islotsize bit
)
AS
if(@ModelID=0)
BEGIN	
INSERT INTO 
[ZL_Model] 
(  
	[ModelName],    
	[Description], 
	[TableName],
	[ItemName],
	[ItemUnit],  
	[ItemIcon],
	[ModelType],
	[ContentTemplate],
	[MultiFlag],
	[NodeID],
	[SysModel],
	[FromModel],
	[Thumbnail],
	[Islotsize]
	)
	VALUES
	(
	@ModelName,
	@Description,
	@TableName,
	@ItemName,
	@ItemUnit,
	@ItemIcon,
	@ModelType,
	@ContentTemplate,
	@MultiFlag,
	@NodeID,
	@SysModel,
	@FromModel,
	@Thumbnail,
	@Islotsize
	)
-- 不存在创建指定数据表
EXEC(''CREATE TABLE dbo.''+ @TableName+'' ([ID] [int] IDENTITY (1, 1) PRIMARY Key NOT NULL)'')
END
ELSE
BEGIN
	update ZL_Model set [ModelName]=@ModelName,
	[Description]=@Description, 
	[TableName]=@TableName,
	[ItemName]=@ItemName,
	[ItemUnit]=@ItemUnit,  
	[ItemIcon]=@ItemIcon,
	[ContentTemplate]=@ContentTemplate,
	MultiFlag=@MultiFlag,
	NodeID=@NodeID,
	[SysModel]=@SysModel,
	[FromModel]=@FromModel,
	[Thumbnail]=@Thumbnail,
	[Islotsize]=@Islotsize
where ModelID=@ModelID		
END
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Contents_Model_Add]	
(
             @ModelID int,
	@ModelName NVarChar(20),    
	@Description NVarChar(255),
	@TableName nvarchar(50),
	@ItemName nvarchar(50),
	@ItemUnit nvarchar(50), 
	@ItemIcon nvarchar(255)
)
AS
	INSERT INTO 
	[ZL_Model] 
	(  
		[ModelID], 
		[ModelName],    
		[Description], 
		[TableName],
		[ItemName],
		[ItemUnit],  
		[ItemIcon]
	)
	VALUES
	(
		@ModelID,
		@ModelName,
		@Description,
		@TableName,
		@ItemName,
		@ItemUnit,
		@ItemIcon
	)
BEGIN
		-- 不存在创建指定数据表
		EXEC(''CREATE TABLE ''+ @TableName+'' (ID int,CONSTRAINT [PK_''+@TableName+''_ID] PRIMARY KEY CLUSTERED
(
 [ID] ASC
))'')

END
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_IsTableNameExists]
(
    @TableName NVarChar(50)
)
as
BEGIN
	SET NOCOUNT OFF	
	select count(*) from [ZL_Model] where TableName=@TableName
End
' 

GO
EXEC dbo.sp_executesql @statement = N'
Create PROCEDURE [dbo].[PR_IsModelNameExists]
(
    @ModelName NVarChar(50)
)
as
select count(*) from [ZL_Model] where ModelName=@ModelName
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_UserModel_Add]
(
    @ModelID int,
    @ModelName NVarChar(50),    
    @Description NVarChar(250),
    @TableName nvarchar(50),
    @ItemName nvarchar(50),
    @ItemUnit nvarchar(20), 
    @ItemIcon nvarchar(255),
    @ModelType int,
    @ContentTemplate nvarchar(255),
    @MultiFlag bit,
    @NodeID int,
    @SysModel int,
    @FromModel int,
    @Thumbnail nvarchar(500)
)
AS
INSERT INTO 
[ZL_Model] 
(  
	[ModelName],    
	[Description], 
	[TableName],
	[ItemName],
	[ItemUnit],  
	[ItemIcon],
	[ModelType],
	[ContentTemplate],
	[MultiFlag],
	[NodeID],
	[SysModel],
	[FromModel],
	[Thumbnail]
	)
	VALUES
	(
	@ModelName,
	@Description,
	@TableName,
	@ItemName,
	@ItemUnit,
	@ItemIcon,
	@ModelType,
	@ContentTemplate,
	@MultiFlag,
	@NodeID,
	@SysModel,
	@FromModel,
	@Thumbnail
	)
-- 不存在创建指定数据表
EXEC(''CREATE TABLE dbo.''+ @TableName+'' ([ID][int] IDENTITY (1, 1)  NOT NULL PRIMARY KEY ,[UserID][int] NOT NULL,[UserName][nvarchar] (255) NULL,[Styleid] [int] NULL DEFAULT (0),[Recycler] [bit] NULL DEFAULT (0),[IsCreate] [bit] NULL DEFAULT (0), [NewTime] [datetime] NULL DEFAULT (getdate()) )'')
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_ModelField_Update]
@FieldID int,
@ModelID int,
@FieldName nvarchar(50),
@FieldAlias nvarchar(20),
@FieldTips nvarchar(50),
@FieldType nvarchar(50),
@Description nvarchar(255),
@IsNotNull bit,
@IsSearchForm bit,
@Content ntext,
@ShowList bit,
@ShowWidth int,
@IsShow bit,
@IsView bit,
@IsDownField int,
@DownServerID int,
@RestoreField int,
@IsCopy int,
@Islotsize bit,
@IsChain bit
AS
	UPDATE ZL_ModelField 
	SET 
	FieldAlias= @FieldAlias,
	FieldTips=@FieldTips,
	[Description] = @Description,
	IsNotNull = @IsNotNull,
	IsSearchForm = @IsSearchForm,
	Content = @Content,
	ShowList=@ShowList,
	ShowWidth=@ShowWidth,
	IsShow=@IsShow,
	IsView=@IsView,
	IsDownField=@IsDownField,
	DownServerID=@DownServerID,
	RestoreField=@RestoreField,
	IsCopy=@IsCopy,
	Islotsize=@Islotsize,
	IsChain=@IsChain
	 WHERE FieldID = @FieldID and ModelID=@ModelID
	RETURN
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_ModelField_Add]
@FieldID int,
@ModelID int,
@FieldName nvarchar(50) ,
@FieldAlias nvarchar(20) ,
@FieldTips nvarchar(50),
@Description nvarchar(255) ,
@IsNotNull bit ,
@IsSearchForm bit ,
@FieldType nvarchar(50) ,
@Content ntext,
@ShowList bit,
@ShowWidth int,
@IsShow bit,
@IsView bit,
@IsDownField int,
@DownServerID int,
@RestoreField int,
@IsCopy int,
@Islotsize bit,
@OrderId int,
@Sys_type bit,
@IsChain bit
 AS
	set @OrderId=(select Max(OrderId) from [ZL_ModelField] where ModelID=@ModelID)
	if @OrderId is null
		set @OrderId=0
	else
		set @OrderId=@OrderId+1
	INSERT INTO [ZL_ModelField]
	(
		ModelID,
		FieldName,
		FieldAlias,
		FieldTips,
		[Description],
		IsNotNull,
		IsSearchForm,
		FieldType,
		Content,
		OrderId,
		ShowList,
		ShowWidth,
		IsShow,
		IsView,
		IsDownField,
		DownServerID,
		RestoreField,
		IsCopy,
		Islotsize,
		Sys_type,
		IsChain
	)
	 VALUES
	(
		@ModelID,
		@FieldName,
		@FieldAlias,
		@FieldTips,
		@Description,
		@IsNotNull,
		@IsSearchForm,
		@FieldType,
		@Content,
		@OrderId,
		@ShowList,
		@ShowWidth,
		@IsShow,
		@IsView,
		@IsDownField,
		@DownServerID,
		@RestoreField,
		@IsCopy,
		@Islotsize,
		@Sys_type,
		@IsChain
	)	
	RETURN
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_ModelField_Del]
	@FieldID int
AS
	/* SET NOCOUNT ON */ 
	delete from [ZL_ModelField] where FieldID=@FieldID
	RETURN
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_NodeList_select]
	@ParentID int
AS
SET NOCOUNT ON
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
select * from ZL_Node where ParentID=@ParentID Order by OrderID
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Node_Del]
	@NodeID int
AS
	Delete From ZL_Node Where NodeID=@NodeID
Return
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Nodes_Update]
(
	@NodeID int,
	@NodeName nvarchar(50),
	@NodeType int,
	@Tips nvarchar(4000),
	@NodeDir nvarchar(50),
	@NodeUrl nvarchar(255),
	@NodeListUrl nvarchar(255),
	@ParentID int,
	@Child int,
	@Depth int,
	@NodePicUrl nvarchar(255),
	@Description nvarchar(4000),
	@Meta_Keywords nvarchar(4000),
	@Meta_Description nvarchar(4000),
	@OpenType bit,
	@PurviewType bit,
	@CommentType bit,
	@HitsOfHot int,
	@ListTemplateFile nvarchar(255),
	@IndexTemplate nvarchar(255),
	@LastinfoTemplate nvarchar(255),
	@HotinfoTemplate nvarchar(255),
	@ProposeTemplate nvarchar(255),
	@ContentModel nvarchar(255),
	@ItemOpenType bit,
	@ContentHtmlRule int,
	@ListPageHtmlEx int,
	@ContentFileEx int,
	@HtmlPosition int,
	@NodeListType int,
	@OrderID int,
	@ConsumePoint int,
	@ConsumeType int,
	@ConsumeTime int,
	@ConsumeCount int,
	@Shares float,
	@Custom text,
	@SafeGuard int,
	@OpenTypeTrue nvarchar(50),
	@ItemOpenTypeTrue nvarchar(50),
	@NodeBySite int,
	@SiteConfige text,
	@Contribute int,
	@SiteContentAudit int,
	@AuditNodeList nvarchar(1000),
	@AddPoint int,
	@AddMoney money,
	@ClickTimeout int,
	@Purview nvarchar(1000),
	@AddUserExp int,
	@DeducUserExp int,
    @ListPageEx int,
    @LastinfoPageEx int,
    @HotinfoPageEx int,
    @ProposePageEx int,
    @Viewinglimit nvarchar(100)
)
AS
UPDATE  ZL_Node SET
	NodeName=@NodeName,
	NodeType=@NodeType,
	Tips=@Tips,
	ParentID=@ParentId,
	Depth=@Depth,
	Child=@Child,
	NodeDir=@NodeDir,
	NodeUrl=@NodeUrl,
	NodeListUrl=@NodeListUrl,
	NodePicUrl=@NodePicUrl,
	Description=@Description,			
	Meta_Keywords=@Meta_Keywords,
	Meta_Description=@Meta_Description,
	OpenType=@OpenType,
	PurviewType=@PurviewType,
	CommentType=@CommentType,
	HitsOfHot=@HitsOfHot,
	ListTemplateFile=@ListTemplateFile,
	IndexTemplate=@IndexTemplate,
	LastinfoTemplate=@LastinfoTemplate,
	HotinfoTemplate=@HotinfoTemplate,
	ProposeTemplate=@ProposeTemplate,
	ContentModel=@ContentModel,
	ItemOpenType=@ItemOpenType,
	ContentHtmlRule=@ContentHtmlRule,	
	ListPageHtmlEx=@ListPageHtmlEx,
	ContentFileEx=@ContentFileEx,
	HtmlPosition=@HtmlPosition,
	OrderID=@OrderID,
	NodeListType=@NodeListType,
	ConsumePoint=@ConsumePoint,
	ConsumeType=@ConsumeType,
	ConsumeTime=@ConsumeTime,
	ConsumeCount=@ConsumeCount,
	Shares=@Shares,
	Custom=@Custom,
	SafeGuard=@SafeGuard,
	OpenTypeTrue=@OpenTypeTrue,
	ItemOpenTypeTrue=@ItemOpenTypeTrue,
	NodeBySite=@NodeBySite,
	SiteConfige=@SiteConfige,
	Contribute=@Contribute,
	SiteContentAudit=@SiteContentAudit,
	AuditNodeList=@AuditNodeList,
	AddPoint=@AddPoint,
	AddMoney=@AddMoney,
	ClickTimeout=@ClickTimeout,
	Purview=@Purview,
	AddUserExp=@AddUserExp,
	DeducUserExp=@DeducUserExp,
    ListPageEx=@ListPageEx,
    LastinfoPageEx=@LastinfoPageEx,
    HotinfoPageEx=@HotinfoPageEx,
    ProposePageEx=@ProposePageEx,
    Viewinglimit=@Viewinglimit
	Where NodeID=@NodeID
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Nodes_Add]
(	@NodeID int,
	@NodeName nvarchar(50),
	@NodeType int,
	@Tips nvarchar(4000),
	@NodeDir nvarchar(50),
	@NodeUrl nvarchar(255),
	@NodeListUrl  nvarchar(255),
	@ParentID int,
	@Child int,
	@Depth int,
	@NodePicUrl nvarchar(255),
	@Description nvarchar(4000),
	@Meta_Keywords nvarchar(4000),
	@Meta_Description nvarchar(4000),
	@OpenType bit,
	@PurviewType bit,
	@CommentType bit,
	@HitsOfHot int,
	@ListTemplateFile nvarchar(255),
	@IndexTemplate nvarchar(255),
	@LastinfoTemplate nvarchar(255),
	@HotinfoTemplate nvarchar(255),
	@ProposeTemplate nvarchar(255),
	@ContentModel nvarchar(255),
	@ItemOpenType bit,
	@ContentHtmlRule int,
	@ListPageHtmlEx int,
	@ContentFileEx int,
	@HtmlPosition int,
	@NodeListType int,
	@OrderID int,
	@ConsumePoint int,
	@ConsumeType int,
	@ConsumeTime int,
	@ConsumeCount int,
	@Shares float,
	@Custom text,
	@SafeGuard int,
	@OpenTypeTrue nvarchar(50),
	@ItemOpenTypeTrue varchar(50),
	@NodeBySite int,
	@SiteConfige text,
	@Contribute int,
	@SiteContentAudit int,
	@AuditNodeList varchar(1000),
	@AddPoint int,
	@AddMoney money,
	@ClickTimeout int,
	@Purview nvarchar(1000),
	@AddUserExp int,
	@DeducUserExp int,
	@ListPageEx int,
    @LastinfoPageEx int,
    @HotinfoPageEx int,
    @ProposePageEx int,
    @Viewinglimit nvarchar(100)
)
AS
if @NodeID>0
	begin
		SET IDENTITY_INSERT [dbo].[ZL_Node] ON;
		  INSERT INTO [dbo].[ZL_Node] 
		(
			NodeID,
			NodeName,
			NodeType,
			Tips,
			NodeDir,
			NodeUrl,
			NodeListUrl,
			ParentID,
			Child,
			Depth,
			NodePicUrl,
			Description,
			Meta_Keywords,
			Meta_Description,
			OpenType,
			PurviewType,
			CommentType,
			HitsOfHot,
			ListTemplateFile,
			IndexTemplate,
			LastinfoTemplate,
			HotinfoTemplate,
			ProposeTemplate,
			ContentModel,
			ItemOpenType,
			ContentHtmlRule,
			ListPageHtmlEx,
			ContentFileEx,
			HtmlPosition,
			NodeListType,
			OrderID,
			ConsumePoint,
			ConsumeType,
			ConsumeTime,
			ConsumeCount,
			Shares,
			Custom,
			SafeGuard,
			OpenTypeTrue,
			ItemOpenTypeTrue,
			NodeBySite,
			SiteConfige,
			Contribute,
			SiteContentAudit,
			AuditNodeList,
			AddPoint,
			AddMoney,
			ClickTimeout,
			Purview,
			AddUserExp,
			DeducUserExp,
			ListPageEx,
			LastinfoPageEx,
			HotinfoPageEx,
			ProposePageEx
		)
		values
		(
			@NodeID,
			@NodeName,
			@NodeType,
			@Tips,
			@NodeDir,
			@NodeUrl,
			@NodeListUrl,
			@ParentID,
			@Child,
			@Depth,
			@NodePicUrl,
			@Description,
			@Meta_Keywords,
			@Meta_Description,
			@OpenType,
			@PurviewType,
			@CommentType,
			@HitsOfHot,
			@ListTemplateFile,
			@IndexTemplate,
			@LastinfoTemplate,
			@HotinfoTemplate,
			@ProposeTemplate,
			@ContentModel,
			@ItemOpenType,
			@ContentHtmlRule,
			@ListPageHtmlEx,
			@ContentFileEx,
			@HtmlPosition,
			@NodeListType,
			@OrderID,
			@ConsumePoint,
			@ConsumeType,
			@ConsumeTime,
			@ConsumeCount,
			@Shares,
			@Custom,
			@SafeGuard,
			@OpenTypeTrue,
			@ItemOpenTypeTrue,
			@NodeBySite,
			@SiteConfige,
			@Contribute,
			@SiteContentAudit,
			@AuditNodeList,
			@AddPoint,
			@AddMoney,
			@ClickTimeout,
			@Purview,
			@AddUserExp,
			@DeducUserExp,
			@ListPageEx,
			@LastinfoPageEx,
			@HotinfoPageEx,
			@ProposePageEx
		)
		SET IDENTITY_INSERT [dbo].[ZL_Node] OFF;
	 end
else
	begin
INSERT INTO [dbo].[ZL_Node] 
(
	NodeName,
	NodeType,
	Tips,
	NodeDir,
	NodeUrl,
	NodeListUrl,
	ParentID,
	Child,
	Depth,
	NodePicUrl,
	Description,
	Meta_Keywords,
	Meta_Description,
	OpenType,
	PurviewType,
	CommentType,
	HitsOfHot,
	ListTemplateFile,
	IndexTemplate,
	LastinfoTemplate,
	HotinfoTemplate,
	ProposeTemplate,
	ContentModel,
	ItemOpenType,
	ContentHtmlRule,
	ListPageHtmlEx,
	ContentFileEx,
	HtmlPosition,
	NodeListType,
	OrderID,
	ConsumePoint,
	ConsumeType,
	ConsumeTime,
	ConsumeCount,
	Shares,
	Custom,
	SafeGuard,
	OpenTypeTrue,
	ItemOpenTypeTrue,
	NodeBySite,
	SiteConfige,
	Contribute,
	SiteContentAudit,
	AuditNodeList,
	AddPoint,
	AddMoney,
	ClickTimeout,
	Purview,
	AddUserExp,
	DeducUserExp,
	ListPageEx,
    LastinfoPageEx,
    HotinfoPageEx,
    ProposePageEx
)
values
(
	@NodeName,
	@NodeType,
	@Tips,
	@NodeDir,
	@NodeUrl,
	@NodeListUrl,
	@ParentID,
	@Child,
	@Depth,
	@NodePicUrl,
	@Description,
	@Meta_Keywords,
	@Meta_Description,
	@OpenType,
	@PurviewType,
	@CommentType,
	@HitsOfHot,
	@ListTemplateFile,
	@IndexTemplate,
	@LastinfoTemplate,
	@HotinfoTemplate,
	@ProposeTemplate,
	@ContentModel,
	@ItemOpenType,
	@ContentHtmlRule,
	@ListPageHtmlEx,
	@ContentFileEx,
	@HtmlPosition,
	@NodeListType,
	@OrderID,
	@ConsumePoint,
	@ConsumeType,
	@ConsumeTime,
	@ConsumeCount,
	@Shares,
	@Custom,
	@SafeGuard,
	@OpenTypeTrue,
	@ItemOpenTypeTrue,
	@NodeBySite,
	@SiteConfige,
	@Contribute,
	@SiteContentAudit,
	@AuditNodeList,
	@AddPoint,
	@AddMoney,
	@ClickTimeout,
	@Purview,
	@AddUserExp,
	@DeducUserExp,
    @ListPageEx,
    @LastinfoPageEx,
    @HotinfoPageEx,
    @ProposePageEx
)
end
select @@IDENTITY AS newID
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Node_DelChild]
	@NodeID int
AS
	Delete From ZL_Node Where ParentID=@NodeID
Return
' 

GO
CREATE PROCEDURE [dbo].[PR_Permission_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)

SET @SQL = '
DELETE FROM
	[dbo].[ZL_Permission]
WHERE
	' + @WhereCondition
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_Permission_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
SELECT
	' + @SelectCondition + '
FROM
	[dbo].[ZL_Permission]
WHERE
	' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + '
ORDER BY
	' + @OrderByExpression
END

EXEC sp_executesql @SQL


GO
EXEC dbo.sp_executesql @statement = N'
CREATE proc [dbo].[PR_ShopCommentary_Bytype]
@type int,
@Comid int
as
if @type=0
 select * from ZL_ShopCommentary where ComType=0 and Istopic=1 and istrue=1 order by Addtime desc,id desc
if @type=1
 select * from ZL_ShopCommentary where ComType=1 and Istopic=1 and istrue=1 order by Addtime desc,id desc
if @type=2
 select * from ZL_ShopCommentary where ComType=2 and Istopic=1 and istrue=1 order by Addtime desc,id desc
if @type=3
 select * from ZL_ShopCommentary where ComType=0 and Istopic=1 order by Addtime desc,id desc
if @type=4
 select * from ZL_ShopCommentary where ComType=1 and Istopic=1 order by Addtime desc,id desc
if @type=5
 select * from ZL_ShopCommentary where ComType=2 and Istopic=1 order by Addtime desc,id desc
if @type=6
 select * from ZL_ShopCommentary where ComType=0 and Istopic=0 and Comid=@Comid and istrue=1 order by Addtime desc,id desc
if @type=7
 select * from ZL_ShopCommentary where ComType=1 and Istopic=0 and Comid=@Comid and istrue=1 order by Addtime desc,id desc
if @type=8
 select * from ZL_ShopCommentary where ComType=2 and Istopic=0 and Comid=@Comid and istrue=1 order by Addtime desc,id desc
if @type=9
 select * from ZL_ShopCommentary where ComType=0 and Istopic=0 and Comid=@Comid order by Addtime desc,id desc
if @type=10
 select * from ZL_ShopCommentary where ComType=1 and Istopic=0 and Comid=@Comid order by Addtime desc,id desc
if @type=11
 select * from ZL_ShopCommentary where ComType=2 and Istopic=0 and Comid=@Comid order by Addtime desc,id desc
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE proc [dbo].[PR_AdZone_Copy]
@zone int
as
declare
@ZoneId int,
@ZoneName nvarchar(100),
@ZoneJSName nvarchar(100),
@ZoneIntro  nvarchar(255),
@ZoneType   int ,
@DefaultSetting bit,
@ZoneSetting nvarchar(255),
@ZoneWidth int ,
@ZoneHeight int,
@Active bit,
@ShowType int ,
@UpdateTime datetime,
@Sales int
select @ZoneName=''复制''+ZoneName,@ZoneJSName=ZoneJSName,@ZoneIntro=ZoneIntro,@ZoneType=ZoneType,@DefaultSetting=DefaultSetting,@ZoneSetting=ZoneSetting,
@ZoneWidth=ZoneWidth,@ZoneHeight=ZoneHeight,@Active=Active,@ShowType=ShowType,@UpdateTime=UpdateTime,@Sales=Sales 
from dbo.ZL_AdZone
where ZoneID=@zone
select  @ZoneId=max(ZoneID)+1 from ZL_AdZone
declare @year varchar(4)
declare @month varchar(2)
set @year = datepart(yy,getdate()) 
set @month = datepart(mm,getdate())

--begin
--if @month<10
--set @month=''0'' + @month
--end

set @ZoneJSName=@year+@month+''/''+CAST(@ZoneId as varchar)+''.js''
insert dbo.ZL_AdZone values(@ZoneId,@ZoneName,@ZoneJSName,@ZoneIntro,@ZoneType,@DefaultSetting,@ZoneSetting,@ZoneWidth,@ZoneHeight,@Active,@ShowType,@UpdateTime,@Sales)
select @ZoneId as ''newID''
' 

GO
CREATE PROCEDURE [dbo].[PR_PrintType_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
DELETE FROM
	[dbo].[ZL_PrintType]
WHERE
	' + @WhereCondition
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_PrintType_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
SELECT
	' + @SelectCondition + '
FROM
	[dbo].[ZL_PrintType]
WHERE
	' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + '
ORDER BY
	' + @OrderByExpression
END

EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_Print_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)

SET @SQL = '
DELETE FROM
	[dbo].[ZL_Print]
WHERE
	' + @WhereCondition

EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_Print_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS

DECLARE @SQL nvarchar(3250)

SET @SQL = '
SELECT
	' + @SelectCondition + '
FROM
	[dbo].[ZL_Print]
WHERE
	' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + '
ORDER BY
	' + @OrderByExpression
END

EXEC sp_executesql @SQL

GO
--功能说明：为批量导入数据新建模板时动态添内容和创建表
--新建模板添加内容到zl_model/字段加入zl_modelField/根据字段创建内容表

IF EXISTS (SELECT name FROM sysobjects WHERE name = 'PR_ModelField_Single_NewTable' AND type = 'P')
   DROP PROCEDURE PR_ModelField_Single_NewTable
   
GO
CREATE  proc [dbo].[PR_ModelField_Single_NewTable]
@NodeID int,
@ModelName NVarChar(50),
@TableName nvarchar(50),
@FieldNames nvarchar(1000) ,--接收以分号分隔的字段名称
@FieldAliass nvarchar(1000)--接收以分号分隔的字段描述 此功能暂未开发
--@FieldTypes nvarchar(50)--统一字段类型nvarchar 255 TextType
AS
select * from ZL_Model
	declare @ModelID int
	INSERT INTO 
	[ZL_Model] 
	(  
		[ModelName],  
		[TableName],
		ItemName,
	 	ModelType,
	    MultiFlag,
		ItemIcon
		)
		VALUES
		(
		@ModelName,	
		@TableName,
		@ModelName,
		1,1,'Default.gif'
		)
	
	--获取模型id
	select @ModelID = @@identity

	--更新此模型与Node的关联
	update zl_Node set contentmodel=
	case contentmodel when '' then cast(@ModelID as varchar(10))
		else contentmodel+','+cast(@ModelID as varchar(10)) end
	where nodeid=@NodeID
	
	declare @fieldname   varchar(50),   
		@s_point   int,   
		@t_point   int,   
		--@t   int,
		@fieldnamesublen   int,
		@pos   int   
    
	--临时变量   
	select @s_point=0,@t_point=0,@pos=0
	--获取第一个值
	select   @t_point=charindex(';',@fieldNames,@s_point) 

	--存储创建表sql语句的变量
	declare @creatTable nvarchar(1000)
	set @creatTable = N'CREATE TABLE dbo.'+ @TableName+' ([ID] [int] IDENTITY (1, 1) PRIMARY Key'

	while(1=1)
	begin
		if @t_point>0
		begin
			set   @fieldnamesublen=@t_point-@s_point
			set   @fieldname=rtrim(ltrim(substring(@fieldNames,@s_point,@fieldnamesublen)))
			--insert   filed(modelid,fieldname,FieldAlias,FieldType)  values(@modelId,@fieldname,@fieldname,'textType')
		end
		else
		begin
			set   @fieldnamesublen=datalength(@fieldNames)-@t_point+1
			set   @fieldname=rtrim(ltrim(substring(@fieldNames,@s_point,@fieldnamesublen)))
			--insert   filed(modelid,fieldname,FieldAlias,FieldType)  values(@modelId,@fieldname,@fieldname,'textType')
		
		end
		insert into  ZL_ModelField(modelid,fieldname,FieldAlias,FieldType,content)  values(@modelId,@fieldname,@fieldname,'TextType','TitleSize=35,IsPassword=text,DefaultValue=')
		set @creatTable = @creatTable + N',' +  @fieldname + N' nvarchar(255)' 	
		if   @t_point<=0	
	 		goto tend
	-- 	
	 	select   @s_point=@t_point+1
	 	select   @t_point=charindex(';',@fieldNames,@s_point)
		
	end 
	    tend:
	 	set @creatTable = @creatTable + N')'
		execute sp_executesql @creatTable
	return @ModelID

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_UnionInfo_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_UnionInfo]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'CREATE PROCEDURE [dbo].[PR_pagelistContent]
@tablename nvarchar(50),
@fieldname nvarchar(50)=''*'',
@pagesize int,--每页显示记录条数
@currentpage int,--第几页
@GeneralIDs  nvarchar(500),--ids
@orderid nvarchar(50),--主键排序
@sort int,--排序方式，1表示升序，0表示降序排列
@rowcount int output,--总记录数，共有几条信息
@pagecount int output--总页数，共有多少页

AS
declare @countsql nvarchar(4000)
declare @sql nvarchar(4000)
declare @subsql nvarchar(4000)--not in子sql语句
declare @tmpOrderid nvarchar(50)
--返回总记录数，并赋值给输出参数@rowcount
set @countsql=''select @totalcount=count(*) from ''+@tablename +'' where ''+@orderid+''  in (''+@GeneralIDs+'' )''
exec sp_executesql @countsql,N''@totalcount int out'',@rowcount output

--判断字段名是否为空
if @fieldname is null or @fieldname=''''
set @fieldname='' * ''

--判断是否排序及排序方式
if @orderid is null or @orderid=''''
set @tmpOrderid='' ''
else
begin
if @sort=0
set @tmpOrderid=''order by ''+@orderid+'' desc''
else
set @tmpOrderid=''order by ''+@orderid+'' asc''
end

--计算页数
if @rowcount%@pagesize>0
set @pagecount =(@rowcount/@pagesize)+1;
else
set @pagecount=@rowcount/@pagesize;

--分页算法实现
set @subsql=''select top''+str(@pagesize*(@currentpage-1))+'' ''+@orderid+'' from ''+@tablename+''  where  ''+@orderid+''  in ( ''+@GeneralIDs+'')''+'' ''+@tmpOrderid
set @sql=''select top''+str(@pagesize)+'' ''+@fieldname+'' from ''+@tablename+'' where ''+@orderid+'' not in (''+@subsql+'')''+''''+'' and ''+@orderid+''  in ( ''+@GeneralIDs+'')''+'' ''+@tmpOrderid
exec(@sql)' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_UnionInfo_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_UnionInfo]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'CREATE PROCEDURE [dbo].[PR_pagelistProgram]
@tablename nvarchar(50),
@fieldname nvarchar(50)=''*'',
@pagesize int,--每页显示记录条数
@currentpage int,--第几页
@sid  nvarchar(200),--ids
@orderid nvarchar(50),--主键排序
@sort int,--排序方式，1表示升序，0表示降序排列
@rowcount int output,--总记录数，共有几条信息
@pagecount int output--总页数，共有多少页

AS
declare @countsql nvarchar(4000)
declare @sql nvarchar(4000)
declare @subsql nvarchar(4000)--not in子sql语句
declare @tmpOrderid nvarchar(50)
--返回总记录数，并赋值给输出参数@rowcount

set @countsql=''select @totalcount=count(*) from ''+@tablename+'' where  ''+@sid
exec sp_executesql @countsql,N''@totalcount int out'',@rowcount output

--判断字段名是否为空
if @fieldname is null or @fieldname=''''
set @fieldname='' * ''

--判断是否排序及排序方式
if @orderid is null or @orderid=''''
set @tmpOrderid='' ''
else
begin
if @sort=0
set @tmpOrderid=''order by ''+@orderid+'' desc''
else
set @tmpOrderid=''order by ''+@orderid+'' asc''
end

--计算页数
if @rowcount%@pagesize>0
set @pagecount =(@rowcount/@pagesize)+1;
else
set @pagecount=@rowcount/@pagesize;

--分页算法实现
set @subsql=''select top''+str(@pagesize*(@currentpage-1))+'' ''+@orderid+'' from ''+@tablename+'' where ''+@sid
set @sql=''select top''+str(@pagesize)+'' ''+@fieldname+'' from ''+@tablename+'' where ''+@orderid+'' not in (''+@subsql+'')''+'' and ''+@sid+'' ''+@tmpOrderid
exec(@sql)' 

GO
EXEC dbo.sp_executesql @statement = N'CREATE PROCEDURE [dbo].[PR_pagelist]
@tablename nvarchar(50),
@fieldname nvarchar(50)=''*'',
@pagesize int,--每页显示记录条数
@currentpage int,--第几页
@orderid nvarchar(50),--主键排序
@sort int,--排序方式，1表示升序，0表示降序排列
@nodeid  int,--主键排序
@rowcount int output,--总记录数，共有几条信息
@pagecount int output--总页数，共有多少页

AS
declare @countsql nvarchar(50)
declare @sql nvarchar(400)
declare @subsql nvarchar(110)--not in子sql语句
declare @tmpOrderid nvarchar(50)
--返回总记录数，并赋值给输出参数@rowcount

set @countsql=''select @totalcount=count(*) from ''+@tablename +''  where nodeid=@nodeid''
exec sp_executesql @countsql,N''@totalcount int out'',@rowcount output

--判断字段名是否为空
if @fieldname is null or @fieldname=''''
set @fieldname='' * ''

--判断是否排序及排序方式
if @orderid is null or @orderid=''''
set @tmpOrderid='' ''
else
begin
if @sort=0
set @tmpOrderid=''order by ''+@orderid+'' desc''
else
set @tmpOrderid=''order by ''+@orderid+'' asc''
end

--计算页数
if @rowcount%@pagesize>0
set @pagecount =(@rowcount/@pagesize)+1;
else
set @pagecount=@rowcount/@pagesize;

--分页算法实现
set @subsql=''select top''+str(@pagesize*(@currentpage-1))+'' ''+@orderid+'' from ''+@tablename+''  where nodeid= ''+str(@nodeid)+@tmpOrderid
set @sql=''select top''+str(@pagesize)+'' ''+@fieldname+'' from ''+@tablename+'' where ''+@orderid+'' not in (''+@subsql+'')''+''''+'' and nodeid=''+str(@nodeid)+''''+@tmpOrderid
exec(@sql)' 

GO
CREATE PROCEDURE [dbo].[PR_Payment_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)

SET @SQL = '
SELECT
	' + @SelectCondition + '
FROM
	[dbo].[ZL_Payment]
WHERE
	' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + '
ORDER BY
	' + @OrderByExpression
END
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_PayPlat_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
DELETE FROM
	[dbo].[ZL_PayPlat]
WHERE
	' + @WhereCondition
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_PayPlat_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
SELECT
	' + @SelectCondition + '
FROM
	[dbo].[ZL_PayPlat]
WHERE
	' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + '
ORDER BY
	' + @OrderByExpression
END
EXEC sp_executesql @SQL

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MobilePay_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MobilePay]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MobilePay_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MobilePay]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END

EXEC sp_executesql @SQL

' 
GO
CREATE  proc [dbo].[PR_ModelField_AddFrom]
(@modelid int=0)
 AS

begin

declare @fieldid int
Declare Cur Cursor For Select fieldid from zl_modelfield where modelid=0 order by orderid
Open Cur
Fetch next From Cur Into @fieldid
While @@fetch_status=0     
Begin
    insert into zl_modelfield(modelid,fieldname,fieldalias,isnotnull,fieldtype,orderid,isshow,Sys_type)
select @modelid,fieldname,fieldalias,isnotnull,fieldtype,orderid,isshow,Sys_type from zl_modelfield where fieldid=@fieldid
    Fetch Next From Cur Into @fieldid
End   
Close Cur   
Deallocate Cur

return
end

Go
CREATE  proc [dbo].[pr_nodelist_find]
 @nodeid int=0 
as

declare @a int,@i int
create table #Temp(parent_id int,parent_name varchar(50))
begin

set @i=0
set @a=(select Depth from zl_node where nodeid=@nodeid)
while @i<@a-2
begin

set @nodeid=(select parentid from zl_node where nodeid=@nodeid)
insert into #temp(parent_id) select parentid from zl_node where nodeid=@nodeid
set @nodeid=(select parentid from zl_node where nodeid=@nodeid)
update #temp set parent_name=(select nodename from zl_node where nodeid=@nodeid)
where parent_id=@nodeid
set @i=@i+1
end
update #temp  set parent_name=rtrim(ltrim(parent_name))
select * from #temp order by parent_id
return
end

GO
EXEC dbo.sp_executesql @statement = N'CREATE PROCEDURE [dbo].[PR_MultiNode_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MultiNode]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MuPic_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MuPic]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MuProduct_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MuProduct]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
'

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MuPic_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MuPic]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MuProduct_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MuProduct]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MuClas_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)

SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MuClass]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MuClas_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MuClass]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MuPage_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MuPage]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 


GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MuPage_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MuPage]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MuTemp_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MuTemp]
WHERE
	'' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MoneyManage_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)

SET @SQL = ''
DELETE FROM
	[dbo].[ZL_MoneyManage]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_MoneyManage_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)

SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_MoneyManage]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
CREATE PROCEDURE [dbo].[PR_Commodities_Adds]
	@id int,
	@Class int,
	@Nodeid int,
	@ModelID int,
	@Categoryid int,
	@ProCode varchar(50),
	@BarCode varchar(50),
	@Proname varchar(255),
	@Kayword varchar(255),
	@ProUnit varchar(50),
	@Weight int,
	@ServerPeriod int,
	@ServerType int,
	@ProClass int,
	@Properties int,
	@Sales int,
	@Rateset int,
	@Proinfo text,
	@Procontent text,
	@Clearimg varchar(255),
	@Thumbnails varchar(255),
	@Producer varchar(255),
	@Brand varchar(50),
	@Allowed int,
	@Quota int,
	@DownQuota int,
	@Stock int,
	@StockDown int,
	@JisuanFs int,
	@Rate money,
	@Dengji int,
	@ShiPrice money,
	@LinPrice money,
	@Wholesales int,
	@Wholesaleone int,
	@Preset varchar(255),
	@Integral int,
	@Propeid int,
	@Recommend int,
	@Priority int,
	@AllClickNum int,
	@UpdateTime datetime,
	@ModeTemplate varchar(255),
	@AddUser varchar(50),
	@DownCar int,
	@AddTime datetime,
	@TableName varchar(50),
	@Istrue int,
	@Isgood int,
	@MakeHtml int,
	@Sold int,
	@isnew int,
	@ishot int,
	@isbest int,
	@Wholesalesinfo varchar(255),
	@ItemID int,
	@ComModelID int,
	@Largess int,
	@Largesspirx money,
	@ProjectType int,
	@ProjectPronum int,
	@ProjectMoney money,
	@IntegralNum int,
	@PesentNames nvarchar(255),
	@PesentNameid int,
	@ProSeller nvarchar(255),
        @FirstNodeID int,
        @PointVal int,
	@FarePrice nvarchar(400),
	@ExpRemind int
as
	DECLARE @OrderID int
	Set @OrderID=(select max(OrderID) from ZL_Commodities)+1
	insert into ZL_Commodities
(OrderID,Class,Nodeid,ModelID,Categoryid,ProCode,BarCode,Proname,Kayword,ProUnit,Weight,ServerPeriod,ServerType,ProClass,Properties,Sales,Proinfo,Procontent,Clearimg,Thumbnails,Producer,Brand,Allowed,Quota,DownQuota,Stock,StockDown,JisuanFs,Rate,Rateset,Dengji,ShiPrice,LinPrice,Wholesales,Wholesaleone,Preset,Integral,Propeid,Recommend,Priority,AllClickNum,UpdateTime,ModeTemplate,AddUser,DownCar,AddTime,TableName,Istrue,Isgood,MakeHtml,Sold,isnew,ishot,isbest,Wholesalesinfo,ItemID,ComModelID,Largess,Largesspirx,ProjectType,ProjectPronum,ProjectMoney,IntegralNum,PesentNames,PesentNameid,ProSeller,FirstNodeID,PointVal,FarePrice,ExpRemind)
	values
(@OrderID,@Class,@Nodeid,@ModelID,@Categoryid,@ProCode,@BarCode,@Proname,@Kayword,@ProUnit,@Weight,@ServerPeriod,@ServerType,@ProClass,@Properties,@Sales,@Proinfo,@Procontent,@Clearimg,@Thumbnails,@Producer,@Brand,@Allowed,@Quota,@DownQuota,@Stock,@StockDown,@JisuanFs,@Rate,@Rateset,@Dengji,@ShiPrice,@LinPrice,@Wholesales,@Wholesaleone,@Preset,@Integral,@Propeid,@Recommend,@Priority,@AllClickNum,@UpdateTime,@ModeTemplate,@AddUser,@DownCar,@AddTime,@TableName,@Istrue,@Isgood,@MakeHtml,@Sold,@isnew,@ishot,@isbest,@Wholesalesinfo,@ItemID,@ComModelID,@Largess,@Largesspirx,@ProjectType,@ProjectPronum,@ProjectMoney,@IntegralNum,@PesentNames,@PesentNameid,@ProSeller,@FirstNodeID,@PointVal,@FarePrice,@ExpRemind)

GO
CREATE PROCEDURE [dbo].[PR_Commodities_Updates]
	@ID int,
	@Class int,
	@Nodeid int,
	@ModelID int,
	@Categoryid int,
	@ProCode varchar(50),
	@BarCode varchar(50),
	@Proname varchar(255),
	@Kayword varchar(255),
	@ProUnit varchar(50),
	@Weight int,
	@ServerPeriod int,
	@ServerType int,
	@ProClass int,
	@Properties int,
	@Sales int,
	@Proinfo text,
	@Procontent text,
	@Clearimg varchar(255),
	@Thumbnails varchar(255),
	@Producer varchar(255),
	@Brand varchar(50),
	@Allowed int,
	@Quota int,
	@DownQuota int,
	@Stock int,
	@StockDown int,
	@JisuanFs int,
	@Rate money,
	@Rateset int,
	@Dengji int,
	@ShiPrice money,
	@LinPrice money,
	@MemberPrice varchar(255),
	@ActPrice varchar(255),
	@Wholesales int,
	@Wholesaleone int,
	@Wholesalesinfo varchar(255),
	@Preset varchar(255),
	@Integral int,
	@Propeid int,
	@Recommend int,
	@Priority int,
	@MonthClickNum int,
	@UpdateTime datetime,
	@ModeTemplate varchar(255),
	@AddUser varchar(50),
	@DownCar int,
	@AddTime datetime,
	@TableName varchar(50),
	@Istrue int,
	@Isgood int,
	@MakeHtml int,
	@Sold int,
	@isnew int,
	@ishot int,
	@isbest int,
	@ItemID int,
	@ComModelID int,
	@AllClickNum int,
	@Largess int,
	@Largesspirx money,
	@ProjectType int,
	@ProjectPronum int,
	@ProjectMoney money,
	@IntegralNum int,
	@PesentNames nvarchar(255),
	@PesentNameid int,
	@ProSeller nvarchar(255),
        @FirstNodeID int,
        @PointVal int,
	@BookPrice money,
	@bookDay int,
	@UserType int,
	@UserPrice nvarchar(50),
	@FestlPrice money,
	@FestPeriod nvarchar(255),
	@ColonelTime nvarchar(255),
	@ColoneDeposit money,
	@FarePrice nvarchar(400),
	@ExpRemind int
AS
UPDATE [dbo].[ZL_Commodities] SET
	[Class] = @Class,
	[Nodeid] = @Nodeid,
	[ModelID] = @ModelID,
	[Categoryid] = @Categoryid,
	[ProCode] = @ProCode,
	[BarCode] = @BarCode,
	[Proname] = @Proname,
	[Kayword] = @Kayword,
	[ProUnit] = @ProUnit,
	[Weight] = @Weight,
	[ServerPeriod] = @ServerPeriod,
	[ServerType] = @ServerType,
	[ProClass] = @ProClass,
	[Properties] = @Properties,
	[Sales] = @Sales,
	[Proinfo] = @Proinfo,
	[Procontent] = @Procontent,
	[Clearimg] = @Clearimg,
	[Thumbnails] = @Thumbnails,
	[Producer] = @Producer,
	[Brand] = @Brand,
	[Allowed] = @Allowed,
	[Quota] = @Quota,
	[DownQuota] = @DownQuota,
	[Stock] = @Stock,
	[StockDown] = @StockDown,
	[JisuanFs] = @JisuanFs,
	[Rate] = @Rate,
	[Rateset] = @Rateset,
	[Dengji] = @Dengji,
	[ShiPrice] = @ShiPrice,
	[LinPrice] = @LinPrice,
	[MemberPrice] = @MemberPrice,
	[ActPrice] = @ActPrice,
	[Wholesales] = @Wholesales,
	[Wholesaleone] = @Wholesaleone,
	[Wholesalesinfo] = @Wholesalesinfo,
	[Preset] = @Preset,
	[Integral] = @Integral,
	[Propeid] = @Propeid,
	[Recommend] = @Recommend,
	[Priority] = @Priority,
	[MonthClickNum] = @MonthClickNum,
	[UpdateTime] = @UpdateTime,
	[ModeTemplate] = @ModeTemplate,
	[AddUser] = @AddUser,
	[DownCar] = @DownCar,
	[AddTime] = @AddTime,
	[TableName] = @TableName,
	[Istrue] = @Istrue,
	[Isgood] = @Isgood,
	[MakeHtml] = @MakeHtml,
	[Sold] = @Sold,
	[isnew] = @isnew,
	[ishot] = @ishot,
	[isbest] = @isbest,
	[ItemID] = @ItemID,
	[ComModelID] = @ComModelID,
	[AllClickNum] = @AllClickNum,
	[Largess] = @Largess,
	[Largesspirx] = @Largesspirx,
	[ProjectType] = @ProjectType,
	[ProjectPronum] = @ProjectPronum,
	[ProjectMoney] = @ProjectMoney,
	[IntegralNum] = @IntegralNum,
	[PesentNames] = @PesentNames,
	[PesentNameid] = @PesentNameid,
	[ProSeller] = @ProSeller,
        [FirstNodeID] = @FirstNodeID,
        [PointVal]=@PointVal,
	BookPrice=@BookPrice,
	bookDay=@bookDay,
	UserType=@UserType,
	UserPrice=@UserPrice,
	FestlPrice=@FestlPrice,
	FestPeriod=@FestPeriod,
	ColonelTime=@ColonelTime,
	ColoneDeposit=@ColoneDeposit,
	FarePrice=@FarePrice,
	ExpRemind=@ExpRemind
WHERE
	[ID] = @ID

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Defray_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_Defray]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Defray_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_Defray]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
Create  proc [dbo].[pr_GetNodeIdOption] (@nodeid varchar(100),@generalid varchar(100))
as
BEGIN

CREATE TABLE #temp1(nodeid int)
while(charindex(',',@nodeid)>1)
begin
INSERT INTO #temp1 VALUES(cast(substring(@nodeid,0,charindex(',',@nodeid)) AS int))
SET @nodeid = substring(@nodeid,charindex(',',@nodeid)+1,len(@nodeid))
end 
IF len(@nodeid)>1
INSERT INTO #temp1 VALUES(cast(@nodeid AS int))

CREATE TABLE #temp2(generalid int)	
while(charindex(',',@generalid)>1)
begin
INSERT INTO #temp2 VALUES(cast(substring(@generalid,0,charindex(',',@generalid)) AS int))
SET @generalid = substring(@generalid,charindex(',',@generalid)+1,len(@generalid))
end 
IF len(@generalid)>1
INSERT INTO #temp2 VALUES(cast(@generalid AS int))


if(select count(*) from zl_node a,ZL_Model b 
where a.nodeid IN (SELECT NodeID FROM #temp1) AND b.ModelID LIKE '%'+a.contentmodel+'%'
and b.frommodel NOT in
(select b.frommodel from zl_commonmodel a,zl_model b 
where a.generalid IN (SELECT GeneralID FROM #temp2) AND a.modelid=b.modelid)
)>0
begin
select a.* from zl_node a,ZL_Model b 
where a.nodeid IN (SELECT NodeID FROM #temp1) AND b.ModelID LIKE '%'+a.contentmodel+'%'
and b.frommodel NOT in
(select b.frommodel from zl_commonmodel a,zl_model b 
where a.generalid IN (SELECT GeneralID FROM #temp2) AND a.modelid=b.modelid)
return
end


if(select count(*) from zl_node a,ZL_Model b 
where a.nodeid IN (SELECT NodeID FROM #temp1) AND b.ModelID LIKE '%'+a.contentmodel+'%'
and b.frommodel in
(select b.frommodel from zl_commonmodel a,zl_model b 
where a.generalid IN (SELECT GeneralID FROM #temp2) AND a.modelid=b.modelid)
)=(SELECT count(*)FROM #temp1)

begin
Declare @nid int,@gid int,@modelid int,@column varchar(50),@co varchar(500)
declare @sql varchar(500),@itemid varchar(200),@tbname varchar(50),@tbname1 varchar(50),@tb varchar(50)

BEGIN TRANSACTION

Declare Cur Cursor for select a.NodeID,b.ModelID,b.tablename from zl_node a,ZL_Model b 
where a.nodeid IN (SELECT NodeID FROM #temp1) AND b.ModelID LIKE '%'+a.contentmodel+'%'
and b.frommodel in
(select b.frommodel from zl_commonmodel a,zl_model b 
where a.generalid IN (SELECT GeneralID FROM #temp2) AND a.modelid=b.modelid)

Open Cur
Fetch next From Cur Into @nid,@modelid,@tb
While @@fetch_status=0     
begin

Declare Cur1 Cursor for select generalid from zl_commonmodel where  generalid IN(SELECT GeneralID FROM #temp2)
Open Cur1
Fetch next From Cur1 Into @gid
While @@fetch_status=0     
begin

insert into zl_commonmodel(nodeid,modelid,itemid,tablename,title,inputer,hits,CreateTime,status,elitelevel,
infoid,specialid,iscreate,htmllink,template,tagkey,UpDateTime,titlecolor,pdflink,cast_file)
 select @nid,@modelid,itemid,@tb,title,inputer,hits,getdate(),0,elitelevel,
infoid,specialid,iscreate,htmllink,template,tagkey,getdate(),titlecolor,pdflink,@gid from zl_commonmodel where generalid=@gid


set @tbname=(select tablename from zl_commonmodel where generalid=@gid)
set @itemid=(select itemid from zl_commonmodel where generalid=@gid)
set @tbname1=(select tablename from zl_commonmodel where generalid=(select max(generalid) from zl_commonmodel))--新内容

--将表中的所有字段获取
if(select count(*) from zl_model where modelid=(select frommodel from zl_model 
	where modeLid=(select modeLid from zl_commonmodel where generalid=@gid)))>0
begin
set @tbname=(select tablename from zl_model where modelid=(select frommodel from zl_model 
				where modeLid=(select modeLid from zl_commonmodel where generalid=@gid)))
end

set @co=''
Declare Cur4 Cursor for select column_name from information_schema.columns where table_name=
 @tbname  and column_name<>'id' order by column_name
 open cur4
fetch next from cur4 into @column
while @@fetch_status=0
begin 
	set @co=@co+@column+','
fetch next from cur4 into @column
end 
close cur4 
deallocate cur4 

set @tbname=(select tablename from zl_commonmodel where generalid=@gid)
--插入一条数据
set @co=substring(@co,1,len(@co)-1)
set @sql=' insert into '+@tbname1+'('+@co+') select '+@co+' from '+@tbname+' where id='+@itemid

exec(@sql)

--更新zl_commonmodel 中新插入的 itemid
 set @sql='update zl_commonmodel set itemid=(select max(id) from '+@tbname1+') where generalid=(select max(generalid) from zl_commonmodel)'
exec(@sql)

 Fetch Next From Cur1 Into @gid
end
Close Cur1   
Deallocate Cur1

 Fetch Next From Cur Into @nid,@modelid,@tb
end
Close Cur   
Deallocate Cur

IF @@error <> 0
BEGIN
     ROLLBACK TRANSACTION
select top 1 ' ' as NodeName from zl_node
return

end
else
begin
COMMIT TRANSACTION
select top 1 '1' as NodeName from zl_node
return 
end
end
end


GO
Create proc [dbo].[PR_CartPro_DelPre]
 @id int
AS
DECLARE @orderlistid int,@cartid int,@su money,@num int
BEGIN
	SET @orderlistid=(SELECT TOP 1 orderlistid FROM ZL_CartPro WHERE id=@id)
	SET @cartid=(SELECT TOP 1 cartid FROM ZL_CartPro WHERE id=@id)	
	delete from ZL_CartPro  where id=@id
	SET @su=isnull((SELECT sum(allmoney) FROM ZL_CartPro WHERE cartid=@cartid),0)
	SET @num=isnull((SELECT sum(pronum) FROM ZL_CartPro WHERE cartid=@cartid),0)	
	
	UPDATE ZL_Orderinfo SET Ordersamount=@su WHERE id=@orderlistid		
	UPDATE ZL_Cart SET allmoney=@su, pronum=@num WHERE id=@cartid	
end




GO
CREATE PROCEDURE [dbo].[PR_Client_Basic_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
DELETE FROM
	[dbo].[ZL_Client_Basic]
WHERE
	' + @WhereCondition
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_Client_Basic_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)

SET @SQL = '
SELECT
	' + @SelectCondition + '
FROM
	[dbo].[ZL_Client_Basic]
WHERE
	' + @WhereCondition

IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + '
ORDER BY
	' + @OrderByExpression
END
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_Client_Enterprise_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
DELETE FROM
	[dbo].[ZL_Client_Enterprise]
WHERE
	' + @WhereCondition
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_Client_Enterprise_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
SELECT
	' + @SelectCondition + '
FROM
	[dbo].[ZL_Client_Enterprise]
WHERE
	' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + '
ORDER BY
	' + @OrderByExpression
END
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_Client_Penson_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
DELETE FROM
	[dbo].[ZL_Client_Penson]
WHERE
	' + @WhereCondition
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_Client_Penson_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
SELECT
	' + @SelectCondition + '
FROM
	[dbo].[ZL_Client_Penson]
WHERE
	' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + '
ORDER BY
	' + @OrderByExpression
END
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_Client_Service_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
DELETE FROM
	[dbo].[ZL_Client_Service]
WHERE
	' + @WhereCondition
EXEC sp_executesql @SQL

GO
CREATE PROCEDURE [dbo].[PR_Client_Service_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = '
SELECT
	' + @SelectCondition + '
FROM
	[dbo].[ZL_Client_Service]
WHERE
	' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + '
ORDER BY
	' + @OrderByExpression
END
EXEC sp_executesql @SQL

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_VJobInfo_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_VJobInfo]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_VJobInfo_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_VJobInfo]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_VideoInfo_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_VideoInfo]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO


GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_TSQL]
@tsql varchar(1500)
With ENCRYPTION AS
exec(@tsql)
'
go

CREATE proc [dbo].[PR_Chart_Remove]
@ChartID int
as
delete dbo.ZL_Chart from dbo.ZL_Chart where ChartID=@ChartID
GO

CREATE  proc [dbo].[PR_Chart_Upadte]
@ChartID int,
@ChartTitle nvarchar(255),
@ChartType nvarchar(255),
@ChartUnit  nvarchar(255),
@ChartWidth   int ,
@ChartHeight  int ,
@CharData ntext
as 
update dbo.ZL_Chart
set  ChartTitle=@ChartTitle,ChartType=@ChartType,ChartUnit=@ChartUnit,
ChartWidth=@ChartWidth,ChartHeight=@ChartHeight,CharData=@CharData
where ChartID=@ChartID


GO
EXEC dbo.sp_executesql @statement = N'
CREATE  proc [dbo].[PR_Map_Add]
@mid int,
@lx nvarchar(100),
@ly nvarchar(100),
@lz int,
@uid  int ,
@flag bit ,
@CreateTime datetime,
@type nchar(40)
as 
insert into ZL_Map
(
lx,
ly,
lz,
uid,
flag,
CreateTime,
type
) values(
@lx,
@ly,
@lz,
@uid,
@flag,
@CreateTime,
@type
)
select @@IDENTITY AS newID 
' 

GO  
EXEC dbo.sp_executesql @statement = N'
Create PROCEDURE [dbo].[PR_CoinHis_Add]
(
@UserID int,
@Operator int,
@Detail nvarchar(1000),
@SilverCoin money,
@HisTime datetime,
@OperatorIP nvarchar(50)
)
AS
Insert Into ZL_UserCoinHis 
(
UserID,
Operator,
Detail,
SilverCoin,
HisTime,
OperatorIP
)
values
(
@UserID,
@Operator,
@Detail,
@SilverCoin,
@HisTime,
@OperatorIP
)
select @@IDENTITY AS newID 
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE  proc [dbo].[PR_MailTemp_Add]
@ID int,
@TempName nvarchar(50),
@Pic nvarchar(255),
@Type  int,
@AddUser   NVarChar(50),
@CreateTime DateTime,
@Content NText 
as 
insert into ZL_MailTemp
( 
TempName,
Pic,
Type,
AddUser,
CreateTime,
Content 
) values( 
@TempName,
@Pic,
@Type,
@AddUser,
@CreateTime,
@Content 
)
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_VideoInfo_Select_Where]
@WhereCondition nvarchar(500),
@SelectCondition nvarchar(500),
@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_VideoInfo]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_VideoHouseApply_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_VideoHouseApply]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_VideoHouseApply_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_VideoHouseApply]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_VideoHouse_Delete_Where]
@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_VideoHouse]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_VideoHouse_Select_Where]
	@WhereCondition nvarchar(500),
	@SelectCondition nvarchar(500),
	@OrderByExpression nvarchar(250) = NULL
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
SELECT
	'' + @SelectCondition + ''
FROM
	[dbo].[ZL_VideoHouse]
WHERE
	'' + @WhereCondition
IF @OrderByExpression IS NOT NULL AND LEN(@OrderByExpression) > 0
BEGIN
	SET @SQL = @SQL + ''
ORDER BY
	'' + @OrderByExpression
END
EXEC sp_executesql @SQL
' 

GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_BossInfo_Delete_Where]
	@WhereCondition nvarchar(500)
AS
DECLARE @SQL nvarchar(3250)
SET @SQL = ''
DELETE FROM
	[dbo].[ZL_BossInfo]
WHERE
	'' + @WhereCondition
EXEC sp_executesql @SQL
'
GO
CREATE PROCEDURE [dbo].[PR_Manage_Add]
(
@AdminName nvarchar(50),
@AdminPassword nvarchar(100),
@UserName nvarchar(255),
@EnableMultiLogin bit,
@LastLoginIp nvarchar(50),
@IsLock bit,
@EnableModifyPassword bit,
@AdminRole ntext,
@Theme nvarchar(50),
@RndPassword nvarchar(50),
@NodeRole int,
@PubRole int,
@DefaultStart int,
@AdminType int,
@ManageNode nvarchar(500),
@AddUserID int,
@AdminTrueName nvarchar(50),
@IsTable int,
@StructureID nvarchar(255)
)
AS
INSERT INTO [dbo].[ZL_Manager] (
[AdminName],
[AdminPassword],
[UserName],
[EnableMultiLogin],
[LastLoginIP],
[IsLock],
[EnableModifyPassword],
[AdminRole],
[Theme],
[RandNumber],
[NodeRole],
[PubRole],
[DefaultStart],
[AdminType],
[ManageNode],
[AddUserID],
[AdminTrueName],
[IsTable],
[StructureID]
) VALUES (
@AdminName,
@AdminPassword,
@UserName,
@EnableMultiLogin,
@LastLoginIP,
@IsLock,
@EnableModifyPassword,
@AdminRole,
@Theme,
@RndPassword,
@NodeRole,
@PubRole,
@DefaultStart,
@AdminType,
@ManageNode,
@AddUserID,
@AdminTrueName,
@IsTable,
@StructureID
)
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_AnswerRe_Add]
(
@SID int,
@UserID int,
@SubmitIP nvarchar(50),
@SubmitDate datetime,
@Status int
)
AS
DECLARE @str varchar	
insert into ZL_Answer_Recode (SID,UserID,SubmitIP,SubmitDate,Status)values(
@SID,         
@UserID,         
@SubmitIP,
@SubmitDate,
@Status)
'
GO
EXEC dbo.sp_executesql @statement = N'
CREATE PROCEDURE [dbo].[PR_Answer_Add]
(
@AID int,
@SurveyID int,
@QID int,
@AnswerContent Text,
@UserID int,
@SubmitDate Datetime,
@SubmitIP nvarchar(50)
)
AS
BEGIN
insert into ZL_ANSWER (SurveyID,QID,AnswerContent,UserID,SubmitDate,SubmitIP)values(
 @SurveyID,
 @QID,
 @AnswerContent,
 @UserID,
 @SubmitDate,
 @SubmitIP
)   
END
' 
--end 1500203