Commit e78932ff by YG8429

修改钱包新增

parent eb238729
...@@ -287,10 +287,10 @@ public class EquityFundExcessServiceImpl extends ServiceImpl<EquityFundExcessMap ...@@ -287,10 +287,10 @@ public class EquityFundExcessServiceImpl extends ServiceImpl<EquityFundExcessMap
newConsumerWallet.setUpdateTime(DateUtils.getNowDate()); newConsumerWallet.setUpdateTime(DateUtils.getNowDate());
consumerWalletService.insertConsumerWallet(newConsumerWallet); consumerWalletService.insertConsumerWallet(newConsumerWallet);
DurationLog newDurationLog = new DurationLog(); DurationLog newDurationLog = new DurationLog();
newDurationLog.setConsumerId(consumerWallet.getConsumerId()); newDurationLog.setConsumerId(newConsumerWallet.getConsumerId());
newDurationLog.setNewId(sOrder.getConsumerId()); newDurationLog.setNewId(sOrder.getConsumerId());
newDurationLog.setVariableDuration(anHour); newDurationLog.setVariableDuration(anHour);
newDurationLog.setCurrentDuration(consumerWallet.getRemainingDuration()); newDurationLog.setCurrentDuration(newConsumerWallet.getRemainingDuration());
newDurationLog.setOperationType(YesNoEnum.yes.getIndex()); newDurationLog.setOperationType(YesNoEnum.yes.getIndex());
newDurationLog.setDurationType(DurationTypeEnum.SHARE.getCode()); newDurationLog.setDurationType(DurationTypeEnum.SHARE.getCode());
newDurationLog.setOperationTime(DateUtils.getNowDate()); newDurationLog.setOperationTime(DateUtils.getNowDate());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment