From c0b116a413ff26775176017674948969c26f2d2a Mon Sep 17 00:00:00 2001 From: yuxc <yuxc@vci-tech.com> Date: 星期五, 16 八月 2024 11:33:35 +0800 Subject: [PATCH] 1、新增链接类型查询模板的普通、高级保存接口的编写及测试,以及查询显示接口的变动。 2、新增链接类型查询模板树查询,用于界面的导出功能接口。 3、新增链接类型查询模板导出功能。 4、新增链接类型查询模板导入功能这里上传文件直接导入了数据并返回了相关导入结果。 5、新增链接类型查询模板删除接口。 --- Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/OsAttributeController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/OsAttributeController.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/OsAttributeController.java index adf0e3e..e4a6f13 100644 --- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/OsAttributeController.java +++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/OsAttributeController.java @@ -164,7 +164,7 @@ @VciBusinessLog(operateName = "瀵煎嚭灞炴��") public void exportAttributes(String exportFileName,String attrNames, HttpServletResponse response){ try { - String excelPath = attributeService.exportAttributes(exportFileName,attrNames); + String excelPath = attributeService.exportAttributes(exportFileName,attrNames,false); ControllerUtil.writeFileToResponse(response,excelPath); } catch (Exception e) { String msg = "瀵煎嚭鏋氫妇鏃跺嚭鐜伴敊璇紝鍘熷洜锛�" + VciBaseUtil.getExceptionMessage(e); @@ -214,7 +214,7 @@ try { file.transferTo(new File(excelFileName)); if (file != null) { - return attributeService.importAttributes(file1); + return attributeService.importAttributes(file1,false); } else { return BaseResult.fail(FrameWorkLangCodeConstant.IMPORT_FAIL, new String[]{"鏃犲鍏ョ殑鏂囦欢"}); } -- Gitblit v1.9.3