记得上下班打卡 | 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
6879a0c2
Commit
6879a0c2
authored
Mar 21, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
candy 修改
parent
cbf54604
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
CandyCouponServiceImpl.java
...et/service/candy/service/impl/CandyCouponServiceImpl.java
+12
-12
No files found.
liquidnet-bus-service/liquidnet-service-candy/liquidnet-service-candy-impl/src/main/java/com/liquidnet/service/candy/service/impl/CandyCouponServiceImpl.java
View file @
6879a0c2
...
@@ -54,7 +54,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -54,7 +54,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
CandyMyCouponListVo
vo
=
CandyMyCouponListVo
.
getNew
();
CandyMyCouponListVo
vo
=
CandyMyCouponListVo
.
getNew
();
...
@@ -96,7 +96,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -96,7 +96,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
if
(!
CollectionUtil
.
isEmpty
(
dtoList
))
{
if
(!
CollectionUtil
.
isEmpty
(
dtoList
))
{
...
@@ -116,7 +116,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -116,7 +116,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyCouponVo
>
memberCoupon
=
ObjectUtil
.
getCandyCouponVoArrayList
();
List
<
CandyCouponVo
>
memberCoupon
=
ObjectUtil
.
getCandyCouponVoArrayList
();
...
@@ -145,7 +145,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -145,7 +145,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
CandyMyCouponListVo
vo
=
CandyMyCouponListVo
.
getNew
();
CandyMyCouponListVo
vo
=
CandyMyCouponListVo
.
getNew
();
...
@@ -188,7 +188,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -188,7 +188,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
int
canUse
=
0
;
int
canUse
=
0
;
...
@@ -213,7 +213,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -213,7 +213,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
CandyMyCouponListVo
vo
=
CandyMyCouponListVo
.
getNew
();
CandyMyCouponListVo
vo
=
CandyMyCouponListVo
.
getNew
();
...
@@ -255,7 +255,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -255,7 +255,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
int
canUse
=
0
;
int
canUse
=
0
;
...
@@ -281,7 +281,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -281,7 +281,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyCouponVo
>
advanceCoupon
=
ObjectUtil
.
getCandyCouponVoArrayList
();
List
<
CandyCouponVo
>
advanceCoupon
=
ObjectUtil
.
getCandyCouponVoArrayList
();
...
@@ -307,7 +307,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -307,7 +307,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
CandyUserCouponBasicDto
dto
=
CouponBaseUtil
.
getSingleDtoByUCouponId
(
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
),
uCouponId
);
CandyUserCouponBasicDto
dto
=
CouponBaseUtil
.
getSingleDtoByUCouponId
(
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
),
uCouponId
);
if
(
dto
==
null
)
{
if
(
dto
==
null
)
{
...
@@ -322,7 +322,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -322,7 +322,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
CandyUseResultVo
vo
=
CandyUseResultVo
.
getNew
();
CandyUseResultVo
vo
=
CandyUseResultVo
.
getNew
();
List
<
String
>
targetIds
=
CollectionUtil
.
linkedListString
();
List
<
String
>
targetIds
=
CollectionUtil
.
linkedListString
();
...
@@ -477,7 +477,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -477,7 +477,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
String
mobile
=
(
String
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_MOBILE
);
String
mobile
=
(
String
)
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_MOBILE
);
...
@@ -548,7 +548,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -548,7 +548,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
try
{
try
{
userCreateTime
=
getCreatedAt
(
uid
);
userCreateTime
=
getCreatedAt
(
uid
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
LocalDateTime
.
of
(
2222
,
1
,
1
,
0
,
0
,
0
)
;
}
}
ArrayList
<
String
>
uCouponIdList
=
new
ArrayList
(
Arrays
.
asList
(
uCouponIds
.
split
(
","
)));
ArrayList
<
String
>
uCouponIdList
=
new
ArrayList
(
Arrays
.
asList
(
uCouponIds
.
split
(
","
)));
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
List
<
CandyUserCouponBasicDto
>
dtoList
=
redisDataUtils
.
getCouponByUid
(
uid
,
userCreateTime
);
...
...
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