xhxu 5 роки тому
джерело
коміт
1414c63fd9
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCreditHistoryServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCreditHistoryServiceImpl.java Переглянути файл

@@ -290,7 +290,7 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService {
// if (total > Integer.MAX_VALUE) { // if (total > Integer.MAX_VALUE) {
// throw new MallinkException(ErrorCode.OUT_OF_CREDIT); // throw new MallinkException(ErrorCode.OUT_OF_CREDIT);
// } // }
if (total < 0 && !Objects.equals(record.getCreditType(),EnumScoreType.REFUND_CONSUMPTION.getCode())) {
if (total < 0 && creditChangeNum < 0 && !Objects.equals(record.getCreditType(),EnumScoreType.REFUND_CONSUMPTION.getCode())) {
throw new MallinkException(ErrorCode.CREDIT_NOT_ENOUGH); throw new MallinkException(ErrorCode.CREDIT_NOT_ENOUGH);
} }
//如果为导入的会员 则直接覆盖总积分和操作积分明细 //如果为导入的会员 则直接覆盖总积分和操作积分明细


Завантаження…
Відмінити
Зберегти