From 25cf266e99714ac5d428e66b40ce272325c91dd8 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期六, 14 六月 2025 15:01:11 +0800 Subject: [PATCH] 修改管理后台账号和共享session等 屏蔽除出租车外的其他模块 --- 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