SyRoleMapper.java
936 Bytes
package com.objecteye.mapper;
import com.objecteye.entity.SyRole;
import com.objecteye.entity.SyRoleExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface SyRoleMapper {
int countByExample(SyRoleExample example);
int deleteByExample(SyRoleExample example);
int deleteByPrimaryKey(Integer id);
int insert(SyRole record);
int insertSelective(SyRole record);
List<SyRole> selectByExample(SyRoleExample example);
SyRole selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") SyRole record, @Param("example") SyRoleExample example);
int updateByExample(@Param("record") SyRole record, @Param("example") SyRoleExample example);
int updateByPrimaryKeySelective(SyRole record);
int updateByPrimaryKey(SyRole record);
List<SyRole> selectRolePage(@Param("currentPage") int currentPage, @Param("pageVolum") int pageVolum);
}