puzhibing
2024-02-05 640ff18d2d7f4be02ddb7f8f75e899f05545eb98
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
//package com.dsh.guns.modular.system.service.impl;
//
//import com.baomidou.mybatisplus.service.impl.ServiceImpl;
//import com.dsh.guns.modular.system.dao.DriverOnlineMapper;
//import com.dsh.guns.modular.system.model.DriverOnline;
//import com.dsh.guns.modular.system.service.IDriverOnlineService;
//import org.springframework.stereotype.Service;
//
//import javax.annotation.Resource;
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
//
//@Service
//public class DriverOnlineServiceImpl extends ServiceImpl<DriverOnlineMapper, DriverOnline> implements IDriverOnlineService {
//
//    @Resource
//    private DriverOnlineMapper driverOnlineMapper;
//
//
//
//
//    /**
//     * 获取列表数据
//     * @param name
//     * @param phone
//     * @param offset
//     * @param limit
//     * @return
//     * @throws Exception
//     */
//    @Override
//    public Map<String, Object> queryOnlineDriver(String name, String phone, Integer offset, Integer limit) throws Exception {
//        Map<String, Object> map = new HashMap<>();
//        List<Map<String, Object>> list = driverOnlineMapper.queryOnlineDriver(name, phone, offset, limit);
//        int i = driverOnlineMapper.queryOnlineDriverCount(name, phone);
//        map.put("rows", list);
//        map.put("total", i);
//        return map;
//    }
//
//    @Override
//    public int queryOnlineDriverCount(String name, String phone) {
//        return driverOnlineMapper.queryOnlineDriverCount(name, phone);
//    }
//}