AuthApplyMapper.java 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.ruoyi.tool.mapper;
  2. import org.apache.ibatis.annotations.Param;
  3. import java.util.List;
  4. import com.ruoyi.tool.domain.AuthApply;
  5. public interface AuthApplyMapper {
  6. /**
  7. * delete by primary key
  8. * @param id primaryKey
  9. * @return deleteCount
  10. */
  11. int deleteByPrimaryKey(Long id);
  12. /**
  13. * insert record to table
  14. * @param record the record
  15. * @return insert count
  16. */
  17. int insert(AuthApply record);
  18. /**
  19. * insert record to table selective
  20. * @param record the record
  21. * @return insert count
  22. */
  23. int insertSelective(AuthApply record);
  24. /**
  25. * select by primary key
  26. * @param id primary key
  27. * @return object by primary key
  28. */
  29. AuthApply selectByPrimaryKey(Long id);
  30. /**
  31. * update record selective
  32. * @param record the updated record
  33. * @return update count
  34. */
  35. int updateByPrimaryKeySelective(AuthApply record);
  36. /**
  37. * update record
  38. * @param record the updated record
  39. * @return update count
  40. */
  41. int updateByPrimaryKey(AuthApply record);
  42. List<AuthApply> selectByStatusAndCorpId(@Param("status")Integer status,@Param("corpId")String corpId);
  43. }