Browse Source

房屋查询党员放在最前面

dev_shibei_match
zhaoqifeng 4 years ago
parent
commit
ef755fd152
  1. 9
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/IcHouseServiceImpl.java

9
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/service/impl/IcHouseServiceImpl.java

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

Loading…
Cancel
Save