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.
61 lines
1.3 KiB
61 lines
1.3 KiB
package com.zc.business.mapper;
|
|
|
|
import java.util.List;
|
|
import com.zc.business.domain.Device;
|
|
|
|
/**
|
|
* 【请填写功能名称】Mapper接口
|
|
*
|
|
* @author ruoyi
|
|
* @date 2024-01-20
|
|
*/
|
|
public interface DeviceMapper
|
|
{
|
|
/**
|
|
* 查询【请填写功能名称】
|
|
*
|
|
* @param id 【请填写功能名称】主键
|
|
* @return 【请填写功能名称】
|
|
*/
|
|
Device selectDeviceById(Long id);
|
|
|
|
/**
|
|
* 查询【请填写功能名称】列表
|
|
*
|
|
* @param device 【请填写功能名称】
|
|
* @return 【请填写功能名称】集合
|
|
*/
|
|
List<Device> selectDeviceList(Device device);
|
|
|
|
/**
|
|
* 新增【请填写功能名称】
|
|
*
|
|
* @param device 【请填写功能名称】
|
|
* @return 结果
|
|
*/
|
|
int insertDevice(Device device);
|
|
|
|
/**
|
|
* 修改【请填写功能名称】
|
|
*
|
|
* @param device 【请填写功能名称】
|
|
* @return 结果
|
|
*/
|
|
int updateDevice(Device device);
|
|
|
|
/**
|
|
* 删除【请填写功能名称】
|
|
*
|
|
* @param id 【请填写功能名称】主键
|
|
* @return 结果
|
|
*/
|
|
int deleteDeviceById(Long id);
|
|
|
|
/**
|
|
* 批量删除【请填写功能名称】
|
|
*
|
|
* @param ids 需要删除的数据主键集合
|
|
* @return 结果
|
|
*/
|
|
int deleteDeviceByIds(Long[] ids);
|
|
}
|
|
|