BigViewServiceV1.java
1.68 KB
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
package com.ruoyi.service;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.domain.DriverScheduling;
import com.ruoyi.driver.domain.Driver;
import com.ruoyi.in.domain.SignIn;
import com.ruoyi.pojo.vo.bigViewVo.FleetState;
import com.ruoyi.pojo.vo.bigViewVo.LineInfo;
import java.util.Date;
public interface BigViewServiceV1 {
void asyncRefreshRedisValue(SignIn signIn, Driver driver, DriverScheduling driverScheduling,String dateStr) throws InterruptedException;
AjaxResult queryBigViewQueryLineInfo(Date date);
LineInfo.PersonInfoVo refreshRedisDriver(SignIn signIn, Driver driver);
FleetState refreshRedisLine(SignIn signIn, DriverScheduling driverScheduling) throws InterruptedException;
/***
* 判断酒测次数
* @author liujun
* @date 2024/9/25 14:54
*
* @param signIn
* @return com.ruoyi.common.core.domain.AjaxResult
*/
AjaxResult getAjaxResultByDriverSignInfo(SignIn signIn);
/***
* 是否是早签
* @author liujun
* @date 2024/9/25 14:51
*
* @param signIn
* @return boolean
*/
boolean isEarly(SignIn signIn);
/***
* 是否是酒驾
* @author liujun
* @date 2024/9/25 14:33
*
* @param signIn
* @return boolean
*/
boolean isSignStatusWineEnum(SignIn signIn);
/***
* 迟到
* @author liujun
* @date 2024/9/25 14:35
*
* @param signIn
* @return boolean
*/
boolean isSignStatusDelayEnum(SignIn signIn);
/***
* 酒测是否正常
* @author liujun
* @date 2024/9/25 15:15
*
* @param signIn
* @return boolean
*/
boolean isSignStatusZoneEnum(SignIn signIn);
}