¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.manage.controller; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | |
| | | |
| | | import com.ruoyi.common.core.domain.Result; |
| | | import com.ruoyi.common.utils.JackSonUtil; |
| | | import com.ruoyi.manage.pojo.ManageRecordIntervalsTotal; |
| | | import com.ruoyi.manage.service.ManageRecordIntervalsTotalService; |
| | | 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 java.util.Map; |
| | | |
| | | /** |
| | | * <p> |
| | | * æä»¶å®æå®¡æ¥è®°å½æ»åå²è®°å½è¡¨ å端æ§å¶å¨ |
| | | * </p> |
| | | * |
| | | * @author è¯å¯¼è½¯ä»¶ï¼æ±èï¼æéå
¬å¸ |
| | | * @since 2024-11-15 01:12:11 |
| | | */ |
| | | @Api(tags = "è®°å½çæ§å¶") |
| | | @RestController |
| | | @RequestMapping("/manageRecordIntervalsTotal") |
| | | public class ManageRecordIntervalsTotalController { |
| | | |
| | | @Resource |
| | | private ManageRecordIntervalsTotalService manageRecordIntervalsTotalService; |
| | | |
| | | @ApiOperation(value = "æ¥è¯¢æä»¶å®æå®¡æ¥è®°å½åå²å表") |
| | | @PostMapping("/pageManageRecordIntervalsTotal") |
| | | public Result pageManageRecordIntervalsTotal(Page page,ManageRecordIntervalsTotal manageRecordIntervalsTotal) throws Exception { |
| | | return Result.success(manageRecordIntervalsTotalService.pageManageRecordIntervalsTotal(page, manageRecordIntervalsTotal)); |
| | | } |
| | | |
| | | @ApiOperation(value = "æäº¤æä»¶å®æå®¡æ¥è®°å½åå²å表") |
| | | @PostMapping("/submitManageRecordIntervalsTotal") |
| | | public Result submitManageRecordIntervalsTotal(Integer id) { |
| | | return Result.success(manageRecordIntervalsTotalService.submitManageRecordIntervalsTotal(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "æ¹åæä»¶å®æå®¡æ¥è®°å½åå²å表") |
| | | @PostMapping("/ratifyManageRecordIntervalsTotal") |
| | | public Result ratifyManageRecordIntervalsTotal(Integer id, String ratifyState) { |
| | | return Result.success(manageRecordIntervalsTotalService.ratifyManageRecordIntervalsTotal(id, ratifyState)); |
| | | } |
| | | |
| | | } |