package com.njcn.product.terminal.mysqlTerminal.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.njcn.product.terminal.mysqlTerminal.pojo.dto.LineDevGetDTO;
import com.njcn.product.terminal.mysqlTerminal.pojo.po.DeptLine;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author denghuajun
 * @since 2022-01-12 18:04
 */
public interface DeptLineMapper extends BaseMapper<DeptLine> {


   List<String> getLineIdByDeptIds(@Param("deptIds") List<String> deptIds,@Param("runFlag")List<Integer> runFlag);

   List<LineDevGetDTO> lineDevGet(@Param("list")List<Integer> devType, @Param("type")Integer type, @Param("lineRunFlag") Integer lineRunFlag);

}
