记得上下班打卡 | git大法好,push需谨慎

Commit b7c01c85 authored by 张国柄's avatar 张国柄

~api:商品列表+ERP托管状态;

parent a088638e
......@@ -50,4 +50,6 @@ public class GoblinStoreMgtGoodsListVo implements Serializable, Cloneable {
private Integer warningStock;
@ApiModelProperty(position = 25, value = "关联活动标记[0-未关联|1-已关联],用于下架提示'商品正在参与活动,是否确认下架?'")
private Integer relateMarket;
@ApiModelProperty(position = 26, value = "ERP托管状态[0-未托管|1-已托管]")
private Integer erpHostingStatus;
}
......@@ -77,6 +77,10 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi
if (!CollectionUtils.isEmpty(skuReList))
for (String skuRe : skuReList)
surplusStock += goblinRedisUtils.getSkuStock(GoblinStatusConst.MarketPreStatus.getPre(skuRe), skuRe);
if (mgtGoodsSkuInfoVo.getErpHosting() == 1) {
vo.setErpHostingStatus(1);
}
}
}
vo.setTotalStock(totalStock);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment