RectificationDao.java 634 B

12345678910111213141516171819202122
  1. package com.bosshand.virgo.api.dao;
  2. import com.bosshand.virgo.api.model.Rectification;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. @Mapper
  7. public interface RectificationDao {
  8. public int insert(Rectification rectification);
  9. public int update(Rectification rectification);
  10. public int delete(long id);
  11. public List<Rectification> getList(Rectification rectification);
  12. public List<Rectification> getListLimit(@Param(value = "r")Rectification rectification, @Param(value = "currIndex")int currIndex, @Param(value = "pageSize")int pageSize);
  13. }