Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zhmes-agecal
Project
Project
Details
Activity
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
耿迪迪
zhmes-agecal
Commits
69cdd52d
Commit
69cdd52d
authored
Jan 04, 2026
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 写自检后 判断下 是否写成功
2 写自检 根据 状态 去 判断 是否需要写
parent
6dcda4aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
AgingStageTwoProcessJob.java
.../java/com/zehong/system/task/AgingStageTwoProcessJob.java
+0
-9
No files found.
zhmes-agecal-system/src/main/java/com/zehong/system/task/AgingStageTwoProcessJob.java
View file @
69cdd52d
...
...
@@ -60,9 +60,7 @@ public class AgingStageTwoProcessJob implements Job {
public
void
execute
(
JobExecutionContext
context
)
{
// 1. 初始化变量,避免空指针
JobDataMap
data
;
String
fPowerOutageIp
;
Long
fStoreyId
=
null
;
int
fPowerOutagePort
;
TStoreyInfo
tStoreyInfo
=
null
;
long
startTime
=
System
.
currentTimeMillis
();
...
...
@@ -74,13 +72,6 @@ public class AgingStageTwoProcessJob implements Job {
return
;
}
fStoreyId
=
data
.
getLong
(
"fStoreyId"
);
fPowerOutageIp
=
data
.
getString
(
"fPowerOutageIp"
);
fPowerOutagePort
=
data
.
getInt
(
"fPowerOutagePort"
);
if
(
StringUtils
.
isBlank
(
fPowerOutageIp
))
{
log
.
info
(
"参数缺失:fStoreyId={}, ip={}, port={},终止执行"
,
fStoreyId
,
fPowerOutageIp
,
fPowerOutagePort
);
return
;
}
// 4. 查询设备信息
tStoreyInfo
=
tStoreyInfoMapper
.
selectTStoreyInfoById
(
fStoreyId
);
...
...
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