Explorar o código

1.通知公告后台列表修改,一个公告一条记录。
2.导出测试记录性能优化:将1对多查询,改为1对1查询。
3.连接是否中断,改在inactive中判断。
4.导出改为分页导出,并增加客户端进度提示。

zhengqiang %!s(int64=5) %!d(string=hai) anos
pai
achega
9868e84679

+ 3 - 0
web/src/main/java/com/jpsoft/smart/modules/base/controller/PersonDeviceLogController.java

@@ -501,6 +501,9 @@ public class PersonDeviceLogController {
                 logger.warn("压缩后文件大小:" + zipBuffer.length);
                 logger.warn("压缩后文件大小:" + zipBuffer.length);
 
 
                 input = new ByteArrayInputStream(zipBuffer);
                 input = new ByteArrayInputStream(zipBuffer);
+
+                //文件被压缩
+                fileName = DateTime.now().toString("yyyyMMddHHmmss") + ".zip";
             }
             }
 
 
             long end = System.currentTimeMillis();
             long end = System.currentTimeMillis();