Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李苗
/
Vion-DevOps
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0d552aa7
authored
Jun 20, 2025
by
HlQ
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 设备流转,取消不支持入库限制
1 parent
ea03352a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
src/main/java/vion/service/impl/IDeviceServiceImpl.java
src/main/java/vion/service/impl/IDeviceServiceImpl.java
View file @
0d552aa
...
@@ -122,9 +122,7 @@ public class IDeviceServiceImpl extends MPJBaseServiceImpl<DeviceMapper, Device>
...
@@ -122,9 +122,7 @@ public class IDeviceServiceImpl extends MPJBaseServiceImpl<DeviceMapper, Device>
if
(
statusSet
.
size
()
>
1
)
{
if
(
statusSet
.
size
()
>
1
)
{
return
"该操作不允许对设备进行不同处理"
;
return
"该操作不允许对设备进行不同处理"
;
}
}
if
(
statusSet
.
contains
(
1
))
{
return
"该操作不支持入库操作"
;
}
var
userId
=
dtoList
.
getFirst
().
getUserId
();
var
userId
=
dtoList
.
getFirst
().
getUserId
();
var
deviceList
=
converter
.
convert
(
dtoList
,
Device
.
class
);
var
deviceList
=
converter
.
convert
(
dtoList
,
Device
.
class
);
var
deviceListInDB
=
this
.
lambdaQuery
().
in
(
Device:
:
getSerialNum
,
deviceList
.
stream
().
map
(
Device:
:
getSerialNum
).
toList
()).
list
();
var
deviceListInDB
=
this
.
lambdaQuery
().
in
(
Device:
:
getSerialNum
,
deviceList
.
stream
().
map
(
Device:
:
getSerialNum
).
toList
()).
list
();
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment