|
@@ -333,16 +333,14 @@ public class BuildingOwnerInfoServiceImpl extends ServiceImpl<TpBuildingOwnerInf
|
333
|
333
|
messageMapper.insert(message);
|
334
|
334
|
}
|
335
|
335
|
|
336
|
|
- try {
|
|
336
|
+
|
337
|
337
|
// 推送海康
|
338
|
338
|
ResponseBean pushHKPerson = taUserFeignService.pushHKPerson(appUser.getId(), taUserVerify.getId());
|
339
|
339
|
if (!"0".equals(pushHKPerson.getCode())) {
|
|
340
|
+ log.info("设备推送失败!,人员id:{}", userVerify.getUserId());
|
340
|
341
|
throw new WisdomException("设备推送失败!");
|
341
|
342
|
}
|
342
|
|
- } catch (Exception e) {
|
343
|
|
- log.info("设备推送失败!,人员id:{}", userVerify.getUserId());
|
344
|
|
- throw new WisdomException("设备推送失败!");
|
345
|
|
- }
|
|
343
|
+
|
346
|
344
|
|
347
|
345
|
if (row <= 0) {
|
348
|
346
|
throw new WisdomException("操作失败!");
|