You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.2 KiB
63 lines
1.2 KiB
package com.zc.business.service;
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.zc.business.domain.DcFacility;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 路网设施Service接口
|
|
*
|
|
* @author zhaoxianglong
|
|
*/
|
|
public interface IDcFacilityService extends IService<DcFacility> {
|
|
/**
|
|
* 添加设备信息
|
|
*
|
|
* @param dcFacility 设备信息
|
|
* @return 操作结果
|
|
*/
|
|
boolean addFacility(DcFacility dcFacility);
|
|
|
|
/**
|
|
* 修改设备信息
|
|
*
|
|
* @param dcFacility 设备信息
|
|
* @return 操作结果
|
|
*/
|
|
boolean editFacility(DcFacility dcFacility);
|
|
|
|
/**
|
|
* 删除设备
|
|
*
|
|
* @param ids 设备ID
|
|
* @return 操作结果
|
|
*/
|
|
boolean removeFacility(List<String> ids);
|
|
|
|
/**
|
|
* 获取设备列表
|
|
*
|
|
* @param dcFacility 参数
|
|
* @return 结果
|
|
*/
|
|
List<DcFacility> pageFacility(DcFacility dcFacility);
|
|
|
|
/**
|
|
* 获取设备列表
|
|
*
|
|
* @param dcFacility 参数
|
|
* @return 结果
|
|
*/
|
|
List<DcFacility> listFacility(DcFacility dcFacility);
|
|
|
|
|
|
/**
|
|
* 根据id查询设备信息
|
|
*
|
|
* @param id 设备ID
|
|
* @return 设备信息
|
|
*/
|
|
DcFacility getFacility(String id);
|
|
}
|
|
|