package org.jeecg.modules.dnc.service;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import org.jeecg.common.api.vo.Result;
|
import org.jeecg.modules.dnc.entity.DeviceType;
|
|
import java.util.List;
|
|
public interface IDeviceTypeService extends IService<DeviceType> {
|
|
/**
|
* 新增设备类
|
* @param deviceType
|
* @return
|
*/
|
Result<?> add(DeviceType deviceType);
|
/**
|
* 编辑设备类
|
* @param deviceType
|
* @return
|
*/
|
Result<?> edit(DeviceType deviceType);
|
/**
|
* 根据id删除设备类
|
* @param id
|
* @return
|
*/
|
Result<?> delete(String id);
|
|
/**
|
* 根据设备类信息查询对应设备类
|
* @param deviceTypes
|
* @return
|
*/
|
Result<?> getByDeviceType(List<DeviceType> deviceTypes);
|
|
/**
|
* 根据业务id查询设备类列表
|
* @param businessId
|
* @param type
|
* @return
|
*/
|
Result<?> getByBusinessId(String businessId, String type);
|
|
/**
|
* 检索NC查询对应的设备类
|
* @param attributionIds,attributionType,systemType,deviceManagementCode
|
* @return
|
*/
|
List<DeviceType> getDeviceTypeByAttribution(List<String> attributionIds, Integer attributionType, String systemType, String deviceManagementCode);
|
|
}
|