package com.ruoyi.mall.mapper;

import java.util.List;
import java.util.Map;

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

/**
 * 职业薪资Mapper接口
 *
 * @author LCL
 * @date 2023-10-19
 */
public interface MallCareerSalaryMapper
{
    /**
     * 查询职业薪资
     *
     * @param careerSalaryId 职业薪资主键
     * @return 职业薪资
     */
    public MallCareerSalary selectMallCareerSalaryByCareerSalaryId(Long careerSalaryId);

    /**
     * 查询职业薪资列表
     *
     * @param mallCareerSalary 职业薪资
     * @return 职业薪资集合
     */
    public List<MallCareerSalary> selectMallCareerSalaryList(MallCareerSalary mallCareerSalary);

    /**
     * 新增职业薪资
     *
     * @param mallCareerSalary 职业薪资
     * @return 结果
     */
    public int insertMallCareerSalary(MallCareerSalary mallCareerSalary);

    /**
     * 修改职业薪资
     *
     * @param mallCareerSalary 职业薪资
     * @return 结果
     */
    public int updateMallCareerSalary(MallCareerSalary mallCareerSalary);

    /**
     * 删除职业薪资
     *
     * @param careerSalaryId 职业薪资主键
     * @return 结果
     */
    public int deleteMallCareerSalaryByCareerSalaryId(Long careerSalaryId);

    /**
     * 批量删除职业薪资
     *
     * @param careerSalaryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMallCareerSalaryByCareerSalaryIds(Long[] careerSalaryIds);

    /**
     * 查询专业前景-职业薪资列表
     *
     * @param cityLevel 城市等级
     * @return 专业分类集合
     */
    public List<Map<String, Object>> selectMallCareerSalaryListByCareerId(@Param("careerId") Long careerId,@Param("cityLevel") String cityLevel);
}
