魏熙美 6 년 전
부모
커밋
2c78e2aeb1

+ 2
- 0
CODE/smart-community/app-api/src/main/java/com/community/huiju/dao/TaUserVerifyMapper.java 파일 보기

50
                                            @Param("roomNoId") Integer roomNoId,
50
                                            @Param("roomNoId") Integer roomNoId,
51
                                            @Param("verifyStatus") Integer verifyStatus);
51
                                            @Param("verifyStatus") Integer verifyStatus);
52
 
52
 
53
+
54
+
53
     /**
55
     /**
54
      * 根据 小区id 、 期、栋、单元、楼层、户号, 角色id(业主), 审核通过(值为1) 进行条件查询
56
      * 根据 小区id 、 期、栋、单元、楼层、户号, 角色id(业主), 审核通过(值为1) 进行条件查询
55
      * @param communityId
57
      * @param communityId

+ 11
- 0
CODE/smart-community/property-api/src/main/java/com/community/huiju/service/impl/BuildingOwnerInfoServiceImpl.java 파일 보기

329
             messageMapper.insert(message);
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
         if (row <= 0) {
343
         if (row <= 0) {
333
             throw new WisdomException("操作失败!");
344
             throw new WisdomException("操作失败!");
334
         } else {
345
         } else {