Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
baihang-report
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
baihang-report
Commits
4f346d95
Commit
4f346d95
authored
Feb 14, 2022
by
陈宏杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
还款日期限制
parent
6a873119
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
RepaymentLoanInfoMapper.java
...tgroup/report/mapper/baihang/RepaymentLoanInfoMapper.java
+1
-1
BaiHangFileReportService.java
...roup/report/service/baihang/BaiHangFileReportService.java
+1
-1
RepaymentLoanInfoMapper.xml
...ntgroup/report/mapper/baihang/RepaymentLoanInfoMapper.xml
+1
-0
No files found.
src/main/java/cn/quantgroup/report/mapper/baihang/RepaymentLoanInfoMapper.java
View file @
4f346d95
...
...
@@ -124,5 +124,5 @@ public interface RepaymentLoanInfoMapper {
List
<
LoanApplicationHistoryIdInfo
>
queryLoanApplicationHistoryIdInfo
(
BaiHangTimeRecord
baiHangTimeRecord
);
Integer
queryRepeatOfD3R
(
@Param
(
"loanId"
)
String
loanId
,
@Param
(
"termNo"
)
Integer
termNo
,
@Param
(
"realRepayment"
)
BigDecimal
realRepayment
);
Integer
queryRepeatOfD3R
(
@Param
(
"loanId"
)
String
loanId
,
@Param
(
"termNo"
)
Integer
termNo
,
@Param
(
"realRepayment"
)
BigDecimal
realRepayment
,
@Param
(
"realRepaymentDate"
)
String
realRepaymentDate
);
}
src/main/java/cn/quantgroup/report/service/baihang/BaiHangFileReportService.java
View file @
4f346d95
...
...
@@ -729,7 +729,7 @@ public class BaiHangFileReportService {
try
{
if
(
StringUtils
.
isNotBlank
(
linkPointTime
))
{
//新老数据衔接避免重复报送
repeatCount
=
repaymentLoanInfoMapper
.
queryRepeatOfD3R
(
repaymentLoanInfo
.
getLoanId
(),
repaymentLoanInfo
.
getTermNo
(),
repaymentLoanInfo
.
getRealRepayment
());
repeatCount
=
repaymentLoanInfoMapper
.
queryRepeatOfD3R
(
repaymentLoanInfo
.
getLoanId
(),
repaymentLoanInfo
.
getTermNo
(),
repaymentLoanInfo
.
getRealRepayment
()
,
repaymentLoanInfo
.
getRealRepaymentDate
()
);
if
(
Objects
.
nonNull
(
repeatCount
)
&&
repeatCount
>
0
)
{
log
.
info
(
"量化派助贷TO百行报送(D3)-已报送,重复信息 {}"
,
JSONObject
.
toJSONString
(
repaymentLoanInfo
));
continue
;
...
...
src/main/resources/cn/quantgroup/report/mapper/baihang/RepaymentLoanInfoMapper.xml
View file @
4f346d95
...
...
@@ -1201,6 +1201,7 @@
where loan_id = #{loanId,jdbcType=VARCHAR}
and term_no = #{termNo}
and real_repayment = #{realRepayment}
and real_repayment_date = #{realRepaymentDate}
</select>
</mapper>
\ No newline at end of file
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