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 1487b672
authored
Sep 12, 2023
by
张漳铖
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增车辆管理操作日志
1 parent
5d9de07d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
src/main/java/cn/com/glsx/admin/modules/service/VehicleService.java
View file @
1487b67
...
@@ -1662,7 +1662,13 @@ public class VehicleService extends AbstractCommonService {
...
@@ -1662,7 +1662,13 @@ public class VehicleService extends AbstractCommonService {
if
(
saveLog
)
{
if
(
saveLog
)
{
String
remark
=
unBindRemark
+
";"
+
bindRemark
;
String
remark
=
unBindRemark
+
";"
+
bindRemark
;
vehicleLogList
.
add
(
initVehicleLogData
(
vehicleInfoVo
.
getId
(),
ConstantsVehicle
.
OperatorLog
.
BIND_DEVICE
,
remark
));
// vehicleLogList.add(initVehicleLogData(vehicleInfoVo.getId(), ConstantsVehicle.OperatorLog.BIND_DEVICE, remark));
if
(
CollectionUtil
.
isNotEmpty
(
bindSnList
))
{
vehicleLogList
.
add
(
initVehicleLogData
(
vehicleInfoVo
.
getId
(),
ConstantsVehicle
.
OperatorLog
.
ADD_DEVICE
,
remark
));
}
if
(
CollectionUtil
.
isNotEmpty
(
unbindSnList
))
{
vehicleLogList
.
add
(
initVehicleLogData
(
vehicleInfoVo
.
getId
(),
ConstantsVehicle
.
OperatorLog
.
DELETE_DEVICE
,
remark
));
}
}
}
return
saveLog
;
return
saveLog
;
}
}
...
...
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