|  |  | 
 |  |  | package com.ruoyi.collaborativeApproval.controller; | 
 |  |  |  | 
 |  |  | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
 |  |  | import com.ruoyi.approve.pojo.KnowledgeBase; | 
 |  |  | import com.ruoyi.collaborativeApproval.pojo.SealApplicationManagement; | 
 |  |  | import com.ruoyi.collaborativeApproval.service.SealApplicationManagementService; | 
 |  |  | import com.ruoyi.common.utils.poi.ExcelUtil; | 
 |  |  | import com.ruoyi.framework.aspectj.lang.enums.BusinessType; | 
 |  |  | import com.ruoyi.framework.web.domain.AjaxResult; | 
 |  |  | import io.swagger.annotations.Api; | 
 |  |  | import io.swagger.annotations.ApiOperation; | 
 |  |  | import lombok.AllArgsConstructor; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.util.CollectionUtils; | 
 |  |  | import org.springframework.web.bind.annotation.*; | 
 |  |  |  | 
 |  |  | import javax.servlet.http.HttpServletResponse; | 
 |  |  | import java.util.List; | 
 |  |  |  | 
 |  |  | @AllArgsConstructor | 
 |  |  | @RestController | 
 |  |  | @RequestMapping("/sealApplicationManagement") | 
 |  |  | @Api(tags = "用印申请管理") | 
 |  |  | public class SealApplicationManagementController { | 
 |  |  |     @Autowired | 
 |  |  |     private SealApplicationManagementService sealApplicationManagementService; | 
 |  |  | 
 |  |  |         return AjaxResult.success(sealApplicationManagementService.removeBatchByIds(ids)); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @ApiOperation(value = "用印申请管理导出") | 
 |  |  |     @PostMapping("/export") | 
 |  |  |     public void export(HttpServletResponse response) { | 
 |  |  |         List<SealApplicationManagement> accountExpenses = sealApplicationManagementService.list(); | 
 |  |  |         ExcelUtil<SealApplicationManagement> util = new ExcelUtil<SealApplicationManagement>(SealApplicationManagement.class); | 
 |  |  |         util.exportExcel(response, accountExpenses, "用印申请管理导出"); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | } |