2022-07-22 10:22:03 +08:00
|
|
|
package com.whdc.zhdbaqapi.mapper;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
|
|
import com.whdc.zhdbaqapi.model.dto.FindDeviceDto;
|
|
|
|
|
import com.whdc.zhdbaqapi.model.entity.DeviceData;
|
|
|
|
|
import com.whdc.zhdbaqapi.model.entity.SysUser;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author 李赛
|
|
|
|
|
* @date 2022-07-21 23:40
|
|
|
|
|
*/
|
|
|
|
|
public interface DeviceDataMapper extends BaseMapper<DeviceData> {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 分页查询
|
|
|
|
|
*
|
|
|
|
|
* @param page
|
|
|
|
|
* @param findDto
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
IPage<DeviceData> page(@Param("page") IPage<SysUser> page, @Param("obj") FindDeviceDto findDto);
|
2022-11-04 17:09:49 +08:00
|
|
|
|
|
|
|
|
void clearByDeviceId(@Param("deviceId") String deviceId, @Param("channelNum") Integer channelNum);
|
2022-07-22 10:22:03 +08:00
|
|
|
}
|