From cea36d9bcd04524f2e31fe4c35beabcbf5459ca7 Mon Sep 17 00:00:00 2001 From: CJJ <Administrator@192.168.10.11> Date: 星期一, 26 十一月 2018 15:25:52 +0800 Subject: [PATCH] 手机 机房历史事件查询(未包括详情及详情按钮) --- gx_tieta/src/com/fgkj/actions/MyFileAction.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gx_tieta/src/com/fgkj/actions/MyFileAction.java b/gx_tieta/src/com/fgkj/actions/MyFileAction.java index 684ddc7..8e6bd5f 100644 --- a/gx_tieta/src/com/fgkj/actions/MyFileAction.java +++ b/gx_tieta/src/com/fgkj/actions/MyFileAction.java @@ -211,7 +211,7 @@ ServiceModel model = new ServiceModel(); String loadpath = ActionUtil.getSession().getServletContext().getRealPath("/"); String str = new File(loadpath).getParentFile().getAbsolutePath(); - if(binf != null && binf.getStationId() != null && binf.getStationName() != null){ + if(binf != null && binf.getStationId() != null && binf.getVideoOrImage() != null){ String filesource = str+File.separator+fileRoot+File.separator+binf.getStationId()+File.separator+binf.getVideoOrImage()+File.separator; //褰撳墠璇锋眰鐨勬満鎴挎墍鍦ㄧ殑璧勬簮鏂囦欢澶� //System.out.println(filesource); File source = new File(filesource); -- Gitblit v1.9.1