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 7270218f
authored
Dec 24, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化设备离线的查询方式
1 parent
c82800d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/resources/mapper/VehicleMapper.xml
src/main/resources/mapper/VehicleMapper.xml
View file @
7270218
...
@@ -746,7 +746,7 @@
...
@@ -746,7 +746,7 @@
GROUP BY DATE_FORMAT(temp.created_date, '%Y-%m-%d')
GROUP BY DATE_FORMAT(temp.created_date, '%Y-%m-%d')
</select>
</select>
<select
id=
"getOfflineNumber"
>
<select
id=
"getOfflineNumber"
resultType=
"Integer"
>
select COUNT(1) offlineNumber
select COUNT(1) offlineNumber
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
...
...
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