package com.ruoyi.mall.service; import java.util.List; import java.util.Map; import com.ruoyi.mall.domain.MallCareer; /** * 职业Service接口 * * @author LCL * @date 2023-10-19 */ public interface IMallCareerService { /** * 查询职业 * * @param careerId 职业主键 * @return 职业 */ public MallCareer selectMallCareerByCareerId(Long careerId); /** * 查询职业列表 * * @param mallCareer 职业 * @return 职业集合 */ public List selectMallCareerList(MallCareer mallCareer); /** * 新增职业 * * @param mallCareer 职业 * @return 结果 */ public int insertMallCareer(MallCareer mallCareer); /** * 修改职业 * * @param mallCareer 职业 * @return 结果 */ public int updateMallCareer(MallCareer mallCareer); /** * 批量删除职业 * * @param careerIds 需要删除的职业主键集合 * @return 结果 */ public int deleteMallCareerByCareerIds(Long[] careerIds); /** * 删除职业信息 * * @param careerId 职业主键 * @return 结果 */ public int deleteMallCareerByCareerId(Long careerId); /** * 根据排序查询职业列表 * * @param sortType 排序类型:0-默认,1-从高到低,2-从低到高 * @param majorId 专业分类ID * @return 专业分类集合 */ public List> selectCareerListByParams(Integer sortType, Long majorId); /** * 查询职业列表-下拉框 * * @return 职业集合 */ public List getCareerDropDownList(); }