package cn.wisenergy.mapper;
import cn.wisenergy.model.app.Profession;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface ProfessionMapper extends BaseMapper<Profession> {
Profession add(Profession profession);
List<Profession> getList(@Param("type") Integer type);
Profession getById(@Param("id") Integer id);
/**
* 根据专业ids,获取专业名称
*
* @param ids ids
* @return 专业名称
*/
List<String> getNameByIds(@Param("list") List<Integer> ids);
}
-
licc authoredb96c8454