group/switch 参数添加支持列表
This commit is contained in:
parent
9cef58104b
commit
9a74d198ae
|
|
@ -103,9 +103,7 @@ public class GroupController extends BaseController
|
|||
@PostMapping("/switch")
|
||||
public R<Void> switchDockGroup(@RequestBody SwitchDockGroupRequest request)
|
||||
{
|
||||
if(Objects.nonNull(request.getDockId())){
|
||||
groupService.switchDockGroup(request.getDockId(), request.getGroupId());
|
||||
}
|
||||
|
||||
if(!CollectionUtils.isEmpty(request.getDockIds())){
|
||||
for (Long dockId : request.getDockIds()) {
|
||||
groupService.switchDockGroup(dockId, request.getGroupId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue