日期:2014-05-19 浏览次数:20875 次
public String searchSingle()throws Exception{
//获取页面传来的参数
Long comId = SessionUtil.getLoginCompanyId(request);
String companyId = comId.toString();
Long opId = (long) 68361;
//Long.parseLong(request.getParameter("operatorId"));
Long msgId = (long) 47436604;
//Long.parseLong(request.getParameter("msgId"));
ChatInfoDTO queryResult = chatInfoService.getSingleChatInfo(msgId, opId);
request.setAttribute("queryResult", queryResult);
ArrayList<ChatContent> chatcontent = chatContentService.getChatContentByMsgId(msgId, companyId);
@SuppressWarnings("deprecation")
//生成的xml内容
String xmlXslFormtContent = ChatContentUtil.getXmlXslFormtContent(chatcontent, queryResult);
System.out.println(xmlXslFormtContent);
return "success";
}