Commit b702a73c40b6eada59fd886b718aa72784656950

Authored by 潘钊
1 parent d8f57769

update...

src/main/java/com/bsth/data/led_http/LedHttpPushHandler.java
@@ -23,7 +23,7 @@ public class LedHttpPushHandler { @@ -23,7 +23,7 @@ public class LedHttpPushHandler {
23 23
24 public static void busOut(CarInOutEntity cio){ 24 public static void busOut(CarInOutEntity cio){
25 String jGh = cio.getJsy(); 25 String jGh = cio.getJsy();
26 - if(jGh.indexOf("/") != -1) 26 + if(null != jGh && jGh.indexOf("/") != -1)
27 jGh = jGh.split("/")[0]; 27 jGh = jGh.split("/")[0];
28 String url = outUrl + "?zbh="+cio.getNbbm()+"&buff="+cio.getType()+"&jsyid="+jGh + "&sjfcsj=" + cio.getT(); 28 String url = outUrl + "?zbh="+cio.getNbbm()+"&buff="+cio.getType()+"&jsyid="+jGh + "&sjfcsj=" + cio.getT();
29 29