laowo 4 anni fa
parent
commit
e774d2f37c
36 ha cambiato i file con 63 aggiunte e 46 eliminazioni
  1. 2 1
      WebRoot/opt/patrolplan/index.jsp
  2. 2 1
      WebRoot/view/czjl/index.jsp
  3. 3 2
      WebRoot/view/dataSearch/fireIndex.jsp
  4. 4 3
      WebRoot/view/dataSearch/index.jsp
  5. 5 3
      WebRoot/view/dataSearch/rtuIndex.jsp
  6. 1 1
      WebRoot/view/efireAlarm/eFireDeviceIndex.jsp
  7. 1 1
      WebRoot/view/efireAlarm/subeFireDevice.jsp
  8. 1 1
      WebRoot/view/efireAnalysis/index.jsp
  9. 4 2
      WebRoot/view/fireAlarm/subFireAlarm.jsp
  10. 1 1
      WebRoot/view/fireAlarm/subFireDevice.jsp
  11. 1 1
      WebRoot/view/frontpage/index.jsp
  12. 3 2
      WebRoot/view/inspectionrecord/index.jsp
  13. 1 1
      WebRoot/view/inspectors/index.jsp
  14. 1 1
      WebRoot/view/liftAlarm/subliftAlarm.jsp
  15. 1 1
      WebRoot/view/liftAlarm/subliftDevice.jsp
  16. 2 1
      WebRoot/view/maintenance/index.jsp
  17. 1 1
      WebRoot/view/maintenanceperson/index.jsp
  18. 3 2
      WebRoot/view/maintenanceplan/index.jsp
  19. 3 2
      WebRoot/view/maintenancerecord/index.jsp
  20. 1 1
      WebRoot/view/patrolAnalysis/index.jsp
  21. 1 1
      WebRoot/view/patrolAnalysis2/index.jsp
  22. 1 1
      WebRoot/view/projectWoker/index.jsp
  23. 1 1
      WebRoot/view/qrcodeanalysis/index.jsp
  24. 1 1
      WebRoot/view/qrcodeanalysis2/index.jsp
  25. 2 1
      WebRoot/view/route/index.jsp
  26. 2 1
      WebRoot/view/route2/index.jsp
  27. 1 1
      WebRoot/view/rtuAlarm/RtuDeviceIndex.jsp
  28. 1 1
      WebRoot/view/rtuAlarm/subRtuAlarm.jsp
  29. 1 1
      WebRoot/view/rtuAlarm/window.jsp
  30. 1 1
      WebRoot/view/springhandle/index.jsp
  31. 2 1
      WebRoot/view/videoAlarm/index.jsp
  32. 1 1
      WebRoot/view/videoAlarm/window.jsp
  33. 3 2
      WebRoot/view/videoCam/index.jsp
  34. 1 1
      WebRoot/view/videoTest/index.jsp
  35. 1 1
      WebRoot/view/waterAnalysis/index.jsp
  36. 2 1
      WebRoot/view/xhxx/index.jsp

+ 2 - 1
WebRoot/opt/patrolplan/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";

+ 2 - 1
WebRoot/view/czjl/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";

+ 3 - 2
WebRoot/view/dataSearch/fireIndex.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+    if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";
@@ -34,7 +35,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 4 - 3
WebRoot/view/dataSearch/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,8 +12,8 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
-    	company_code="";
+	if(StringUtils.isBlank(company_code))
+		company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";
 	}
@@ -34,7 +35,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 5 - 3
WebRoot/view/dataSearch/rtuIndex.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,8 +12,9 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
-    	company_code="";
+
+	if(StringUtils.isBlank(company_code))
+		company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";
 	}
@@ -34,7 +36,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 1 - 1
WebRoot/view/efireAlarm/eFireDeviceIndex.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 1 - 1
WebRoot/view/efireAlarm/subeFireDevice.jsp

@@ -34,7 +34,7 @@
         else if (theme.equals("standard"))
             css_name = "ext-standard.css";
         else {
-            theme=null;
+            theme="";
 
 
 

+ 1 - 1
WebRoot/view/efireAnalysis/index.jsp

@@ -26,7 +26,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 4 - 2
WebRoot/view/fireAlarm/subFireAlarm.jsp

@@ -1,5 +1,7 @@
+<%@ page import="java.util.regex.Pattern" %>
+<%@ page import="java.util.regex.Matcher" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
-    pageEncoding="UTF-8"%>
+		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
 <%
     String path = request.getContextPath();
@@ -32,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme="";

+ 1 - 1
WebRoot/view/fireAlarm/subFireDevice.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 1 - 1
WebRoot/view/frontpage/index.jsp

@@ -26,7 +26,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 3 - 2
WebRoot/view/inspectionrecord/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";
@@ -34,7 +35,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 1 - 1
WebRoot/view/inspectors/index.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 1 - 1
WebRoot/view/liftAlarm/subliftAlarm.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme="";

+ 1 - 1
WebRoot/view/liftAlarm/subliftDevice.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 2 - 1
WebRoot/view/maintenance/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";

+ 1 - 1
WebRoot/view/maintenanceperson/index.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 3 - 2
WebRoot/view/maintenanceplan/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";
@@ -34,7 +35,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 3 - 2
WebRoot/view/maintenancerecord/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";
@@ -34,7 +35,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 1 - 1
WebRoot/view/patrolAnalysis/index.jsp

@@ -26,7 +26,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 1 - 1
WebRoot/view/patrolAnalysis2/index.jsp

@@ -26,7 +26,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 1 - 1
WebRoot/view/projectWoker/index.jsp

@@ -26,7 +26,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 1 - 1
WebRoot/view/qrcodeanalysis/index.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 1 - 1
WebRoot/view/qrcodeanalysis2/index.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 2 - 1
WebRoot/view/route/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";

+ 2 - 1
WebRoot/view/route2/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";

+ 1 - 1
WebRoot/view/rtuAlarm/RtuDeviceIndex.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 1 - 1
WebRoot/view/rtuAlarm/subRtuAlarm.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme="";

+ 1 - 1
WebRoot/view/rtuAlarm/window.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 1 - 1
WebRoot/view/springhandle/index.jsp

@@ -26,7 +26,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }
 %>

+ 2 - 1
WebRoot/view/videoAlarm/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";

+ 1 - 1
WebRoot/view/videoAlarm/window.jsp

@@ -34,7 +34,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 3 - 2
WebRoot/view/videoCam/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -12,7 +13,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";
@@ -35,7 +36,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 1 - 1
WebRoot/view/videoTest/index.jsp

@@ -27,7 +27,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 1 - 1
WebRoot/view/waterAnalysis/index.jsp

@@ -26,7 +26,7 @@
     	else if(theme.equals("standard"))
     		css_name = "ext-standard.css";
     	else {
-    		theme=null;
+    		theme="";
 		}
     }else
     	theme = "";

+ 2 - 1
WebRoot/view/xhxx/index.jsp

@@ -1,5 +1,6 @@
 <%@ page import="java.util.regex.Pattern" %>
 <%@ page import="java.util.regex.Matcher" %>
+<%@ page import="org.apache.commons.lang3.StringUtils" %>
 <%@ page language="java" contentType="text/html; charset=UTF-8"
 		 pageEncoding="UTF-8"%>
 <%@ page session="true" %>
@@ -11,7 +12,7 @@
     String t = String.valueOf(System.currentTimeMillis());
     String theme = request.getParameter("theme");
     String css_name = "ext-all-access.css";
-    if(company_code=="null")
+      if(StringUtils.isBlank(company_code))
     	company_code="";
 	if (!myRegex(company_code)){
 		company_code = "";