明细表一个附件对应一个唯一标识,主要是需要sql查询出对应的imagefileid,代码如下:
package weaver.interfaces.workflow.action;import weaver.conn.RecordSet;
import weaver.file.ImageFileManager;
import weaver.general.BaseBean;
import weaver.soa.workflow.request.Cell;
import weaver.soa.workflow.request.DetailTable;
import weaver.soa.workflow.request.RequestInfo;
import weaver.soa.workflow.request.Row;import java.io.*;
import java.util.LinkedList;
import java.util.List;public class GetDetailMulFiles extends BaseBean implements Action {@Overridepublic String execute(RequestInfo requestInfo) {// 流程请求idString requestId = requestInfo.getRequestid();// 主表的表名String mainTableName = requestInfo.getRequestManager().getBillTableName();// 明细表的表名String detailTableName = null;// where条件集合List<String> whereList =