记得上下班打卡 | 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
6e2f8b64
Commit
6e2f8b64
authored
Mar 08, 2022
by
张国柄
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_goblin' into pre
parents
767dd62a
560dd81c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
GoblinStoreMgtCouponAddParam.java
...rvice/goblin/dto/manage/GoblinStoreMgtCouponAddParam.java
+1
-1
GoblinRedisUtils.java
...a/com/liquidnet/service/goblin/util/GoblinRedisUtils.java
+1
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/manage/GoblinStoreMgtCouponAddParam.java
View file @
6e2f8b64
...
...
@@ -56,7 +56,7 @@ public class GoblinStoreMgtCouponAddParam implements Serializable {
@Min
(
value
=
0
,
message
=
"卡券库存不能小于0"
)
private
Integer
stock
;
@ApiModelProperty
(
position
=
12
,
required
=
false
,
value
=
"触发金额[8,2]"
,
example
=
"1"
)
@DecimalMin
(
value
=
"0.0
1"
,
message
=
"触发金额不能小于0.01
"
)
@DecimalMin
(
value
=
"0.0
0"
,
message
=
"触发金额不能小于0
"
)
private
BigDecimal
triggers
;
@ApiModelProperty
(
position
=
12
,
required
=
false
,
value
=
"面值[8,2]"
,
example
=
"5"
)
@DecimalMin
(
value
=
"0.01"
,
message
=
"面值不能小于0.01"
)
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/util/GoblinRedisUtils.java
View file @
6e2f8b64
...
...
@@ -150,7 +150,7 @@ public class GoblinRedisUtils {
List
<
GoblinSelfTagVo
>
vos
;
if
(
StringUtils
.
isEmpty
(
valStr
))
{
if
(!
CollectionUtils
.
isEmpty
(
vos
=
goblinMongoUtils
.
getSelfTagVos
(
"1"
)))
{
redisUtil
.
set
(
GoblinRedisConst
.
BASIC_SELF_TAG
,
JsonUtils
.
toJson
(
vos
),
60
*
60
);
redisUtil
.
set
(
GoblinRedisConst
.
BASIC_SELF_
EX
TAG
,
JsonUtils
.
toJson
(
vos
),
60
*
60
);
}
}
else
{
vos
=
JsonUtils
.
fromJson
(
valStr
,
new
TypeReference
<
List
<
GoblinSelfTagVo
>>()
{
...
...
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