@Override public SimpleStandupReport findStandupReportByDateUser( Integer projectId, String username, Date onDate, Integer sAccountId) { StandupReportSearchCriteria criteria = new StandupReportSearchCriteria(); criteria.setProjectId(new NumberSearchField(projectId)); criteria.setLogBy(StringSearchField.and(username)); criteria.setOnDate(new DateSearchField(onDate)); List reports = standupReportMapperExt.findPagableListByCriteria( criteria, new RowBounds(0, Integer.MAX_VALUE)); if (CollectionUtils.isNotEmpty(reports)) { return (SimpleStandupReport) reports.get(0); } return null; }
@Override public List<SimpleUser> findUsersNotDoReportYet( Integer projectId, Date onDate, @CacheKey Integer sAccountId) { return standupReportMapperExt.findUsersNotDoReportYet(projectId, onDate); }
@Override public SimpleStandupReport findById(Integer standupId, Integer sAccountId) { return standupReportMapperExt.findReportById(standupId); }
@Override public List<GroupItem> getReportsCount(StandupReportSearchCriteria criteria) { return standupReportMapperExt.getReportsCount(criteria); }