SysUserRoleMapper.java
671 Bytes
package com.glsx.manager.mapper;
import java.util.List;
import com.glsx.manager.pojo.user.SysUserRole;
import org.apache.ibatis.annotations.Param;
public interface SysUserRoleMapper {
int deleteByPrimaryKey(Long id);
int insert(SysUserRole record);
int insertSelective(SysUserRole record);
SysUserRole selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(SysUserRole record);
int updateByPrimaryKey(SysUserRole record);
List<SysUserRole> findUserRoles(@Param(value="userId") Long userId);
int deleteByUserId(@Param(value="userId") int userId);
List<SysUserRole> getRoleByUserId(Integer id);
}