|
@@ -91,6 +91,11 @@ public class AgencyServiceImpl implements AgencyService {
|
|
|
return agencyVO;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 获取首页机构 more模糊查询
|
|
|
+ * @param keyword
|
|
|
+ * @return
|
|
|
+ */
|
|
|
@Override
|
|
|
public List<EvaluationAgencyVO> findMoreAgencyVO(String keyword){
|
|
|
List<EvaluationAgencyVO> list = userTaskCountDao.findByType(RoleType.AGENCY.getId())
|
|
@@ -110,7 +115,7 @@ public class AgencyServiceImpl implements AgencyService {
|
|
|
return list.stream().sorted(Comparator.comparing(EvaluationAgencyVO::getTaskCount).reversed()).collect(Collectors.toList());
|
|
|
} else {
|
|
|
list=list.stream().sorted(Comparator.comparing(EvaluationAgencyVO::getTaskCount).reversed()).collect(Collectors.toList());
|
|
|
- System.out.println(list+"heiheiheiheihehiheihei");
|
|
|
+
|
|
|
return list.stream().filter(evaluationAgencyVO-> evaluationAgencyVO.getEvaluationAgencyName().contains(keyword)).collect(Collectors.toList());
|
|
|
}
|
|
|
|