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
0386e0f2
Commit
0386e0f2
authored
Sep 01, 2026
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 老化过程中 获取卡号,获取IOT状态调整中
parent
dcd40833
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
AllCommandHandler.java
...c/main/java/com/zehong/system/task/AllCommandHandler.java
+3
-2
No files found.
zhmes-agecal-system/src/main/java/com/zehong/system/task/AllCommandHandler.java
View file @
0386e0f2
...
...
@@ -243,6 +243,9 @@ public class AllCommandHandler {
// 处理 nbCode 为空的(直接设状态为 2,加入待更新列表)
List
<
PalletDeviceBinding
>
needUpdateList
=
bindings
.
stream
().
filter
(
b
->
StringUtils
.
isBlank
(
b
.
getNbCode
())).
collect
(
Collectors
.
toList
());
for
(
PalletDeviceBinding
palletDeviceBinding
:
needUpdateList
)
{
palletDeviceBinding
.
setIotStatus
(
2
);
}
if
(
groupByMotherboard
.
isEmpty
())
{
// 如果没有需要调接口的,直接批量更新后返回
if
(!
needUpdateList
.
isEmpty
())
{
...
...
@@ -275,8 +278,6 @@ public class AllCommandHandler {
String
nbCode
=
palletDeviceBinding
.
getNbCode
();
// 如果 nbCode 为空,则设状态为 2,加入待更新列表
if
(
StringUtils
.
isBlank
(
nbCode
))
{
palletDeviceBinding
.
setIotStatus
(
2
);
needUpdateList
.
add
(
palletDeviceBinding
);
continue
;
}
...
...
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