Sfoglia il codice sorgente

导入划分优化

cr 1 mese fa
parent
commit
7a2fc51adf

+ 1 - 2
blade-service/blade-manager/src/main/java/org/springblade/manager/controller/WbsTreeContractController.java

@@ -159,8 +159,7 @@ public class WbsTreeContractController extends BladeController {
     @ApiOperationSupport(order = 31)
     @ApiOperation(value = "导入工程划分树", notes = "传入MultipartFile")
     public R importTree(@RequestParam("file") MultipartFile file, @RequestParam Long pkeyId) throws IOException {
-        iWbsTreeContractService.importTree(file,pkeyId);
-        return R.success("操作成功");
+        return iWbsTreeContractService.importTree(file,pkeyId);
     }
 
     @GetMapping("/getIsImport")