记得上下班打卡 | 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
992147d4
Commit
992147d4
authored
Nov 16, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_20111115' into dev_20111115
parents
3afaa51f
aae66e5e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
15 deletions
+11
-15
KylinOrderTickets.java
...com/liquidnet/service/kylin/entity/KylinOrderTickets.java
+1
-1
DoTaskUtils.java
...n/java/com/liquidnet/service/chime/utils/DoTaskUtils.java
+7
-11
StoneScoreLogsServiceImpl.java
...service/stone/service/impl/StoneScoreLogsServiceImpl.java
+3
-3
No files found.
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/java/com/liquidnet/service/kylin/entity/KylinOrderTickets.java
View file @
992147d4
...
@@ -206,7 +206,7 @@ public class KylinOrderTickets implements Serializable, Cloneable {
...
@@ -206,7 +206,7 @@ public class KylinOrderTickets implements Serializable, Cloneable {
/**
/**
* ip地址
* ip地址
*/
*/
private
Integer
ipAddress
;
private
String
ipAddress
;
/**
/**
* comment
* comment
...
...
liquidnet-bus-service/liquidnet-service-chime/liquidnet-service-chime-impl/src/main/java/com/liquidnet/service/chime/utils/DoTaskUtils.java
View file @
992147d4
...
@@ -46,18 +46,14 @@ public class DoTaskUtils {
...
@@ -46,18 +46,14 @@ public class DoTaskUtils {
if
(
taskObj
==
null
){
if
(
taskObj
==
null
){
//满足10次调用接口,每天最多调用一次
//满足10次调用接口,每天最多调用一次
if
(
slidCount
>=
10
)
{
if
(
slidCount
>=
10
)
{
try
{
MultiValueMap
<
String
,
String
>
params
=
CollectionUtil
.
linkedMultiValueMapStringString
();
MultiValueMap
<
String
,
String
>
params
=
CollectionUtil
.
linkedMultiValueMapStringString
();
params
.
add
(
"uid"
,
currentUserId
);
params
.
add
(
"uid"
,
currentUserId
);
params
.
add
(
"taskId"
,
3
+
""
);
params
.
add
(
"taskId"
,
3
+
""
);
String
resultData
=
HttpUtil
.
post
(
stoneUrl
+
"/user/inner/doTask"
,
params
);
String
resultData
=
HttpUtil
.
post
(
stoneUrl
+
"/user/inner/doTask"
,
params
);
ChimeUserDoTask
chimeUserDoTask
=
JsonUtils
.
fromJson
(
resultData
,
ChimeUserDoTask
.
class
);
Boolean
success
=
chimeUserDoTask
.
getSuccess
();
//接口调用失败,重试
if
(!
success
)
{
this
.
userAddNum
(
currentUserId
);
}
else
{
//调用接口成功,记录
redisUtil
.
set
(
ChimeConstant
.
REDIS_USER_TO_DOTASK
+
currentUserId
,
1
,
timeout
);
redisUtil
.
set
(
ChimeConstant
.
REDIS_USER_TO_DOTASK
+
currentUserId
,
1
,
timeout
);
}
catch
(
Exception
e
){
log
.
error
(
"任务接口调用失败currentUserId:"
+
currentUserId
,
e
);
}
}
}
}
}
}
...
...
liquidnet-bus-service/liquidnet-service-stone/liquidnet-service-stone-impl/src/main/java/com/liquidnet/service/stone/service/impl/StoneScoreLogsServiceImpl.java
View file @
992147d4
...
@@ -314,11 +314,11 @@ public class StoneScoreLogsServiceImpl implements IStoneScoreLogsService {
...
@@ -314,11 +314,11 @@ public class StoneScoreLogsServiceImpl implements IStoneScoreLogsService {
*/
*/
private
LocalDateTime
getOverdueAt
()
{
private
LocalDateTime
getOverdueAt
()
{
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
overdueAt
=
LocalDateTime
.
of
(
now
.
get
Hou
r
(),
10
,
27
,
0
,
0
,
0
);
LocalDateTime
overdueAt
=
LocalDateTime
.
of
(
now
.
get
Yea
r
(),
10
,
27
,
0
,
0
,
0
);
if
(
now
.
isAfter
(
overdueAt
))
{
if
(
now
.
isAfter
(
overdueAt
))
{
overdueAt
=
LocalDateTime
.
of
(
now
.
get
Hou
r
()
+
1
,
12
,
27
,
0
,
0
,
0
);
overdueAt
=
LocalDateTime
.
of
(
now
.
get
Yea
r
()
+
1
,
12
,
27
,
0
,
0
,
0
);
}
else
{
}
else
{
overdueAt
=
LocalDateTime
.
of
(
now
.
get
Hou
r
(),
12
,
27
,
0
,
0
,
0
);
overdueAt
=
LocalDateTime
.
of
(
now
.
get
Yea
r
(),
12
,
27
,
0
,
0
,
0
);
}
}
return
overdueAt
;
return
overdueAt
;
}
}
...
...
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