package com.zzsn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzsn.entity.CesSysWeb;
import com.zzsn.entity.VO.WebTypeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 网站信息源
 * @Author: zzsn-boot
 * @Date:   2020-10-21
 * @Version: V1.0
 */
public interface CesSysWebMapper extends BaseMapper<CesSysWeb> {
    /**
     * 批量插入
     * @param newWebList
     * @return
     */
    int insertBatch(@Param("list") List<CesSysWeb> newWebList);

    /**
     * 判断是否是科工局下边的子机构
     * @param url
     * @return
     */
    WebTypeVo isKgj(@Param("url") String url);
}
