package org.ta.pddserver.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.ta.pddserver.entity.CollectOutMailDetailEntity;
import org.ta.pddserver.mapper.CollectOutMailDetailMapper;
import org.ta.pddserver.model.api.response.CollectOutMailDetailResponse;
import org.ta.pddserver.service.CollectOutMailDetailService;

import java.util.List;

@Service
public class CollectOutMailDetailImpl extends ServiceImpl<CollectOutMailDetailMapper, CollectOutMailDetailEntity> implements CollectOutMailDetailService {


    public CollectOutMailDetailEntity getInfoByMailNo(String mailNo) {
        return baseMapper.getInfoByMailNo(mailNo);
    }

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