UserRoleMapper.java 942 B

123456789101112131415161718192021222324252627282930313233
  1. package com.chinaitop.depot.business.mapper;
  2. import com.chinaitop.depot.business.model.UserRole;
  3. import com.chinaitop.depot.business.model.UserRoleExample;
  4. import org.apache.ibatis.annotations.Param;
  5. import java.util.List;
  6. public interface UserRoleMapper {
  7. int countByExample(UserRoleExample example);
  8. int deleteByExample(UserRoleExample example);
  9. int deleteByPrimaryKey(Integer urId);
  10. int insert(UserRole record);
  11. int insertSelective(UserRole record);
  12. List<UserRole> selectByExample(UserRoleExample example);
  13. UserRole selectByPrimaryKey(Integer urId);
  14. int updateByExampleSelective(@Param("record") UserRole record, @Param("example") UserRoleExample example);
  15. int updateByExample(@Param("record") UserRole record, @Param("example") UserRoleExample example);
  16. int updateByPrimaryKeySelective(UserRole record);
  17. int updateByPrimaryKey(UserRole record);
  18. void deleteById(Integer userId);
  19. }