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.RStatDataHarmrateVD;
import com.njcn.mysql.mapper.RStatDataHarmRateVDMapper;
import com.njcn.mysql.service.IRStatDataHarmRateVDService;
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 RStatDataHarmRateVDServiceImpl extends MppServiceImpl<RStatDataHarmRateVDMapper, RStatDataHarmrateVD> implements IRStatDataHarmRateVDService {

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