ResumeDao.java 837 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.ygj.yuemum.dao.admin;
  2. import com.ygj.yuemum.domain.admin.Resume;
  3. import org.springframework.stereotype.Repository;
  4. import java.util.List;
  5. @Repository
  6. public interface ResumeDao {
  7. /**
  8. * 得到所有的简历信息
  9. * @return List<Train>
  10. */
  11. List<Resume> getAll();
  12. /**
  13. * 根据id删除某个简历信息
  14. * @param id
  15. * @return
  16. */
  17. int deleteByPrimaryKey(Integer id);
  18. /**
  19. * 插入一条简历信息
  20. * @param record
  21. * @return
  22. */
  23. int insertSelective(Resume record);
  24. /**
  25. * 根据id查找某个简历信息
  26. * @param id
  27. * @return User
  28. */
  29. Resume selectByPrimaryKey(Integer id);
  30. /**
  31. * 根据id更新一条简历信息
  32. * @param record
  33. * @return
  34. */
  35. int updateByPrimaryKeySelective(Resume record);
  36. }