|
|
|
@ -337,7 +337,9 @@ public class DistributionController {
|
|
|
|
list.add(roleReader);
|
|
|
|
list.add(roleReader);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
roleRearderService.SimpleInsert(list);
|
|
|
|
if(!CollectionUtils.isEmpty(list)) {
|
|
|
|
|
|
|
|
roleRearderService.SimpleInsert(list);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(null != userId) {
|
|
|
|
if(null != userId) {
|
|
|
|
//与角色分配表对比,多出部分,flag设为1,减少部分flag设为0
|
|
|
|
//与角色分配表对比,多出部分,flag设为1,减少部分flag设为0
|
|
|
|
@ -392,7 +394,9 @@ public class DistributionController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
userRearderService.SimpleInsert(list);
|
|
|
|
if(!CollectionUtils.isEmpty(list)) {
|
|
|
|
|
|
|
|
userRearderService.SimpleInsert(list);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return ResultUtil.ok();
|
|
|
|
return ResultUtil.ok();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|