Commit ca452971 by 黄小葱

修改bug

1 parent 0c385ed4
...@@ -309,8 +309,7 @@ public class HdaoGpsComponent { ...@@ -309,8 +309,7 @@ public class HdaoGpsComponent {
dataGpsLocation.setStoreTime(dataBsLocation.getStoreTime()); dataGpsLocation.setStoreTime(dataBsLocation.getStoreTime());
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); log.error(dataBsLocation.getSn() + "调用ice服务异常,请联系大数据侧;mapGeoBsConvert invoker baseStationServicePrx.GetGpsByBs ICE_EXCEP:" + e.getMessage(), e);
log.error("mapGeoBsConvert invoker baseStationServicePrx.GetGpsByBs ICE_EXCEP:" + e.getMessage(), e);
} }
return dataGpsLocation; return dataGpsLocation;
} }
......
...@@ -17,7 +17,7 @@ public class DeviceUtils { ...@@ -17,7 +17,7 @@ public class DeviceUtils {
* @param offlineTime 单位秒 * @param offlineTime 单位秒
* @return * @return
*/ */
public static DeviceStatusModel parseDeviceStatus(DeviceLoginDto deviceLogin, int source, long offlineTime) { public static DeviceStatusModel parseDeviceStatus(DeviceLoginDto deviceLogin, Integer source, long offlineTime) {
DeviceStatusModel deviceStatus = new DeviceStatusModel(); DeviceStatusModel deviceStatus = new DeviceStatusModel();
deviceStatus.setSource(source); deviceStatus.setSource(source);
if (deviceLogin == null) { if (deviceLogin == null) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!