提交 | 用户 | 时间
|
a63a4f
|
1 |
package com.iailab.module.data.ind.data.dao; |
潘 |
2 |
|
|
3 |
import com.iailab.framework.common.pojo.PageResult; |
|
4 |
import com.iailab.framework.mybatis.core.mapper.BaseMapperX; |
|
5 |
import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; |
|
6 |
import com.iailab.framework.tenant.core.db.dynamic.TenantDS; |
|
7 |
import com.iailab.module.data.ind.data.entity.IndDataSetFieldEntity; |
|
8 |
import com.iailab.module.data.ind.data.vo.IndDataSetFieldPageReqVO; |
|
9 |
import org.apache.ibatis.annotations.Mapper; |
|
10 |
|
|
11 |
/** |
|
12 |
* @author PanZhibao |
|
13 |
* @Description |
|
14 |
* @createTime 2024年09月10日 |
|
15 |
*/ |
|
16 |
@TenantDS |
|
17 |
@Mapper |
|
18 |
public interface IndDataSetFieldDao extends BaseMapperX<IndDataSetFieldEntity> { |
|
19 |
|
|
20 |
default PageResult<IndDataSetFieldEntity> selectPage(IndDataSetFieldPageReqVO reqVO) { |
|
21 |
return selectPage(reqVO, new LambdaQueryWrapperX<IndDataSetFieldEntity>() |
|
22 |
.eq(IndDataSetFieldEntity::getDataSetId, reqVO.getDataSetId()) |
|
23 |
.orderByDesc(IndDataSetFieldEntity::getSort)); |
|
24 |
} |
|
25 |
} |