package com.ozs.pm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ozs.pm.doman.PmDemandHis;
import com.ozs.pm.doman.vo.responseVo.PmDemandResVo;

/**
 * 采购需求表历史表(PmDemandHis)è¡¨æå¡æ¥å£
 *
 * @author makejava
 * @since 2023-03-06 16:43:50
 */
public interface PmDemandHisService extends IService<PmDemandHis> {
    boolean returnBidFailure(Long demandId,String updateBy) throws Exception;

    /**
     * 查询采购需求
     *
     * @param demandId 采购需求主键
     * @return 采购需求
     */
    PmDemandResVo selectPmDemandHisByDemandId(Long demandId, String detailType,Integer returnOrderNumber);
}
