package com.jwipc.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jwipc.order.entity.ShortageData;
import com.jwipc.order.model.po.ShortagePlanReplyPO;
import com.jwipc.order.model.query.BasicForeignQuotaQuery;

import java.util.List;

/**
 * <p>
 * 欠料标准预测计划明细周期数据 服务类
 * </p>
 *
 * @author swq
 * @since 2024-04-28
 */
public interface IShortageDataService extends IService<ShortageData> {

    List<ShortagePlanReplyPO> getSupplierReply(Page<ShortagePlanReplyPO> page, BasicForeignQuotaQuery query);
    void delShortAgeDataBySerialNumber(String serialNumber);
    void delShortAgeDetailBySerialNumber(String serialNumber);

    ShortagePlanReplyPO findSupplierRecentReply(ShortagePlanReplyPO shortagePlanReplyPO);

}
