Pu Zhibing
2025-02-28 173428adf09179860a3cb1a88f46378fd98473b2
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
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.PatrolTask;
import com.stylefeng.guns.modular.system.model.vo.PatrolTaskVo;
 
/**
 * @author zhibing.pu
 * @Date 2024/12/17 20:17
 */
public interface IPatrolTaskService extends IService<PatrolTask> {
    
    
    /**
     * 添加新的任务数据
     * @param vo
     */
    void addPatrolTask(PatrolTaskVo vo, String userId);
    
    
    /**
     * 定时任务执行逻辑
     * @param id
     */
    void execute(Integer id);
    
    /**
     * 变更车辆状态
     * @param vehicleNum
     * @param vehicleStatus
     * @param communicationNum
     * @param vehicleGpsProtocol
     * @param latitude
     * @param longitude
     */
    void vehicleSpeed(String vehicleNum, Integer vehicleStatus, Integer vehicleType, String communicationNum, String vehicleGpsProtocol, Double latitude, Double longitude);
}