Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
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
fangxinjiang
yifu-mvp
Commits
d81c53a9
Commit
d81c53a9
authored
Sep 28, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
银行卡校验-fxj
parent
5d273bda
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
TCheckBankNoServiceImpl.java
...d/plus/v1/check/service/impl/TCheckBankNoServiceImpl.java
+4
-3
No files found.
yifu-check/yifu-check-biz/src/main/java/com/yifu/cloud/plus/v1/check/service/impl/TCheckBankNoServiceImpl.java
View file @
d81c53a9
...
...
@@ -217,9 +217,9 @@ public class TCheckBankNoServiceImpl extends ServiceImpl<TCheckBankNoMapper, TCh
cur
=
noMap
.
get
(
check
.
getBankNo
());
if
(
cur
!=
null
)
{
if
(
CommonConstants
.
ZERO_ONE
.
equals
(
cur
.
getResult
()))
{
bankMap
.
put
(
cur
.
getBankNo
(),
cur
.
getName
().
equals
(
check
.
getName
(
)));
bankMap
.
put
(
cur
.
getBankNo
(),
(
cur
.
getName
().
equals
(
check
.
getName
())&&
cur
.
getIdNum
().
equals
(
check
.
getIdNum
()
)));
}
else
{
if
(
cur
.
getName
().
equals
(
check
.
getName
()))
{
if
(
cur
.
getName
().
equals
(
check
.
getName
())
&&
cur
.
getIdNum
().
equals
(
check
.
getIdNum
())
)
{
bankMap
.
put
(
cur
.
getBankNo
(),
false
);
}
else
{
noCurlist
.
add
(
check
);
...
...
@@ -435,6 +435,7 @@ public class TCheckBankNoServiceImpl extends ServiceImpl<TCheckBankNoMapper, TCh
newNo
=
new
TCheckBankNo
();
newNo
.
setBankNo
(
no
.
getBankNo
());
newNo
.
setName
(
no
.
getName
());
newNo
.
setIdNum
(
no
.
getIdNum
());
newNo
.
setMessage
(
ChecksConstants
.
CHECK_CONFIG_ACCESS
);
newNo
.
setResult
(
"01"
);
newNo
.
setType
(
CommonConstants
.
ONE_STRING
);
...
...
@@ -458,7 +459,7 @@ public class TCheckBankNoServiceImpl extends ServiceImpl<TCheckBankNoMapper, TCh
public
Map
<
String
,
Boolean
>
call
()
{
for
(
TCheckBankNo
no
:
noList
)
{
// 1.调用银行卡信息校验api
R
<
TCheckBankNo
>
resR
=
ChecksUtil
.
checkBankNoT
woMethod
(
no
.
getName
(),
no
.
getBankNo
()
);
R
<
TCheckBankNo
>
resR
=
ChecksUtil
.
checkBankNoT
hree
(
no
.
getName
(),
no
.
getBankNo
(),
no
.
getIdNum
(),
true
);
if
(
Common
.
isNotNull
(
resR
)
&&
resR
.
getCode
()
==
CommonConstants
.
SUCCESS
&&
Common
.
isNotNull
(
resR
.
getData
()))
{
TCheckBankNo
newNo
=
resR
.
getData
();
...
...
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