package com.bofeng.dao;

import com.bofeng.entity.SubUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface SubUserMapper {

    List<SubUser> getSubUserByCurrentUserId(@Param("userId") Long userId);

    List<Map<String, Object>> getSubUserCms(@Param("userId") Long userId);
}
