Browse Source

门店供应链物品管理/记录

zhangkaikai 1 year ago
parent
commit
c19fae74ec

+ 0 - 1
mp-service/src/main/java/com/qs/mp/channel/service/impl/ChannelCouponVerifyLogServiceImpl.java

@@ -116,7 +116,6 @@ public class ChannelCouponVerifyLogServiceImpl extends ServiceImpl<ChannelCoupon
       }
       boolean rst = channelGoodsService.update(new LambdaUpdateWrapper<ChannelGoods>()
               .set(ChannelGoods::getRemainQty, channelGoods.getRemainQty() - 1)
-              .set(ChannelGoods::getSettleQty,channelGoods.getSettleQty() -1)
               .set(ChannelGoods::getVerifyQty, channelGoods.getVerifyQty() + 1)
               .set(channelGoods.getQuantity() == channelGoods.getVerifyQty() + 1,ChannelGoods::getStatus, ChannelGoodsSettleStatusTypeEnum.Verify)
               .eq(ChannelGoods::getId, channelGoods.getId()));