Commit 19ea0b2a by 罗志长

fix: 子女端小程序解绑长者

parent 7e459148
......@@ -367,11 +367,10 @@ public class PlatElderChildrenInfoServiceImpl extends ServiceImpl<PlatElderChild
@Override
@Transactional(rollbackFor = Exception.class)
public void unbind(String elderId) {
remove(new QueryWrapper<PlatElderChildrenInfo>().lambda().eq(PlatElderChildrenInfo::getElderId,elderId));
/* PlatElderChildrenInfo childrenInfo = getById(WechatUserUtil.getUserId());
PlatElderChildrenInfo childrenInfo = getById(WechatUserUtil.getUserId());
childrenInfo.setElderId(null);
updateById(childrenInfo);*/
updateById(childrenInfo);
}
}
//TODO ywc 组织还没填充
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment