puzhibing
2023-06-02 9b230057d5941c4ec0d29cda2c8163f9a6d7a1e9
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
package com.agentdriving.driver.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.agentdriving.driver.modular.system.model.DriverWork;
import com.agentdriving.driver.modular.system.util.ResultUtil;
 
public interface IDriverWorkService extends IService<DriverWork> {
 
 
    /**
     * 上班操作
     * @param driverId
     * @return
     * @throws Exception
     */
    ResultUtil driverWork(Integer driverId) throws Exception;
 
 
    /**
     * 司机下班操作
     * @param driverId      司机id
     * @param onlineTime    在线时长(秒)
     * @return
     * @throws Exception
     */
    ResultUtil driverOffWork(Integer driverId, Long onlineTime) throws Exception;
}