package com.ruoyi.project.service.impl; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import java.util.ArrayList; import java.util.Map; import com.ruoyi.common.utils.StringUtils; import com.ruoyi.project.mapper.ServiceMeetingParticipantMapper; import com.ruoyi.project.domain.ServiceMeetingParticipant; import com.ruoyi.project.service.IServiceMeetingParticipantService; /** * 参会人员Service业务层处理 * * @author ls * @date 2025-12-28 */ @Service public class ServiceMeetingParticipantServiceImpl extends ServiceImpl implements IServiceMeetingParticipantService { /** * 查询参会人员列表 * * @param serviceMeetingParticipant 参会人员 * @return 参会人员 */ @Override public List queryList(ServiceMeetingParticipant serviceMeetingParticipant) { LambdaQueryWrapper wrappers = Wrappers.lambdaQuery(); if (serviceMeetingParticipant.getMeetingId() != null){ wrappers.eq(ServiceMeetingParticipant::getMeetingId ,serviceMeetingParticipant.getMeetingId()); } if (StringUtils.isNotBlank(serviceMeetingParticipant.getUserNo())){ wrappers.eq(ServiceMeetingParticipant::getUserNo ,serviceMeetingParticipant.getUserNo()); } if (StringUtils.isNotBlank(serviceMeetingParticipant.getUserName())){ wrappers.like(ServiceMeetingParticipant::getUserName ,serviceMeetingParticipant.getUserName()); } if (StringUtils.isNotBlank(serviceMeetingParticipant.getRole())){ wrappers.eq(ServiceMeetingParticipant::getRole ,serviceMeetingParticipant.getRole()); } if (serviceMeetingParticipant.getAttendanceStatus() != null){ wrappers.eq(ServiceMeetingParticipant::getAttendanceStatus ,serviceMeetingParticipant.getAttendanceStatus()); } if (serviceMeetingParticipant.getIsRequired() != null){ wrappers.eq(ServiceMeetingParticipant::getIsRequired ,serviceMeetingParticipant.getIsRequired()); } if (serviceMeetingParticipant.getConfirmationTime() != null){ wrappers.eq(ServiceMeetingParticipant::getConfirmationTime ,serviceMeetingParticipant.getConfirmationTime()); } if (serviceMeetingParticipant.getCheckInTime() != null){ wrappers.eq(ServiceMeetingParticipant::getCheckInTime ,serviceMeetingParticipant.getCheckInTime()); } if (serviceMeetingParticipant.getCheckOutTime() != null){ wrappers.eq(ServiceMeetingParticipant::getCheckOutTime ,serviceMeetingParticipant.getCheckOutTime()); } if (StringUtils.isNotBlank(serviceMeetingParticipant.getCreatedBy())){ wrappers.eq(ServiceMeetingParticipant::getCreatedBy ,serviceMeetingParticipant.getCreatedBy()); } if (serviceMeetingParticipant.getCreatedTime() != null){ wrappers.eq(ServiceMeetingParticipant::getCreatedTime ,serviceMeetingParticipant.getCreatedTime()); } if (StringUtils.isNotBlank(serviceMeetingParticipant.getUpdatedBy())){ wrappers.eq(ServiceMeetingParticipant::getUpdatedBy ,serviceMeetingParticipant.getUpdatedBy()); } if (serviceMeetingParticipant.getUpdatedTime() != null){ wrappers.eq(ServiceMeetingParticipant::getUpdatedTime ,serviceMeetingParticipant.getUpdatedTime()); } return this.list(wrappers); } }