| | |
| | | *批量删除人员信息 |
| | | * @return |
| | | */ |
| | | public static BaseResponse<OrgOrUserAddFailureResponse> delBatchUser(List<UserAddRequest> param){ |
| | | public static BaseResponse<List<UserDelResponse>> delBatchUser(UserDelRequest param){ |
| | | log.info("【海康批量新增人员】================开始===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.delBatchUser(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse<OrgOrUserAddFailureResponse>>(){}; |
| | | BaseResponse<OrgOrUserAddFailureResponse> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | BaseResponse<List<UserDelResponse >> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康批量新增人员"); |
| | | return result; |
| | | }catch (Exception e){ |
| | |
| | | *访客免登记预约 |
| | | * @return |
| | | */ |
| | | public static BaseResponse<VisitAppointmentVistorResponse> visitAppiontmentMDJ(VisitAppointmentMDJRequest param){ |
| | | public static BaseResponse<VisitAppointmentMDJResponse> visitAppiontmentMDJ(VisitAppointmentMDJRequest param){ |
| | | log.info("【海康访客免登记预约】================开始===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.visitAppiontmentMDJ(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse<VisitAppointmentVistorResponse> >(){}; |
| | | BaseResponse<VisitAppointmentVistorResponse> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | new TypeReference< BaseResponse<VisitAppointmentMDJResponse> >(){}; |
| | | BaseResponse<VisitAppointmentMDJResponse> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康访客免登记预约"); |
| | | return result; |
| | | }catch (Exception e){ |