| | |
| | | package org.sxkj.gd.orderdata.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import org.sxkj.gd.orderdata.dto.GdSupplyDemandDTO; |
| | | import org.sxkj.gd.orderdata.entity.GdSupplyDemandEntity; |
| | | import org.sxkj.gd.orderdata.param.GdSupplyDemandPageParam; |
| | | import org.sxkj.gd.orderdata.vo.GdSupplyDemandVO; |
| | |
| | | */ |
| | | IPage<GdSupplyDemandVO> selectGdSupplyDemandPage(IPage<GdSupplyDemandVO> page, GdSupplyDemandPageParam gdSupplyDemand); |
| | | |
| | | /** |
| | | * 列表分页 |
| | | * |
| | | * @param page |
| | | * @param gdSupplyDemand |
| | | * @return |
| | | */ |
| | | IPage<GdSupplyDemandEntity> selectGdSupplyDemandList(IPage<GdSupplyDemandEntity> page, GdSupplyDemandDTO gdSupplyDemand); |
| | | |
| | | /** |
| | | * 详情查询 |
| | | * |
| | | * @param gdSupplyDemand |
| | | * @return |
| | | */ |
| | | GdSupplyDemandEntity detailSupplyDemand(GdSupplyDemandDTO gdSupplyDemand); |
| | | |
| | | /** |
| | | * 保存或发起需求 |
| | | * |
| | | * @param gdSupplyDemand |
| | | * @return |
| | | */ |
| | | boolean submitSupplyDemand(GdSupplyDemandDTO gdSupplyDemand); |
| | | |
| | | /** |
| | | * 审核通过 |
| | | * |
| | | * @param demandId |
| | | * @param auditOpinion |
| | | * @param attachIds |
| | | * @return |
| | | */ |
| | | boolean approveSupplyDemand(Long demandId, String auditOpinion, List<Long> attachIds); |
| | | |
| | | /** |
| | | * 拒绝申请 |
| | | * |
| | | * @param demandId |
| | | * @param auditOpinion |
| | | * @return |
| | | */ |
| | | boolean rejectSupplyDemand(Long demandId, String auditOpinion); |
| | | |
| | | |
| | | /** |
| | | * 导出数据 |