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 7fdeeb9f
authored
Sep 19, 2022
by
levphon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
删除错误方法
1 parent
3c56821d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
24 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 @
7fdeeb9
...
@@ -136,15 +136,6 @@ public interface VehicleMapper extends CommonBaseMapper<Vehicle> {
...
@@ -136,15 +136,6 @@ public interface VehicleMapper extends CommonBaseMapper<Vehicle> {
List
<
TestVehicleDTO
>
listTestDriveVehicle
(
TestVehicleSearch
testVehicleSearch
);
List
<
TestVehicleDTO
>
listTestDriveVehicle
(
TestVehicleSearch
testVehicleSearch
);
/**
/**
* 根据权限获取该账户下 所有绑定车辆和当天绑定的车辆总数
*
* @return
*/
@DataPerm
(
permTable
=
"temp"
,
showSql
=
true
)
@DataPermShare
(
linkTable
=
"temp"
,
showSql
=
true
)
List
<
StatCountModel
>
getVehicleBindNumWithAuth
();
/**
* 根据权限获取该账户下 所有设备号集合
* 根据权限获取该账户下 所有设备号集合
*
*
* @return 设备集合
* @return 设备集合
...
...
src/main/resources/mapper/VehicleMapper.xml
View file @
7fdeeb9
...
@@ -714,21 +714,6 @@
...
@@ -714,21 +714,6 @@
order by tv.created_date desc,tv.id
order by tv.created_date desc,tv.id
</select>
</select>
<select
id=
"getVehicleBindNumWithAuth"
resultType=
"cn.com.glsx.admin.modules.model.stat.StatCountModel"
>
select count(temp.id) as cnt,
count(case when TO_DAYS(temp.created_date) = TO_DAYS(NOW()) then 1 end) as cnt1
from (select tv.id,
max(tvd.created_date) as created_date,
tv.created_by
from t_vehicle tv
left join t_vehicle_device tvd
on tv.id = tvd.vehicle_id
where tvd.bind_status = 1
and tvd.del_flag = 0
and tv.del_flag = 0
group by tv.id) temp
</select>
<select
id=
"getAllDeviceSnByAuth"
resultType=
"String"
>
<select
id=
"getAllDeviceSnByAuth"
resultType=
"String"
>
select tvd.sn
select tvd.sn
from t_vehicle tv
from t_vehicle tv
...
...
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