¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | | * å端æ§å¶å¨ |
| | | * </p> |
| | | * |
| | | * @author è¯å¯¼è½¯ä»¶ï¼æ±èï¼æéå
¬å¸ |
| | | * @since 2024-11-11 09:34:27 |
| | | */ |
| | | @Api(tags = "管çè¯å®¡ä¼è®®") |
| | | @RestController |
| | | @RequestMapping("/manageMeetingParticipants") |
| | | public class ManageMeetingParticipantsController { |
| | | |
| | | @Resource |
| | | private ManageMeetingParticipantsService manageMeetingParticipantsService; |
| | | |
| | | |
| | | @ApiOperation(value = "æ¥è¯¢ä¼è®®è®°å½åä¼äººå") |
| | | @GetMapping("/getParticipants") |
| | | public Result<MeetingParticipantsDetailsVo> getParticipants(Integer id){ |
| | | return Result.success(manageMeetingParticipantsService.getParticipants(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "æ°å¢ä¼è®®è®°å½åä¼äººå") |
| | | @PostMapping("/add") |
| | | public Result addParticipants(List<ManageMeetingParticipants> list){ |
| | | manageMeetingParticipantsService.saveBatch(list); |
| | | return Result.success(); |
| | | } |
| | | |
| | | @ApiOperation(value = "å é¤ä¼è®®è®°å½åä¼äººå") |
| | | @DeleteMapping("/delete") |
| | | public Result deleteParticipants(List<Integer> ids){ |
| | | manageMeetingParticipantsService.removeByIds(ids); |
| | | return Result.success(); |
| | | } |
| | | |
| | | } |