Tim-connector: new search method added
findByOrderElementAndChildrenFilteredByDate added, to find all workReportLines of an order between 2 dates
This commit is contained in:
parent
9463d94a84
commit
1ce4477c84
1 changed files with 7 additions and 0 deletions
|
|
@ -76,5 +76,12 @@ public interface IWorkReportLineDAO extends
|
|||
|
||||
List<WorkReportLine> findByOrderElementAndWorkReports(
|
||||
OrderElement orderElement, List<WorkReport> workReports);
|
||||
/**
|
||||
* Returns the {@link WorkReportLine}s of the specified
|
||||
* <code>orderElement</code> specified between <code>start</code> date and
|
||||
* <code>end</code> date
|
||||
*/
|
||||
List<WorkReportLine> findByOrderElementAndChildrenFilteredByDate(
|
||||
OrderElement orderElement, Date start, Date end, boolean sortByDate);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue