| @@ -677,14 +677,18 @@ public class WxUserGrantController extends BaseController { | |||||
| return new ResultData(Result.ERROR,e.getMessage()); | return new ResultData(Result.ERROR,e.getMessage()); | ||||
| } | } | ||||
| if (wxCUserBasicInfo.getName() != null || | |||||
| wxCUserBasicInfo.getBirthdate() != null || | |||||
| wxCUserBasicInfo.getSex() != null || | |||||
| wxCUserBasicInfo.getAddress() != null) { | |||||
| if (StringUtils.isNotBlank(wxCUserBasicInfo.getNickName()) | |||||
| || StringUtils.isNotBlank(wxCUserBasicInfo.getAvatarUrl()) | |||||
| || StringUtils.isNotBlank(wxCUserBasicInfo.getName()) | |||||
| || wxCUserBasicInfo.getBirthdate() != null | |||||
| || wxCUserBasicInfo.getSex() != null | |||||
| || StringUtils.isNotBlank(wxCUserBasicInfo.getAddress())) { | |||||
| WxCUserBasicInfo record = new WxCUserBasicInfo(); | WxCUserBasicInfo record = new WxCUserBasicInfo(); | ||||
| record.setId(memberId); | record.setId(memberId); | ||||
| record.setName(wxCUserBasicInfo.getName()); | |||||
| record.setNickName(wxCUserBasicInfo.getNickName()); | |||||
| record.setAvatarUrl(wxCUserBasicInfo.getAvatarUrl()); | record.setAvatarUrl(wxCUserBasicInfo.getAvatarUrl()); | ||||
| record.setName(wxCUserBasicInfo.getName()); | |||||
| record.setBirthdate(wxCUserBasicInfo.getBirthdate()); | record.setBirthdate(wxCUserBasicInfo.getBirthdate()); | ||||
| record.setSex(wxCUserBasicInfo.getSex()); | record.setSex(wxCUserBasicInfo.getSex()); | ||||
| record.setWeight(wxCUserBasicInfo.getWeight()); | record.setWeight(wxCUserBasicInfo.getWeight()); | ||||
| @@ -703,7 +707,6 @@ public class WxUserGrantController extends BaseController { | |||||
| logger.error("发送同步会员消息异常"); | logger.error("发送同步会员消息异常"); | ||||
| } | } | ||||
| wxScoreRulesService.addScore(tenantEntity,EnumScoreType.COMPLETE_INFO, record); | wxScoreRulesService.addScore(tenantEntity,EnumScoreType.COMPLETE_INFO, record); | ||||
| //增加积分 | //增加积分 | ||||
| WxCreditHistory wxCreditHistory = new WxCreditHistory(); | WxCreditHistory wxCreditHistory = new WxCreditHistory(); | ||||