Commit 2a0c7366 authored by 赵灿灿's avatar 赵灿灿

修改条数

parent fce5c095
Pipeline #21468 passed with stages
in 3 minutes and 58 seconds
...@@ -87,7 +87,9 @@ public class ExpertInformationService { ...@@ -87,7 +87,9 @@ public class ExpertInformationService {
public Map<String, Object> selectExpertInformation( ExpertInformationCriteria criteria) { public Map<String, Object> selectExpertInformation( ExpertInformationCriteria criteria) {
try { try {
criteria.removeMapNullOrEmpty(); criteria.removeMapNullOrEmpty();
List<Map<String,Object>> entityList = repository.selectExpertByPage(criteria,1,10); if(criteria.getPageSize()==null)
criteria.setPageSize(10);
List<Map<String,Object>> entityList = repository.selectExpertByPage(criteria,1,criteria.getPageSize());
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("entityList", entityList); map.put("entityList", entityList);
return map; return map;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment