Crunchy
2025-03-15 314ccc3fbb5b4cb1be4a77bc107a0ca1a2b2f0a3
cnas-manage/src/main/java/com/ruoyi/manage/controller/ManageMeetingParticipantsController.java
@@ -1,10 +1,11 @@
package com.ruoyi.manage.controller;
import com.ruoyi.manage.annotation.ValueClassify;
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.ruoyi.manage.vo.Result;
import com.deepoove.poi.data.style.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
@@ -29,22 +30,19 @@
    private ManageMeetingParticipantsService manageMeetingParticipantsService;
    @ValueClassify(value = "管理评审会议记录参会人员")
    @ApiOperation(value = "查询会议记录参会人员")
    @GetMapping("/getParticipants")
    public Result<MeetingParticipantsDetailsVo> getParticipants(Integer id){
        return Result.success(manageMeetingParticipantsService.getParticipants(id));
    }
    @ValueClassify(value = "管理评审会议记录参会人员")
    @ApiOperation(value = "新增会议记录参会人员")
    @PostMapping("/add")
    public Result addParticipants(List<ManageMeetingParticipants> list){
    public Result addParticipants(@RequestBody List<ManageMeetingParticipants> list){
        manageMeetingParticipantsService.saveBatch(list);
        return Result.success();
    }
    @ValueClassify(value = "管理评审会议记录参会人员")
    @ApiOperation(value = "删除会议记录参会人员")
    @DeleteMapping("/delete")
    public Result deleteParticipants(List<Integer> ids){