记得上下班打卡 | 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
5663361a
Commit
5663361a
authored
Sep 23, 2021
by
张国柄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opt;
parent
48034b94
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
13 deletions
+19
-13
pom.xml
...uidnet-service-candy/liquidnet-service-candy-impl/pom.xml
+6
-0
CandyCouponServiceImpl.java
...et/service/candy/service/impl/CandyCouponServiceImpl.java
+13
-13
No files found.
liquidnet-bus-service/liquidnet-service-candy/liquidnet-service-candy-impl/pom.xml
View file @
5663361a
...
...
@@ -35,6 +35,12 @@
<artifactId>
liquidnet-service-candy-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
com.liquidnet
</groupId>
<artifactId>
liquidnet-api-feign-platform
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
<build>
...
...
liquidnet-bus-service/liquidnet-service-candy/liquidnet-service-candy-impl/src/main/java/com/liquidnet/service/candy/service/impl/CandyCouponServiceImpl.java
View file @
5663361a
...
...
@@ -50,7 +50,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -89,7 +89,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
ArrayList
<
CandyCouponPreVo
>
voArrayList
=
ObjectUtil
.
getCandyCouponPreVoArrayList
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -109,7 +109,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -135,7 +135,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -178,7 +178,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -204,7 +204,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -248,7 +248,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -274,7 +274,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -300,7 +300,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -316,7 +316,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -421,7 +421,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
item
.
getUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -455,7 +455,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
userCreateTime
=
null
;
}
...
...
@@ -523,7 +523,7 @@ public class CandyCouponServiceImpl implements ICandyCouponService {
String
uid
=
CurrentUtil
.
getCurrentUid
();
LocalDateTime
userCreateTime
;
try
{
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
SSS
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
userCreateTime
=
DateUtil
.
Formatter
.
yyyyMMddHHmmss
Trim
.
parse
(
CurrentUtil
.
getTokenClaims
().
get
(
CurrentUtil
.
TOKEN_UCREATED
).
toString
());
}
catch
(
Exception
e
)
{
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