|
@@ -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();
|
|
|
}
|
|
|
|