package com.ningdatech.pmapi.meeting.service.impl;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ningdatech.pmapi.meeting.entity.domain.MeetingInnerProject;
import com.ningdatech.pmapi.meeting.mapper.MeetingInnerProjectMapper;
import com.ningdatech.pmapi.meeting.service.IMeetingInnerProjectService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 会议评审内部项目表 服务实现类
 * </p>
 *
 * @author WendyYang
 * @since 2023-02-28
 */
@Service
public class MeetingInnerProjectServiceImpl extends ServiceImpl<MeetingInnerProjectMapper, MeetingInnerProject> implements IMeetingInnerProjectService {

    @Override
    public List<MeetingInnerProject> listByMeetingId(Long meetingId) {
        return list(Wrappers.lambdaQuery(MeetingInnerProject.class)
                .eq(MeetingInnerProject::getMeetingId, meetingId));
    }

}
