Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TCM
tcm-system
Commits
e8f9820e
Commit
e8f9820e
authored
Nov 01, 2021
by
tangfang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改注册判断银行卡
parent
527ff3ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
CompanyServiceImpl.java
...ngding/web/authority/service/impl/CompanyServiceImpl.java
+1
-0
FinanceServiceImpl.java
...ngding/web/authority/service/impl/FinanceServiceImpl.java
+1
-1
UserTask.java
src/main/java/com/pangding/web/authority/util/UserTask.java
+1
-1
No files found.
src/main/java/com/pangding/web/authority/service/impl/CompanyServiceImpl.java
View file @
e8f9820e
...
...
@@ -681,6 +681,7 @@ public class CompanyServiceImpl implements CompanyService {
reqVo
.
setIsDefault
(
CompanyBankCardConstant
.
IS_NOT_DEFAULT
);
}
reqVo
.
setStatus
(
0
);
companyBankCardVo
.
setType
(
0
);
companyBankCardDao
.
create
(
companyBankCardVo
);
if
(
1
==
companyBankCardVo
.
getStatus
())
{
return
ResponseResult
.
result
(
companyBankCardVo
);
...
...
src/main/java/com/pangding/web/authority/service/impl/FinanceServiceImpl.java
View file @
e8f9820e
...
...
@@ -198,7 +198,7 @@ public class FinanceServiceImpl implements FinanceService {
}
// 可提现余额
double
withdrawTotalCash
=
companyResVo
.
getWithdrawTotalCash
();
if
(
withdrawTotalCash
<
=
0
)
{
if
(
withdrawTotalCash
<
0
)
{
throw
new
CodeException
(
"提现金额不能大于可提现余额"
);
}
if
(
companyResVo
.
getMinWithdrawMoney
()
>
req
.
getOrderMoney
()
||
companyResVo
.
getMaxWithdrawMoney
()
<
req
.
getOrderMoney
())
{
...
...
src/main/java/com/pangding/web/authority/util/UserTask.java
View file @
e8f9820e
...
...
@@ -86,7 +86,7 @@ public class UserTask {
for
(
int
i
=
0
;
i
<
companyResVoList
.
size
();
i
++)
{
CompanyResVo
companyResVo
=
companyResVoList
.
get
(
i
);
double
serviceCharge
=
financeService
.
getServiceCharge
(
companyResVo
);
System
.
out
.
println
(
companyResVo
.
getCompanyName
()
+
"服务费"
+
serviceCharge
);
//
System.out.println(companyResVo.getCompanyName() + "服务费" + serviceCharge );
if
(
serviceCharge
>
0
){
UpdateCompanyMoneyReqVo
updateCompanyMoneyReqVo
=
new
UpdateCompanyMoneyReqVo
();
updateCompanyMoneyReqVo
.
setCompanyId
(
companyResVo
.
getId
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment