123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- package com.ozs.pm.service;
- import com.baomidou.mybatisplus.core.metadata.IPage;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.ozs.pm.doman.PmDemand;
- import com.ozs.pm.doman.vo.requestVo.*;
- import com.ozs.pm.doman.vo.responseVo.PmDemandResVo;
- import com.ozs.pm.doman.vo.responseVo.PmFlowChartResVo;
- import com.ozs.system.domain.SysFileRef;
- import java.util.List;
- /**
- * 采购需求Service接口
- *
- * @author ruoyi
- * @date 2023-01-16
- */
- public interface IPmDemandService extends IService<PmDemand>
- {
- /**
- * 查询采购需求
- *
- * @param demandId 采购需求主键
- * @return 采购需求
- */
- PmDemandResVo selectPmDemandByDemandId(Long demandId,String detailType);
- /**
- * 查询采购需求列表
- *
- * @param pmDemandReqVo 采购需求
- * @return 采购需求集合
- */
- IPage<PmDemandResVo> selectPmDemandList(PmDemandReqVo pmDemandReqVo,int reqType);
- /**
- * 需求建档
- *
- * @param pmBookBuildingReqVo 需求建档
- * @return 结果
- */
- boolean bookBuilding(PmBookBuildingReqVo pmBookBuildingReqVo);
- /**
- * 查看流程图
- *
- * @param demandId 采购需求主键
- * @return 采购需求
- */
- Object viewFlowChart(Long demandId);
- /**
- * 查看流程图
- *
- * @param demandId 采购需求主键
- * @return 采购需求
- */
- PmFlowChartResVo getModuleInfo(Long demandId, String moduleName);
- /**
- * 提交采购需求
- *
- * @param pmDemandReqVo
- * @return 结果
- */
- boolean commit(PmDemandReqVo pmDemandReqVo);
- /**
- * 审核采购需求通过
- *
- * @param pmDemandReqVo
- * @return 结果
- */
- boolean reviewTo(PmDemandReqVo pmDemandReqVo);
- /**
- * 审核采购需求退回
- *
- * @param pmDemandReqVo
- * @return 结果
- */
- boolean reviewReturn(PmDemandReqVo pmDemandReqVo);
- /**
- * 下达任务
- *
- * @param pmDemandReqVo
- * @return 结果
- */
- boolean releaseTask(PmDemandReqVo pmDemandReqVo);
- boolean uploadFile(Long redId,Integer fileType, List<SysFileRef> sysFileRefs,String upateBy);
- boolean insertPmReleaseAnnouncement(PmReleaseAnnouncementReqVo pmReleaseAnnouncementReqVo);
- boolean insertExpertBatch(PmBaseExpertFillReqVo pmBaseExpertFillReqVo) throws Exception;
- boolean extractExpertBatch(PmBaseExpertExtractReqVo pmBaseExpertExtractReqVo) throws Exception;
- }
|