Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
added fromDate,toDate search criteria for planesearch for reindexing
Browse files Browse the repository at this point in the history
  • Loading branch information
Taniya1493 committed Jul 3, 2024
1 parent 4cc622d commit c086f5d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,13 +262,13 @@ public void addDemandCriteria(StringBuilder demandQuery, DemandCriteria demandCr

if(demandCriteria.getFromDate() != null){
addAndClause(demandQuery);
demandQuery.append("dmd.createdtime >= ?");
demandQuery.append(" dmd.createdtime >= ? ");
preparedStatementValues.add(demandCriteria.getFromDate());
}

if(demandCriteria.getToDate() != null){
addAndClause(demandQuery);
demandQuery.append("dmd.createdtime <= ?");
demandQuery.append(" dmd.createdtime <= ? ");
preparedStatementValues.add(demandCriteria.getToDate());
}

Expand Down

0 comments on commit c086f5d

Please sign in to comment.