소스 검색

导入修改1

jichaobo 3 년 전
부모
커밋
2df1f1263a
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      fiveep-controller/src/main/java/com/bizmatics/controller/web/DeviceAnalogVariableListController.java

+ 3 - 3
fiveep-controller/src/main/java/com/bizmatics/controller/web/DeviceAnalogVariableListController.java

@@ -135,13 +135,13 @@ public class DeviceAnalogVariableListController {
 
     /**
      * 变量列表-导入
-     * @param multipartFile 导入文件
+     * @param file 导入文件
      * @return
      * @throws Exception
      */
     @PostMapping("/variableListImport")
-    public ApiResult<Void> variableListImport(@RequestParam("file") MultipartFile multipartFile) throws Exception {
-        deviceAnalogVariableListService.variableListImport(multipartFile);
+    public ApiResult<Void> variableListImport(@RequestParam("file") MultipartFile file) throws Exception {
+        deviceAnalogVariableListService.variableListImport(file);
         return ApiResult.success();
     }