|
|
@ -173,7 +173,8 @@ public class FactOriginTopicMainDailyServiceImpl extends BaseServiceImpl<FactOri |
|
|
|
mainDailyEntity.setAgencyId(gridInfoDTO.getAgencyId()); |
|
|
|
//网格的上上级组织id=街道id
|
|
|
|
mainDailyEntity.setPid(gridInfoDTO.getPid()); |
|
|
|
//TODO
|
|
|
|
mainDailyEntity.setPids(gridInfoDTO.getPids()); |
|
|
|
//判断用户是否是党员,调用相成写的方法
|
|
|
|
//话题发布人是否是党员:1是党员0不是。 默认0
|
|
|
|
if (null != userIsPartyMap && null != userIsPartyMap.get(topicOriginInfoDTO.getOperateUserId())) { |
|
|
|
mainDailyEntity.setCreateTopicUserIsParty(userIsPartyMap.get(topicOriginInfoDTO.getOperateUserId()) == NumConstant.ONE ? true : false); |
|
|
@ -190,7 +191,8 @@ public class FactOriginTopicMainDailyServiceImpl extends BaseServiceImpl<FactOri |
|
|
|
logDailyEntity.setQuarterId(quarterId); |
|
|
|
logDailyEntity.setAgencyId(gridInfoDTO.getAgencyId()); |
|
|
|
logDailyEntity.setPid(gridInfoDTO.getPid()); |
|
|
|
//TODO
|
|
|
|
logDailyEntity.setPids(gridInfoDTO.getPids()); |
|
|
|
//判断用户是否是党员,调用相成写的方法
|
|
|
|
if (null != userIsPartyMap && null != userIsPartyMap.get(topicOriginInfoDTO.getOperateUserId())) { |
|
|
|
logDailyEntity.setOperateUserIsParty(userIsPartyMap.get(topicOriginInfoDTO.getOperateUserId()) == NumConstant.ONE ? true : false); |
|
|
|
} else { |
|
|
|