Commit 7fdeeb9f by levphon

删除错误方法

1 parent 3c56821d
......@@ -136,15 +136,6 @@ public interface VehicleMapper extends CommonBaseMapper<Vehicle> {
List<TestVehicleDTO> listTestDriveVehicle(TestVehicleSearch testVehicleSearch);
/**
* 根据权限获取该账户下 所有绑定车辆和当天绑定的车辆总数
*
* @return
*/
@DataPerm(permTable = "temp", showSql = true)
@DataPermShare(linkTable = "temp", showSql = true)
List<StatCountModel> getVehicleBindNumWithAuth();
/**
* 根据权限获取该账户下 所有设备号集合
*
* @return 设备集合
......
......@@ -714,21 +714,6 @@
order by tv.created_date desc,tv.id
</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 tvd.sn
from t_vehicle tv
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!