|
|
@ -159,6 +159,9 @@ public class LoanBeOverdueVehService { |
|
|
|
if (StringUtils.isNotBlank(query.getVinNo())) { |
|
|
|
qw.like("a1.vinNo", query.getVinNo()); |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(query.getNames())) { |
|
|
|
qw.and(wrapper -> wrapper.like("a1.loanContractNo", query.getNames()).or().like("a1.borrowerName", query.getNames()).or().like("a1.vinNo", query.getNames())); |
|
|
|
} |
|
|
|
String collectionStartDate = query.getCollectionStartDate(); |
|
|
|
String collectionEndDate = query.getCollectionEndDate(); |
|
|
|
qw.apply(StringUtils.isNotBlank(collectionStartDate), "date_format (a1.createTime,'%Y-%m-%d') >= date_format('" + collectionStartDate + "','%Y-%m-%d')"). |
|
|
|