| | |
| | | package com.ruoyi.iot.service; |
| | | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.iot.domain.DeviceOrder; |
| | | import org.checkerframework.checker.units.qual.A; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author wmz |
| | | * @version v1.0 |
| | | * @ClassName IDeviceOrderService |
| | | * @description 设备安装Service接口 |
| | | * @description 设备安装单/维修单Service接口 |
| | | * @createTime 2023/11/13 0:24 |
| | | */ |
| | | |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public int selectDeviceOrderCountByUndeliveredorders(DeviceOrder deviceOrder) throws Exception; |
| | | public AjaxResult selectDeviceOrderCountByUndeliveredorders(DeviceOrder deviceOrder) throws Exception; |
| | | |
| | | /** |
| | | * 根据登录的用户来查询自己已派单的安装单/维修单数量 |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public DeviceOrder selectDeviceOrderById(int id)throws Exception; |
| | | public DeviceOrder selectDeviceOrderById(int id) throws Exception; |
| | | |
| | | /** |
| | | * 添加安装设备订单信息 |
| | |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public int insertDeviceOrder(DeviceOrder deviceOrder) throws Exception; |
| | | public AjaxResult insertDeviceOrder(DeviceOrder deviceOrder) throws Exception; |
| | | |
| | | |
| | | /** |
| | | * 修改设备订单信息 |
| | | * |
| | | * @param order |
| | | * @param deviceOrder |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public int updateDeviceOrder(DeviceOrder order) throws Exception; |
| | | public AjaxResult updateDeviceOrder(DeviceOrder deviceOrder) throws Exception; |
| | | |
| | | /** |
| | | * 用户对完成的安装单/维修单打分和评价 |
| | | * |
| | | * @param deviceOrder |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public AjaxResult updateDeviceOrderScoreAndComment(DeviceOrder deviceOrder) throws Exception; |
| | | |
| | | /** |
| | | * 删除设备订单信息 |
| | | * |
| | | * @param id |
| | | * @param deviceId |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | public int deleteDeviceOrderById(Integer id) throws Exception; |
| | | public AjaxResult deleteDeviceOrderById(Integer deviceId) throws Exception; |
| | | |
| | | /** |
| | | * 批量删除设备订单安装信息 |