Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baihang-report
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
data-spider
baihang-report
Commits
bec3b53b
Commit
bec3b53b
authored
Mar 27, 2020
by
郝彦辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志修改优化
parent
a851b945
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
RoutineWorkTask.java
src/main/java/cn/quantgroup/report/job/RoutineWorkTask.java
+3
-5
No files found.
src/main/java/cn/quantgroup/report/job/RoutineWorkTask.java
View file @
bec3b53b
...
@@ -76,7 +76,6 @@ public class RoutineWorkTask {
...
@@ -76,7 +76,6 @@ public class RoutineWorkTask {
if
(
StringUtils
.
isNotEmpty
(
ip
)
&&
(
StringUtils
.
equalsAnyIgnoreCase
(
ip
,
"172.21.10.8"
,
"172.17.0.122"
)))
{
if
(
StringUtils
.
isNotEmpty
(
ip
)
&&
(
StringUtils
.
equalsAnyIgnoreCase
(
ip
,
"172.21.10.8"
,
"172.17.0.122"
)))
{
Stopwatch
stopwatch
=
Stopwatch
.
createStarted
();
Stopwatch
stopwatch
=
Stopwatch
.
createStarted
();
//yyyyMMdd
//yyyyMMdd
//2020.03.19 本来今天查看今天的反馈日志(今天反馈日志是昨天05:00报送的),但最近百行反馈日志一直延迟1天
//2020.03.19 本来今天查看今天的反馈日志(今天反馈日志是昨天05:00报送的),但最近百行反馈日志一直延迟1天
String
newDatenyr
=
getNewDatenyr
();
String
newDatenyr
=
getNewDatenyr
();
...
@@ -98,7 +97,6 @@ public class RoutineWorkTask {
...
@@ -98,7 +97,6 @@ public class RoutineWorkTask {
String
isProduct
=
"true"
;
String
isProduct
=
"true"
;
String
errorCode
=
"D3_035,"
;
//以后发现其他错误code,可以追加
String
errorCode
=
"D3_035,"
;
//以后发现其他错误code,可以追加
try
{
try
{
Stopwatch
stopwatch1
=
Stopwatch
.
createStarted
();
Stopwatch
stopwatch1
=
Stopwatch
.
createStarted
();
...
@@ -192,7 +190,7 @@ public class RoutineWorkTask {
...
@@ -192,7 +190,7 @@ public class RoutineWorkTask {
Thread
.
sleep
(
3
*
1000
);
//3秒
Thread
.
sleep
(
3
*
1000
);
//3秒
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
info
(
"(众信利民助贷)重新报送A1异常, newTime: {} , newDatenyr: {} "
,
LocalDateTime
.
now
(),
newDatenyr
,
e
);
log
.
error
(
"(众信利民助贷)重新报送A1异常, newTime: {} , newDatenyr: {} "
,
LocalDateTime
.
now
(),
newDatenyr
,
e
);
dingTalk
.
talk_ToUser
(
"ZXLM助贷-重新报送 A1 异常"
,
"("
+
newDatenyr
+
") A1报送异常,请尽快查看处理!"
);
dingTalk
.
talk_ToUser
(
"ZXLM助贷-重新报送 A1 异常"
,
"("
+
newDatenyr
+
") A1报送异常,请尽快查看处理!"
);
}
}
}
}
...
@@ -210,7 +208,7 @@ public class RoutineWorkTask {
...
@@ -210,7 +208,7 @@ public class RoutineWorkTask {
Thread
.
sleep
(
10
*
1000
);
//10秒
Thread
.
sleep
(
10
*
1000
);
//10秒
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
info
(
"(众信利民助贷)重新报送D2异常, newTime: {} , newDatenyr: {} "
,
LocalDateTime
.
now
(),
newDatenyr
,
e
);
log
.
error
(
"(众信利民助贷)重新报送D2异常, newTime: {} , newDatenyr: {} "
,
LocalDateTime
.
now
(),
newDatenyr
,
e
);
dingTalk
.
talk_ToUser
(
"ZXLM助贷-重新报送 D2 异常"
,
"("
+
newDatenyr
+
") D2报送异常,请尽快查看处理!"
);
dingTalk
.
talk_ToUser
(
"ZXLM助贷-重新报送 D2 异常"
,
"("
+
newDatenyr
+
") D2报送异常,请尽快查看处理!"
);
}
}
}
}
...
@@ -226,7 +224,7 @@ public class RoutineWorkTask {
...
@@ -226,7 +224,7 @@ public class RoutineWorkTask {
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
info
(
"(众信利民助贷)重新报送D3异常, newTime: {} , newDatenyr: {} "
,
LocalDateTime
.
now
(),
newDatenyr
,
e
);
log
.
error
(
"(众信利民助贷)重新报送D3异常, newTime: {} , newDatenyr: {} "
,
LocalDateTime
.
now
(),
newDatenyr
,
e
);
dingTalk
.
talk_ToUser
(
"ZXLM助贷-重新报送 D3 异常"
,
"("
+
newDatenyr
+
") D3报送异常,请尽快查看处理!"
);
dingTalk
.
talk_ToUser
(
"ZXLM助贷-重新报送 D3 异常"
,
"("
+
newDatenyr
+
") D3报送异常,请尽快查看处理!"
);
}
}
}
}
...
...
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