66 lines
1.7 KiB
Java
66 lines
1.7 KiB
Java
package com.luqj.ec.mapper;
|
|
|
|
import java.util.List;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import com.luqj.ec.domain.EcDeviceCommand;
|
|
import com.luqj.ec.domain.EcDeviceCommandPlus;
|
|
|
|
/**
|
|
* 控制指令(单条指令)Mapper接口
|
|
*
|
|
* @author luqj
|
|
* @date 2026-02-27
|
|
*/
|
|
public interface EcDeviceCommandMapper extends BaseMapper<EcDeviceCommandPlus>
|
|
{
|
|
/**
|
|
* 查询控制指令(单条指令)
|
|
*
|
|
* @param id 控制指令(单条指令)ID
|
|
* @return 控制指令(单条指令)
|
|
*/
|
|
public EcDeviceCommand selectEcDeviceCommandById(Long id);
|
|
|
|
/**
|
|
* 查询控制指令(单条指令)列表
|
|
*
|
|
* @param ecDeviceCommand 控制指令(单条指令)
|
|
* @return 控制指令(单条指令)集合
|
|
*/
|
|
public List<EcDeviceCommand> selectEcDeviceCommandList(EcDeviceCommand ecDeviceCommand);
|
|
|
|
/**
|
|
* 新增控制指令(单条指令)
|
|
*
|
|
* @param ecDeviceCommand 控制指令(单条指令)
|
|
* @return 结果
|
|
*/
|
|
public int insertEcDeviceCommand(EcDeviceCommand ecDeviceCommand);
|
|
|
|
/**
|
|
* 修改控制指令(单条指令)
|
|
*
|
|
* @param ecDeviceCommand 控制指令(单条指令)
|
|
* @return 结果
|
|
*/
|
|
public int updateEcDeviceCommand(EcDeviceCommand ecDeviceCommand);
|
|
|
|
/**
|
|
* 删除控制指令(单条指令)
|
|
*
|
|
* @param id 控制指令(单条指令)ID
|
|
* @return 结果
|
|
*/
|
|
public int deleteEcDeviceCommandById(Long id);
|
|
|
|
/**
|
|
* 批量删除控制指令(单条指令)
|
|
*
|
|
* @param ids 需要删除的数据ID
|
|
* @return 结果
|
|
*/
|
|
public int deleteEcDeviceCommandByIds(Long[] ids);
|
|
}
|