1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package xiaozhi.modules.device.dao;
|
| import java.util.Date;
|
| import org.apache.ibatis.annotations.Mapper;
|
| import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
| import xiaozhi.modules.device.entity.DeviceEntity;
|
| @Mapper
| public interface DeviceDao extends BaseMapper<DeviceEntity> {
| /**
| * 获取此智能体全部设备的最后连接时间
| *
| * @param agentId 智能体id
| * @return
| */
| Date getAllLastConnectedAtByAgentId(String agentId);
|
| }
|
|