package com.ytpm.middle.dao;

import com.ytpm.agent.model.YtPlatformAttach;
import com.ytpm.middle.view.AttachVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AttachMapper {
    List<AttachVO> queryByTargetId(@Param("targetId") String targetId,@Param("targetType") Integer targetType);

    void batchInsert(@Param("dataList") List<YtPlatformAttach> dataList);
}
