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
9ea2e679
Commit
9ea2e679
authored
Apr 29, 2020
by
liwenbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b194b275
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
NiWoDaiController.java
...roup/asset/distribution/controller/NiWoDaiController.java
+1
-0
AidFundRouteServiceImpl.java
...ibution/service/funding/impl/AidFundRouteServiceImpl.java
+1
-1
NiwodaiAssetServiceImpl.java
...ibution/service/niwodai/impl/NiwodaiAssetServiceImpl.java
+3
-3
NiwodaiServiceImpl.java
...distribution/service/niwodai/impl/NiwodaiServiceImpl.java
+1
-1
No files found.
src/main/java/com/quantgroup/asset/distribution/controller/NiWoDaiController.java
View file @
9ea2e679
...
...
@@ -95,6 +95,7 @@ public class NiWoDaiController {
assetDistributeService
.
distribute
(
assetForm
,
asset
,
dataMap
);
}
else
{
NiwodaiIncomingResultResponseVO
vo
=
JSON
.
parseObject
(
data
,
NiwodaiIncomingResultResponseVO
.
class
);
aidLoanFundAuditOrder
.
setAuditContext
(
JSON
.
toJSONString
(
vo
));
if
(!
checkIncomingResult
(
vo
))
{
log
.
info
(
"你我贷审核进件回调结果data出现错误, orderId : {}, type : {}, code : {}, timestamp : {}, data : {}"
,
orderId
,
type
,
code
,
timestamp
,
JSON
.
toJSONString
(
vo
));
alarmService
.
dingtalkAlarm
(
"Error"
,
"你我贷审核结果回调data出现错误"
,
"bizNo : "
+
orderId
+
" , type : "
+
type
+
" , code : "
+
code
+
" , timestamp : "
+
timestamp
+
" , data : "
+
data
);
...
...
src/main/java/com/quantgroup/asset/distribution/service/funding/impl/AidFundRouteServiceImpl.java
View file @
9ea2e679
...
...
@@ -80,7 +80,7 @@ public class AidFundRouteServiceImpl implements IAidFundRouteService {
if
(
CollectionUtils
.
isNotEmpty
(
aidLoanFundConfigList
)){
// AID_LOAN_COUNT_LIMIT_KEY + DateUtil.getDay() //TODO 放redis
aidLoanFundConfigList
=
aidLoanFundConfigList
.
parallelStream
()
.
filter
(
aidLoanFundConfig
->
aidLoanFundConfig
.
getFundCountLimit
()
>=
redisService
.
setIncr
(
AID_LOAN_COUNT_LIMIT_KEY
+
DateUtil
.
getDay
(),
0
,
3
,
TimeUnit
.
DAYS
))
.
filter
(
aidLoanFundConfig
->
aidLoanFundConfig
.
getFundCountLimit
()
>=
redisService
.
setIncr
(
AID_LOAN_COUNT_LIMIT_KEY
+
DateUtil
.
getDay
(),
1
,
3
,
TimeUnit
.
DAYS
))
.
collect
(
Collectors
.
toList
());
}
//第四步 限制总额度筛选 额度筛选暂时没有用到
...
...
src/main/java/com/quantgroup/asset/distribution/service/niwodai/impl/NiwodaiAssetServiceImpl.java
View file @
9ea2e679
...
...
@@ -121,9 +121,9 @@ public class NiwodaiAssetServiceImpl implements INiwodaiAssetService {
userInfo
.
setEducation
(
conversEducation
((
String
)
infoMap
.
get
(
"education"
)).
name
());
userInfo
.
setOccupation
(
conversOccupation
((
String
)
infoMap
.
get
(
"vocation"
)).
name
());
userInfo
.
setIdcardValidity
(
idCardBack
.
getValid_date_begin
()
+
"-"
+
idCardBack
.
getValid_date_end
());
userInfo
.
setIdcardFront
(
ocrIdCardRow
.
getIdCardBaseContentA
());
userInfo
.
setIdcardBack
(
ocrIdCardRow
.
getIdCardBaseContentB
());
userInfo
.
setBioPhoto
(
ocrIdCardRow
.
getLivePhotoContent
());
userInfo
.
setIdcardFront
(
ocrIdCardRow
.
getIdCardBaseContentA
()
.
replaceAll
(
"\r\n"
,
""
)
);
userInfo
.
setIdcardBack
(
ocrIdCardRow
.
getIdCardBaseContentB
()
.
replaceAll
(
"\r\n"
,
""
)
);
userInfo
.
setBioPhoto
(
ocrIdCardRow
.
getLivePhotoContent
()
.
replaceAll
(
"\r\n"
,
""
)
);
userInfo
.
setImageType
(
"BASE64"
);
userInfo
.
setProvince
((
String
)
infoMap
.
get
(
"province"
));
userInfo
.
setCity
((
String
)
infoMap
.
get
(
"city"
));
...
...
src/main/java/com/quantgroup/asset/distribution/service/niwodai/impl/NiwodaiServiceImpl.java
View file @
9ea2e679
...
...
@@ -77,7 +77,7 @@ public class NiwodaiServiceImpl implements INiwodaiService {
return
vo
;
}
}
throw
new
QGException
(
QGExceptionType
.
NIWODAI_INCOMING_RESULT_ERROR
);
throw
new
QGException
(
QGExceptionType
.
NIWODAI_INCOMING_RESULT_ERROR
,
result
);
}
@Override
...
...
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