¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | |
| | | import com.deepoove.poi.data.style.*; |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageRecordAudit; |
| | | import com.ruoyi.manage.service.ManageRecordAuditService; |
| | | import com.deepoove.poi.data.style.*; |
| | | import com.deepoove.poi.data.style.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | | * æä»¶ä¿®è®¢ç³è¯·å®¡æ¹è®°å½ å端æ§å¶å¨ |
| | | * </p> |
| | | * |
| | | * @author è¯å¯¼è½¯ä»¶ï¼æ±èï¼æéå
¬å¸ |
| | | * @since 2024-11-14 10:29:18 |
| | | */ |
| | | @Api(tags = "è®°å½çæ§å¶") |
| | | @RestController |
| | | @RequestMapping("/manageRecordAudit") |
| | | public class ManageRecordAuditController { |
| | | |
| | | @Resource |
| | | private ManageRecordAuditService manageRecordAuditService; |
| | | |
| | | @ApiOperation(value = "å页æ¥è¯¢æä»¶ä¿®è®¢ç³è¯·å®¡æ¹è®°å½") |
| | | @PostMapping("/pageManageRecordAudit") |
| | | public Result pageManageRecordAudit(Page page,ManageRecordAudit manageRecordAudit) throws Exception { |
| | | return Result.success(manageRecordAuditService.pageManageRecordAudit(page, manageRecordAudit)); |
| | | } |
| | | |
| | | @ApiOperation(value = "æ°å¢æä»¶ä¿®è®¢ç³è¯·å®¡æ¹è®°å½") |
| | | @PostMapping("/addManageRecordAudit") |
| | | public Result addManageRecordAudit( ManageRecordAudit manageRecordAudit){ |
| | | return Result.success(manageRecordAuditService.addManageRecordAudit(manageRecordAudit)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "ç¼è¾æä»¶ä¿®è®¢ç³è¯·å®¡æ¹è®°å½") |
| | | @PostMapping("/doManageRecordAudit") |
| | | public Result doManageRecordAudit(ManageRecordAudit manageRecordAudit){ |
| | | return Result.success(manageRecordAuditService.doManageRecordAudit(manageRecordAudit)); |
| | | } |
| | | |
| | | @ApiOperation(value = "å é¤æä»¶ä¿®è®¢ç³è¯·å®¡æ¹è®°å½") |
| | | @PostMapping("/delManageRecordAudit") |
| | | public Result delManageRecordAudit(Integer id){ |
| | | return Result.success(manageRecordAuditService.removeById(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "æ¹åæä»¶ä¿®è®¢ç³è¯·å®¡æ¹è®°å½") |
| | | @PostMapping("/ratifyManageRecordAudit") |
| | | public Result ratifyManageRecordAudit(Integer id){ |
| | | return Result.success(manageRecordAuditService.ratifyManageRecordAudit(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "ç³è¯·é¨é¨ä¸»ç®¡æè§æä»¶ä¿®è®¢ç³è¯·å®¡æ¹è®°å½") |
| | | @PostMapping("/manageRecordAudit1") |
| | | public void manageRecordAudit1(){ |
| | | } |
| | | |
| | | @ApiOperation(value = "åå¶å®é¨é¨æè§æä»¶ä¿®è®¢ç³è¯·å®¡æ¹è®°å½") |
| | | @PostMapping("/manageRecordAudit2") |
| | | public void manageRecordAudit2(){ |
| | | } |
| | | |
| | | @ApiOperation(value = "åå®¡æ ¸é¨é¨æè§æä»¶ä¿®è®¢ç³è¯·å®¡æ¹è®°å½") |
| | | @PostMapping("/manageRecordAudit3") |
| | | public void manageRecordAudit3(){ |
| | | } |
| | | |
| | | @ApiOperation(value = "å¯¼åºæä»¶ä¿®è®¢ç³è¯·å®¡æ¹è®°å½") |
| | | @PostMapping("/exportOutManageRecordAudit") |
| | | public Result exportOutManageRecordAudit(ManageRecordAudit manageRecordAudit, HttpServletResponse response) throws Exception { |
| | | return Result.success(manageRecordAuditService.exportOutManageRecordAudit(manageRecordAudit,response)); |
| | | } |
| | | |
| | | |
| | | } |