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

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

import java.util.List;

/**
 * @ClassName
 * @Description
 * @author 吕海泉
 * @Date 2021/4/7 15:36
 * @Version 1.0
 **/
public interface PmgBatHandlerWarningMapper extends BaseMapper<PmgBatHandlerWarning> {
    @DataAuth(type = DataScopeEnum.OWN_DEPT_CHILD)
    List<PmgBatHandlerWarning> getByPkAndPnV(String productKey, String productName);
}
