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