潘志宝
5 天以前 b131f033c12459b718565cab504f762c25642d2d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package com.iailab.module.report.dal.mysql.goview;
 
import com.iailab.framework.common.pojo.PageParam;
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.module.report.dal.dataobject.goview.GoViewProjectDO;
import org.apache.ibatis.annotations.Mapper;
 
@Mapper
public interface GoViewProjectMapper extends BaseMapperX<GoViewProjectDO> {
 
    default PageResult<GoViewProjectDO> selectPage(PageParam reqVO, Long userId) {
        return selectPage(reqVO, new LambdaQueryWrapperX<GoViewProjectDO>()
                .eq(GoViewProjectDO::getCreator, userId)
                .orderByDesc(GoViewProjectDO::getId));
    }
 
}