<%@ page contentType="text/html;charset=UTF-8" trimDirectiveWhitespaces="true" %>
<%@ page import="com.baosight.iplat4j.config.AdminFactoryConfig" %>
<%@ page import="com.baosight.iplat4j.core.log.Logger" %>
<%@ page import="com.baosight.iplat4j.core.log.LoggerFactory" %>
<%@ page import="com.baosight.iplat4j.eu.dm.util.IFileUploadManager" %>
<%@ page import="org.apache.commons.lang.StringUtils" %>
<%
// 根据docId获取单个附件的JSON信息
// 根据docTag获取附件列表JSON信息
String docId = request.getParameter("docId");
String docTag = request.getParameter("docTag");
String fileLocation = request.getParameter("fileLocation");
String orderBy = request.getParameter("orderBy") == null ? "" : request.getParameter("orderBy");
String fileJSON = "[]";
try {
// if (StringUtils.isNotEmpty(docId)) {
// // 根据附件的docId获取单个附件在TEUDM02表中的信息
// fileJSON = AdminFactoryConfig.getFileUpLoadInterface().getDocJSONById(docId);
// } else {
// // 根据docTag获取附件列表JSON信息
// if (StringUtils.isNotEmpty(docTag)) {
// fileJSON = AdminFactoryConfig.getFileUpLoadInterface().getDocJSONByTag(docTag, orderBy);
// }
// }
} catch (Exception e) {
Logger logger = LoggerFactory.getLogger(IFileUploadManager.class);
logger.error("无法获取附件信息", e);
out.print("无法获取附件信息:" + e.getMessage());
}
out.print(fileJSON);
%>