SysUserOrgMapper.java
626 Bytes
package com.glsx.manager.mapper;
import com.glsx.manager.pojo.user.SysUserRole;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface SysUserOrgMapper {
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> findUserOrgs(@Param(value = "userId") Integer userId);
int deleteByUserId(@Param(value = "userId") int userId);
}