Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
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 cc3e9120
authored
Jan 02, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
工单详情-导入
1 parent
412fcfef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/cn/com/glsx/admin/modules/controller/VehicleController.java
src/main/java/cn/com/glsx/admin/modules/controller/VehicleController.java
View file @
cc3e912
...
...
@@ -337,13 +337,13 @@ public class VehicleController {
// 校验设备号是否存在
boolean
snExist
=
deviceService
.
checkSnLocalAndRemote
(
sn
);
if
(!
snExist
)
{
return
R
.
error
(
1001
,
sn
+
"
该
设备不存在"
).
data
(
false
);
return
R
.
error
(
1001
,
sn
+
"设备不存在"
).
data
(
false
);
}
// 校验设备号是否已经绑定
boolean
bindSn
=
deviceService
.
checkBindStatusBySn
(
sn
);
if
(!
bindSn
)
{
return
R
.
error
(
1001
,
sn
+
"
该
设备已经绑定"
).
data
(
false
);
return
R
.
error
(
1001
,
sn
+
"设备已经绑定"
).
data
(
false
);
}
//不管新e盾设备表的设备状态,绑定车即激活(只维护t_vehicle_device,created_date即激活时间)
...
...
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