记得上下班打卡 | 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
df34e665
Commit
df34e665
authored
Mar 04, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交ar相关接口 增加数据 isdefult 上传券接口修改
parent
ca550d01
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
TempCouponDto.java
.../java/com/liquidnet/service/goblin/dto/TempCouponDto.java
+4
-2
TempCouponVo.java
...ava/com/liquidnet/service/goblin/dto/vo/TempCouponVo.java
+3
-1
GoblinInnerServiceImpl.java
...ice/goblin/service/impl/inner/GoblinInnerServiceImpl.java
+2
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/TempCouponDto.java
View file @
df34e665
...
@@ -9,7 +9,7 @@ import java.util.List;
...
@@ -9,7 +9,7 @@ import java.util.List;
@Data
@Data
@EqualsAndHashCode
@EqualsAndHashCode
public
class
TempCouponDto
implements
Cloneable
{
public
class
TempCouponDto
implements
Cloneable
{
@ApiModelProperty
(
position
=
1
,
value
=
"券名称"
)
@ApiModelProperty
(
position
=
1
,
value
=
"券名称"
)
private
String
name
;
private
String
name
;
@ApiModelProperty
(
position
=
2
,
value
=
"spuId【无用】"
)
@ApiModelProperty
(
position
=
2
,
value
=
"spuId【无用】"
)
...
@@ -18,8 +18,10 @@ public class TempCouponDto implements Cloneable{
...
@@ -18,8 +18,10 @@ public class TempCouponDto implements Cloneable{
private
String
type
;
private
String
type
;
@ApiModelProperty
(
position
=
5
,
value
=
"优惠价格"
)
@ApiModelProperty
(
position
=
5
,
value
=
"优惠价格"
)
private
BigDecimal
value
;
private
BigDecimal
value
;
@ApiModelProperty
(
position
=
6
,
value
=
"券
id
"
)
@ApiModelProperty
(
position
=
6
,
value
=
"券
组id[领券用]
"
)
private
String
ucouponId
;
private
String
ucouponId
;
@ApiModelProperty
(
position
=
7
,
value
=
"是否默认用券"
)
private
int
isDefault
;
private
static
final
TempCouponDto
obj
=
new
TempCouponDto
();
private
static
final
TempCouponDto
obj
=
new
TempCouponDto
();
...
...
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/dto/vo/TempCouponVo.java
View file @
df34e665
...
@@ -18,8 +18,10 @@ public class TempCouponVo implements Cloneable{
...
@@ -18,8 +18,10 @@ public class TempCouponVo implements Cloneable{
private
String
type
;
private
String
type
;
@ApiModelProperty
(
position
=
5
,
value
=
"优惠价格"
)
@ApiModelProperty
(
position
=
5
,
value
=
"优惠价格"
)
private
BigDecimal
value
;
private
BigDecimal
value
;
@ApiModelProperty
(
position
=
6
,
value
=
"券
id
"
)
@ApiModelProperty
(
position
=
6
,
value
=
"券
组id[领券用]
"
)
private
String
ucouponId
;
private
String
ucouponId
;
@ApiModelProperty
(
position
=
7
,
value
=
"是否默认用券"
)
private
int
isDefault
;
private
static
final
TempCouponVo
obj
=
new
TempCouponVo
();
private
static
final
TempCouponVo
obj
=
new
TempCouponVo
();
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/inner/GoblinInnerServiceImpl.java
View file @
df34e665
...
@@ -42,8 +42,9 @@ public class GoblinInnerServiceImpl implements IGoblinInnerService {
...
@@ -42,8 +42,9 @@ public class GoblinInnerServiceImpl implements IGoblinInnerService {
vo
.
setName
(
data
.
getName
());
vo
.
setName
(
data
.
getName
());
vo
.
setType
(
data
.
getType
());
vo
.
setType
(
data
.
getType
());
vo
.
setValue
(
data
.
getValue
());
vo
.
setValue
(
data
.
getValue
());
vo
.
setIsDefault
(
data
.
getIsDefault
());
vo
.
setSpuIdList
(
spuList
);
vo
.
setSpuIdList
(
spuList
);
vo
.
setUcouponId
(
IDGenerator
.
nextTimeId2
());
vo
.
setUcouponId
(
data
.
getUcouponId
());
redisUtils
.
addMarketTempCoupon
(
performanceId
,
vo
.
getUcouponId
());
redisUtils
.
addMarketTempCoupon
(
performanceId
,
vo
.
getUcouponId
());
redisUtils
.
setTempCoupon
(
vo
.
getUcouponId
(),
vo
);
redisUtils
.
setTempCoupon
(
vo
.
getUcouponId
(),
vo
);
}
}
...
...
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