|
@@ -94,7 +94,9 @@ public class UserGalaxyCoinServiceImpl implements UserGalaxyCoinService {
|
|
|
//下单时,剩余是0
|
|
//下单时,剩余是0
|
|
|
userGalaxyCoinRecord.setRemainGalaxyCoin(BigDecimal.ZERO);
|
|
userGalaxyCoinRecord.setRemainGalaxyCoin(BigDecimal.ZERO);
|
|
|
}
|
|
}
|
|
|
- userGalaxyCoinRecord.setSource(source.ordinal());
|
|
|
|
|
|
|
+ if (source != null) {
|
|
|
|
|
+ userGalaxyCoinRecord.setSource(source.ordinal());
|
|
|
|
|
+ }
|
|
|
userGalaxyCoinRecord.setRemark(remark);
|
|
userGalaxyCoinRecord.setRemark(remark);
|
|
|
userGalaxyCoinRecordMapper.insert(userGalaxyCoinRecord);
|
|
userGalaxyCoinRecordMapper.insert(userGalaxyCoinRecord);
|
|
|
}
|
|
}
|