|
|
@@ -3279,11 +3279,13 @@ public class GoodsServiceImpl implements GoodsService {
|
|
|
if (goodse.getStatus().equals(Status.AVAILABLE.value()) || goodse.getStatus().equals(Status.UNAVAILABLE.value())) {
|
|
|
goodse.setStatus(Status.REMOVED.value());
|
|
|
GoodsHistory goodsHistoryRemoved = goodsHistoryService.converTGoodsHist(goodse, OperateType.Down.getPhrase(), false);
|
|
|
+ goodsHistoryRemoved.setOperateUU(userUU);
|
|
|
histories.add(goodsHistoryRemoved);
|
|
|
}
|
|
|
//删除库存信息
|
|
|
goodse.setStatus(Status.DELETED.value());
|
|
|
GoodsHistory goodsHistoryDelete = goodsHistoryService.converTGoodsHist(goodse, OperateType.DELETE.getPhrase(),false);
|
|
|
+ goodsHistoryDelete.setOperateUU(userUU);
|
|
|
histories.add(goodsHistoryDelete);
|
|
|
goodses1.add(goodse);
|
|
|
}
|