Explorar el Código

[库存][修改]:库存退回问题

release_toaliyun_real
Stormeye Wu hace 7 años
padre
commit
672b01623d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java

+ 2
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxOrderServiceImpl.java Ver fichero

@@ -299,10 +299,12 @@ public class WxOrderServiceImpl implements WxOrderService {
coupon = wxCouponMapper.selectByPrimaryKey(couponId);
} catch (Exception e) {
logger.error("券未找到, e:" + e.getMessage());
redisLock.unlock(couponIdStr, timeStr);
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY);
}
if (coupon == null) {
logger.error("券未找到, " + couponIdStr);
redisLock.unlock(couponIdStr, timeStr);
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY);
}



Cargando…
Cancelar
Guardar