|
|
@@ -640,10 +640,7 @@ public class WxUserServiceImpl implements WxUserService {
|
|
|
if (code.equals(userDO.getUserCode())) {
|
|
|
userDO.setUserPhone(userPhone);
|
|
|
//更新家长信息表中的手机号
|
|
|
- ParentsDO updateParentsDO = new ParentsDO();
|
|
|
- updateParentsDO.setParentId(parentsDO.getParentId());
|
|
|
- updateParentsDO.setPaPhone(userPhone);
|
|
|
- parentsMapper.update(updateParentsDO);
|
|
|
+ parentsMapper.updateMobile(parentsDO.getPaPhone(), userPhone);
|
|
|
//更新账户的手机号
|
|
|
return userMapper.update(userDO);
|
|
|
}else {
|