Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-api
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-王博
finance-api
Commits
8d271558
Commit
8d271558
authored
Feb 17, 2017
by
Data-王博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
湖北消金 - 提前还款文件
parent
1d480283
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
HuBeiServiceImpl.java
...n/quantgroup/financial/service/impl/HuBeiServiceImpl.java
+32
-0
No files found.
src/main/java/cn/quantgroup/financial/service/impl/HuBeiServiceImpl.java
View file @
8d271558
...
@@ -88,6 +88,15 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -88,6 +88,15 @@ public class HuBeiServiceImpl implements IHuBeiService {
return
handleDiscData
(
hubeiCFCDataType
,
docName
,
docId
,
seqNo
,
applyDt
);
return
handleDiscData
(
hubeiCFCDataType
,
docName
,
docId
,
seqNo
,
applyDt
);
}
}
/**
* 处理回盘送盘
* @param hubeiCFCDataType
* @param docName
* @param docId
* @param seqNo
* @param applyDt
* @return
*/
@Override
@Override
public
HuBeiCFCResponse
handleDiscData
(
HubeiCFCDataType
hubeiCFCDataType
,
String
docName
,
Long
docId
,
Byte
seqNo
,
String
applyDt
){
public
HuBeiCFCResponse
handleDiscData
(
HubeiCFCDataType
hubeiCFCDataType
,
String
docName
,
Long
docId
,
Byte
seqNo
,
String
applyDt
){
HuBeiCFCResponse
response
=
null
;
HuBeiCFCResponse
response
=
null
;
...
@@ -104,6 +113,17 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -104,6 +113,17 @@ public class HuBeiServiceImpl implements IHuBeiService {
return
response
;
return
response
;
}
}
/**
* 构建请求数据
* @param huBeiCFCRequest
* @return
* @throws IOException
* @throws TransformerException
* @throws ParserConfigurationException
* @throws DocumentException
* @throws SAXException
* @throws ServerErrorException
*/
private
HuBeiCFCResponse
requestDiscData
(
HuBeiCFCRequest
huBeiCFCRequest
)
throws
IOException
,
TransformerException
,
ParserConfigurationException
,
DocumentException
,
SAXException
,
ServerErrorException
{
private
HuBeiCFCResponse
requestDiscData
(
HuBeiCFCRequest
huBeiCFCRequest
)
throws
IOException
,
TransformerException
,
ParserConfigurationException
,
DocumentException
,
SAXException
,
ServerErrorException
{
HubeiCFCDataType
dataType
=
huBeiCFCRequest
.
getHubeiCFCDataType
();
HubeiCFCDataType
dataType
=
huBeiCFCRequest
.
getHubeiCFCDataType
();
String
docName
=
huBeiCFCRequest
.
getFileName
();
String
docName
=
huBeiCFCRequest
.
getFileName
();
...
@@ -458,6 +478,13 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -458,6 +478,13 @@ public class HuBeiServiceImpl implements IHuBeiService {
}
}
/**
* 查询当日提前还款信息
* @param loanIdList
* @param gtDate
* @param ltDate
* @return
*/
public
List
<
HuBeiHistory
>
advanceRepayment
(
List
<
Long
>
loanIdList
,
Date
gtDate
,
Date
ltDate
){
public
List
<
HuBeiHistory
>
advanceRepayment
(
List
<
Long
>
loanIdList
,
Date
gtDate
,
Date
ltDate
){
//今天还款 送盘文件中不存在的 查询出来是按 curr_term_no 正序
//今天还款 送盘文件中不存在的 查询出来是按 curr_term_no 正序
List
<
HuBeiHistory
>
returnHuBeiHistoryList
=
new
ArrayList
<>();
List
<
HuBeiHistory
>
returnHuBeiHistoryList
=
new
ArrayList
<>();
...
@@ -511,6 +538,11 @@ public class HuBeiServiceImpl implements IHuBeiService {
...
@@ -511,6 +538,11 @@ public class HuBeiServiceImpl implements IHuBeiService {
return
compensationHuiBeiHistory
;
return
compensationHuiBeiHistory
;
}
}
/**
* 提前还款 RepayXyqb转换器HuBeiHistory
* @param repayXyqbDetailList
* @return
*/
private
List
<
HuBeiHistory
>
advanceHuiBeiHistory
(
List
<
RepayXyqbDetail
>
repayXyqbDetailList
){
private
List
<
HuBeiHistory
>
advanceHuiBeiHistory
(
List
<
RepayXyqbDetail
>
repayXyqbDetailList
){
if
(
CollectionUtils
.
isEmpty
(
repayXyqbDetailList
)){
if
(
CollectionUtils
.
isEmpty
(
repayXyqbDetailList
)){
return
null
;
return
null
;
...
...
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