|
@@ -22,10 +22,10 @@ public class GlobalHelper {
|
|
|
* 顶级机构一致性校验
|
|
|
*
|
|
|
* @author WANGWEI
|
|
|
- * @param partitionIds
|
|
|
+ * @param rootOrgIds
|
|
|
*/
|
|
|
- public static void uniformRootOrg(Long... partitionIds) {
|
|
|
- if (!Util.equals(Arrays.asList(partitionIds))) {
|
|
|
+ public static void uniformRootOrg(Long... rootOrgIds) {
|
|
|
+ if (!Util.equals(Arrays.asList(rootOrgIds))) {
|
|
|
throw new StatusException("120", "非法请求(顶级机构不一致)");
|
|
|
}
|
|
|
}
|