package com.ruoyi.mall.service;

import java.math.BigDecimal;
import java.util.AbstractMap;
import java.util.List;
import java.util.Map;

import com.ruoyi.mall.domain.MallCareerMajor;
import org.apache.ibatis.annotations.Param;

/**
 * 职业专业关联Service接口
 * 
 * @author ruoyi
 * @date 2023-11-25
 */
public interface IMallCareerMajorService 
{
    /**
     * 查询职业专业关联
     * 
     * @param linkId 职业专业关联主键
     * @return 职业专业关联
     */
    public MallCareerMajor selectMallCareerMajorByLinkId(Long linkId);

    /**
     * 查询职业专业关联列表
     * 
     * @param mallCareerMajor 职业专业关联
     * @return 职业专业关联集合
     */
    public List<MallCareerMajor> selectMallCareerMajorList(MallCareerMajor mallCareerMajor);

    /**
     * 查询专业相关的职业列表
     * @param majorId
     * @param orderType
     * @return
     */
    List<MallCareerMajor> selectListByMajor(Long majorId, Long orderType);

    /**
     * 新增职业专业关联
     * 
     * @param mallCareerMajor 职业专业关联
     * @return 结果
     */
    public int insertMallCareerMajor(MallCareerMajor mallCareerMajor);

    /**
     * 修改职业专业关联
     * 
     * @param mallCareerMajor 职业专业关联
     * @return 结果
     */
    public int updateMallCareerMajor(MallCareerMajor mallCareerMajor);

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

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