SyPrivilegeMapper.java 908 Bytes
package com.objecteye.mapper;

import com.objecteye.entity.SyPrivilege;
import com.objecteye.entity.SyPrivilegeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SyPrivilegeMapper {
    int countByExample(SyPrivilegeExample example);

    int deleteByExample(SyPrivilegeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SyPrivilege record);

    int insertSelective(SyPrivilege record);

    List<SyPrivilege> selectByExample(SyPrivilegeExample example);

    SyPrivilege selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SyPrivilege record, @Param("example") SyPrivilegeExample example);

    int updateByExample(@Param("record") SyPrivilege record, @Param("example") SyPrivilegeExample example);

    int updateByPrimaryKeySelective(SyPrivilege record);

    int updateByPrimaryKey(SyPrivilege record);
}