package cn.pluss.platform.device.impl;

import cn.pluss.platform.device.MercOrderExpressService;
import cn.pluss.platform.entity.MercOrderExpress;
import cn.pluss.platform.mapper.MercOrderExpressMapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

@Service
public class MercOrderExpressServiceImpl extends ServiceImpl<MercOrderExpressMapper, MercOrderExpress> implements MercOrderExpressService {

    /**
     * 根据上送物流单号查询商户单号
     * @param logistNo
     * @return
     */
    @Override
    public MercOrderExpress getByLogistNo(String logistNo) {
        return baseMapper.getByLogistNo(logistNo);
    }

    @Override
    public MercOrderExpress getByExpressNo(String expressNo) {
        return baseMapper.getByExpressNo(expressNo);
    }
}
