摘要:
public class CreateDelFileUtils implements Serializable{ /** * */ private static final long serialVersionUID = 6901439536149050733L; private CreateDelFileUtils(){} /** * 通过传入的当前用户,清空当前用户所在的个人excel文件生成文件夹. * @param employee 当前登录用户 */ public static String delAndCreateSessionUser(String userId ,... 阅读全文
摘要:
public class ChartUtil { public static ChartUtil chartUtil; private RoomViewsDataService roomViewsDataService; /** * 创建报表图 * @return * @throws IOException */ public static String createChartImage(String userId ,String userName , String livingId) throws IOException{ //生成3D折线图(柱状图只改方法名createLineC... 阅读全文
摘要:
import java.awt.Color;import java.awt.Dimension;import java.awt.Font;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;import java.io.OutputStream;import java.text.SimpleDateFormat;import javax.swing.JPanel;import org.jfree.chart.ChartFactory;import org. 阅读全文