mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-07 10:16:38 +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);
|
||||||
return R.ok(result);
|
|
||||||
} else {
|
|
||||||
return R.ok("部分操作失败", result);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -1358,11 +1354,7 @@ public class ForwardServiceImpl extends ServiceImpl<ForwardMapper, Forward> impl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.isAllSuccess()) {
|
return R.ok(result);
|
||||||
return R.ok(result);
|
|
||||||
} else {
|
|
||||||
return R.ok("部分操作失败", result);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -1455,11 +1447,7 @@ public class ForwardServiceImpl extends ServiceImpl<ForwardMapper, Forward> impl
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.isAllSuccess()) {
|
return R.ok(result);
|
||||||
return R.ok(result);
|
|
||||||
} else {
|
|
||||||
return R.ok("部分操作失败", result);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -526,11 +526,7 @@ public class NodeServiceImpl extends ServiceImpl<NodeMapper, Node> implements No
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.isAllSuccess()) {
|
return R.ok(result);
|
||||||
return R.ok(result);
|
|
||||||
} else {
|
|
||||||
return R.ok("部分操作失败", result);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user