|
@@ -1085,31 +1085,20 @@ public class CzrkServiceImpl implements ICzrkService {
|
|
|
setAgeScope(czrk);
|
|
|
List<Czrk> czrkList = czrkMapper.getAllCzrk(czrk);
|
|
|
|
|
|
- List<Czrk> czrkListp = czrkList.stream().sorted(
|
|
|
+ /* List<Czrk> czrkListp = czrkList.stream().sorted(
|
|
|
//以户籍号排序
|
|
|
Comparator.comparing(Czrk::getCode, Comparator.reverseOrder())
|
|
|
//户主排序
|
|
|
.thenComparing(Czrk::getHouseType, Comparator.reverseOrder())
|
|
|
|
|
|
- ).collect(Collectors.toList());
|
|
|
+ ).collect(Collectors.toList());*/
|
|
|
|
|
|
-
|
|
|
- /* List<TestInfo> sortList = testInfos.stream().sorted(
|
|
|
- // 以上月评分排序,评分高的在前
|
|
|
- Comparator.comparing(TestInfo::getLastScore, Comparator.reverseOrder())
|
|
|
- // 以在司时长排序,时间长的在前
|
|
|
- .thenComparing(TestInfo::getOnJobMonth, Comparator.reverseOrder())
|
|
|
- // 以评分排序,评分高的在前
|
|
|
- .thenComparing(TestInfo::getScore, Comparator.reverseOrder())).collect(Collectors.toList());
|
|
|
- sortList.forEach(System.out::println);*/
|
|
|
-
|
|
|
-
|
|
|
- CzrkUtils.packAddr(czrkListp);
|
|
|
- if(czrkListp==null || czrkListp.size()<=0){
|
|
|
+ CzrkUtils.packAddr(czrkList);
|
|
|
+ if(czrkList==null || czrkList.size()<=0){
|
|
|
throw new BaseException("请下载属于本乡镇数据");
|
|
|
}
|
|
|
//packAddr(czrkList);
|
|
|
- return czrkListp;
|
|
|
+ return czrkList;
|
|
|
}
|
|
|
|
|
|
@Override
|