package com.dcs.hnyz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dcs.hnyz.domain.Equipment;
import com.dcs.hnyz.domain.vo.EquipmentFormVO;

import java.util.List;

/**
 * 设备管理Mapper接口
 * 
 * @author hmy
 * @date 2025-04-22
 */
public interface EquipmentMapper extends BaseMapper<Equipment>
{
    /**
     * 查询设备管理列表
     * 
     * @param equipment 设备管理
     * @return 设备管理集合
     */
    public List<Equipment> selectEquipmentList(Equipment equipment);

    /**
     * 查询设备管理form列表
     * @param equipment
     * @return
     */
    public List<EquipmentFormVO> selectEquipmentForm(Equipment equipment);

    int updateEquipmentByPlcId(Long plcId);
}
