Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
b69f8b64
Commit
b69f8b64
authored
Jun 23, 2021
by
徐康
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/qa' into qa
parents
78262762
b8f178b6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
order-application-service/src/main/java/cn/freemud/entities/dto/GetMemberExtendInfoResponseDto.java
+3
-3
order-application-service/src/main/java/cn/freemud/service/impl/SellCouponOrderServiceImpl.java
+4
-2
No files found.
order-application-service/src/main/java/cn/freemud/entities/dto/GetMemberExtendInfoResponseDto.java
View file @
b69f8b64
...
...
@@ -32,8 +32,8 @@ public class GetMemberExtendInfoResponseDto {
private
String
id
;
private
String
paidId
;
private
String
paidName
;
private
Date
openTime
;
private
Date
expiryTime
;
// private Long
openTime;
// private Long
expiryTime;
}
@Data
...
...
@@ -41,6 +41,6 @@ public class GetMemberExtendInfoResponseDto {
private
String
memberId
;
private
String
labelCode
;
private
String
labelName
;
private
Date
updateTime
;
// private Long
updateTime;
}
}
order-application-service/src/main/java/cn/freemud/service/impl/SellCouponOrderServiceImpl.java
View file @
b69f8b64
...
...
@@ -119,8 +119,10 @@ public class SellCouponOrderServiceImpl {
private
OrderAdapter
orderAdapter
;
@Autowired
private
OrderSdkAdapter
orderSdkAdapter
;
// @Autowired
// private RedisCache redisCache;
@Autowired
pr
ivate
RedisCache
redisCach
e
;
pr
otected
RedisTemplate
redisTemplat
e
;
@Autowired
private
CouponService
couponService
;
@Autowired
...
...
@@ -419,7 +421,7 @@ public class SellCouponOrderServiceImpl {
String
key
=
this
.
getFolwNo
(
requestVo
.
getAppId
(),
date
);
int
flowno
=
0
;
RedisTemplate
redisTemplate
=
redisCache
.
getRedisTemplate
();
//
RedisTemplate redisTemplate = redisCache.getRedisTemplate();
if
(
redisTemplate
.
opsForValue
().
setIfAbsent
(
key
,
0
))
{
redisTemplate
.
expire
(
key
,
24
,
TimeUnit
.
HOURS
);
...
...
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