package com.jwipc.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jwipc.order.entity.BasicForcaseData;
import com.jwipc.order.mapper.BasicForcaseDataMapper;
import com.jwipc.order.model.po.BasicForcaseQuotaPO;
import com.jwipc.order.service.IBasicForcaseDataService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: swq
 * @Date: 2024/3/14 11:20
 */
@Service
public class BasicForcaseDataServiceImpl extends ServiceImpl<BasicForcaseDataMapper, BasicForcaseData> implements IBasicForcaseDataService {
    /**
     * 获取计划详情日期数据
     *
     * @param detailId     详情ID
     * @param supplierCode 供应商编码
     * @return 详情数据
     */
    @Override
    public List<BasicForcaseQuotaPO> getPlanDetailData(Long detailId, String supplierCode) {
        return this.baseMapper.getPlanDetailData(detailId, supplierCode);
    }
}
