package org.ta.pddserver.service.impl;


import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.ta.pddserver.entity.PackageDetailEntity;
import org.ta.pddserver.mapper.PackageDetailMapper;
import org.ta.pddserver.service.PackageDetailService;
import org.ta.pddserver.utils.JsonResponse;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class PackageDetailImpl extends ServiceImpl<PackageDetailMapper, PackageDetailEntity> implements PackageDetailService {


    public int removeByOrderCode(String orderCode) {
        return this.baseMapper.removeByOrderCode(orderCode);
    }

    public List<PackageDetailEntity> getByOrderCode(String orderCode) {
        return this.baseMapper.findByOrderCode(orderCode);
    }
}