/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package com.vci.ubcs.omd.feign; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.vci.ubcs.omd.vo.BtmTypeVO; import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject; import org.springblade.core.tool.api.R; import org.springframework.stereotype.Component; import java.util.List; /** * Feign失败配置 * * @author Chill */ @Component public class IBtmTypeFallback implements IBtmTypeClient { /** * 获取业务类型详情信息 * * @param oid 主键 * @return 业务类型详情信息 */ @Override public R getDetail(String oid) { return R.fail("获取数据失败"); } /** * 参照列表查询 * * @param baseQueryObject 查询条件对象 * @return 查询结果 */ @Override public R> getRefPage(BaseQueryObject baseQueryObject) { return R.fail("获取数据失败"); } /** * 参照列表查询 * * @param baseQueryObject 查询条件对象 * @return 查询结果 */ @Override public R> getRef(BaseQueryObject baseQueryObject) { return R.fail("获取数据失败"); } /** * 批量根据主键获取业务类型 * * @param pkBtmTypeCollection 业务类型主键集合 * @return 业务类型列表,如果有不存在的不会返回,全部不存在的则返回空列表 */ @Override public R> listBtmTypeByOidCollection(List pkBtmTypeCollection) { return R.fail("获取数据失败"); } /** * 根据英文名称批量查询对象 * * @param ids 对象英文名称 但是不能超过1000 * @return 业务对象 */ @Override public R> selectByIdCollection(List ids) { return R.fail("获取数据失败"); } /** * 按照业务类型获取默认字段 * * @param btmTypeId 业务类型id * @return 默认字段属性 */ @Override public R getDefaultAttrByBtmId(String btmTypeId) { return R.fail("获取数据失败"); } /** * 按业务类型id获取所有的字段 * * @param btmTypeId 业务类型id * @return 所有字段 */ @Override public R getAllAttributeByBtmId(String btmTypeId) { return R.fail("获取数据失败"); } /** * 按业务类型主键获取所有的字段 * * @param btmTypeOid 业务类型主键 * @return 所有字段 */ @Override public R getAllAttributeByBtmOid(String btmTypeOid) { return R.fail("获取数据失败"); } }