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 c86ea996
authored
Sep 03, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加注解
1 parent
b76774c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
src/main/java/cn/com/glsx/admin/modules/service/VehicleDeviceService.java
src/main/java/cn/com/glsx/admin/modules/service/VehicleDeviceService.java
View file @
c86ea99
...
@@ -145,6 +145,12 @@ public class VehicleDeviceService {
...
@@ -145,6 +145,12 @@ public class VehicleDeviceService {
vehicleDeviceMapper
.
unBindByVehicleId
(
id
);
vehicleDeviceMapper
.
unBindByVehicleId
(
id
);
}
}
/**
* 查询试驾设备信息
*
* @param sn 设备号
* @return
*/
public
VehicleDevice
getTrialDeviceBySn
(
String
sn
)
{
public
VehicleDevice
getTrialDeviceBySn
(
String
sn
)
{
VehicleDevice
param
=
new
VehicleDevice
();
VehicleDevice
param
=
new
VehicleDevice
();
param
.
setSn
(
sn
);
param
.
setSn
(
sn
);
...
@@ -154,6 +160,12 @@ public class VehicleDeviceService {
...
@@ -154,6 +160,12 @@ public class VehicleDeviceService {
return
vehicleDeviceMapper
.
selectOne
(
param
);
return
vehicleDeviceMapper
.
selectOne
(
param
);
}
}
/**
* 查询车辆绑定了哪些设备
*
* @param vehicleId 车辆Id
* @return
*/
public
List
<
VehicleDevice
>
listTrialDeviceByVehicleIdBind
(
Long
vehicleId
)
{
public
List
<
VehicleDevice
>
listTrialDeviceByVehicleIdBind
(
Long
vehicleId
)
{
VehicleDevice
param
=
new
VehicleDevice
();
VehicleDevice
param
=
new
VehicleDevice
();
param
.
setVehicleId
(
vehicleId
);
param
.
setVehicleId
(
vehicleId
);
...
...
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