123333
This commit is contained in:
@@ -249,7 +249,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
log.error("分销失败,参数错误 amount={},accountChangeEnum={}",amount,accountChangeEnum);
|
||||
return false;
|
||||
}
|
||||
baseMapper.incsCoin(userId, amount);
|
||||
baseMapper.incsIncomeCoin(userId, amount);
|
||||
if(ConsumeLogType.GIFT.getCode().equals(consumeLog.getType())){ // 礼物
|
||||
Gift gift = giftService.getById(consumeLog.getBusinessParam());
|
||||
accountChangeLogService.saveLogNoAdmin(userId,user.getUsercode(), accountChangeEnum,amount,consumeLog.getTraceId(),
|
||||
@@ -368,7 +368,7 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
|
||||
}
|
||||
if(incsIncomeCoin > 0){
|
||||
payIncome = payIncome - incsIncomeCoin;
|
||||
baseMapper.incsCoin(callUserData.getId(), incsIncomeCoin);
|
||||
baseMapper.incsIncomeCoin(callUserData.getId(), incsIncomeCoin);
|
||||
}
|
||||
}
|
||||
Long amountReal = payCoin + payIncome; // 实际支付的金额
|
||||
|
||||
@@ -58,7 +58,7 @@ public class UserCameraAuditServiceImpl extends ServiceImpl<UserCameraAuditMappe
|
||||
if(userCameraAudit != null){
|
||||
vo = BeanConvertUtil.convertTo(userCameraAudit, CameraAuditVo::new);
|
||||
} else {
|
||||
int actionType = RandomUtil.randomInt(0, 4);
|
||||
int actionType = RandomUtil.randomInt(1, 5);
|
||||
vo = new CameraAuditVo();
|
||||
vo.setUserId(userId);
|
||||
vo.setActionType(actionType);
|
||||
|
||||
Reference in New Issue
Block a user