|
|
@ -220,6 +220,7 @@ public class IcHouseServiceImpl extends BaseServiceImpl<IcHouseDao, IcHouseEntit |
|
|
|
} |
|
|
|
} |
|
|
|
//将党员放在最前面
|
|
|
|
if(CollectionUtils.isNotEmpty(categories)) { |
|
|
|
int a = 0; |
|
|
|
for (int i = 0; i < categories.size(); i++) { |
|
|
|
if ("党员".equals(categories.get(i).getName())) { |
|
|
@ -228,6 +229,7 @@ public class IcHouseServiceImpl extends BaseServiceImpl<IcHouseDao, IcHouseEntit |
|
|
|
} |
|
|
|
} |
|
|
|
categories.add(NumConstant.ZERO, categories.remove(a)); |
|
|
|
} |
|
|
|
dto.setCategoryList(categories); |
|
|
|
return dto; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|