| | |
| | | if(isUsedFlag){ |
| | | AtomicBoolean success= new AtomicBoolean(true); |
| | | List<PersonMasterData> masterDataList=new ArrayList<>(); |
| | | List<String> fields= VciBaseUtil.str2List(personAndDeptConfig.getPersonFields()); |
| | | List<String> fields = Func.toStrList(personAndDeptConfig.getPersonFields()); |
| | | try { |
| | | if(personData==null){ |
| | | throw new Throwable("传入参数为null"); |
| | |
| | | } |
| | | }catch (Throwable e){ |
| | | success.set(false); |
| | | message="人员数据接收失败:"+e.getMessage(); |
| | | message = "人员数据接收失败:"+e.getMessage(); |
| | | msg = "人员数据接收失败:"+e.getMessage(); |
| | | //组织返回结果 |
| | | boolean finalSuccess = success.get(); |
| | | String finalMessage = message; |
| | |
| | | String systemCode=""; |
| | | if(isUsedFlag){ |
| | | List<OrgMasterData> orgMasterDataList=new ArrayList<>(); |
| | | List<String> fields= VciBaseUtil.str2List(personAndDeptConfig.getDeptFields()); |
| | | List<String> fields = Func.toStrList(personAndDeptConfig.getDeptFields()); |
| | | try { |
| | | if(orgData==null){ |
| | | throw new Throwable("传入参数为null"); |
| | |
| | | } |
| | | }catch (Throwable e){ |
| | | success.set(false); |
| | | message="部门数据接受失败:"+e.getMessage(); |
| | | message = "部门数据接收失败:"+e.getMessage(); |
| | | msg = "部门数据接收失败:"+e.getMessage(); |
| | | //组织返回结果 |
| | | boolean finalSuccess = success.get(); |
| | | String finalMessage = message; |
| | |
| | | dockingLoge.setInterfaceStatus("false");//接口集成状态 |
| | | } |
| | | dockingLogeService.save(dockingLoge); |
| | | log.info("集成推送数据成功,systemId:"+systemId+",systemname:"+systemName+",operation:"+operation+",param:"+parmaData); |
| | | log.info("集成推送数据,systemId:"+systemId+",systemname:"+systemName+",operation:"+operation+",param:"+parmaData); |
| | | } |
| | | |
| | | /*** |