package com.ruoyi.mall.mapper;

import java.util.List;
import com.ruoyi.mall.domain.MallLinkCareerMajor;

/**
 * 职业与专业关联Mapper接口
 * 
 * @author LCL
 * @date 2023-10-19
 */
public interface MallLinkCareerMajorMapper 
{
    /**
     * 查询职业与专业关联
     * 
     * @param linkId 职业与专业关联主键
     * @return 职业与专业关联
     */
    public MallLinkCareerMajor selectMallLinkCareerMajorByLinkId(Long linkId);

    /**
     * 查询职业与专业关联列表
     * 
     * @param mallLinkCareerMajor 职业与专业关联
     * @return 职业与专业关联集合
     */
    public List<MallLinkCareerMajor> selectMallLinkCareerMajorList(MallLinkCareerMajor mallLinkCareerMajor);

    /**
     * 新增职业与专业关联
     * 
     * @param mallLinkCareerMajor 职业与专业关联
     * @return 结果
     */
    public int insertMallLinkCareerMajor(MallLinkCareerMajor mallLinkCareerMajor);

    /**
     * 修改职业与专业关联
     * 
     * @param mallLinkCareerMajor 职业与专业关联
     * @return 结果
     */
    public int updateMallLinkCareerMajor(MallLinkCareerMajor mallLinkCareerMajor);

    /**
     * 删除职业与专业关联
     * 
     * @param linkId 职业与专业关联主键
     * @return 结果
     */
    public int deleteMallLinkCareerMajorByLinkId(Long linkId);

    /**
     * 批量删除职业与专业关联
     * 
     * @param linkIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMallLinkCareerMajorByLinkIds(Long[] linkIds);
}
