|
|
|
@ -362,6 +362,16 @@ public class OuPaiFactoryServiceImpl implements IOuPaiFactoryService {
|
|
|
|
|
return Resp.fail(400, "未查询到该单据推送收货单信息"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if(StringUtil.isBlank(receivingOrderEntity.getCurrentWarehouseOid())){ |
|
|
|
|
log.info(" 该订单为没有收货仓 不进行推送 >>> getCurrentWarehouseOid={} ", receivingOrderEntity.getCurrentWarehouseOid()); |
|
|
|
|
return Resp.fail(400, "收货仓信息不能为null"); |
|
|
|
|
} |
|
|
|
|
if(!receivingOrderEntity.getCurrentWarehouseName().contains("仓")){ |
|
|
|
|
log.info(" 该订单为没有收货仓信息不正确 getCurrentWarehouseName={} ", receivingOrderEntity.getCurrentWarehouseName()); |
|
|
|
|
return Resp.fail(400, "该订单为没有收货仓信息不正确"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JSONObject detailObject = new JSONObject(); |
|
|
|
|
detailObject.put("WarehouseOid", receivingOrderEntity.getCurrentWarehouseOid()); |
|
|
|
|
detailObject.put("WarehouseBelong", "oppein"); |
|
|
|
|