|
|
@ -58,12 +58,12 @@ public class YiFengScreenServiceImpl implements YiFengScreenService, ResultDataR |
|
|
|
private EpmetUserOpenFeignClient epmetUserOpenFeignClient; |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<LingShanScreenPartyOrgCategoryResultDTO> listPartyOrgCategoryAndQuantity(String agencyId) { |
|
|
|
public List<YiFengScreenPartyOrgCategoryResultDTO> listPartyOrgCategoryAndQuantity(String agencyId) { |
|
|
|
AgencyInfoCache agencyInfo = null; |
|
|
|
try { |
|
|
|
agencyInfo = CustomerOrgRedis.getAgencyInfo(agencyId); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("【灵山大屏-党对象数量查询】组织未找到:" + agencyId); |
|
|
|
logger.error("【移风大屏-党对象数量查询】组织未找到:" + agencyId); |
|
|
|
return new ArrayList<>(); |
|
|
|
} |
|
|
|
|
|
|
@ -72,8 +72,8 @@ public class YiFengScreenServiceImpl implements YiFengScreenService, ResultDataR |
|
|
|
} |
|
|
|
|
|
|
|
// 1.查询党组织
|
|
|
|
List<LingShanScreenPartyOrgCategoryResultDTO> l = icPartyOrgDao |
|
|
|
.listPartyOrgCategoryAndQuantity(EpmetRequestHolder.getLoginUserCustomerId(), agencyId, PidUtils.convertPid2OrgIdPath(agencyId, agencyInfo.getPids())); |
|
|
|
List<YiFengScreenPartyOrgCategoryResultDTO> l = icPartyOrgDao |
|
|
|
.listPartyOrgCategoryAndQuantityForYiFeng("1739891126105206785", agencyId, PidUtils.convertPid2OrgIdPath(agencyId, agencyInfo.getPids())); |
|
|
|
|
|
|
|
// 给组织类型名字赋值
|
|
|
|
l.forEach(i -> { |
|
|
@ -83,18 +83,18 @@ public class YiFengScreenServiceImpl implements YiFengScreenService, ResultDataR |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
// 2.查询党小组
|
|
|
|
/* // 2.查询党小组
|
|
|
|
Integer groupQty = getResultDataOrReturnNull(groupOpenFeignClient.getPartyGroupQuantityByAgencyId(agencyId), ServiceConstant.RESI_GROUP_SERVER); |
|
|
|
if (groupQty == null) { |
|
|
|
logger.error("【灵山大屏】党建引领-查询党小组信息失败,agencyId:" + agencyId); |
|
|
|
logger.error("【移风大屏】党建引领-查询党小组信息失败,agencyId:" + agencyId); |
|
|
|
groupQty = 0; |
|
|
|
} |
|
|
|
|
|
|
|
LingShanScreenPartyOrgCategoryResultDTO gq = new LingShanScreenPartyOrgCategoryResultDTO(); |
|
|
|
YiFengScreenPartyOrgCategoryResultDTO gq = new YiFengScreenPartyOrgCategoryResultDTO(); |
|
|
|
gq.setName("党小组"); |
|
|
|
gq.setPartyOrgType(null); |
|
|
|
gq.setValue(groupQty); |
|
|
|
l.add(gq); |
|
|
|
l.add(gq);*/ |
|
|
|
|
|
|
|
return l; |
|
|
|
} |
|
|
|