package com.ruoyi.manage.controller; import com.ruoyi.common.core.domain.Result; import com.ruoyi.manage.pojo.ManageMeetingParticipants; import com.ruoyi.manage.service.ManageMeetingParticipantsService; import com.ruoyi.manage.vo.MeetingParticipantsDetailsVo; import com.deepoove.poi.data.style.*; import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.Operation; import org.springframework.web.bind.annotation.*; import jakarta.annotation.Resource; import java.util.List; /** *

* 前端控制器 *

* * @author * @since 2024-11-11 09:34:27 */ @Tag(name = "管理评审会议") @RestController @RequestMapping("/manageMeetingParticipants") public class ManageMeetingParticipantsController { @Resource private ManageMeetingParticipantsService manageMeetingParticipantsService; @Operation(summary = "查询会议记录参会人员") @GetMapping("/getParticipants") public Result getParticipants(Integer id){ return Result.success(manageMeetingParticipantsService.getParticipants(id)); } @Operation(summary = "新增会议记录参会人员") @PostMapping("/add") public Result addParticipants(@RequestBody List list){ manageMeetingParticipantsService.saveBatch(list); return Result.success(); } @Operation(summary = "删除会议记录参会人员") @DeleteMapping("/delete") public Result deleteParticipants(List ids){ manageMeetingParticipantsService.removeByIds(ids); return Result.success(); } }