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.RStatDataVD;
import com.njcn.mysql.mapper.RStatDataVDMapper;
import com.njcn.mysql.service.IRStatDataVDService;
import org.springframework.stereotype.Service;

import java.util.List;

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

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