|
@@ -49,7 +49,7 @@ public class DeviceService {
|
|
*/
|
|
*/
|
|
public boolean deleteById(Long id){
|
|
public boolean deleteById(Long id){
|
|
MqttTool.removeOne(this.careDeviceService.getById(id));
|
|
MqttTool.removeOne(this.careDeviceService.getById(id));
|
|
- return this.careHouseService.removeById(id);
|
|
|
|
|
|
+ return this.careDeviceService.removeById(id);
|
|
}
|
|
}
|
|
|
|
|
|
public DeviceVO getDevById(Long id){
|
|
public DeviceVO getDevById(Long id){
|