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


/**
 * 长者护理日志记录 Mapper
 *
 * @author 系统管理员
 */
@Mapper
public interface NursingLogRecordMapper extends BaseMapperX<NursingLogRecordDO> {

//    default PageResult<NursingLogRecordDO> selectPage(NursingLogRecordPageReqVO reqVO) {
//        return selectPage(reqVO, new LambdaQueryWrapperX<NursingLogRecordDO>()
//                .eqIfPresent(NursingLogRecordDO::getNursingLogId, reqVO.getNursingLogId())
//                .eqIfPresent(NursingLogRecordDO::getNursingPlanItem, reqVO.getNursingPlanItem())
//                .likeIfPresent(NursingLogRecordDO::getNurseItemName, reqVO.getNurseItemName())
//                .eqIfPresent(NursingLogRecordDO::getCategoryId, reqVO.getCategoryId())
//                .likeIfPresent(NursingLogRecordDO::getCategoryName, reqVO.getCategoryName())
//                .eqIfPresent(NursingLogRecordDO::getFrequency, reqVO.getFrequency())
//                .eqIfPresent(NursingLogRecordDO::getFrequencyUnit, reqVO.getFrequencyUnit())
//                .eqIfPresent(NursingLogRecordDO::getOperatingMode, reqVO.getOperatingMode())
//                .betweenIfPresent(NursingLogRecordDO::getNursingTime, reqVO.getNursingTime())
//                .eqIfPresent(NursingLogRecordDO::getCaregiver, reqVO.getCaregiver())
//                .betweenIfPresent(NursingLogRecordDO::getCreateTime, reqVO.getCreateTime())
//                .orderByDesc(NursingLogRecordDO::getId));
//    }

}