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