|
@@ -1841,7 +1841,7 @@ public class GoodsServiceImpl implements GoodsService {
|
|
|
// 修改上下架状态并产生上下架历史
|
|
// 修改上下架状态并产生上下架历史
|
|
|
GoodsHistory goodsHistory = null;
|
|
GoodsHistory goodsHistory = null;
|
|
|
if (!nowGoods.getStatus().equals(oldGoods.getStatus())) {
|
|
if (!nowGoods.getStatus().equals(oldGoods.getStatus())) {
|
|
|
- nowGoods.setStatus(oldGoods.getStatus());
|
|
|
|
|
|
|
+ //nowGoods.setStatus(oldGoods.getStatus());
|
|
|
// 如果是下架
|
|
// 如果是下架
|
|
|
if (oldGoods.getStatus().equals(Status.REMOVED.value())) {
|
|
if (oldGoods.getStatus().equals(Status.REMOVED.value())) {
|
|
|
goodsHistory = goodsHistoryService.converTGoodsHist(nowGoods, OperateType.Down.getPhrase(), false);
|
|
goodsHistory = goodsHistoryService.converTGoodsHist(nowGoods, OperateType.Down.getPhrase(), false);
|