|
|
|
@ -3215,17 +3215,29 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
);//预约信息
|
|
|
|
|
if (!list.isEmpty()) { |
|
|
|
|
DistributionStockArticleEntity byId = distributionStockArticleService.getById(list.get(0).getStockArticleId()); |
|
|
|
|
if (!Func.isEmpty(byId)){ |
|
|
|
|
BasicdataClientEntity byName = basicdataClientClient.findByName(byId.getMallName()); |
|
|
|
|
if (!Func.isEmpty(byName)){ |
|
|
|
|
mallId = byId.getMallId(); |
|
|
|
|
mallName = byId.getMallName(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
// 查询预约单上的商城
|
|
|
|
|
DistributionReservationEntity distributionReservationEntity = distributionReservationMapper.selectById(reservationId); |
|
|
|
|
if (!Func.isEmpty(distributionReservationEntity)){ |
|
|
|
|
BasicdataClientEntity byName = basicdataClientClient.findByName(distributionReservationEntity.getMallName()); |
|
|
|
|
if (!Func.isEmpty(byName)){ |
|
|
|
|
mallId = distributionReservationEntity.getMallId(); |
|
|
|
|
mallName = distributionReservationEntity.getMallName(); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}else { |
|
|
|
|
log.info("查询预约单客户信息失败reservationId:{}",reservationId); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//查询货位上物料信息
|
|
|
|
|