liriming
2024-08-26 aecc4908e1f2861d2dab1929a88f9053238b2dd2
提交 | 用户 | 时间
a6de49 1 package com.iailab.module.data.channel.opcua.dao;
H 2
aecc49 3 import com.iailab.framework.common.pojo.PageResult;
L 4 import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
5 import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
0fbd01 6 import com.iailab.framework.tenant.core.db.dynamic.TenantDS;
a6de49 7 import com.iailab.module.data.channel.opcua.entity.ChannelOPCUADeviceEntity;
aecc49 8 import com.iailab.module.data.channel.opcua.vo.OpcUaDevicePageReqVO;
a6de49 9 import org.apache.ibatis.annotations.Mapper;
H 10
11
12 /**
aecc49 13  * @author lirm
a6de49 14  * @Description
aecc49 15  * @createTime 2024年08月26日
a6de49 16  */
0fbd01 17 @TenantDS
a6de49 18 @Mapper
aecc49 19 public interface ChannelOPCUADeviceDao extends BaseMapperX<ChannelOPCUADeviceEntity> {
a6de49 20
aecc49 21     default PageResult<ChannelOPCUADeviceEntity> selectPage(OpcUaDevicePageReqVO reqVO) {
L 22         return selectPage(reqVO, new LambdaQueryWrapperX<ChannelOPCUADeviceEntity>()
23                 .likeIfPresent(ChannelOPCUADeviceEntity::getServerName, reqVO.getServerName()));
24     }
a6de49 25 }