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 8d916964
authored
Jun 04, 2021
by
黄小葱
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改特约店关联
1 parent
f4185393
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/main/java/cn/com/glsx/admin/modules/mapper/VehicleMapper.java
src/main/resources/mapper/VehicleMapper.xml
src/main/java/cn/com/glsx/admin/modules/mapper/VehicleMapper.java
View file @
8d91696
...
...
@@ -46,6 +46,7 @@ public interface VehicleMapper extends CommonBaseMapper<Vehicle> {
* @param search
* @return
*/
@DataPerm
(
showSql
=
true
)
List
<
TrialDriveVehicleExport
>
exportDriveVehicle
(
VehicleManageSearch
search
);
/**
...
...
src/main/resources/mapper/VehicleMapper.xml
View file @
8d91696
...
...
@@ -112,7 +112,7 @@
from t_vehicle tv
left join t_vehicle_device tvd on tv.id = tvd.vehicle_id and tvd.bind_status = 1 and tvd.del_flag = 0
left join t_user tu on tv.created_by = tu.id and tu.del_flag = 0
left join t_trial_drive_shop ttds on tu.
account = ttds.shop_code
and ttds.del_flag = 0
left join t_trial_drive_shop ttds on tu.
id = ttds.created_by
and ttds.del_flag = 0
where tv.del_flag = 0
<include
refid=
"search_sql_condition"
/>
group by tv.id
...
...
@@ -127,7 +127,7 @@
from t_vehicle tv
left join t_vehicle_device tvd on tv.id = tvd.vehicle_id and tvd.bind_status = 1 and tvd.del_flag = 0
left join t_user tu on tv.created_by = tu.id and tu.del_flag = 0
left join t_trial_drive_shop ttds on tu.
account = ttds.shop_code
and ttds.del_flag = 0
left join t_trial_drive_shop ttds on tu.
id = ttds.created_by
and ttds.del_flag = 0
where tv.del_flag = 0
<include
refid=
"search_sql_condition"
/>
group by tv.id
...
...
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