From 1aec31ad789d38d859459d92565d22c6a6ec3d4e Mon Sep 17 00:00:00 2001 From: "1437892690@qq.com" <1437892690@qq.com> Date: Wed, 3 Jul 2024 16:45:12 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E4=B8=AD=E8=87=AA=E5=8A=A8=E5=8C=96=E8=8A=82=E7=82=B9=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=A6=82=E6=9E=9C=E9=80=89=E4=BA=86=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=EF=BC=8C=E5=88=99=E4=BD=9C=E4=B8=9A=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=85=8D=E7=BD=AE=E6=97=B6=E6=99=AE=E9=80=9A=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=88=E6=AF=94=E5=A6=82=E4=B8=8A=E4=BC=A0=E9=99=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=89=E9=80=89=E4=B8=8D=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1192023095214080]流程中自动化节点配置如果选了表单标签,则作业参数配置时普通组件(比如上传附件)选不了 http://192.168.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/939050947543057/1192023095214080 --- .../neatlogic/framework/crossover/IFileCrossoverService.java | 4 ++++ .../neatlogic/module/framework/service/FileServiceImpl.java | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/src/main/java/neatlogic/framework/crossover/IFileCrossoverService.java b/src/main/java/neatlogic/framework/crossover/IFileCrossoverService.java index fe02267c6..1bb5f6142 100644 --- a/src/main/java/neatlogic/framework/crossover/IFileCrossoverService.java +++ b/src/main/java/neatlogic/framework/crossover/IFileCrossoverService.java @@ -16,12 +16,16 @@ along with this program. If not, see .*/ package neatlogic.framework.crossover; import com.alibaba.fastjson.JSONObject; +import neatlogic.framework.file.dto.FileVo; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; public interface IFileCrossoverService extends ICrossoverService { + + FileVo getFileById(Long id); + void downloadFile(JSONObject paramObj, HttpServletRequest request, HttpServletResponse response) throws Exception; /** diff --git a/src/main/java/neatlogic/module/framework/service/FileServiceImpl.java b/src/main/java/neatlogic/module/framework/service/FileServiceImpl.java index dda674565..58710da90 100644 --- a/src/main/java/neatlogic/module/framework/service/FileServiceImpl.java +++ b/src/main/java/neatlogic/module/framework/service/FileServiceImpl.java @@ -71,6 +71,11 @@ public class FileServiceImpl implements IFileCrossoverService { @Resource private FileMapper fileMapper; + @Override + public FileVo getFileById(Long id) { + return fileMapper.getFileById(id); + } + @Override public void downloadFile(JSONObject paramObj, HttpServletRequest request, HttpServletResponse response) throws Exception { Long id = paramObj.getLong("id"); -- Gitee