package com.ygj.yuemum.dao.admin; import com.ygj.yuemum.domain.admin.Resume; import org.springframework.stereotype.Repository; import java.util.List; @Repository public interface ResumeDao { /** * 得到所有的简历信息 * @return List */ List getAll(); /** * 根据id删除某个简历信息 * @param id * @return */ int deleteByPrimaryKey(Integer id); /** * 插入一条简历信息 * @param record * @return */ int insertSelective(Resume record); /** * 根据id查找某个简历信息 * @param id * @return User */ Resume selectByPrimaryKey(Integer id); /** * 根据id更新一条简历信息 * @param record * @return */ int updateByPrimaryKeySelective(Resume record); }