package org.ta.pddserver.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.ta.pdd.entity.CollectOrderDetailEntity;
import org.ta.pddserver.mapper.CollectOrderDetailMapper;
import org.ta.pddserver.model.api.response.CollectOrderDetailResponse;
import org.ta.pddserver.service.CollectOrderDetailService;

import java.util.List;

@Service
public class CollectOrderDetailImpl extends ServiceImpl<CollectOrderDetailMapper, CollectOrderDetailEntity> implements CollectOrderDetailService {


    public List<CollectOrderDetailResponse> getListByOrderCode(String orderCode) {
        return baseMapper.getListByOrderCode(orderCode);
    }

    public Integer deleteByOrderCode(String orderCode) {
        return this.baseMapper.deleteByOrderCode(orderCode);
    }
}