| | |
| | | if(R.isOk(r)&&r.getData()!=null){ |
| | | SysUserVO sysUserVO = |
| | | JSONObject.parseObject(JSONObject.toJSONString(r.getData()), SysUserVO.class); |
| | | partyBuildingMemberVO.setPhotoPath(sysUserVO.getImgUrl()); |
| | | partyBuildingMemberVO.setPhotoPath(sysUserVO.getImageUrl()); |
| | | } |
| | | ComPbMemberDO comPbMemberDO1 = new ComPbMemberDO(); |
| | | BeanUtils.copyProperties(partyBuildingMemberVO, comPbMemberDO1); |
| | |
| | | //添加党员同步用户小程序头像 |
| | | R r=userService.getSysUserVOByPhone(comPbMember.getPhone()); |
| | | if(R.isOk(r)&&r.getData()!=null){ |
| | | SysUserVO sysUserVO= (SysUserVO) r.getData(); |
| | | comPbMember.setPhotoPath(sysUserVO.getImgUrl()); |
| | | SysUserVO sysUserVO = |
| | | JSONObject.parseObject(JSONObject.toJSONString(r.getData()), SysUserVO.class); |
| | | comPbMember.setPhotoPath(sysUserVO.getImageUrl()); |
| | | } |
| | | this.baseMapper.updateById(comPbMember); |
| | | }); |