提交 | 用户 | 时间
|
3205a2
|
1 |
package com.iailab.module.data.point.dao; |
D |
2 |
|
|
3 |
import com.iailab.framework.common.dao.BaseDao; |
3ca415
|
4 |
import com.iailab.framework.common.pojo.PageResult; |
D |
5 |
import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
|
6 |
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; |
3205a2
|
7 |
import com.iailab.framework.tenant.core.db.dynamic.TenantDS; |
D |
8 |
import com.iailab.module.data.point.entity.ArcPointSettingEntity; |
3ca415
|
9 |
import com.iailab.module.data.point.vo.ArcPointSettingPageReqVO; |
3205a2
|
10 |
import org.apache.ibatis.annotations.Mapper; |
D |
11 |
|
|
12 |
@TenantDS |
|
13 |
@Mapper |
3ca415
|
14 |
public interface ArcPointSettingDao extends BaseMapperX<ArcPointSettingEntity> { |
D |
15 |
|
|
16 |
default PageResult<ArcPointSettingEntity> selectPage(ArcPointSettingPageReqVO reqVO) { |
|
17 |
return selectPage(reqVO, new LambdaQueryWrapperX<ArcPointSettingEntity>() |
|
18 |
.likeIfPresent(ArcPointSettingEntity::getName, reqVO.getName()) |
|
19 |
.likeIfPresent(ArcPointSettingEntity::getType, reqVO.getType()) |
|
20 |
.orderByDesc(ArcPointSettingEntity::getCreateTime)); |
|
21 |
} |
3205a2
|
22 |
} |