package com.elephant.framework.galaxy.aroad.module.attendance.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.elephant.framework.galaxy.aroad.module.attendance.dto.MemberDto;
import com.elephant.framework.galaxy.aroad.module.attendance.entity.AttendanceMembers;
import com.elephant.framework.galaxy.aroad.module.attendance.mapper.AttendanceMembersMapper;
import com.elephant.framework.galaxy.aroad.module.attendance.service.AttendanceMembersService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 值班人员表
 *
 * @author songwenjie
 * @date 2019-04-11 10:09:42
 */
@Service
public class AttendanceMembersServiceImpl extends ServiceImpl<AttendanceMembersMapper, AttendanceMembers> implements AttendanceMembersService {

    /**
     * @Description: 获取一次排班中的值班人员信息
     * @Param: [attendanceId]
     * @return: java.util.List<com.elephant.framework.galaxy.aroad.module.attendance.dto.MemberDto>
     * @Author: songwenjie
     * @Date: 2019/4/17
     */
    public List<MemberDto> getMembers(int attendanceId){
        return baseMapper.getMembers(attendanceId);
    }
}
