package cn.iocoder.yudao.module.system.dal.mysql.biz;


import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.module.system.dal.dataobject.biz.ElderlyPhotoDO;
import org.apache.ibatis.annotations.Mapper;


/**
 * 长者相册 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface ElderlyPhotoMapper extends BaseMapperX<ElderlyPhotoDO> {

//    default PageResult<PhotoDO> selectPage(PhotoPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<PhotoDO>()
//                .eqIfPresent(PhotoDO::getElderId, reqVO.getElderId())
//                .betweenIfPresent(PhotoDO::getShootingTime, reqVO.getShootingTime())
//                .eqIfPresent(PhotoDO::getCaption, reqVO.getCaption())
//                .eqIfPresent(PhotoDO::getImages, reqVO.getImages())
//                .eqIfPresent(PhotoDO::getType, reqVO.getType())
//                .betweenIfPresent(PhotoDO::getCreatedTime, reqVO.getCreatedTime())
//                .eqIfPresent(PhotoDO::getCreatedBy, reqVO.getCreatedBy())
//                .orderByDesc(PhotoDO::getId));
//    }

}