记得上下班打卡 | 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
1816ad76
Commit
1816ad76
authored
Sep 23, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_member_voucher_social' into dev_member_voucher_social
parents
faee3eb8
c591e4ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
CandyCouponServiceImpl.java
...et/service/candy/service/impl/CandyCouponServiceImpl.java
+14
-13
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 @
1816ad76
...
@@ -2,6 +2,7 @@ package com.liquidnet.service.candy.service.impl;
...
@@ -2,6 +2,7 @@ package com.liquidnet.service.candy.service.impl;
import
com.liquidnet.commons.lang.util.CollectionUtil
;
import
com.liquidnet.commons.lang.util.CollectionUtil
;
import
com.liquidnet.commons.lang.util.CurrentUtil
;
import
com.liquidnet.commons.lang.util.CurrentUtil
;
import
com.liquidnet.commons.lang.util.DateUtil
;
import
com.liquidnet.commons.lang.util.IDGenerator
;
import
com.liquidnet.commons.lang.util.IDGenerator
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.base.SqlMapping
;
import
com.liquidnet.service.base.SqlMapping
;
...
@@ -49,7 +50,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -49,7 +50,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -88,7 +89,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -88,7 +89,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
ArrayList
<
CandyCouponPreVo
>
voArrayList
=
ObjectUtil
.
getCandyCouponPreVoArrayList
();
ArrayList
<
CandyCouponPreVo
>
voArrayList
=
ObjectUtil
.
getCandyCouponPreVoArrayList
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -108,7 +109,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -108,7 +109,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -134,7 +135,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -134,7 +135,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -177,7 +178,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -177,7 +178,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -203,7 +204,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -203,7 +204,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -247,7 +248,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -247,7 +248,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -273,7 +274,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -273,7 +274,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -299,7 +300,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -299,7 +300,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -315,7 +316,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -315,7 +316,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -420,7 +421,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -420,7 +421,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
item
.
getUid
();
String
uid
=
item
.
getUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -454,7 +455,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -454,7 +455,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
@@ -522,7 +523,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
...
@@ -522,7 +523,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
LocalDateTime
userCreateTime
;
try
{
try
{
userCreateTime
=
LocalDateTime
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmssSSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
userCreateTime
=
null
;
}
}
...
...
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