package com.ruoyi.mall.service;

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

/**
 * 职业与专业关联Service接口
 * 
 * @author LCL
 * @date 2023-10-19
 */
public interface IMallLinkCareerMajorService 
{
    /**
     * 查询职业与专业关联
     * 
     * @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 linkIds 需要删除的职业与专业关联主键集合
     * @return 结果
     */
    public int deleteMallLinkCareerMajorByLinkIds(Long[] linkIds);

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