Przeglądaj źródła

//card

release_toaliyun_real
xhxu 3 lat temu
rodzic
commit
495f0e2695
2 zmienionych plików z 4 dodań i 1 usunięć
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCardInfoServiceImpl.java
  2. +2
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxRefundOrderServiceImpl.java

+ 2
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCardInfoServiceImpl.java Wyświetl plik

@@ -408,7 +408,8 @@ public class WxCardInfoServiceImpl implements WxCardInfoService {
cardInfoUpd.setAmount(amount); cardInfoUpd.setAmount(amount);
cardInfoUpd.setRemainingAmount(remainingAmount); cardInfoUpd.setRemainingAmount(remainingAmount);
cardInfoUpd.setRemainingShareFeeAmount(remainingShareFeeAmount); cardInfoUpd.setRemainingShareFeeAmount(remainingShareFeeAmount);
int i = wxCardInfoMapper.updAmount(cardInfo);
logger.info("----"+remainingAmount+"----"+remainingShareFeeAmount);
int i = wxCardInfoMapper.updAmount(cardInfoUpd);
redisLock.unlock("cardInfoLockAmountSet_"+cardInfo.getId(), timeStr); redisLock.unlock("cardInfoLockAmountSet_"+cardInfo.getId(), timeStr);
if(i != 1){ if(i != 1){
throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),"卡余额不足 error."); throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),"卡余额不足 error.");


+ 2
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxRefundOrderServiceImpl.java Wyświetl plik

@@ -1495,4 +1495,6 @@ public class WxRefundOrderServiceImpl implements WxRefundOrderService {
} }
return false; return false;
} }


} }

Ładowanie…
Anuluj
Zapisz