| | |
| | | package cn.lihu.jh.module.ecg.service.devrent; |
| | | |
| | | import java.util.*; |
| | | |
| | | import cn.lihu.jh.framework.common.pojo.CommonResult; |
| | | import cn.lihu.jh.module.ecg.controller.admin.devrent.vo.*; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.devrent.DevRentDO; |
| | | import cn.lihu.jh.framework.common.pojo.PageResult; |
| | | import cn.lihu.jh.framework.common.pojo.PageParam; |
| | | |
| | | import javax.validation.Valid; |
| | | |
| | |
| | | * @author 芋道源码 |
| | | */ |
| | | public interface DevRentService { |
| | | |
| | | /** |
| | | * 装机登记 |
| | | * |
| | | * @param createReqVO 创建信息 |
| | | * @return 编号 |
| | | */ |
| | | CommonResult<Long> registerOperation(@Valid DevRentSaveReqVO createReqVO); |
| | | |
| | | /** |
| | | * 装机 |
| | |
| | | /** |
| | | * 装机 |
| | | * |
| | | * @param cancelReqVO 创建信息 |
| | | * @return 编号 |
| | | */ |
| | | CommonResult<Long> cancelOperation(@Valid DevCancelReqVO cancelReqVO); |
| | | |
| | | /** |
| | | * 遗失 |
| | | * |
| | | * @param createReqVO 创建信息 |
| | | * @return 编号 |
| | | */ |
| | | CommonResult<Long> cancelOperation(@Valid DevCancelReqVO createReqVO); |
| | | CommonResult<Long> loseOperation(@Valid DevRentSaveReqVO createReqVO); |
| | | |
| | | /** |
| | | * 创建装机拆机 |
| | |
| | | */ |
| | | PageResult<DevRentDO> getDevRentPage(DevRentPageReqVO pageReqVO); |
| | | |
| | | DevRentDO getLatestRent(DevRentSearchReqVO searchReqVO); |
| | | DevRentDO getDismantleRent(DevRentSearchReqVO searchReqVO); |
| | | } |