表名:ZL_Order_Repair












序号列名数据类型长度小数位标识主键外键允许空默认值说明
1IDint40   
2ProNumint40    提交数量
3Deailtnvarchar10000    问题描述
4ProImgsnvarchar20000    商品图片信息
5CretTypenvarchar1000    凭据类型
6ReProTypeint40    收货类型
7TakeProCountynvarchar5000    取货省市
8TakeProAddressnvarchar10000    取货详细地址
9ReProCountynvarchar5000    收货省市
10ReProAddressnvarchar10000    收货详细地址
11UserNamenvarchar5000    用户姓名
12Phonenvarchar1000    联系电话
13ProIDint40    商品id
14CDatedatetime83    申请时间
15TakeTimedatetime83    取货时间
16Statusint40    返修单状态 1,审核  2,未审核
17UserIDint40    用户id
18ServiceTypenvarchar5000    服务类型  1,退货  2,换货  3,维修
19OrderNOnvarchar5000    订单号
20CartIDint40    售后所绑定的历史购物记录ID
21ApplyTypeint40    0:cart,1:order
22AdminRemindnvarchar40000    返修管理员备注
23AdminDatenvarchar2000    管理员备注日期

简要说明:

订单售后申请表

GO
CREATE TABLE [dbo].[ZL_Order_Repair](
[ID] [int] IDENTITY(1,1) NOT NULL,
[ProNum] [int] NULL,
[Deailt] [nvarchar](1000) NULL,
[ProImgs] [nvarchar](2000) NULL,
[CretType] [nvarchar](100) NULL,
[ReProType] [int] NULL,
[TakeProCounty] [nvarchar](500) NULL,
[TakeProAddress] [nvarchar](1000) NULL,
[ReProCounty] [nvarchar](500) NULL,
[ReProAddress] [nvarchar](1000) NULL,
[UserName] [nvarchar](500) NULL,
[Phone] [nvarchar](100) NULL,
[ProID] [int] NULL,
[CDate] [datetime] NULL,
[TakeTime] [datetime] NULL,
[Status] [int] NULL,
[UserID] [int] NULL,
[ServiceType] [nvarchar](500) NULL,
[OrderNO] [nvarchar](500) NULL,
[CartID] [int] NULL,
[ApplyType] [int] NULL,
CONSTRAINT [PK_ZL_OrderRepair] 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]

--注意:将清空全表数据

detele from ZL_Order_Repair

--注意:将删除整个表

drop table ZL_Order_Repair

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

TRUNCATE table ZL_Order_Repair