mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-09-29 07:56:37 +08:00
fix: compilation errors in batch operations
- Fix R.ok() usage in backend services (remove message argument) - Fix batchDeleteNodes call in frontend (pass array directly)
This commit is contained in:
@@ -1301,11 +1301,7 @@ public class ForwardServiceImpl extends ServiceImpl<ForwardMapper, Forward> impl
|
||||
}
|
||||
}
|
||||
|
||||
if (result.isAllSuccess()) {
|
||||
return R.ok(result);
|
||||
} else {
|
||||
return R.ok("部分操作失败", result);
|
||||
}
|
||||
return R.ok(result);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -1358,11 +1354,7 @@ public class ForwardServiceImpl extends ServiceImpl<ForwardMapper, Forward> impl
|
||||
}
|
||||
}
|
||||
|
||||
if (result.isAllSuccess()) {
|
||||
return R.ok(result);
|
||||
} else {
|
||||
return R.ok("部分操作失败", result);
|
||||
}
|
||||
return R.ok(result);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -1455,11 +1447,7 @@ public class ForwardServiceImpl extends ServiceImpl<ForwardMapper, Forward> impl
|
||||
}
|
||||
}
|
||||
|
||||
if (result.isAllSuccess()) {
|
||||
return R.ok(result);
|
||||
} else {
|
||||
return R.ok("部分操作失败", result);
|
||||
}
|
||||
return R.ok(result);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -526,11 +526,7 @@ public class NodeServiceImpl extends ServiceImpl<NodeMapper, Node> implements No
|
||||
}
|
||||
}
|
||||
|
||||
if (result.isAllSuccess()) {
|
||||
return R.ok(result);
|
||||
} else {
|
||||
return R.ok("部分操作失败", result);
|
||||
}
|
||||
return R.ok(result);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user