response.setHeader("Content-Disposition", "attachment; filename=\"" + "reportByProject.csv" + "\"");
response.setCharacterEncoding("GB2312");
response.setContentType("text/plain;charset=GB2312");
PrintWriter writer = response.getWriter();
writer.write(datas.toString());
writer.flush();
writer.close();
response.setCharacterEncoding("GB2312");
response.setContentType("text/plain;charset=GB2312");
PrintWriter writer = response.getWriter();
writer.write(datas.toString());
writer.flush();
writer.close();