package org.ta.pddserver.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.ta.pddserver.entity.LogOrderItemEntity;
import org.ta.pddserver.mapper.LogOrderItemMapper;
import org.ta.pddserver.model.api.response.LogOrderItemResponse;
import org.ta.pddserver.service.LogOrderItemService;

import java.util.List;

@Service
public class LogOrderItemImpl extends ServiceImpl<LogOrderItemMapper, LogOrderItemEntity> implements LogOrderItemService {

    public List<LogOrderItemResponse> getListByLogisticsOrderCode(String logisticsOrderCode) {
        return baseMapper.getListByLogisticsOrderCode(logisticsOrderCode);
    }

    public List<LogOrderItemEntity> getByCode(String logisticsOrderCode) {
        return baseMapper.getListByOrderCode(logisticsOrderCode);
    }
}