Parcourir la source

update bug

release_toaliyun_real
xhxu il y a 4 ans
Parent
révision
b03dc20e2e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java Voir le fichier

@@ -541,7 +541,7 @@ public class WxOrderServiceImpl implements WxOrderService {
redisLock.unlock(couponIdStr, timeStr);
throw new MallinkException(ErrorCode.DB_FAIL);
}
if (count >= coupon.getUseLimitQuantity()) {
if (count > coupon.getUseLimitQuantity()) {
//解锁
redisLock.unlock(couponIdStr, timeStr);
logger.error("此券购买数量已超限, couponId: " + couponIdStr + ", count: " + count);


Chargement…
Annuler
Enregistrer