package com.ruoyi.system.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.PosFenlei;

/**
 * spfenleiMapper接口
 * 
 * @author ruoyi
 * @date 2023-05-21
 */
public interface PosFenleiMapper  extends BaseMapper<PosFenlei>
{
    /**
     * 查询spfenlei
     * 
     * @param id spfenlei主键
     * @return spfenlei
     */
    public PosFenlei selectPosFenleiById(Long id);

    /**
     * 查询spfenlei列表
     * 
     * @param posFenlei spfenlei
     * @return spfenlei集合
     */
    public List<PosFenlei> selectPosFenleiList(PosFenlei posFenlei);

    /**
     * 新增spfenlei
     * 
     * @param posFenlei spfenlei
     * @return 结果
     */
    public int insertPosFenlei(PosFenlei posFenlei);

    /**
     * 修改spfenlei
     * 
     * @param posFenlei spfenlei
     * @return 结果
     */
    public int updatePosFenlei(PosFenlei posFenlei);

    /**
     * 删除spfenlei
     * 
     * @param id spfenlei主键
     * @return 结果
     */
    public int deletePosFenleiById(Long id);

    /**
     * 批量删除spfenlei
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePosFenleiByIds(Long[] ids);
}
