cjl
2023-08-04 0932aa99d471d657456420856e6c7b32fa4797b0
screen-api/src/main/java/com/moral/api/controller/ChartController.java
@@ -270,11 +270,11 @@
        OutputStreamWriter ow = new OutputStreamWriter(new FileOutputStream(file),"UTF-8");
        //tsv文件是空格分隔,除第一个外,每次写入一个单元格数据后需要输入空格
        ow.write("lon");
        ow.write("lng");
        ow.write("  ");
        ow.write("lat");
        ow.write("  ");
        ow.write("value");
        ow.write("count");
        //写完文件头换行
        ow.write("\r\n");
        //写内容