package com.njcn.mysql.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.github.jeffreyning.mybatisplus.service.MppServiceImpl;
import com.njcn.mysql.bo.po.RStatDataInharmVD;
import com.njcn.mysql.mapper.RStatDataInHarmVDMapper;
import com.njcn.mysql.service.IRStatDataInharmVDService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2023/3/24 9:53
 */
@Service
@DS("target")
public class RStatDataInharmVDServiceImpl extends MppServiceImpl<RStatDataInHarmVDMapper, RStatDataInharmVD> implements IRStatDataInharmVDService {

    @Override
    public void insert(List<RStatDataInharmVD> list) {
        this.saveOrUpdateBatchByMultiId(list,50);
    }
}
