| | |
| | | return null; |
| | | } |
| | | /** |
| | | *iccm访客预约签离 |
| | | * @return |
| | | */ |
| | | public static BaseResponse iccmSignoff(VisitAppointmentOutRequest param){ |
| | | log.info("【海康iccm访客预约签离】================开始===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.iccmSignoff(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse>(){}; |
| | | BaseResponse result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康iccm访客预约签离"); |
| | | return result; |
| | | }catch (Exception e){ |
| | | log.error("【海康iccm访客预约签离】================失败====:\n"+ e.getMessage()); |
| | | } |
| | | return null; |
| | | } |
| | | /** |
| | | *iccm访客预约取消 |
| | | * @return |
| | | */ |
| | | public static BaseResponse iccmCancelAppointment(VisitAppointmentCancelRequest param){ |
| | | log.info("【海康iccm访客预约取消】================开始===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.iccmCancelAppointment(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse>(){}; |
| | | BaseResponse result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康iccm访客预约取消"); |
| | | return result; |
| | | }catch (Exception e){ |
| | | log.error("【海康iccm访客预约取消】================失败====:\n"+ e.getMessage()); |
| | | } |
| | | return null; |
| | | } |
| | | /** |
| | | *访客免登记预约 |
| | | * @return |
| | | */ |