feat:微信通知改造
This commit is contained in:
@@ -110,9 +110,14 @@ public class WechatMiniAppServiceImpl implements WechatMiniAppService {
|
||||
PartnerUserWechatBindDO bindDO = new PartnerUserWechatBindDO();
|
||||
bindDO.setBindTime(new Date());
|
||||
bindDO.setOpenId(openid);
|
||||
bindDO.setUnionId(unionId);
|
||||
bindDO.setPartnerId(hyPartnerUserInfoDO.getPartnerId());
|
||||
bindDO.setCreateTime(new Date());
|
||||
partnerUserWechatBindDAO.insertSelective(bindDO);
|
||||
}else {
|
||||
//维护unionId 针对老数据没有unionId
|
||||
zlPartnerUserBindDO.setUnionId(unionId);
|
||||
partnerUserWechatBindDAO.update(zlPartnerUserBindDO);
|
||||
}
|
||||
BeanUtil.copyProperties(hyPartnerUserInfoDO, userInfoVO);
|
||||
fillLineInfo(userInfoVO, hyPartnerUserInfoDO.getPartnerId());
|
||||
|
||||
Reference in New Issue
Block a user