|
|
@ -13,6 +13,7 @@ import io.swagger.annotations.ApiParam; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import org.springblade.core.boot.ctrl.BladeController; |
|
|
|
import org.springblade.core.boot.ctrl.BladeController; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
import org.springframework.validation.annotation.Validated; |
|
|
|
import org.springframework.validation.annotation.Validated; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
|
@ -50,4 +51,11 @@ public class EmVideoBandingController extends BladeController { |
|
|
|
return R.status(emVideoBandingService.removeByEmCode(emCode)); |
|
|
|
return R.status(emVideoBandingService.removeByEmCode(emCode)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@DeleteMapping("/removeById") |
|
|
|
|
|
|
|
@ApiOperation("根据ID删除绑定关系") |
|
|
|
|
|
|
|
@ApiOperationSupport(order = 4) |
|
|
|
|
|
|
|
public R removeById(@RequestParam @ApiParam(value = "绑定ID,按逗号分隔",required = true) String ids) { |
|
|
|
|
|
|
|
return R.status(emVideoBandingService.removeByIds(Func.toLongList(",",ids))); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|