SyRolePrivilegeMapper.java 1017 Bytes
package com.objecteye.mapper;

import com.objecteye.entity.SyRolePrivilege;
import com.objecteye.entity.SyRolePrivilegeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SyRolePrivilegeMapper {
    int countByExample(SyRolePrivilegeExample example);

    int deleteByExample(SyRolePrivilegeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SyRolePrivilege record);

    int insertSelective(SyRolePrivilege record);

    List<SyRolePrivilege> selectByExample(SyRolePrivilegeExample example);

    List<Integer> selectByRid(Integer rid);

    SyRolePrivilege selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SyRolePrivilege record, @Param("example") SyRolePrivilegeExample example);

    int updateByExample(@Param("record") SyRolePrivilege record, @Param("example") SyRolePrivilegeExample example);

    int updateByPrimaryKeySelective(SyRolePrivilege record);

    int updateByPrimaryKey(SyRolePrivilege record);
}