Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asset-distribution
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
asset-distribution
Commits
5963f360
Commit
5963f360
authored
Apr 02, 2020
by
liwenbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f
parent
a4da5274
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
NiwodaiAssetServiceImpl.java
...ibution/service/niwodai/impl/NiwodaiAssetServiceImpl.java
+5
-7
No files found.
src/main/java/com/quantgroup/asset/distribution/service/niwodai/impl/NiwodaiAssetServiceImpl.java
View file @
5963f360
...
@@ -101,7 +101,7 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService {
...
@@ -101,7 +101,7 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService {
}
}
IdCardA
idCardFront
=
JSON
.
parseObject
(
ocrIdCardRow
.
getIdCardContentA
(),
IdCardA
.
class
);
IdCardA
idCardFront
=
JSON
.
parseObject
(
ocrIdCardRow
.
getIdCardContentA
(),
IdCardA
.
class
);
IdCardB
idCardBack
=
JSON
.
parseObject
(
ocrIdCardRow
.
getIdCardContentB
(),
IdCardB
.
class
);
IdCardB
idCardBack
=
JSON
.
parseObject
(
ocrIdCardRow
.
getIdCardContentB
(),
IdCardB
.
class
);
Map
<
String
,
Object
>
infoMap
=
(
Map
<
String
,
Object
>)
queryUserBasic2Info
(
assetForm
.
getUuid
(),
userInfoByUuid
.
getData
().
getPhoneNo
(),
true
).
get
(
"info"
);
Map
<
String
,
Object
>
infoMap
=
queryUserBasic2Info
(
assetForm
.
getUuid
(),
userInfoByUuid
.
getData
().
getPhoneNo
(),
true
);
NiwodaiIncomingRequestVO
vo
=
new
NiwodaiIncomingRequestVO
();
NiwodaiIncomingRequestVO
vo
=
new
NiwodaiIncomingRequestVO
();
vo
.
setOrderId
(
assetForm
.
getBizNo
());
vo
.
setOrderId
(
assetForm
.
getBizNo
());
NiwodaiCostant
.
UserInfo
userInfo
=
new
NiwodaiCostant
.
UserInfo
();
NiwodaiCostant
.
UserInfo
userInfo
=
new
NiwodaiCostant
.
UserInfo
();
...
@@ -407,9 +407,8 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService {
...
@@ -407,9 +407,8 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService {
* @return
* @return
*/
*/
private
static
String
getPhoneNoMask
(
String
phoneNo
)
{
private
static
String
getPhoneNoMask
(
String
phoneNo
)
{
// if (StringUtils.isEmpty(phoneNo)) { throw new QGException(QGExceptionType.USER_PHONE_NO_EMPTY); }
if
(
StringUtils
.
isEmpty
(
phoneNo
))
{
throw
new
QGException
(
QGExceptionType
.
USER_PHONE_NO_EMPTY
);
}
// return phoneNo.substring(0, phoneNo.length() - 4) + "****";
return
phoneNo
.
substring
(
0
,
phoneNo
.
length
()
-
4
)
+
"****"
;
return
phoneNo
;
}
}
/**
/**
...
@@ -418,9 +417,8 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService {
...
@@ -418,9 +417,8 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService {
* @return
* @return
*/
*/
private
static
String
getIdNoMask
(
String
idNo
)
{
private
static
String
getIdNoMask
(
String
idNo
)
{
// if (StringUtils.isEmpty(idNo)) { throw new QGException(QGExceptionType.USER_ID_NO_EMPTY); }
if
(
StringUtils
.
isEmpty
(
idNo
))
{
throw
new
QGException
(
QGExceptionType
.
USER_ID_NO_EMPTY
);
}
// return idNo.substring(0, idNo.length() - 5) + "*****";
return
idNo
.
substring
(
0
,
idNo
.
length
()
-
5
)
+
"*****"
;
return
idNo
;
}
}
/**
/**
...
...
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