package com.ruoyi.iot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.iot.domain.TPlanRecord;
import com.ruoyi.iot.mapper.TPlanRecordMapper;
import com.ruoyi.iot.service.ITPlanRecordService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author wzh
 * @since 2023-06-25
 */
@Service
public class TPlanRecordServiceImpl extends ServiceImpl<TPlanRecordMapper, TPlanRecord> implements ITPlanRecordService {

    @Override
    public int bactchInsert(List<TPlanRecord> list) {
        this.saveBatch(list);
        return 0;
    }
}
