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

Commit c6ff20ad authored by 胡佳晨's avatar 胡佳晨

修改 盲盒库存逻辑 从 兑换码复制

parent dc837c71
...@@ -2129,7 +2129,8 @@ public class GoblinRedisUtils { ...@@ -2129,7 +2129,8 @@ public class GoblinRedisUtils {
info != null info != null
&& (null == info.getSoldoutStatus() || info.getSoldoutStatus().equals("0")) && (null == info.getSoldoutStatus() || info.getSoldoutStatus().equals("0"))
&& (null == info.getHitRatio() || info.getHitRatio().compareTo(BigDecimal.ZERO) > 0) && (null == info.getHitRatio() || info.getHitRatio().compareTo(BigDecimal.ZERO) > 0)
&& (null == info.getSkuCanbuy() || info.getSkuCanbuy().equals("1")) && (null == info.getSkuCanbuy() || info.getSkuCanbuy().equals("1")
&& (null == info.getShelvesStatus() || info.getShelvesStatus().equals("3")))
) {// 可以返回库存 ) {// 可以返回库存
return getSkuStock(null, info.getSkuId()); return getSkuStock(null, info.getSkuId());
} else {// 不计入库存 } else {// 不计入库存
......
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