package cn.iocoder.yudao.module.system.dal.mysql.biz;

import cn.iocoder.yudao.module.system.controller.admin.biz.vo.ScheduleShiftPageReqVO;
import cn.iocoder.yudao.module.system.controller.admin.biz.vo.ScheduleShiftSaveReqVO;
import cn.iocoder.yudao.module.system.dal.dataobject.biz.NurseScheduleDO;
import cn.iocoder.yudao.module.system.dal.dataobject.biz.ScheduleShiftDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface ScheduleMapper extends BaseMapper<NurseScheduleDO> {

    Long checkExist(@Param("deptId") Long deptId, @Param("scheduleDate") String scheduleDate);

    List<NurseScheduleDO> getNurseScheduleList(@Param("deptId") Long deptId, @Param("scheduleDate") String scheduleDate);

    List<ScheduleShiftDO> getNurseScheduleShiftList(@Param("deptId") Long deptId, @Param("scheduleDate") String scheduleDate);
}
