Commit 01dca74b by huluobin

# 费用系统 配置 批量导入导出

parent efe7753a
......@@ -12,7 +12,6 @@ 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 org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
......@@ -72,8 +71,7 @@ public class SpecDepartmentCheckConfigController {
@ApiOperation("批量导入数据")
@PostMapping("/importExcel")
public CostResult<Void> importExcel(MultipartFile multipartFile,
@RequestBody SpecDepartmentCheckImportExcelReq excel) throws IOException {
public CostResult<Void> importExcel(SpecDepartmentCheckImportExcelReq excel) throws IOException {
specDepartmentCheckConfigService.importExcel(excel);
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