Commit d1ab6296 by 杨林龙

增加用户组织判断

1 parent fc4ae6f0
...@@ -144,7 +144,7 @@ public class HomeService { ...@@ -144,7 +144,7 @@ public class HomeService {
} }
public List<ActiveDeviceVo> getActiveDeviceInfo(Integer period) throws ParseException { public List<ActiveDeviceVo> getActiveDeviceInfo(Integer period) throws ParseException {
String appendSql = DateUtil.appendSqlByTimeRange(period, "tvd.activeDate"); String appendSql = DateUtil.appendSqlByTimeRange(period, "tvd.created_date");
List<ActiveDeviceVo> list = vehicleMapper.getActiveDeviceInfoWithAuth(appendSql, period); List<ActiveDeviceVo> list = vehicleMapper.getActiveDeviceInfoWithAuth(appendSql, period);
if (list != null && list.size() == 0) { if (list != null && list.size() == 0) {
list = null; list = null;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!