|
@@ -69,9 +69,17 @@ public class EvaluationAgencyRepo implements IEvaluationAgencyRepo {
|
|
|
return evaluationAgencyList;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public List<EvaluationAgency> findAllAuthenticatedReceivable() {
|
|
|
+ List<EvaluationAgency> evaluationAgencyList = new ArrayList<>();
|
|
|
+ Iterable<EvaluationAgencyPO> agencyPOS = evaluationAgencyDao.findAllByIsAuthenticationAndTypeLikeAndIsDeleted(AuthenticationStatus.isAuthenticated, "%"+AuthType.RECEIVABLE.getId()+"%", DeletedStatus.isNotDeleted);
|
|
|
+ agencyPOS.forEach(agencyPO -> evaluationAgencyList.add(Converter.convert(EvaluationAgency.class, agencyPO)));
|
|
|
+ return evaluationAgencyList;
|
|
|
+ }
|
|
|
|
|
|
+ @Override
|
|
|
public List<PersonalAuthentication> findAllPersonalAuth(){
|
|
|
- return personalAuthDao.findAllByIsDeletedAndIsAuthentication(DeletedStatus.isNotDeleted, AuthenticationStatus.isAuthenticated).stream().map(personalAuthPO -> Converter.convert(PersonalAuthentication.class, personalAuthPO)).collect(Collectors.toList());
|
|
|
+ return personalAuthDao.findAllByIsDeletedAndTypeLikeAndIsAuthentication(DeletedStatus.isNotDeleted, "%"+AuthType.RECEIVABLE.getId()+"%", AuthenticationStatus.isAuthenticated).stream().map(personalAuthPO -> Converter.convert(PersonalAuthentication.class, personalAuthPO)).collect(Collectors.toList());
|
|
|
}
|
|
|
|
|
|
@Override
|