记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
3cd2a63e
Commit
3cd2a63e
authored
Nov 02, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~sql;
parent
db5c62cb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
20210927_member_voucher_refund.sql
docu/20210927_member_voucher_refund.sql
+2
-2
db_ln_adam_initialdata.sql
...quidnet-service-adam-impl/docu/db_ln_adam_initialdata.sql
+3
-3
No files found.
docu/20210927_member_voucher_refund.sql
View file @
3cd2a63e
...
@@ -56,7 +56,7 @@ alter table adam_member_price modify price_fixed decimal(8, 2) null comment '购
...
@@ -56,7 +56,7 @@ alter table adam_member_price modify price_fixed decimal(8, 2) null comment '购
alter
table
adam_member_price
add
price_special
decimal
(
8
,
2
)
null
comment
'特价:首次、首年优惠价'
after
price_fixed
;
alter
table
adam_member_price
add
price_special
decimal
(
8
,
2
)
null
comment
'特价:首次、首年优惠价'
after
price_fixed
;
#
会员码表调整
#
会员码表调整
alter
table
adam_member_code
modify
state
tinyint
null
comment
'状态[0-可用|1-已用|2-无效
|3-过期|4-失效|5-退回
]'
;
alter
table
adam_member_code
modify
state
tinyint
null
comment
'状态[0-可用|1-已用|2-无效]'
;
create
index
idx_amember_code_id
on
adam_member_code
(
code
);
create
index
idx_amember_code_id
on
adam_member_code
(
code
);
alter
table
adam_member_code
add
validity
int
null
comment
'有效期(单位天)'
after
state
;
alter
table
adam_member_code
add
validity
int
null
comment
'有效期(单位天)'
after
state
;
alter
table
adam_member_code
add
effect_at
datetime
(
3
)
null
comment
'生效时间'
after
validity
;
alter
table
adam_member_code
add
effect_at
datetime
(
3
)
null
comment
'生效时间'
after
validity
;
...
@@ -163,7 +163,7 @@ create table adam_member_code_batch
...
@@ -163,7 +163,7 @@ create table adam_member_code_batch
)
engine
=
InnoDB
comment
'会员码批次记录'
;
)
engine
=
InnoDB
comment
'会员码批次记录'
;
create
index
idx_adam_member_code_batch_no
on
adam_member_code_batch
(
batch_no
);
create
index
idx_adam_member_code_batch_no
on
adam_member_code_batch
(
batch_no
);
alter
table
adam_member_code
add
batch_no
int
null
comment
'~`adam_member_code_batch.batch_no`'
after
mid
;
alter
table
adam_member_code
add
batch_no
varchar
(
30
)
null
comment
'~`adam_member_code_batch.batch_no`'
after
type
;
#
-- >>------------------------------------------------------------------------------------ |20210817会员与券改版
#
-- >>------------------------------------------------------------------------------------ |20210817会员与券改版
#
券发放管理
#
券发放管理
drop
table
if
exists
candy_mgt_coupon
;
drop
table
if
exists
candy_mgt_coupon
;
...
...
liquidnet-bus-service/liquidnet-service-adam/liquidnet-service-adam-impl/docu/db_ln_adam_initialdata.sql
View file @
3cd2a63e
...
@@ -306,7 +306,7 @@ drop table if exists adam_member_code;
...
@@ -306,7 +306,7 @@ drop table if exists adam_member_code;
create
table
adam_member_code
create
table
adam_member_code
(
(
mid
bigint
unsigned
auto_increment
primary
key
,
mid
bigint
unsigned
auto_increment
primary
key
,
code
varchar
(
2
0
)
comment
'会员码'
,
code
varchar
(
3
0
)
comment
'会员码'
,
type
int
default
0
comment
'类型:1-购买,2-赠送(后台生成)'
,
type
int
default
0
comment
'类型:1-购买,2-赠送(后台生成)'
,
member_id
varchar
(
64
)
comment
'会员ID'
,
member_id
varchar
(
64
)
comment
'会员ID'
,
member_price_id
varchar
(
64
)
comment
'会员价格ID'
,
member_price_id
varchar
(
64
)
comment
'会员价格ID'
,
...
@@ -354,7 +354,7 @@ alter table adam_member_price modify price_fixed decimal(8, 2) null comment '购
...
@@ -354,7 +354,7 @@ alter table adam_member_price modify price_fixed decimal(8, 2) null comment '购
alter
table
adam_member_price
add
price_special
decimal
(
8
,
2
)
null
comment
'特价:首次、首年优惠价'
after
price_fixed
;
alter
table
adam_member_price
add
price_special
decimal
(
8
,
2
)
null
comment
'特价:首次、首年优惠价'
after
price_fixed
;
#
会员码表调整
#
会员码表调整
alter
table
adam_member_code
modify
state
tinyint
null
comment
'状态[0-可用|1-已用|2-无效
|3-过期|4-失效|5-退回
]'
;
alter
table
adam_member_code
modify
state
tinyint
null
comment
'状态[0-可用|1-已用|2-无效]'
;
create
index
idx_amember_code_id
on
adam_member_code
(
code
);
create
index
idx_amember_code_id
on
adam_member_code
(
code
);
alter
table
adam_member_code
add
validity
int
null
comment
'有效期(单位天)'
after
state
;
alter
table
adam_member_code
add
validity
int
null
comment
'有效期(单位天)'
after
state
;
alter
table
adam_member_code
add
effect_at
datetime
(
3
)
null
comment
'生效时间'
after
validity
;
alter
table
adam_member_code
add
effect_at
datetime
(
3
)
null
comment
'生效时间'
after
validity
;
...
@@ -460,7 +460,7 @@ create table adam_member_code_batch
...
@@ -460,7 +460,7 @@ create table adam_member_code_batch
)
engine
=
InnoDB
comment
'会员码批次记录'
;
)
engine
=
InnoDB
comment
'会员码批次记录'
;
create
index
idx_adam_member_code_batch_no
on
adam_member_code_batch
(
batch_no
);
create
index
idx_adam_member_code_batch_no
on
adam_member_code_batch
(
batch_no
);
alter
table
adam_member_code
add
batch_no
int
null
comment
'~`adam_member_code_batch.batch_no`'
after
mid
;
alter
table
adam_member_code
add
batch_no
varchar
(
30
)
null
comment
'~`adam_member_code_batch.batch_no`'
after
type
;
-- >>------------------------------------------------------------------------------------|20211011手机号地域记录
-- >>------------------------------------------------------------------------------------|20211011手机号地域记录
drop
table
if
exists
adam_user_mobile_locate
;
drop
table
if
exists
adam_user_mobile_locate
;
create
table
adam_user_mobile_locate
create
table
adam_user_mobile_locate
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment