提交 | 用户 | 时间
|
9d7e02
|
1 |
package com.iailab.module.data.channel.opcda.dao; |
潘 |
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; |
9d7e02
|
7 |
import com.iailab.module.data.channel.opcda.entity.ChannelOPCDADeviceEntity; |
aecc49
|
8 |
import com.iailab.module.data.channel.opcda.vo.OpcDaDevicePageReqVO; |
9d7e02
|
9 |
import org.apache.ibatis.annotations.Mapper; |
潘 |
10 |
|
|
11 |
|
|
12 |
/** |
aecc49
|
13 |
* @author lirm |
9d7e02
|
14 |
* @Description |
aecc49
|
15 |
* @createTime 2024年08月26日 |
9d7e02
|
16 |
*/ |
0fbd01
|
17 |
@TenantDS |
9d7e02
|
18 |
@Mapper |
aecc49
|
19 |
public interface ChannelOPCDADeviceDao extends BaseMapperX<ChannelOPCDADeviceEntity> { |
9d7e02
|
20 |
|
aecc49
|
21 |
default PageResult<ChannelOPCDADeviceEntity> selectPage(OpcDaDevicePageReqVO reqVO) { |
L |
22 |
return selectPage(reqVO, new LambdaQueryWrapperX<ChannelOPCDADeviceEntity>() |
|
23 |
.likeIfPresent(ChannelOPCDADeviceEntity::getServerName, reqVO.getServerName()) |
|
24 |
.orderByDesc(ChannelOPCDADeviceEntity::getCreateTime)); |
|
25 |
} |
9d7e02
|
26 |
} |