package com.zg.project.wisdom.service.impl;

import com.zg.project.wisdom.domain.dto.PkDatDTO;
import com.zg.project.wisdom.mapper.PkDatMapper;
import com.zg.project.wisdom.service.IPkDatService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PkDatServiceImpl implements IPkDatService {

    @Resource
    private PkDatMapper pkDatMapper;

    @Override
    public int batchInsertPkDat(List<PkDatDTO> list) {
        if (list == null || list.isEmpty()) {
            return 0;
        }
        return pkDatMapper.batchInsertPkDat(list);
    }
}
