|
|
|
@ -139,8 +139,6 @@ public class FactoryCommonServiceImpl implements IFactoryCommonService {
|
|
|
|
|
//查询destinationWarehouse logiBillNo plantId数据
|
|
|
|
|
Map<String, String> supplyData = advanceDetailClient.getSupplyData(unitNo); |
|
|
|
|
if (!supplyData.isEmpty()) { |
|
|
|
|
log.error("##############dealWithDataHandler: unitNo={} 没有查询到数据", unitNo); |
|
|
|
|
// 保存到数据库
|
|
|
|
|
|
|
|
|
|
String destinationWarehouseId = supplyData.get("destinationWarehouseId");//目的仓id
|
|
|
|
|
if (StringUtil.isBlank(currentWarehouseId) || StringUtil.isBlank(destinationWarehouseId)) { |
|
|
|
@ -178,6 +176,8 @@ public class FactoryCommonServiceImpl implements IFactoryCommonService {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
log.info("##############dealWithDataHandler: unitNo={} 没有查询到数据 保存到待处理数据库", unitNo); |
|
|
|
|
|
|
|
|
|
QueryWrapper queryWrapper = new QueryWrapper(); |
|
|
|
|
queryWrapper.eq("unit_no", unitNo); |
|
|
|
|
queryWrapper.eq("warehouse_id", currentWarehouseId); |
|
|
|
|