2020-01-21 10:33

@JFinal 在数据库中查是显示全的,返回到model就被截取了

2020-01-20 13:20

是group _concat的原因吗?原本rights 字段有100个字,最后显示只有80个字

2020-01-16 14:48

@鼻涕刘o0 就这几个地方,导出成功之后抛出异常

2020-01-16 14:46

public void write(HttpServletResponse rsp, String file) {
OutputStream out = null;
try {
String fileName = URLEncoder.encode(file, "utf-8");
rsp.reset();
rsp.setHeader("Content-disposition", "attachment; filename=" + fileName);
rsp.setContentType("application/msexcel;charset=UTF-8");
out = rsp.getOutputStream();
workBook.write(out);
} catch (Exception e) {
e.printStackTrace();
} finally {
try {
out.flush();
out.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}

2020-01-16 14:45

@Override
public void handle(String target, HttpServletRequest request,
HttpServletResponse response, boolean[] isHandled) {
request = new XssRequestWrapper(request);
next.handle(target, request, response, isHandled);
}

2020-01-16 14:42

导出成功之后抛出异常的,应该是getOutputStream()与getWriter()的问题,但是不知道怎么解决

2020-01-16 14:11

@JFinal 大佬帮帮忙,把这个异常处理掉,实在没辙了

2019-10-16 14:47

@JFinal 具体怎么解决,在线等