Commit 3b96edd7 authored by suhuiguang's avatar suhuiguang

1.消防字体编辑数据同步报错

parent 8532719e
...@@ -1124,7 +1124,7 @@ public class CarController extends AbstractBaseController { ...@@ -1124,7 +1124,7 @@ public class CarController extends AbstractBaseController {
+ "/iot/v1/livedata/list?timeStart=" + timeStart + "&timeEnd=" + timeEnd + "&productKey=" + prefix + "&deviceName=" + suffix, + "/iot/v1/livedata/list?timeStart=" + timeStart + "&timeEnd=" + timeEnd + "&productKey=" + prefix + "&deviceName=" + suffix,
HttpMethod.GET, httpEntity, FeignClientResult.class); HttpMethod.GET, httpEntity, FeignClientResult.class);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); log.error(e.getMessage());
} }
if (null != feignClientResult && feignClientResult.getBody().getStatus() == 200) { if (null != feignClientResult && feignClientResult.getBody().getStatus() == 200) {
return CommonResponseUtil.success(feignClientResult.getBody().getResult()); return CommonResponseUtil.success(feignClientResult.getBody().getResult());
...@@ -1133,7 +1133,6 @@ public class CarController extends AbstractBaseController { ...@@ -1133,7 +1133,6 @@ public class CarController extends AbstractBaseController {
log.error("注:iotCode为 (" + iotCode + ") 的车辆不存在于物联系统或物联系统车辆历史轨迹接口出错!"); log.error("注:iotCode为 (" + iotCode + ") 的车辆不存在于物联系统或物联系统车辆历史轨迹接口出错!");
return CommonResponseUtil.success(); return CommonResponseUtil.success();
} }
} }
/** /**
......
...@@ -349,6 +349,7 @@ public class FireFightingSystemController extends AbstractBaseController { ...@@ -349,6 +349,7 @@ public class FireFightingSystemController extends AbstractBaseController {
try { try {
return CommonResponseUtil.success(fireFightingSystemService.update(vo)); return CommonResponseUtil.success(fireFightingSystemService.update(vo));
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage(),e);
return CommonResponseUtil.failure(e.getMessage()); return CommonResponseUtil.failure(e.getMessage());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment