소스 검색

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

zhangkaikai 1 년 전
부모
커밋
935d1f2bf0
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      mp-service/src/main/java/com/qs/mp/channel/service/impl/ChannelCouponVerifyLogServiceImpl.java

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