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