@Override public List<TAgencyRole> selectAll() { TAgencyRoleExample example = new TAgencyRoleExample(); example.setOrderByClause("name"); List<TAgencyRole> tAgencyRoles = tAgencyRoleMapper.selectByExample(example); return tAgencyRoles; }
@Override public List<TAgencyRole> selectByUserId(Long userId) { List<TAgencyRole> tAgencyRoles = tAgencyRoleMapper.selectByUserId(userId); return tAgencyRoles; }