Browse Source

serviceShowFlag

master
yinzuomei 4 years ago
parent
commit
1a7e7a4fad
  1. 4
      epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/result/demand/DemandRecResultDTO.java
  2. 3
      epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/IcUserDemandRecServiceImpl.java
  3. 1
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/ProjectController.java
  4. 1
      epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/ResiEventController.java

4
epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/result/demand/DemandRecResultDTO.java

@ -88,6 +88,10 @@ public class DemandRecResultDTO implements Serializable {
* XXX(区域化党建单位)
*/
private String serviceShowName;
/**
* 只要有服务方就显示
*/
private Boolean serviceShowFlag;
/**
* 服务方类型志愿者volunteer社会组织social_org社区自组织community_org区域党建单位party_unit
*/

3
epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/IcUserDemandRecServiceImpl.java

@ -323,6 +323,7 @@ public class IcUserDemandRecServiceImpl extends BaseServiceImpl<IcUserDemandRecD
res.setServiceShowName(res.getServiceName().concat("(区域化党建单位)"));
break;
}*/
res.setServiceShowFlag(StringUtils.isNotBlank(res.getServerId()) ? true : false);
}
}
return new PageData<>(list, pageInfo.getTotal());
@ -563,6 +564,7 @@ public class IcUserDemandRecServiceImpl extends BaseServiceImpl<IcUserDemandRecD
//服务方类型:志愿者:volunteer;社会组织:social_org;社区自组织:community_org;区域党建单位:party_unit;
res.setServiceShowName(serviceTypeMap.containsKey(res.getServiceType()) ? res.getServiceName().concat("(").concat(serviceTypeMap.get(res.getServiceType())).concat(")") : StrConstant.EPMETY_STR);
res.setServiceShowFlag(StringUtils.isNotBlank(res.getServerId())?true:false);
}
return res;
}
@ -772,6 +774,7 @@ public class IcUserDemandRecServiceImpl extends BaseServiceImpl<IcUserDemandRecD
res.setStatusName(statusMap.containsKey(res.getStatus())?statusMap.get(res.getStatus()):StrConstant.EPMETY_STR);
//服务方类型:志愿者:volunteer;社会组织:social_org;社区自组织:community_org;区域党建单位:party_unit;
res.setServiceShowName(serviceTypeMap.containsKey(res.getServiceType())?res.getServiceName().concat("(").concat(serviceTypeMap.get(res.getServiceType())).concat(")"):StrConstant.EPMETY_STR);
res.setServiceShowFlag(StringUtils.isNotBlank(res.getServerId())?true:false);
}
}
return new PageData<>(list, total);

1
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/ProjectController.java

@ -301,6 +301,7 @@ public class ProjectController {
/**
* 个人档案-话题详情-研判分析
* 只看来源于议题的项目
* @param tokenDto
* @param formDTO
* @return

1
epmet-module/gov-project/gov-project-server/src/main/java/com/epmet/controller/ResiEventController.java

@ -243,6 +243,7 @@ public class ResiEventController {
/**
* 数据分析-个人档案-上报事件列表-事件详情研判分析
* 只看来源于需求上报的项目
*
* @param formDTO
* @return

Loading…
Cancel
Save