记得上下班打卡 | 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
fc1bd9c1
Commit
fc1bd9c1
authored
Oct 25, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add activityNum
parent
7e8a3a77
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
0 deletions
+21
-0
SweetIntegralActivityFromParam.java
...sweet/dto/param/admin/SweetIntegralActivityFromParam.java
+4
-0
IntegralActivityVo.java
...om/liquidnet/service/sweet/dto/vo/IntegralActivityVo.java
+3
-0
SweetIntegralActivityVo.java
...t/service/sweet/dto/vo/admin/SweetIntegralActivityVo.java
+3
-0
SweetIntegralActivityDto.java
...liquidnet/service/sweet/dto/SweetIntegralActivityDto.java
+5
-0
SweetIntegralActivity.java
...liquidnet/service/sweet/entity/SweetIntegralActivity.java
+5
-0
db_sweet_integral_activity_20211020.sql
...ervice-sweet/docu/db_sweet_integral_activity_20211020.sql
+1
-0
No files found.
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/dto/param/admin/SweetIntegralActivityFromParam.java
View file @
fc1bd9c1
...
...
@@ -46,6 +46,10 @@ public class SweetIntegralActivityFromParam implements Serializable, Cloneable {
@NotNull
(
message
=
"activityType不能为空"
)
private
Integer
activityType
;
@ApiModelProperty
(
required
=
true
,
value
=
"活动玩一次所需积分"
,
example
=
"1"
)
@NotNull
(
message
=
"activityNum不能为空"
)
private
Integer
activityNum
;
@ApiModelProperty
(
required
=
true
,
value
=
"活动时间类型 1长期 2开始结束时间"
,
example
=
"1"
)
@NotNull
(
message
=
"timeType不能为空"
)
@Min
(
value
=
1
,
message
=
"timeType无效"
)
@Max
(
value
=
2
,
message
=
"timeType无效"
)
private
Integer
timeType
;
...
...
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/dto/vo/IntegralActivityVo.java
View file @
fc1bd9c1
...
...
@@ -24,6 +24,9 @@ public class IntegralActivityVo implements Serializable, Cloneable {
@ApiModelProperty
(
value
=
"活动类型 1转盘"
)
private
Integer
activityType
;
@ApiModelProperty
(
value
=
"活动玩一次所需积分"
)
private
Integer
activityNum
;
@ApiModelProperty
(
value
=
"活动时间类型 1长期 2开始结束时间"
)
private
Integer
timeType
;
...
...
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/dto/vo/admin/SweetIntegralActivityVo.java
View file @
fc1bd9c1
...
...
@@ -38,6 +38,9 @@ public class SweetIntegralActivityVo implements Serializable, Cloneable {
@ApiModelProperty
(
value
=
"活动类型 1转盘"
)
private
Integer
activityType
;
@ApiModelProperty
(
value
=
"活动玩一次所需积分"
)
private
Integer
activityNum
;
@ApiModelProperty
(
value
=
"活动时间类型 1长期 2开始结束时间"
)
private
Integer
timeType
;
...
...
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/dto/SweetIntegralActivityDto.java
View file @
fc1bd9c1
...
...
@@ -29,6 +29,11 @@ public class SweetIntegralActivityDto {
*/
private
Integer
activityType
;
/**
* 活动玩一次所需积分
*/
private
Integer
activityNum
;
/**
* 活动时间类型 1长期 2开始结束时间
*/
...
...
liquidnet-bus-do/liquidnet-service-sweet-do/src/main/java/com/liquidnet/service/sweet/entity/SweetIntegralActivity.java
View file @
fc1bd9c1
...
...
@@ -46,6 +46,11 @@ public class SweetIntegralActivity implements Serializable, Cloneable {
*/
private
Integer
activityType
;
/**
* 活动玩一次所需积分
*/
private
Integer
activityNum
;
/**
* 活动时间类型 1长期 2开始结束时间
*/
...
...
liquidnet-bus-service/liquidnet-service-sweet/docu/db_sweet_integral_activity_20211020.sql
View file @
fc1bd9c1
...
...
@@ -11,6 +11,7 @@ CREATE TABLE `sweet_integral_activity`
`activity_title`
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'活动名称'
,
`activity_img`
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'活动图片'
,
`activity_type`
tinyint
NOT
NULL
DEFAULT
0
COMMENT
'活动类型 1转盘'
,
`activity_num`
int
NOT
NULL
DEFAULT
0
COMMENT
'活动玩一次所需积分'
,
`time_type`
tinyint
NOT
NULL
DEFAULT
0
COMMENT
'活动时间类型 1长期 2开始结束时间'
,
`start_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'如果活动有时间限制 开始时间'
,
`end_time`
datetime
NULL
DEFAULT
NULL
COMMENT
'如果活动有时间限制 结束时间'
,
...
...
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