记得上下班打卡 | 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
9d7d3b13
Commit
9d7d3b13
authored
Aug 19, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+++
parent
72c255f7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
23 deletions
+30
-23
member_voucher_refund.sql
docu/member_voucher_refund.sql
+11
-10
CandyCouponCode.java
...a/com/liquidnet/service/candy/entity/CandyCouponCode.java
+8
-4
db_ln_candy_initialdata.sql
...idnet-service-candy-impl/docu/db_ln_candy_initialdata.sql
+11
-9
No files found.
docu/member_voucher_refund.sql
View file @
9d7d3b13
...
...
@@ -116,10 +116,11 @@ create table candy_coupon_code
state
tinyint
comment
'状态[0-未使用|1-已使用|2-失效|3-退回]'
,
redeem_uid
varchar
(
64
)
comment
'兑换用户UID'
,
redeem_mobile
varchar
(
64
)
comment
'兑换用户手机号'
,
redeem_at
datetime
(
3
)
comment
'兑换时间'
,
created_at
datetime
(
3
)
not
null
,
updated_at
datetime
(
3
),
redeem_at
datetime
(
3
)
comment
'兑换时间'
,
comment
varchar
(
255
)
)
engine
=
InnoDB
comment
'券码信息'
;
...
...
liquidnet-bus-do/liquidnet-service-candy-do/src/main/java/com/liquidnet/service/candy/entity/CandyCouponCode.java
View file @
9d7d3b13
...
...
@@ -43,16 +43,20 @@ public class CandyCouponCode implements Serializable {
* 兑换用户UID
*/
private
String
redeemUid
;
private
LocalDateTime
createdAt
;
private
LocalDateTime
updatedAt
;
/**
* 兑换用户手机号
*/
private
String
redeemMobile
;
/**
* 兑换时间
*/
private
LocalDateTime
redeemAt
;
private
LocalDateTime
createdAt
;
private
LocalDateTime
updatedAt
;
private
String
comment
;
...
...
liquidnet-bus-service/liquidnet-service-candy/liquidnet-service-candy-impl/docu/db_ln_candy_initialdata.sql
View file @
9d7d3b13
...
...
@@ -91,10 +91,11 @@ create table candy_coupon_code
state
tinyint
comment
'状态[0-未使用|1-已使用|2-失效|3-退回]'
,
redeem_uid
varchar
(
64
)
comment
'兑换用户UID'
,
redeem_mobile
varchar
(
64
)
comment
'兑换用户手机号'
,
redeem_at
datetime
(
3
)
comment
'兑换时间'
,
created_at
datetime
(
3
)
not
null
,
updated_at
datetime
(
3
),
redeem_at
datetime
(
3
)
comment
'兑换时间'
,
comment
varchar
(
255
)
)
engine
=
InnoDB
comment
'券码信息'
;
...
...
@@ -121,6 +122,7 @@ create table candy_user_coupon
create
unique
index
uidx_candy_user_coupon_id
on
candy_user_coupon
(
ucoupon_id
);
create
index
idx_candy_ucoupon_uid_state
on
candy_user_coupon
(
uid
,
state
);
-- >>------------------------------------------------------------------------------------
-- >>------------------------------------------------------------------------------------
-- >>------------------------------------------------------------------------------------
-- >>------------------------------------------------------------------------------------
...
...
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