zhuo
2025-02-20 da59bd81334e7b4ddeaaa401f27c5b93797fde46
cnas-manage/src/main/java/com/ruoyi/manage/controller/ManageRecordIntervalsTotalController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,56 @@
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));
    }
}