MeetingRoomMapper.java 869 字节
package com.skua.modules.meeting.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import com.skua.modules.meeting.entity.MeetingRoom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * 会议室
 */
public interface MeetingRoomMapper extends BaseMapper<MeetingRoom> {
    @Select("select b.realname as president,a.id,a.meeting_id,a.meeting_number,a.meeting_title,a.meeting_content,a.meeting_site,a.meeting_capacity,a.start_time,a.end_time  from meeting_room a left join sys_user b on a.president= b.id" +
            " ${ew.customSqlSegment}")
    List<MeetingRoom> queryList(@Param(Constants.WRAPPER) QueryWrapper<MeetingRoom> meetingRoomQueryWrapper);



}