Commit 404c9b2f authored by 陈宏杰's avatar 陈宏杰

防止漏期

parent 11ad70aa
......@@ -98,7 +98,8 @@ public class BaiHangFileReportService {
String dateFormat = "yyyy-MM-dd";
Date stepStartDate = DateUtils.parseDate(dateFormat,start);
Date stepEndDate = org.apache.commons.lang3.time.DateUtils.addDays(stepStartDate,daySplitCount);
Date endDate = DateUtils.parseDate(dateFormat,end);
// D3 还款记录 防止漏期
Date endDate = "D3R".equalsIgnoreCase(type) ? new Date() : DateUtils.parseDate(dateFormat,end);
Date loanStartDate = DateUtils.parseDate(dateFormat,loanStartDateStr);
Date loanEndDate = DateUtils.parseDate(dateFormat,loanEndDateStr);
Stopwatch stopwatch = Stopwatch.createStarted();
......
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