123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- 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.PmBookBuildingReqVo;
- import com.ozs.pm.doman.vo.requestVo.PmDemandReqVo;
- import com.ozs.pm.doman.vo.responseVo.PmDemandResVo;
- import com.ozs.pm.doman.vo.responseVo.PmFlowChartResVo;
- /**
- * 采购需求Service接口
- *
- * @author ruoyi
- * @date 2023-01-16
- */
- public interface IPmDemandService extends IService<PmDemand>
- {
- /**
- * 查询采购需求
- *
- * @param demandId 采购需求主键
- * @return 采购需求
- */
- public PmDemandResVo selectPmDemandByDemandId(Long demandId);
- /**
- * 查询采购需求列表
- *
- * @param pmDemandReqVo 采购需求
- * @return 采购需求集合
- */
- public IPage<PmDemandResVo> selectPmDemandList(PmDemandReqVo pmDemandReqVo);
- /**
- * 审核单位查询采购需求列表
- *
- * @param pmDemandReqVo 采购需求
- * @return 采购需求集合
- */
- public IPage<PmDemandResVo> selectPmDemanDexamineList(PmDemandReqVo pmDemandReqVo);
- /**
- * 新增采购需求
- *
- * @param pmDemand 采购需求
- * @return 结果
- */
- public int insertPmDemand(PmDemand pmDemand);
- /**
- *修改采购需求
- *
- * @param pmDemand 采购需求
- * @return 结果
- */
- public int updatePmDemand(PmDemand pmDemand);
- /**
- * 需求建档
- *
- * @param pmBookBuildingReqVo 需求建档
- * @return 结果
- */
- public int bookBuilding(PmBookBuildingReqVo pmBookBuildingReqVo);
- /**
- * 查看流程图
- *
- * @param demandId 采购需求主键
- * @return 采购需求
- */
- public String viewFlowChart(Long demandId);
- /**
- * 查看流程图
- *
- * @param demandId 采购需求主键
- * @return 采购需求
- */
- public PmFlowChartResVo getModuleInfo(Long demandId, String moduleName);
- /**
- * 提交采购需求
- *
- * @param pmDemandReqVo
- * @return 结果
- */
- public int commit(PmDemandReqVo pmDemandReqVo);
- /**
- * 审核采购需求通过
- *
- * @param pmDemandReqVo
- * @return 结果
- */
- public int reviewTo(PmDemandReqVo pmDemandReqVo);
- /**
- * 审核采购需求退回
- *
- * @param pmDemandReqVo
- * @return 结果
- */
- public int reviewReturn(PmDemandReqVo pmDemandReqVo);
- }
|