zss
2025-02-20 a465f67fdd32f818f35938eded708b166b1cc1f7
cnas-manage/src/main/java/com/ruoyi/manage/controller/InternalCorrectController.java
@@ -2,13 +2,15 @@
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.manage.annotation.ValueAuth;
import com.deepoove.poi.data.style.*;
import com.ruoyi.common.core.domain.Result;
import com.ruoyi.common.utils.JackSonUtil;
import com.ruoyi.manage.mapper.InternalCorrectFileMapper;
import com.ruoyi.manage.pojo.InternalCorrect;
import com.ruoyi.manage.pojo.InternalCorrectFile;
import com.ruoyi.manage.service.InternalCorrectService;
import com.ruoyi.manage.utils.JackSonUtil;
import com.ruoyi.manage.vo.Result;
import com.deepoove.poi.data.style.*;
import com.deepoove.poi.data.style.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
@@ -40,7 +42,7 @@
     * 新增内审管理纠正处理信息
     * @return
     */
    @ValueAuth
    @ApiOperation(value = "新增内审管理纠正处理")
    @PostMapping("/addInternalCorrect")
    public Result addInternalCorrect(@RequestBody InternalCorrect internalCorrect){
@@ -51,7 +53,7 @@
     * 查询内审管理纠正处理
     * @return
     */
    @ValueAuth
    @ApiOperation(value = "查询内审管理纠正处理")
    @GetMapping("/getInternalCorrect")
    public Result<InternalCorrect> getInternalCorrect(Integer correctId){
@@ -62,7 +64,7 @@
     * 查询内审管理纠正措施列表
     * @return
     */
    @ValueAuth
    @ApiOperation(value = "查询内审管理纠正措施列表")
    @PostMapping("/pageInternalCorrect")
    public Result<IPage<InternalCorrect>> pageInternalCorrect(@RequestBody Map<String, Object> data) throws Exception {
@@ -77,7 +79,7 @@
     * @param file
     * @return
     */
    @ValueAuth
    @ApiOperation(value = "新增内审管理纠正措施附件")
    @PostMapping("/uploadInternalCorrectFile")
    public Result<?> uploadInternalCorrectFile(Integer correctId, MultipartFile file) {
@@ -89,7 +91,7 @@
     * 查询内审管理纠正措施附件
     * @return
     */
    @ValueAuth
    @ApiOperation(value = "查询内审管理纠正措施附件")
    @GetMapping("/getInternalCorrectFileList")
    public Result<List<InternalCorrectFile>> getInternalCorrectFileList(Integer correctId){
@@ -100,7 +102,7 @@
     * 删除内审管理纠正措施附件
     * @return
     */
    @ValueAuth
    @ApiOperation(value = "删除内审管理纠正措施附件")
    @GetMapping("/delInternalCorrectFile")
    public Result delInternalCorrectFile(Integer correctFileId){
@@ -111,7 +113,7 @@
     * 导出纠正措施
     * @return
     */
    @ValueAuth
    @ApiOperation(value = "导出纠正措施")
    @GetMapping("/exportInternalCorrect")
    public void exportInternalCorrect(Integer correctId, HttpServletResponse response){