|
@@ -12,7 +12,6 @@ import com.qs.mp.channel.service.IChannelMoneyLogService;
|
|
|
import com.qs.mp.channel.service.IChannelService;
|
|
|
import com.qs.mp.channel.service.IChannelWithdrawService;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
-import com.qs.mp.common.enums.ChannelMoneyBizTypeEnum;
|
|
|
import com.qs.mp.common.enums.ChannelMoneyEnum;
|
|
|
import java.util.Date;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -71,7 +70,6 @@ public class ChannelWithdrawServiceImpl extends ServiceImpl<ChannelWithdrawMappe
|
|
|
moneyLog.setType(ChannelMoneyEnum.WITHDRAW);
|
|
|
moneyLog.setLogMoney(channelWithdraw.getMoney());
|
|
|
moneyLog.setBizTime(new Date());
|
|
|
- moneyLog.setRefType(ChannelMoneyBizTypeEnum.WITHDRAW);
|
|
|
moneyLog.setRefId(String.valueOf(channelWithdraw.getId()));
|
|
|
channelMoneyLogService.changeMoney(moneyLog);
|
|
|
|
|
@@ -82,7 +80,6 @@ public class ChannelWithdrawServiceImpl extends ServiceImpl<ChannelWithdrawMappe
|
|
|
feeMoneyLog.setType(ChannelMoneyEnum.WITHDRAW_FEE);
|
|
|
feeMoneyLog.setLogMoney(channelWithdraw.getChargeAmt());
|
|
|
feeMoneyLog.setBizTime(new Date());
|
|
|
- feeMoneyLog.setRefType(ChannelMoneyBizTypeEnum.WITHDRAW);
|
|
|
feeMoneyLog.setRefId(String.valueOf(channelWithdraw.getId()));
|
|
|
channelMoneyLogService.changeMoney(moneyLog);
|
|
|
}
|