|
|
@ -781,7 +781,7 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<LingShanPartyUnitRstDTO> lingshanPartyServiceCenterList(String objType, String orgId) { |
|
|
|
public List<LingShanScreenPartyObjectByTypeRstDTO> lingshanPartyServiceCenterList(String objType, String orgId) { |
|
|
|
LambdaQueryWrapper<IcPartyServiceCenterEntity> q = new LambdaQueryWrapper<>();; |
|
|
|
if (objType.equals("party_service_center")) { |
|
|
|
// 党群服务中心
|
|
|
@ -795,10 +795,11 @@ public class IcPartyServiceCenterServiceImpl extends BaseServiceImpl<IcPartyServ |
|
|
|
|
|
|
|
List<IcPartyServiceCenterEntity> es = icPartyServiceCenterDao.selectList(q); |
|
|
|
return es.stream().map(e -> { |
|
|
|
LingShanPartyUnitRstDTO d = new LingShanPartyUnitRstDTO(); |
|
|
|
LingShanScreenPartyObjectByTypeRstDTO d = new LingShanScreenPartyObjectByTypeRstDTO(); |
|
|
|
d.setLatitude(e.getLatitude()); |
|
|
|
d.setLongitude(e.getLongitude()); |
|
|
|
d.setOrgName(e.getCenterName()); |
|
|
|
d.setOrgId(e.getOrgId()); |
|
|
|
return d; |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
} |
|
|
|