|
|
--订单地址管理
|
|
create table tb_freight (
|
|
id int identity, --自增阿弟
|
|
title nvarchar(100) null, --物流方式
|
|
gudingyf nvarchar(255) null default'', --固定运费
|
|
yuanmian nvarchar(255) null default'', --满元免
|
|
yuanjifei nvarchar(255) null default'', --不满元计费
|
|
jianmian nvarchar(255) null default'', --满件免
|
|
jianjifei nvarchar(255) null default'', --不满件计费
|
|
content nvarchar(255) null default'', --整合内容
|
|
paixu int null default 0, --排序
|
|
state int null default 0, --是否使用{0/是,1/否}
|
|
add_time datetime null default getdate(), --创建日期
|
|
constraint PK_TB_FREIGHT primary key (id)
|
|
)
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'自增阿弟',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'id'
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'物流方式',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'title'
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'固定运费',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'gudingyf'
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'满元免',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'yuanmian'
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'不满元计费',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'yuanjifei'
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'满件免',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'jianmian'
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'不满件计费',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'jianjifei'
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'整合内容',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'content'
|
|
go
|
|
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'排序',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'paixu'
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'是否使用{0/是,1/否}',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'state'
|
|
go
|
|
|
|
declare @CurrentUser sysname
|
|
select @CurrentUser = user_name()
|
|
execute sp_addextendedproperty 'MS_Description',
|
|
'创建日期',
|
|
'user', @CurrentUser, 'table', 'tb_freight', 'column', 'add_time'
|
|
go
|
|
|