From 1c40baaf9ca0183945b9881d11ceed5aeebc8290 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期四, 23 十月 2025 11:35:44 +0800
Subject: [PATCH] 修改bug
---
ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/TUserWithdrawalServiceImpl.java | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/TUserWithdrawalServiceImpl.java b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/TUserWithdrawalServiceImpl.java
index 0d80720..9313152 100644
--- a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/TUserWithdrawalServiceImpl.java
+++ b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/service/impl/TUserWithdrawalServiceImpl.java
@@ -1,19 +1,10 @@
package com.stylefeng.guns.modular.system.service.impl;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
-import com.stylefeng.guns.core.util.ToolUtil;
-import com.stylefeng.guns.modular.cloudPayment.req.WithdrawalReq;
-import com.stylefeng.guns.modular.system.controller.util.Base64Util;
-import com.stylefeng.guns.modular.system.dao.TBankMapper;
import com.stylefeng.guns.modular.system.dao.UserWithdrawalMapper;
-import com.stylefeng.guns.modular.system.model.TBank;
-import com.stylefeng.guns.modular.system.model.TPubWithdrawal;
import com.stylefeng.guns.modular.system.model.UserWithdrawal;
-import com.stylefeng.guns.modular.system.service.ITBankService;
import com.stylefeng.guns.modular.system.service.IUserWithdrawalService;
import org.springframework.stereotype.Service;
-
-import java.math.BigDecimal;
/**
* <p>
@@ -26,18 +17,4 @@
@Service
public class TUserWithdrawalServiceImpl extends ServiceImpl<UserWithdrawalMapper, UserWithdrawal> implements IUserWithdrawalService {
- @Override
- public WithdrawalReq createInfo(UserWithdrawal userWithdrawal, TPubWithdrawal tPubWithdrawal) {
- WithdrawalReq withdrawalReq = new WithdrawalReq();
- withdrawalReq.setOutOrderNo(ToolUtil.getRandomString(32));
- if(tPubWithdrawal.getUserType()==1){
- withdrawalReq.setAmount(tPubWithdrawal.getMoney().multiply(new BigDecimal(100)).intValue());
- }else {
- withdrawalReq.setAmount(tPubWithdrawal.getRealGetMoney().multiply(new BigDecimal(100)).intValue());
- }
- withdrawalReq.setBalanceAcctId(userWithdrawal.getBalanceAcctId());
- withdrawalReq.setBankAcctNo(userWithdrawal.getBankCardCode());
- withdrawalReq.setPassword(Base64Util.decode(userWithdrawal.getTransactionAuthorizationCode()));
- return withdrawalReq;
- }
}
--
Gitblit v1.7.1