Commit aeb2b294 authored by 陈宏杰's avatar 陈宏杰

2000-01-01

parent d3ef11b5
...@@ -385,7 +385,7 @@ public class BaiHangFileReportService { ...@@ -385,7 +385,7 @@ public class BaiHangFileReportService {
for(int i = 0; i < idInfos.size(); i++) { for(int i = 0; i < idInfos.size(); i++) {
step = 1; step = 1;
idInfo = idInfos.get(i); idInfo = idInfos.get(i);
if (Objects.isNull(idInfo.getRepaymentReceivedAt())) { if (Objects.isNull(idInfo.getRepaymentReceivedAt()) || "2000-01-01".equals(DateUtils.formatDate(idInfo.getRepaymentReceivedAt(),"yyyy-MM-dd"))) {
idInfo.setRepaymentReceivedAt(new Date()); idInfo.setRepaymentReceivedAt(new Date());
} }
while (Boolean.TRUE) { while (Boolean.TRUE) {
......
...@@ -1177,7 +1177,7 @@ ...@@ -1177,7 +1177,7 @@
<select id="queryLoanApplicationHistoryIdInfo" parameterType="cn.quantgroup.report.domain.baihang.BaiHangTimeRecord" <select id="queryLoanApplicationHistoryIdInfo" parameterType="cn.quantgroup.report.domain.baihang.BaiHangTimeRecord"
resultType="cn.quantgroup.report.domain.baihang.LoanApplicationHistoryIdInfo"> resultType="cn.quantgroup.report.domain.baihang.LoanApplicationHistoryIdInfo">
select a.loan_application_history_id,max(ifnull(a.repayment_received_at,now())) as repaymentReceivedAt,max(a.deadline) as deadline select a.loan_application_history_id,max(a.repayment_received_at) as repaymentReceivedAt,max(a.deadline) as deadline
from xyqb.repayment_plan a from xyqb.repayment_plan a
left join xyqb.loan_application_manifest_history b left join xyqb.loan_application_manifest_history b
on a.loan_application_history_id=b.loan_application_history_id and b.loan_paid_at >= #{startTime,jdbcType=VARCHAR} and b.loan_paid_at &lt; #{endTime,jdbcType=VARCHAR} on a.loan_application_history_id=b.loan_application_history_id and b.loan_paid_at >= #{startTime,jdbcType=VARCHAR} and b.loan_paid_at &lt; #{endTime,jdbcType=VARCHAR}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment