package com.zhitan.airconditioner.mapper;
|
|
import java.util.List;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.zhitan.airconditioner.domain.AirConditionerLog;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* 空调操作日志Mapper接口
|
*
|
* @author zhitan
|
*/
|
@Mapper
|
public interface AirConditionerLogMapper extends BaseMapper<AirConditionerLog>
|
{
|
/**
|
* 查询空调操作日志列表
|
*
|
* @param airConditionerLog 空调操作日志信息
|
* @return 空调操作日志集合
|
*/
|
public List<AirConditionerLog> selectAirConditionerLogList(AirConditionerLog airConditionerLog);
|
|
/**
|
* 查询空调操作日志信息
|
*
|
* @param id 空调操作日志ID
|
* @return 空调操作日志信息
|
*/
|
public AirConditionerLog selectAirConditionerLogById(Long id);
|
|
/**
|
* 根据空调ID查询操作日志列表
|
*
|
* @param airConditionerId 空调ID
|
* @return 操作日志列表
|
*/
|
public List<AirConditionerLog> selectAirConditionerLogByAirConditionerId(Long airConditionerId);
|
|
/**
|
* 新增空调操作日志
|
*
|
* @param airConditionerLog 空调操作日志信息
|
* @return 结果
|
*/
|
public int insertAirConditionerLog(AirConditionerLog airConditionerLog);
|
|
/**
|
* 删除空调操作日志
|
*
|
* @param id 空调操作日志ID
|
* @return 结果
|
*/
|
public int deleteAirConditionerLogById(Long id);
|
|
/**
|
* 批量删除空调操作日志
|
*
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
public int deleteAirConditionerLogByIds(Long[] ids);
|
|
/**
|
* 根据空调ID删除操作日志
|
*
|
* @param airConditionerId 空调ID
|
* @return 结果
|
*/
|
public int deleteAirConditionerLogByAirConditionerId(Long airConditionerId);
|
}
|