| | |
| | | * @throws VciBaseException |
| | | */ |
| | | @Override |
| | | public R queryClassModel(String groupClassifyId) throws VciBaseException { |
| | | public R queryClassModel(String groupClassifyId) throws Throwable { |
| | | log.info("获取集团模型详细信息执行保存start"); |
| | | String message="执行成功!"; |
| | | try { |
| | |
| | | log.info("查询申请单状态接口end"); |
| | | return R.success(message); |
| | | } |
| | | |
| | | /*** |
| | | * 同步集团模型信息 |
| | | * @param classifyId |
| | | * @param operationType |
| | | * @return 返回执行结果 |
| | | * @throws VciBaseException |
| | | */ |
| | | @Override |
| | | public R syncClassifyModel(String classifyId, String operationType) throws VciBaseException { |
| | | VciBaseUtil.alertNotNull(operationType,"集成操作类型"); |
| | | try { |
| | | if(operationType.equals("all")){ |
| | | return queryMdmModel(); |
| | | }else{ |
| | | VciBaseUtil.alertNotNull(classifyId,"集团分类主键"); |
| | | return queryClassModel(classifyId); |
| | | } |
| | | } catch (Throwable e) { |
| | | throw new VciBaseException(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | // /** |
| | | // * 同步主模型 |
| | | // * @return |
| | | // */ |
| | | // private String queryMdmModel() throws VciBaseException { |
| | | // String message="执行成功!"; |
| | | // try { |
| | | // |
| | | // |
| | | // }catch (VciBaseException e){ |
| | | // message=e.getMessage(); |
| | | // throw new VciBaseException(message); |
| | | // }finally { |
| | | // return message; |
| | | // } |
| | | // |
| | | // |
| | | // } |
| | | // |
| | | // /*** |
| | | // * 同步模型详细信息 |
| | | // * @param classifyId |
| | | // * @return |
| | | // */ |
| | | // private String queryClassModel(String classifyId)throws VciBaseException{ |
| | | // String message="执行成功!"; |
| | | // try { |
| | | // |
| | | // }catch (VciBaseException e){ |
| | | // message=e.getMessage(); |
| | | // throw new VciBaseException(message); |
| | | // }finally { |
| | | // return message; |
| | | // } |
| | | // |
| | | // } |
| | | |
| | | |
| | | /*** |
| | | * 组织 保存数据方法 |
| | | * |