package com.storlead.sales.service.impl;

import com.storlead.sales.pojo.entity.report.DashboardSketchEntity;
import com.storlead.sales.mapper.DashboardSketchMapper;
import com.storlead.sales.service.DashboardSketchService;
import com.storlead.framework.mybatis.service.impl.MyBaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 数据播报 服务实现类
 * </p>
 *
 * @author chenkq
 * @since 2025-12-18
 */
@Service
public class DashboardSketchServiceImpl extends MyBaseServiceImpl<DashboardSketchMapper, DashboardSketchEntity> implements DashboardSketchService {

    @Override
    public void assembleData(DashboardSketchEntity info) {
        saveOrUpdate(info);
    }

    @Override
    public void assembleData(List<DashboardSketchEntity> infos) {
        saveOrUpdateBatch(infos);
    }
}
