...
|
...
|
@@ -11,6 +11,7 @@ import com.yoho.ufo.model.ChannelSkuCompareReq; |
|
|
import com.yoho.ufo.model.ChannelSkuCompareRspBo;
|
|
|
import com.yoho.ufo.order.service.impl.exportbean.OrderInfoForPackageNum;
|
|
|
import com.yoho.ufo.service.IBusinessExportService;
|
|
|
import com.yoho.ufo.service.model.ApiResponse;
|
|
|
import com.yoho.ufo.service.model.PageResponseBO;
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
...
|
...
|
@@ -25,7 +26,7 @@ import java.util.Map; |
|
|
/**
|
|
|
* Created by li.ma on 2019/7/19.
|
|
|
*/
|
|
|
@Service
|
|
|
@Service(value = "ClearanceRecordService")
|
|
|
public class ClearanceRecordService implements IBusinessExportService {
|
|
|
private static final Logger LOGGER = LoggerFactory.getLogger(ClearanceRecordService.class);
|
|
|
|
...
|
...
|
@@ -71,6 +72,9 @@ public class ClearanceRecordService implements IBusinessExportService { |
|
|
throw new ServiceException(400, "没有要导出的数据");
|
|
|
}
|
|
|
|
|
|
if (request.getOrderCode() == null && StringUtils.isEmpty(request.getWaybillCode())) {
|
|
|
throw new ServiceException(400, "没有要导出的数据");
|
|
|
}
|
|
|
|
|
|
ClearanceRecord clearanceRecord = clearanceRecordMapper.selectByOrderCode(request);
|
|
|
if (null == clearanceRecord) {
|
...
|
...
|
|