1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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;
 
 
}