liusheng
2025-12-28 73f5b82df781d2b061ba24d29182f6898b5535d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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<ServiceMeetingParticipantMapper, ServiceMeetingParticipant> implements IServiceMeetingParticipantService 
{
 
 
    /**
     * 查询参会人员列表
     * 
     * @param serviceMeetingParticipant 参会人员
     * @return 参会人员
     */
    @Override
    public List<ServiceMeetingParticipant> queryList(ServiceMeetingParticipant serviceMeetingParticipant) {
        LambdaQueryWrapper<ServiceMeetingParticipant> 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);
    }
 
}