| | |
| | | package com.iailab.module.data.channel.kio.dao; |
| | | |
| | | import com.iailab.framework.common.dao.BaseDao; |
| | | import com.iailab.framework.common.pojo.PageResult; |
| | | import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
| | | import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; |
| | | import com.iailab.framework.tenant.core.db.dynamic.TenantDS; |
| | | import com.iailab.module.data.channel.kio.entity.ChannelKioDeviceEntity; |
| | | import com.iailab.module.data.channel.kio.vo.KioDevicePageReqVO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | /** |
| | | * @author PanZhibao |
| | | * @author lirm |
| | | * @Description |
| | | * @createTime 2024年06月04日 |
| | | * @createTime 2024年08月26日 |
| | | */ |
| | | @TenantDS |
| | | @Mapper |
| | | public interface ChannelKioDeviceDao extends BaseDao<ChannelKioDeviceEntity> { |
| | | public interface ChannelKioDeviceDao extends BaseMapperX<ChannelKioDeviceEntity> { |
| | | |
| | | default PageResult<ChannelKioDeviceEntity> selectPage(KioDevicePageReqVO reqVO) { |
| | | return selectPage(reqVO, new LambdaQueryWrapperX<ChannelKioDeviceEntity>() |
| | | .likeIfPresent(ChannelKioDeviceEntity::getInstanceName, reqVO.getInstanceName()) |
| | | .orderByDesc(ChannelKioDeviceEntity::getCreateTime)); |
| | | } |
| | | } |