You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
2.0 KiB
94 lines
2.0 KiB
package com.zc.business.mapper;
|
|
|
|
import com.ruoyi.common.annotation.DataScope;
|
|
import com.ruoyi.common.annotation.DataSource;
|
|
import com.ruoyi.common.enums.DataSourceType;
|
|
import com.zc.business.domain.*;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 中间库Mapper接口
|
|
*
|
|
* @author ruoyi
|
|
* @date 2024-01-05
|
|
*/
|
|
public interface MiddleDatabaseMapper
|
|
{
|
|
|
|
/**
|
|
* 中间库新增设备数据
|
|
*
|
|
* @param mdDeviceData 气象检测器数据
|
|
* @return 结果
|
|
*/
|
|
Boolean insertMiddleDatabaseDeviceData(MdDeviceData mdDeviceData);
|
|
|
|
/**
|
|
* 新增中间库设备
|
|
*
|
|
* @param mdDevice 设备
|
|
* @return 结果
|
|
*/
|
|
boolean insertMiddleDatabaseDeviceInfo(MdDevice mdDevice);
|
|
|
|
/**
|
|
* 修改中间库设备
|
|
*
|
|
* @param mdDevice 设备
|
|
* @return 结果
|
|
*/
|
|
boolean updateMiddleDatabaseDeviceInfo(MdDevice mdDevice);
|
|
|
|
/**
|
|
* 删除中间库设备
|
|
* 假删
|
|
*
|
|
* @param ids 设备ids
|
|
* @return 结果
|
|
*/
|
|
boolean deleteMiddleDatabaseDeviceInfoByIds(List<String> ids);
|
|
|
|
/**
|
|
* 批量更新中间库设备
|
|
* 有则修改,无则新增
|
|
*
|
|
* @param mdDeviceList 设备列表
|
|
* @return 结果
|
|
*/
|
|
boolean synchronizeMdDevice(List<MdDevice> mdDeviceList);
|
|
|
|
/**
|
|
* 更新中间库设备
|
|
*
|
|
* @param dcDevice 设备
|
|
* @return 结果
|
|
*/
|
|
boolean updateMiddleDatabaseDevice(DcDevice dcDevice);
|
|
|
|
/**
|
|
* 中间库新增事件
|
|
*
|
|
* @param mdEvent 事件
|
|
* @return 结果
|
|
*/
|
|
boolean insertMiddleDatabaseEvent(MdEvent mdEvent);
|
|
|
|
/**
|
|
* 中间库更新事件
|
|
*
|
|
* @param mdEvent 事件
|
|
* @return 结果
|
|
*/
|
|
boolean updateMiddleDatabaseEvent(MdEvent mdEvent);
|
|
|
|
/**
|
|
* @Description 中间库批量添加事件
|
|
*
|
|
* @author liuwenge
|
|
* @date 2024/3/18 15:09
|
|
* @param mdEventList
|
|
* @return boolean
|
|
*/
|
|
boolean batchInsertMiddleDatabaseEvent(List<MdEvent> mdEventList);
|
|
}
|
|
|