/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.delivery.comment.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yami.shop.bean.model.OrderItem;
import com.yami.shop.delivery.comment.dao.DeliveryOrderItemMapper;
import com.yami.shop.delivery.comment.model.DeliveryOrderItem;
import com.yami.shop.delivery.comment.service.DeliveryOrderItemService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 *
 * @author lhd
 * @date 2020-04-22 15:46:05
 */
@Service
@AllArgsConstructor
public class DeliveryOrderItemServiceImpl extends ServiceImpl<DeliveryOrderItemMapper, DeliveryOrderItem> implements DeliveryOrderItemService {

    private final DeliveryOrderItemMapper deliveryOrderItemMapper;

    @Override
    public List<DeliveryOrderItem> listItemNums(List<OrderItem> orderItems) {
        return deliveryOrderItemMapper.listItemNums(orderItems);
    }
}
