|
@@ -76,7 +76,7 @@ public class TbFamilyServiceImpl extends ServiceImpl<TbFamilyMapper, TbFamily> i
|
|
|
|
|
|
memberVo.setJoins("Y");
|
|
memberVo.setJoins("Y");
|
|
// 保存成员
|
|
// 保存成员
|
|
- if(userService.saveOrUpdate(memberVo)){
|
|
|
|
|
|
+ if(!userService.saveOrUpdate(memberVo)){
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
|
|
return AjaxResult.error("申请失败");
|
|
return AjaxResult.error("申请失败");
|
|
}
|
|
}
|