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.AttachmentsDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 医疗护理业务通用附件 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface AttachmentsMapper extends BaseMapperX<AttachmentsDO> {

//    default PageResult<AttachmentsDO> selectPage(AttachmentsPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<AttachmentsDO>()
//                .eqIfPresent(AttachmentsDO::getBusinessType, reqVO.getBusinessType())
//                .eqIfPresent(AttachmentsDO::getBusinessId, reqVO.getBusinessId())
//                .likeIfPresent(AttachmentsDO::getAttachmentName, reqVO.getAttachmentName())
//                .eqIfPresent(AttachmentsDO::getAttachmentPath, reqVO.getAttachmentPath())
//                .betweenIfPresent(AttachmentsDO::getUploadTime, reqVO.getUploadTime())
//                .eqIfPresent(AttachmentsDO::getUploadUser, reqVO.getUploadUser())
//                .eqIfPresent(AttachmentsDO::getFileSize, reqVO.getFileSize())
//                .eqIfPresent(AttachmentsDO::getFileType, reqVO.getFileType())
//                .orderByDesc(AttachmentsDO::getAttachmentId));
//    }

}