springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/controller/BaseController.java
@@ -65,7 +65,7 @@ public Long getCommunityId() { LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); Long communityId = loginUserInfo.getCommunityId(); if (null == communityId || 0 == communityId) { if (null == communityId) { throw new ServiceException("用户未绑定社区"); } return communityId; springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/partybuilding/PartyBuildingMemberVO.java
@@ -4,6 +4,8 @@ import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -96,6 +98,7 @@ @ApiModelProperty(value = "帮扶社区联系人") private String helpCommunityContactsName; @ApiModelProperty(value = "小区id") @JsonSerialize(using = ToStringSerializer.class) private Long villageId; @ApiModelProperty(value = "小区名字") private String villageName; springcloud_k8s_panzhihuazhihuishequ/community_backstage/src/main/java/com/panzhihua/community_backstage/api/ComPbCheckUnitApi.java
@@ -151,7 +151,7 @@ @ApiOperation(value = "查询报道单位列表", response = ComPbCheckUnitVo.class) @PostMapping("/list") public R queryByList(@RequestBody PageComPbCheckUnitDto comPbCheckUnit) { comPbCheckUnit.setCommunityId(this.getCommunityId()); //comPbCheckUnit.setCommunityId(this.getCommunityId()); return this.comPbCheckUnitService.queryByList(comPbCheckUnit); } springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComMngVillageServiceImpl.java
@@ -84,7 +84,9 @@ if(StringUtils.isNotEmpty(comMngVillageVO.getName())){ param.like(ComMngVillageDO::getName, comMngVillageVO.getName()); } param.eq(ComMngVillageDO::getCommunityId, comMngVillageVO.getCommunityId()); if(comMngVillageVO.getCommunityId()!=0){ param.eq(ComMngVillageDO::getCommunityId, comMngVillageVO.getCommunityId()); } List<ComMngVillageDO> comMngVillageDOS = comActVillageDAO.selectList(param); BeanUtils.copyProperties(comMngVillageDOS, vos); return R.ok(comMngVillageDOS);