Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-miniappserver
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 ca82f614
authored
Jul 26, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加车牌号
1 parent
10c008ef
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
src/main/java/cn/com/glsx/app/modules/model/view/VehicleDeviceDTO.java
src/main/java/cn/com/glsx/app/modules/model/view/VehicleSharedDTO.java
src/main/resources/mapper/VehicleMapper.xml
src/main/java/cn/com/glsx/app/modules/model/view/VehicleDeviceDTO.java
View file @
ca82f61
...
@@ -11,6 +11,7 @@ public class VehicleDeviceDTO {
...
@@ -11,6 +11,7 @@ public class VehicleDeviceDTO {
private
Long
id
;
private
Long
id
;
private
String
vin
;
private
String
vin
;
private
String
ownerName
;
private
String
ownerName
;
private
String
licensePlate
;
private
String
workOrderNo
;
private
String
workOrderNo
;
private
String
sns
;
private
String
sns
;
private
String
sources
;
private
String
sources
;
...
...
src/main/java/cn/com/glsx/app/modules/model/view/VehicleSharedDTO.java
View file @
ca82f61
...
@@ -12,6 +12,7 @@ public class VehicleSharedDTO {
...
@@ -12,6 +12,7 @@ public class VehicleSharedDTO {
private
Long
vehicleId
;
private
Long
vehicleId
;
private
String
vin
;
private
String
vin
;
private
String
ownerName
;
private
String
ownerName
;
private
String
licensePlate
;
private
String
workOrderNo
;
private
String
workOrderNo
;
private
String
sns
;
private
String
sns
;
private
String
sources
;
private
String
sources
;
...
...
src/main/resources/mapper/VehicleMapper.xml
View file @
ca82f61
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
<select
id=
"vehicleSearch"
resultType=
"cn.com.glsx.app.modules.model.view.VehicleDeviceDTO"
>
<select
id=
"vehicleSearch"
resultType=
"cn.com.glsx.app.modules.model.view.VehicleDeviceDTO"
>
select tv.id as id, tv.vin,
select tv.id as id, tv.vin,
tv.owner_name ownerName,
tv.owner_name ownerName,
tv.license_plate licensePlate,
tw.partner_order_no workOrderNo,
tw.partner_order_no workOrderNo,
group_concat(tvd.sn) as sns,
group_concat(tvd.sn) as sns,
group_concat(td.source) as sources
group_concat(td.source) as sources
...
@@ -90,6 +91,7 @@
...
@@ -90,6 +91,7 @@
tv.id as vehicleId,
tv.id as vehicleId,
tv.vin,
tv.vin,
tv.owner_name as ownerName,
tv.owner_name as ownerName,
tv.license_plate licensePlate,
tw.partner_order_no workOrderNo,
tw.partner_order_no workOrderNo,
group_concat(distinct td.sn order by td.source desc) as sns,
group_concat(distinct td.sn order by td.source desc) as sns,
group_concat(distinct td.source order by td.source desc) as sources,
group_concat(distinct td.source order by td.source desc) as sources,
...
...
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