package com.ydtech.modules.admin.dao; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ydtech.modules.admin.model.SysDeptAccount; import com.ydtech.modules.admin.model.dto.SysDeptAccountDto; import com.ydtech.modules.admin.model.vo.SysDeptAccountByUserVo; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.List; @Mapper public interface SysDeptAccountMapper extends BaseMapper { Page getDept(Page page, @Param("sysDeptAccountDto") SysDeptAccountDto sysDeptAccountDto); List getDeptAccountByUser(String userId); }