package com.joju.datamanager.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.joju.datamanager.mapper.OrderMapper;
import com.joju.datamanager.model.order.Order;
import com.joju.datamanager.model.order.OrderVo;
import com.joju.datamanager.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @description: 患者预约记录业务接口实现类
 * @author: Mr.zs
 * @create: 2024-03-27 18:54
 **/
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {

    @Resource
    OrderMapper orderMapper;

    @Override
    public List<OrderVo> getOrderByDateAndDist(String yyrq) {

        return orderMapper.getOrderByDateAndDist(yyrq);
    }

    @Override
    public Integer insertMissedAppoints(List<OrderVo> orderVos) {
        return orderMapper.insertMissedAppoints(orderVos);
    }
}
