1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- 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<Train>
- */
- List<Resume> 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);
- }
|