|
@@ -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()));
|