liujie
2026-06-09 c96fbe6b0aeb413a17c429133ee6d81d138144b9
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
package com.xiaopeng.maintenance.service;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaopeng.api.model.maintenance.XpCruiseCheckInRecord;
import com.xiaopeng.api.model.maintenance.XpCruiseCheckInRule;
import com.xiaopeng.maintenance.dto.XpCruiseCheckInRuleDto;
import com.xiaopeng.maintenance.dto.XpCruiseCheckInRuleListPageDto;
import com.xiaopeng.maintenance.model.vo.AppXpCruiseCheckInLocationVo;
import com.xiaopeng.maintenance.model.vo.AppXpCruiseCheckInRuleVo;
import com.xiaopeng.maintenance.model.vo.CheckInMessageVo;
import com.xiaopeng.maintenance.model.vo.RealTimePositionVo;
import com.xiaopeng.maintenance.vo.XpCruiseCheckInRuleInfoVo;
import com.xiaopeng.maintenance.vo.XpCruiseCheckInRuleListPage;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
 
import java.util.List;
 
public interface IXpCruiseCheckInRuleService extends IService<XpCruiseCheckInRule> {
 
 
    /**
     * 获取运维人员当日巡游打卡任务数据-APP个人中心页
     * @param uid
     * @return
     */
    AppXpCruiseCheckInRuleVo getMyXpCruiseCheckInRule(Long uid);
 
 
    /**
     * 获取运维人员个人中心的巡游打卡点位列表
     * @param ruleId
     * @param uid
     * @return
     */
    List<AppXpCruiseCheckInLocationVo> getAppXpCruiseCheckInLocation(Integer ruleId, Long uid);
 
 
    /**
     * 运维人员巡游打卡操作
     * @param dto
     */
    Long saveCruiseCheckInRecord(XpCruiseCheckInRecord dto);
 
 
    /**
     * 运维端实时上传位置信息,返回提醒消息
     * @param dto
     * @return
     */
    CheckInMessageVo uploadRealTimePosition(RealTimePositionVo dto, Long uid);
 
 
    /**
     * 获取巡游打卡详情
     * @param ruleId
     * @param locationId
     * @param uid
     * @return
     */
    XpCruiseCheckInRecord getCruiseCheckInRecordInfo(Integer ruleId, Long locationId, Long uid);
 
 
    /**
     * 获取巡游打卡规则列表数据
     * @param pageInfo
     * @param dto
     * @return
     */
    List<XpCruiseCheckInRuleListPage> getXpCruiseCheckInRuleListPage(Page<XpCruiseCheckInRuleListPage> pageInfo, XpCruiseCheckInRuleListPageDto dto);
 
 
    /**
     * 新增巡游打卡规则
     * @param dto
     */
    void addXpCruiseCheckInRule(XpCruiseCheckInRuleDto dto);
    /**
     * 编辑巡游打卡规则
     * @param dto
     */
    void updateXpCruiseCheckInRule(XpCruiseCheckInRuleDto dto);
 
 
    /**
     * 获取巡游打卡规则详情
     * @param id
     */
    XpCruiseCheckInRuleInfoVo getXpCruiseCheckInRuleInfo(Integer id);
}