probeservice
This commit is contained in:
parent
1870cb5d47
commit
9d43d7e3d3
|
@ -65,4 +65,10 @@ public class CentralProbeService implements ProbeService {
|
||||||
return this.probeDAO.save(p);
|
return this.probeDAO.save(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Probe modifyDisplayName(long probeId, String displayName) {
|
||||||
|
Probe probe = this.probeDAO.findOne(probeId);
|
||||||
|
probe.setDisplayName(displayName);
|
||||||
|
return this.probeDAO.save(probe);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,6 @@ package com.loafle.overflow.central.module.sensor.service;
|
||||||
import com.loafle.overflow.central.commons.utils.PageUtil;
|
import com.loafle.overflow.central.commons.utils.PageUtil;
|
||||||
import com.loafle.overflow.central.module.generator.service.SensorConfigGenerator;
|
import com.loafle.overflow.central.module.generator.service.SensorConfigGenerator;
|
||||||
import com.loafle.overflow.central.module.sensor.dao.SensorDAO;
|
import com.loafle.overflow.central.module.sensor.dao.SensorDAO;
|
||||||
import com.loafle.overflow.central.module.target.service.CentralTargetService;
|
|
||||||
import com.loafle.overflow.core.exception.OverflowException;
|
import com.loafle.overflow.core.exception.OverflowException;
|
||||||
import com.loafle.overflow.core.model.PageParams;
|
import com.loafle.overflow.core.model.PageParams;
|
||||||
import com.loafle.overflow.model.domain.Domain;
|
import com.loafle.overflow.model.domain.Domain;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user