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.RStatComassesD;
import com.njcn.mysql.mapper.RStatComassesDMapper;
import com.njcn.mysql.service.IRStatComassesDService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 电能质量综合评估 服务实现类
 * </p>
 *
 * @author wr
 * @since 2024-06-01
 */
@Service
@DS("target")
public class RStatComassesDServiceImpl extends MppServiceImpl<RStatComassesDMapper, RStatComassesD> implements IRStatComassesDService {

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