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 { default PageResult selectPage(PageParam reqVO, Long userId) { return selectPage(reqVO, new LambdaQueryWrapperX() .eq(GoViewProjectDO::getCreator, userId) .orderByDesc(GoViewProjectDO::getId)); } }