package com.ruoyi.iot.service;
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
import com.ruoyi.iot.domain.DeviceOrderTime;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* @author wmz
|
* @version v1.0
|
* @ClassName IDeviceOrderTimeService
|
* @description 设备订单超时Service接口
|
* @createTime 2023/11/30 12:04
|
*/
|
|
public interface IDeviceOrderTimeService {
|
|
/**
|
* 根据登录的联营商查询接单,完成的超时的时间间隔
|
*
|
* @param deviceOrderTime
|
* @return
|
* @throws Exception
|
*/
|
public AjaxResult selectDeviceOrderTimeoutById(DeviceOrderTime deviceOrderTime) throws Exception;
|
|
/**
|
* 根据登录的用户id查询设备订单超时时间间隔信息
|
*
|
* @param id
|
* @param orderType
|
* @return
|
* @throws Exception
|
*/
|
public DeviceOrderTime selectDeviceOrderTimeByUserId(int id, int orderType) throws Exception;
|
|
/**
|
* 初次登录的用户如果表中没有数据就添加数据
|
*
|
* @param deviceOrderTime
|
* @return
|
* @throws Exception
|
*/
|
public int insertDeviceOrderTimeout(DeviceOrderTime deviceOrderTime) throws Exception;
|
|
/**
|
* 根据登录的联营商输入的已接单超时时间间隔和已完成的超时时间间隔修改
|
*
|
* @param orderTime
|
* @return
|
* @throws Exception
|
*/
|
public AjaxResult updateDeviceOrderTimeoutById(DeviceOrderTime orderTime) throws Exception;
|
|
|
}
|