This commit is contained in:
777
2026-01-20 12:41:36 +08:00
parent a60d62f511
commit 88f9a67d0c
2 changed files with 2 additions and 1 deletions

View File

@@ -138,7 +138,7 @@ public class PointRecordLogServiceImpl extends ServiceImpl<PointRecordLogMapper,
if(!update){
return;
}
if(pointRecordLog.getOneUserId() == null || pointRecordLog.getPoints() <= 0){
if(pointRecordLog.getOneUserId() == null || pointRecordLog.getOnePoints() <= 0){
return;
}
if(!pointRecordLog.getOneJoin()){

View File

@@ -88,6 +88,7 @@ public class RechargeOrderServiceImpl extends ServiceImpl<RechargeOrderMapper,Re
order.setRechargeId(goods.getId());
order.setRechargeName(goods.getName());
order.setRechargeCoin(goods.getAmount());
order.setGivePoint(goods.getGivePoint());
order.setRechargeType(AccountTypeEnum.COIN.getCode());
order.setPrice(goods.getPrice());
order.setOrderNo(OrderNoUtil.createOrderNo(OrderTypeEnum.RECHARGE_ORDER_SUB));