Commit 0549f295 by guojuxing

管理员编辑受审组编辑调整:同步

parent 8bc2e1c6
...@@ -89,11 +89,11 @@ public class AuditedGroupUserRelServiceImpl implements AuditedGroupUserRelServic ...@@ -89,11 +89,11 @@ public class AuditedGroupUserRelServiceImpl implements AuditedGroupUserRelServic
@Override @Override
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
public void setUserAuditedGroup(Integer userId, Integer enterpriseId, List<Integer> auditedGroupId) { public void setUserAuditedGroup(Integer userId, Integer enterpriseId, List<Integer> auditedGroupId) {
//删除该用户的所有关联
deleteByUserId(userId);
if (CollectionUtils.isEmpty(auditedGroupId)) { if (CollectionUtils.isEmpty(auditedGroupId)) {
return ; return ;
} }
//删除该用户的所有关联
deleteByUserId(userId);
//建立关联 //建立关联
Date now = new Date(); Date now = new Date();
for (Integer auditedGroupIdTemp : auditedGroupId) { for (Integer auditedGroupIdTemp : auditedGroupId) {
......
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 to comment