|
|
@@ -1928,7 +1928,7 @@ public class ReleaseProductByBatchServiceImpl implements ReleaseProductByBatchSe
|
|
|
for (ReleaseProductByBatch releaseProductByBatch : insertGoods) {
|
|
|
goods = new Goods();
|
|
|
goods.setGoodsByReleaseProductByBatch(releaseProductByBatch, delayTime);
|
|
|
- if ((Status.AVAILABLE.value() == goods.getStatus()) || (Status.UNAVAILABLE.value() == goods.getStatus())) {
|
|
|
+ if ((Status.AVAILABLE.value() == goods.getStatus()) || (Status.UNAVAILABLE.value() == goods.getStatus()) || (Status.NO_SHELVE.value() == goods.getStatus())) {
|
|
|
goodsHistoryList.add(goodsHistoryService.converTGoodsHist(goods, GoodsHistory.OperateType.Publish.getPhrase(), false));
|
|
|
} else {
|
|
|
goodsHistoryList.add(goodsHistoryService.converTGoodsHist(goods, GoodsHistory.OperateType.INIT.getPhrase(), false));
|