| | |
| | | package com.sandu.ximon.dao.mapper; |
| | | |
| | | import com.sandu.ximon.dao.bo.LightReportDataBo; |
| | | import com.sandu.ximon.dao.domain.LightReportData; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Entity com.sandu.ximon.dao.domain.LightReportData |
| | |
| | | @Mapper |
| | | public interface LightReportDataMapper extends BaseMapper<LightReportData> { |
| | | |
| | | /** |
| | | * 获取指定设备吗最新上报的一条数据 |
| | | * @param deviceCodeList 指定设备码 |
| | | * @return 上报数据 |
| | | */ |
| | | List<LightReportData> getNewestReportByDeviceCode(List<String> deviceCodeList); |
| | | |
| | | |
| | | /** |
| | | * 获取上报数据列表 |
| | | * @param keyword 关键词 |
| | | * @param deviceCode 设备码 |
| | | * @return 上报数据 |
| | | */ |
| | | List<LightReportDataBo> listReportData(String keyword, String deviceCode); |
| | | } |
| | | |
| | | |