提交 a96350a1 authored 作者: 马晨俊's avatar 马晨俊

mcj:更新导入excel表格

上级 95533fb1
...@@ -131,11 +131,6 @@ public class InspectController { ...@@ -131,11 +131,6 @@ public class InspectController {
@PostMapping("/rapidAssessment") @PostMapping("/rapidAssessment")
public ResponseEntity rapidAssessment(@RequestBody Reform reform) throws IOException { public ResponseEntity rapidAssessment(@RequestBody Reform reform) throws IOException {
//输入参数
File file = new File(reform.getCodeUrl()+"/参数.xlsx");
if(!file.exists()){
reform = ExcelUtil.parseExcel(new FileInputStream(file), file.getName());
}
String in = JSON.toJSONString(reform); String in = JSON.toJSONString(reform);
Evaluation evaluation = new Evaluation(); Evaluation evaluation = new Evaluation();
evaluation.setInEva(in); evaluation.setInEva(in);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论