fixed parameter type abstract -> long
This commit is contained in:
parent
27bb2798f0
commit
d48ab6da51
|
@ -46,8 +46,8 @@ public class SensorService {
|
|||
return this.sensorDAO.findAllByTargetList(targetList);
|
||||
}
|
||||
|
||||
public List<Sensor> readAllByInfra(Infra infra) {
|
||||
Infra dbInfra = this.infraService.read(infra.getId());
|
||||
public List<Sensor> readAllByInfra(long infraId) {
|
||||
Infra dbInfra = this.infraService.read(infraId);
|
||||
|
||||
if(dbInfra == null || dbInfra.getTarget() == null) return null;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user