|
|
|
@ -862,22 +862,22 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
|
|
|
|
|
if (Func.isNotEmpty(i.getPallet())){ |
|
|
|
|
//托盘信息
|
|
|
|
|
if (ObjectUtils.isNotNull(i.getPallet()) && !wu.getPallet().contains(i.getPallet())) { |
|
|
|
|
if (ObjectUtils.isNotNull(i.getPallet()) && ObjectUtils.isNotNull(wu.getPallet()) && !wu.getPallet().contains(i.getPallet())) { |
|
|
|
|
wu.setPallet(wu.getPallet() + "," + i.getPallet()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (Func.isNotEmpty(i.getTrayId())){ |
|
|
|
|
//托盘信息
|
|
|
|
|
if (ObjectUtils.isNotNull(i.getTrayId()) && !wu.getTrayId().contains(i.getTrayId())) { |
|
|
|
|
if (ObjectUtils.isNotNull(i.getTrayId()) && ObjectUtils.isNotNull(wu.getTrayId())&& !wu.getTrayId().contains(i.getTrayId())) { |
|
|
|
|
wu.setTrayId(wu.getTrayId() + "," + i.getTrayId()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
//订单自编号信息
|
|
|
|
|
if (ObjectUtils.isNotNull(i.getOrderCode()) && !wu.getOrderCode().contains(i.getOrderCode())) { |
|
|
|
|
if (ObjectUtils.isNotNull(i.getOrderCode()) && ObjectUtils.isNotNull(wu.getOrderCode())&&!wu.getOrderCode().contains(i.getOrderCode())) { |
|
|
|
|
wu.setOrderCode(wu.getOrderCode() + "," + i.getOrderCode()); |
|
|
|
|
} |
|
|
|
|
//订单id信息
|
|
|
|
|
if (ObjectUtils.isNotNull(wu.getStockArticleId()) && !wu.getStockArticleId().contains(i.getStockArticleId())) { |
|
|
|
|
if (ObjectUtils.isNotNull(wu.getStockArticleId()) && ObjectUtils.isNotNull(wu.getStockArticleId())&&!wu.getStockArticleId().contains(i.getStockArticleId())) { |
|
|
|
|
wu.setStockArticleId(wu.getStockArticleId() + "," + i.getStockArticleId()); |
|
|
|
|
} |
|
|
|
|
if (wu.getPlanNum().equals(wu.getScanNum())) { |
|
|
|
|