package com.yuchen.saas.park.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuchen.saas.park.api.entity.park.PmgBtnPeopleEquipment;
import com.yuchen.saas.park.api.vo.park.PmgBtnPeopleEquipmentVo;
import org.nest.springwrap.core.datascope.annotation.DataAuth;
import org.nest.springwrap.core.datascope.enums.DataScopeEnum;

import java.util.List;

/**
 * @author 刘通
 * @date 2020/12/29 21:04
 */
public interface PmgBtnPeopleEquipmentMapper extends BaseMapper<PmgBtnPeopleEquipment> {
    @DataAuth(type = DataScopeEnum.OWN_DEPT_CHILD)
    List<PmgBtnPeopleEquipmentVo> getByPeopleId(String peopleId);
}
