| | |
| | | return null; |
| | | } |
| | | /** |
| | | *全量人员查询2(根据条件查询分页) |
| | | * @return |
| | | */ |
| | | public static BaseResponse<BaseListPageResponse<UserInfoResponse>> personList(UserByParamListRequest param){ |
| | | log.info("【海康根据条件查询人员列表】================开始===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.personList(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse<BaseListPageResponse<UserInfoResponse>> >(){}; |
| | | BaseResponse<BaseListPageResponse<UserInfoResponse>> result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"海康根据条件查询人员列表"); |
| | | return result; |
| | | }catch (Exception e){ |
| | | log.error("【海康根据条件查询人员列表】================失败====:\n"+ e.getMessage()); |
| | | } |
| | | return null; |
| | | } |
| | | /** |
| | | *增量人员查询(分页) |
| | | * @return |
| | | */ |