package com.shkj.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shkj.common.core.domain.Result;
import com.shkj.wms.domain.BasePoint;
import com.shkj.wms.domain.BasePointGroup;
import com.shkj.wms.vo.BasePointGroupVo;

import java.util.List;

/**
 * 点位分组Service接口
 *
 * @author zjx
 * @date 2023-04-20
 */
public interface IBasePointGroupService extends IService<BasePointGroup>{
    /**
     * 查询点位分组
     *
     * @param id 点位分组主键
     * @return 点位分组
     */
    public BasePointGroup selectBasePointGroupById(Long id);

    /**
     * 查询点位分组列表
     *
     * @param basePointGroup 点位分组
     * @return 点位分组集合
     */
    public List<BasePointGroup> selectBasePointGroupList(BasePointGroup basePointGroup);

    /**
     * 新增点位分组
     *
     * @param basePointGroup 点位分组
     * @return 结果
     */
    public Result<Boolean> insertBasePointGroup(BasePointGroup basePointGroup);

    /**
     * 修改点位分组
     *
     * @param basePointGroup 点位分组
     * @return 结果
     */
    public Result<Boolean> updateBasePointGroup(BasePointGroup basePointGroup);

    /**
     * 删除点位分组
     *
     * @param id 需要删除的点位分组主键
     * @return 结果
     */
    public Result<Boolean> deleteBasePointGroupById(Long id);


    public List<BasePointGroupVo>  getBasePointGroup();

}
