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 def71fee
authored
Apr 28, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更换车辆绑定设备时-解绑对应围栏设备
1 parent
c7ccec4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
src/main/resources/mapper/ElectricFenceMapper.xml
src/main/resources/mapper/ElectricFenceSnsMapper.xml
src/main/resources/mapper/ElectricFenceMapper.xml
View file @
def71fe
...
...
@@ -69,10 +69,11 @@
tu.username creator
from t_electric_fence tef
left join t_electric_fence_sns tefs on tefs.fence_id = tef.id
left join t_vehicle_device tvd on tvd.id = tefs.vd_id
left join t_vehicle_device tvd on tvd.id = tefs.vd_id
and tvd.bind_status = 1
left join t_vehicle tv on tv.id = tvd.vehicle_id
left join t_user tu on tu.id = tef.created_by
where tef.del_flag = 0 and tefs.del_flag = 0 and tvd.del_flag = 0
where tef.del_flag = 0 and tefs.del_flag = 0
and tv.del_flag = 0 and tvd.del_flag = 0
and tef.biz_fence_type in (14)
<if
test=
"beginDate != null and beginDate != '' and endDate != null and endDate != ''"
>
<choose>
...
...
@@ -123,10 +124,11 @@
tu.username creator
from t_electric_fence tef
left join t_electric_fence_sns tefs on tefs.fence_id = tef.id
left join t_vehicle_device tvd on tvd.id = tefs.vd_id
left join t_vehicle_device tvd on tvd.id = tefs.vd_id
and tvd.bind_status = 1
left join t_vehicle tv on tv.id = tvd.vehicle_id
left join t_user tu on tu.id = tef.created_by
where tef.del_flag = 0 and tefs.del_flag = 0 and tvd.del_flag = 0
where tef.del_flag = 0 and tefs.del_flag = 0
and tv.del_flag = 0 and tvd.del_flag = 0
and tef.biz_fence_type in (14)
<if
test=
"beginDate != null and beginDate != '' and endDate != null and endDate != ''"
>
<choose>
...
...
src/main/resources/mapper/ElectricFenceSnsMapper.xml
View file @
def71fe
...
...
@@ -49,6 +49,7 @@
where fence_id = #{fenceId}
and tefs.del_flag = 0
and tv.del_flag = 0
and tvd.bind_status = 1
and tvd.del_flag = 0
order by tefs.id
</select>
...
...
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