CourseTwoMapper.java 964 字节
package org.yrhl.syncdata.mapper.remote;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.yrhl.syncdata.domain.AllinonepushresultsEntity;
import org.yrhl.syncdata.domain.BlockNewSourceDataEntity;
import org.yrhl.syncdata.domain.BlockSourceDataEntity;
import org.yrhl.syncdata.domain.BusinessDataResultsEntity;

import java.util.List;
@Mapper
public interface CourseTwoMapper   {

    /**
     * 批量插入
     * @param list
     */
    void insertBusinessDataResultsBatch(@Param("list") List<BusinessDataResultsEntity> list);


    void insertBlockSourceDataEntityBatch(@Param("list") List<BlockSourceDataEntity> list);

    void insertBlockNewSourceDataEntityBatch(@Param("list") List<BlockNewSourceDataEntity> list);

    void insertAllinonepushresultsEntityBatch(@Param("list") List<AllinonepushresultsEntity> list);

    int isExist(@Param("tableName") String tableName  ,@Param("infoId") Long infoId);
}