|
|
@@ -2939,7 +2939,7 @@ public class ProductServiceImpl implements ProductService {
|
|
|
}
|
|
|
goodsHistory = goodsHistoryService.converTGoodsHist(goods, type, false);
|
|
|
} else {
|
|
|
- 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()) {
|
|
|
//如果现在是已上架,原先是未上架或者已下架,则做上架处理。否则做更新处理
|
|
|
type = GoodsHistory.OperateType.Publish.getPhrase();
|
|
|
} else {
|