diff --git a/adc-da-slrs/src/main/java/com/adc/da/slrs/sarLawsTopic/controller/SarLawsTopicController.java b/adc-da-slrs/src/main/java/com/adc/da/slrs/sarLawsTopic/controller/SarLawsTopicController.java index 1f06ca25..11af44bd 100644 --- a/adc-da-slrs/src/main/java/com/adc/da/slrs/sarLawsTopic/controller/SarLawsTopicController.java +++ b/adc-da-slrs/src/main/java/com/adc/da/slrs/sarLawsTopic/controller/SarLawsTopicController.java @@ -76,24 +76,24 @@ public class SarLawsTopicController extends BaseController { @ApiOperation(value = "新增政策课题") @PostMapping(value = "/addLawsTopic", consumes = "application/json;charset=UTF-8") - public ResponseMessage create(@RequestBody SarLawsTopic lawsTopic) throws Exception { + public ResponseMessage addLawsTopic(@RequestBody SarLawsTopic lawsTopic) throws Exception { lawsTopicService.addLawsTopicInfo(lawsTopic); return Result.success(); } - @ApiOperation("根据会议ID删除会议") + @ApiOperation("根据政策课题id删除课题") @DeleteMapping("/deleteLawsTopicById") - public ResponseMessage deleteMeeting(String lawsTopicId) { - if (StringUtils.isBlank(lawsTopicId)) { + public ResponseMessage deleteLawsTopicById(String id) { + if (StringUtils.isBlank(id)) { return Result.error("删除失败,政策课题ID为空"); } - lawsTopicService.deleteLawsTopicInfo(lawsTopicId); + lawsTopicService.deleteLawsTopicInfo(id); return Result.success(); } - @ApiOperation("根据会议ID修改会议信息") + @ApiOperation("根据政策课题ID修改课题信息") @PutMapping("/updateLawsTopicInfo") - public ResponseMessage updateMeetingInfo(@RequestBody SarLawsTopic lawsTopic) { + public ResponseMessage updateLawsTopicInfo(@RequestBody SarLawsTopic lawsTopic) { if (ObjectUtils.isEmpty(lawsTopic)) { return Result.error("更新失败,政策课题信息不存在"); }