| | |
| | |
|
| | | import org.apache.commons.collections.CollectionUtils;
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.util.ObjectUtils;
|
| | | import tk.mybatis.mapper.entity.Example;
|
| | | import tk.mybatis.mapper.entity.Example.Criteria;
|
| | |
|
| | |
| | | }
|
| | | example.orderBy("name").asc();
|
| | | return monitorPointMapper.selectByExample(example);
|
| | | }
|
| | |
|
| | | @Override
|
| | | public List<MonitorPoint> getMonitorPointsByOrganizationIds(Set<Integer> orgIds) {
|
| | | return monitorPointMapper.getMonitorPointsByOrganizationIds(orgIds);
|
| | | }
|
| | |
|
| | | @Override
|
| | |
| | | //获取厂界所有设备
|
| | | List<Device> deviceList = deviceService.getDeviceById2(monitPointId);
|
| | |
|
| | | params.put("longitudeCompany",monitorPoint.getLongitude());
|
| | | params.put("latitudeCompany",monitorPoint.getLatitude());
|
| | | params.put("latitudeCompany",monitorPoint.getLatitude());
|
| | | params.put("monitPointId",monitPointId);
|
| | | params.put("deviceList",deviceList);
|
| | | params.put("longitudeCompany", monitorPoint.getLongitude());
|
| | | params.put("latitudeCompany", monitorPoint.getLatitude());
|
| | | params.put("latitudeCompany", monitorPoint.getLatitude());
|
| | | params.put("monitPointId", monitPointId);
|
| | | params.put("deviceList", deviceList);
|
| | | return params;
|
| | | }
|
| | |
|