package com.shkj.wcs.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shkj.wcs.bo.WcsPlcConnectAddBo;
import com.shkj.wcs.bo.WcsPlcConnectQueryBo;
import com.shkj.wcs.domain.WcsPlcConnect;
import com.shkj.wcs.vo.WcsPlcConnectVo;

import java.util.List;
import java.util.Map;

/**
 * AGV接驳点位Mapper接口
 *
 * @author zjx
 * @date 2023-04-20
 */
public interface WcsPlcConnectMapper extends BaseMapper<WcsPlcConnect> {
    /**
     * 查询点位分组
     *
     * @param id 点位分组主键
     * @return 点位分组
     */
    public WcsPlcConnect selectWcsPlcConnectById(Long id);

    /**
     * 查询点位分组列表
     *
     * @param WcsPlcConnect 点位分组
     * @return 点位分组集合
     */
    public List<WcsPlcConnectVo> selectWcsPlcConnectList(WcsPlcConnect WcsPlcConnect);

    /**
     * 新增点位分组
     *
     * @param WcsPlcConnect 点位分组
     * @return 结果
     */
    public int insertWcsPlcConnect(WcsPlcConnect WcsPlcConnect);

    /**
     * 修改点位分组
     *
     * @param wcsPlcConnect 点位分组
     * @return 结果
     */
    public int updateWcsPlcConnect(WcsPlcConnectAddBo wcsPlcConnect);

    /**
     * 删除点位分组
     *
     * @param id 点位分组主键
     * @return 结果
     */
    public int deleteWcsPlcConnectById(Long id);


    public WcsPlcConnectVo selectPlcConnectBydevType(WcsPlcConnectQueryBo bo);

}
