Browse Source

Merge remote-tracking branch 'origin/master'

zhongwei
yang_shj 9 months ago
parent
commit
9f734a59d1
  1. 8
      hzims-service/equipment/src/main/java/com/hnac/hzims/equipment/controller/EmVideoBandingController.java

8
hzims-service/equipment/src/main/java/com/hnac/hzims/equipment/controller/EmVideoBandingController.java

@ -13,6 +13,7 @@ import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import org.springblade.core.boot.ctrl.BladeController;
import org.springblade.core.tool.api.R;
import org.springblade.core.tool.utils.Func;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
@ -50,4 +51,11 @@ public class EmVideoBandingController extends BladeController {
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)));
}
}

Loading…
Cancel
Save