记得上下班打卡 | 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
fd1f6c92
Commit
fd1f6c92
authored
Sep 26, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
~sql:会员码管理:批次;
parent
418a101c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
20210927_member_voucher_refund.sql
docu/20210927_member_voucher_refund.sql
+4
-1
db_ln_adam_initialdata.sql
...quidnet-service-adam-impl/docu/db_ln_adam_initialdata.sql
+3
-1
No files found.
docu/20210927_member_voucher_refund.sql
View file @
fd1f6c92
...
@@ -137,6 +137,7 @@ create table adam_user_busi_acct
...
@@ -137,6 +137,7 @@ create table adam_user_busi_acct
)
engine
=
InnoDB
comment
'用户业务服务账号表'
;
)
engine
=
InnoDB
comment
'用户业务服务账号表'
;
create
index
idx_adam_user_busi_acct_uid
on
adam_user_busi_acct
(
uid
);
create
index
idx_adam_user_busi_acct_uid
on
adam_user_busi_acct
(
uid
);
-- >>------------------------------------------------------------------------------------|20210924会员码管理
-- >>------------------------------------------------------------------------------------|20210924会员码管理
-- >>------------------------------------------------------------------------------------|20210924会员码管理
drop
table
if
exists
adam_member_code_batch
;
drop
table
if
exists
adam_member_code_batch
;
create
table
adam_member_code_batch
create
table
adam_member_code_batch
(
(
...
@@ -148,7 +149,7 @@ create table adam_member_code_batch
...
@@ -148,7 +149,7 @@ create table adam_member_code_batch
member_combo
varchar
(
80
)
comment
'套餐包名称'
,
member_combo
varchar
(
80
)
comment
'套餐包名称'
,
gen_num
int
comment
'生成数量'
,
gen_num
int
comment
'生成数量'
,
use_num
int
comment
'使用数量'
,
use_num
int
comment
'使用数量'
,
`describe`
varchar
(
64
)
comment
'描述'
,
detail
varchar
(
255
)
comment
'描述'
,
validity
int
comment
'有效期(单位天)'
,
validity
int
comment
'有效期(单位天)'
,
effect_at
datetime
(
3
)
null
comment
'生效时间'
,
effect_at
datetime
(
3
)
null
comment
'生效时间'
,
expire_at
datetime
(
3
)
null
comment
'失效时间'
,
expire_at
datetime
(
3
)
null
comment
'失效时间'
,
...
@@ -161,6 +162,8 @@ create table adam_member_code_batch
...
@@ -161,6 +162,8 @@ create table adam_member_code_batch
comment
varchar
(
255
)
comment
varchar
(
255
)
)
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
;
#
-- >>------------------------------------------------------------------------------------ |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 @
fd1f6c92
...
@@ -446,7 +446,7 @@ create table adam_member_code_batch
...
@@ -446,7 +446,7 @@ create table adam_member_code_batch
member_combo
varchar
(
80
)
comment
'套餐包名称'
,
member_combo
varchar
(
80
)
comment
'套餐包名称'
,
gen_num
int
comment
'生成数量'
,
gen_num
int
comment
'生成数量'
,
use_num
int
comment
'使用数量'
,
use_num
int
comment
'使用数量'
,
`describe`
varchar
(
64
)
comment
'描述'
,
detail
varchar
(
255
)
comment
'描述'
,
validity
int
comment
'有效期(单位天)'
,
validity
int
comment
'有效期(单位天)'
,
effect_at
datetime
(
3
)
null
comment
'生效时间'
,
effect_at
datetime
(
3
)
null
comment
'生效时间'
,
expire_at
datetime
(
3
)
null
comment
'失效时间'
,
expire_at
datetime
(
3
)
null
comment
'失效时间'
,
...
@@ -459,5 +459,7 @@ create table adam_member_code_batch
...
@@ -459,5 +459,7 @@ create table adam_member_code_batch
comment
varchar
(
255
)
comment
varchar
(
255
)
)
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
;
-- >>------------------------------------------------------------------------------------
-- >>------------------------------------------------------------------------------------
-- >>------------------------------------------------------------------------------------
-- >>------------------------------------------------------------------------------------
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