package com.ruoyi.ibs.draw.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.ibs.draw.domain.entity.DrawLayer;
import com.ruoyi.ibs.draw.domain.vo.DrawLayerVO;
import com.ruoyi.ibs.draw.domain.vo.LayerRuleVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
 * @Author 吴凯程
 * @Date 2024/12/20
 **/
@Mapper
public interface DrawLayerMapper extends BaseMapper<DrawLayer> {
    List<LayerRuleVO> getLayerList(HashMap<String, String> paramMap);

    List<DrawLayerVO> getValidDrawLayerList(@Param("deptHead") String deptHead ,@Param("opsDept") String opsDept,
                                            @Param("deptId") Long deptId, @Param("userName") String userName);
}
