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.RStatDataPltD;
import com.njcn.mysql.mapper.RStatDataPltDMapper;
import com.njcn.mysql.service.IRStatDataPltDService;
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 RStatDataPltDServiceImpl extends MppServiceImpl<RStatDataPltDMapper, RStatDataPltD> implements IRStatDataPltDService {

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