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 21784996
authored
Sep 27, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
展示试驾列表的时候 拆分设备号
1 parent
d8d82a14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/main/resources/mapper/VehicleMapper.xml
src/main/resources/mapper/VehicleMapper.xml
View file @
2178499
...
...
@@ -392,7 +392,7 @@
tv.id ,
tv.vin ,
tv.owner_name as ownerName,
GROUP_CONCAT(td.sn)
as sns
td.sn
as sns
from t_vehicle tv
left join t_vehicle_device tvd on tvd.vehicle_id = tv.id
left join t_device td on td.sn = tvd.sn
...
...
@@ -420,7 +420,6 @@
<if
test=
"shopId != null and shopId !=''"
>
and tu.id = #{shopId}
</if>
GROUP BY tv.vin
order by tv.created_date desc
order by tv.created_date desc,tv.id
</select>
</mapper>
\ No newline at end of file
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