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 33fba4d2
authored
Apr 28, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
7164e508
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
src/main/resources/mapper/ElectricFenceMapper.xml
src/main/resources/mapper/ElectricFenceMapper.xml
View file @
33fba4d
...
@@ -68,12 +68,11 @@
...
@@ -68,12 +68,11 @@
tef.created_by createdBy,
tef.created_by createdBy,
tu.username creator
tu.username creator
from t_electric_fence tef
from t_electric_fence tef
left join t_electric_fence_sns tefs on tefs.fence_id = tef.id
left join t_electric_fence_sns tefs on tefs.fence_id = tef.id
and tefs.del_flag = 0
left join t_vehicle_device tvd on tvd.id = tefs.vd_id and tvd.bind_status = 1
left join t_vehicle_device tvd on tvd.id = tefs.vd_id and tvd.bind_status = 1
and tvd.del_flag = 0
left join t_vehicle tv on tv.id = tvd.vehicle_id
left join t_vehicle tv on tv.id = tvd.vehicle_id
and tv.del_flag = 0
left join t_user tu on tu.id = tef.created_by
left join t_user tu on tu.id = tef.created_by
where tef.del_flag = 0 and tefs.del_flag = 0
where tef.del_flag = 0
and tv.del_flag = 0 and tvd.del_flag = 0
and tef.biz_fence_type in (14)
and tef.biz_fence_type in (14)
<if
test=
"beginDate != null and beginDate != '' and endDate != null and endDate != ''"
>
<if
test=
"beginDate != null and beginDate != '' and endDate != null and endDate != ''"
>
<choose>
<choose>
...
@@ -123,12 +122,11 @@
...
@@ -123,12 +122,11 @@
tef.created_by createdBy,
tef.created_by createdBy,
tu.username creator
tu.username creator
from t_electric_fence tef
from t_electric_fence tef
left join t_electric_fence_sns tefs on tefs.fence_id = tef.id
left join t_electric_fence_sns tefs on tefs.fence_id = tef.id
and tefs.del_flag = 0
left join t_vehicle_device tvd on tvd.id = tefs.vd_id and tvd.bind_status = 1
left join t_vehicle_device tvd on tvd.id = tefs.vd_id and tvd.bind_status = 1
and tvd.del_flag = 0
left join t_vehicle tv on tv.id = tvd.vehicle_id
left join t_vehicle tv on tv.id = tvd.vehicle_id
and tv.del_flag = 0
left join t_user tu on tu.id = tef.created_by
left join t_user tu on tu.id = tef.created_by
where tef.del_flag = 0 and tefs.del_flag = 0
where tef.del_flag = 0
and tv.del_flag = 0 and tvd.del_flag = 0
and tef.biz_fence_type in (14)
and tef.biz_fence_type in (14)
<if
test=
"beginDate != null and beginDate != '' and endDate != null and endDate != ''"
>
<if
test=
"beginDate != null and beginDate != '' and endDate != null and endDate != ''"
>
<choose>
<choose>
...
...
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