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 1b32efe7
authored
Mar 18, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
处理数据问题导致的异常
1 parent
36d5027c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/resources/mapper/VehicleMapper.xml
src/main/resources/mapper/VehicleMapper.xml
View file @
1b32efe
...
@@ -963,7 +963,7 @@
...
@@ -963,7 +963,7 @@
</select>
</select>
<select
id=
"getVehicleAndDeviceMap"
resultType=
"cn.com.glsx.admin.modules.model.VehicleDeviceMapDto"
>
<select
id=
"getVehicleAndDeviceMap"
resultType=
"cn.com.glsx.admin.modules.model.VehicleDeviceMapDto"
>
SELECT tv.vin
,
SELECT tv.vin,
GROUP_CONCAT(tvd.sn) as sns
GROUP_CONCAT(tvd.sn) as sns
FROM t_vehicle tv
FROM t_vehicle tv
LEFT JOIN t_vehicle_device tvd ON tvd.vehicle_id = tv.id
LEFT JOIN t_vehicle_device tvd ON tvd.vehicle_id = tv.id
...
@@ -983,7 +983,7 @@
...
@@ -983,7 +983,7 @@
left join t_workorder tw on tw.id = tv.workorder_id
left join t_workorder tw on tw.id = tv.workorder_id
where tv.del_flag = 0
where tv.del_flag = 0
and tw.partner_order_no = #{bizOrderNo}
and tw.partner_order_no = #{bizOrderNo}
and tv.vin = #{vin}
and tv.vin = #{vin}
limit 1
</select>
</select>
<select
id=
"selectAllShared"
resultMap=
"BaseResultMap"
>
<select
id=
"selectAllShared"
resultMap=
"BaseResultMap"
>
...
...
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