提交 ea39f685 authored 作者: renjiancai's avatar renjiancai

--no commit message

上级 b5f7f4d7
......@@ -49,15 +49,6 @@ public class YearController {
}
return CallBack.success(true);
}
@ApiOperation(value ="单条删除", notes = "单条删除")
@GetMapping(ResourceRequestPath.DELETE_OID)
public CallBack<Boolean> delete(@RequestBody String oid) {
YearLibrary body = yearLibraryService.selectByPrimaryKey(oid);
if(!yearLibraryService.delete(body)) {
throw new BusinessValidateException("操作失败");
}
return CallBack.success(true);
}
@ApiOperation(value = "批量删除", notes = "批量删除")
@PostMapping(value = ResourceRequestPath.BATCH_DELETE)
public CallBack<Boolean> delete(@RequestBody List<String> ids) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论