|
在使用blobImage组件的功能对应的process文件中添加动作选择全局的然后选择blobDownloadAction这个action,然后在参数信息中选择id,
然后在执行后事件中查找数据,可以参考- public static void masterBlobProcessAfterBlobDownloadAction() {
- String id = (String)ContextHelper.getActionContext().getParameter("id");
- String ksql = "select GU_CBLOB.* from GU_CBLOB GU_CBLOB";
- Table localTable = KSQL.select(ksql,null , dataModel, null);
- System.out.println(ksql);
- Row localRow = (Row)localTable.getRow("GU_CBLOB",id);
- Blob localBlob = localRow.getBlob("fBLOBZ");
- if (Utils.isNotNull(localBlob))
- System.out.println("blob字段有值");
- else
- System.out.println("blob字段没有值#####");
- }
复制代码 |
|