Commit 4b20a03b by huluobin

# 费用系统 审批列表改成根据用户id搜索

parent d409044e
......@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
@Slf4j
@Api(tags = "类型接口")
......@@ -87,7 +88,7 @@ public class CostTypeController {
@ApiOperation("批量导入数据")
@PostMapping("/importExcel")
public CostResult<Void> importExcel(CostTypeImportExcelReq excel) {
public CostResult<Void> importExcel(CostTypeImportExcelReq excel) throws IOException {
costTypeService.importExcel(excel);
return CostResult.success();
}
......@@ -95,7 +96,7 @@ public class CostTypeController {
@ApiOperation("导出excel")
@PostMapping("/exportExcel")
public CostResult<Void> exportExcel(HttpServletResponse response,
@RequestBody CostTypeExportExcelReq req) {
@RequestBody CostTypeExportExcelReq req) throws IOException {
costTypeService.exportExcel(response, req);
return CostResult.success();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment