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