From d2570148ec3884de3af721bd99c4b7acbbdee075 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期二, 09 五月 2023 17:07:26 +0800 Subject: [PATCH] 前端代码提交 --- Source/UBCS/ubcs-service-api/ubcs-omd-api/src/main/java/com/vci/ubcs/omd/feign/IBtmTypeFallback.java | 94 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 94 insertions(+), 0 deletions(-) diff --git a/Source/UBCS/ubcs-service-api/ubcs-omd-api/src/main/java/com/vci/ubcs/omd/feign/IBtmTypeFallback.java b/Source/UBCS/ubcs-service-api/ubcs-omd-api/src/main/java/com/vci/ubcs/omd/feign/IBtmTypeFallback.java new file mode 100644 index 0000000..d1d54a0 --- /dev/null +++ b/Source/UBCS/ubcs-service-api/ubcs-omd-api/src/main/java/com/vci/ubcs/omd/feign/IBtmTypeFallback.java @@ -0,0 +1,94 @@ +/* + * 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.core.metadata.IPage; +import com.vci.ubcs.omd.entity.Attribute; +import com.vci.ubcs.omd.vo.BtmTypeVO; +import org.springblade.core.mp.support.Query; +import org.springblade.core.tool.api.R; +import org.springframework.stereotype.Component; + +import java.util.Collection; +import java.util.List; +import java.util.Map; + +/** + * Feign澶辫触閰嶇疆 + * + * @author Chill + */ +@Component +public class IBtmTypeFallback implements IBtmTypeClient { + /** + * 鑾峰彇涓氬姟绫诲瀷璇︽儏淇℃伅 + * + * @param oid 涓婚敭 + * @return 涓氬姟绫诲瀷璇︽儏淇℃伅 + */ + @Override + public R<BtmTypeVO> getDetail(String oid) { + return R.fail("鑾峰彇鏁版嵁澶辫触"); + } + + /** + * 鍙傜収鍒楄〃鏌ヨ + * + * @param condition 鏌ヨ鏉′欢 + * @param query 鍒嗛〉鏉′欢 + * @param domain 棰嗗煙鍊� + * @return 鏌ヨ缁撴灉 + */ + @Override + public R<IPage<BtmTypeVO>> getRefPage(Map<String, Object> condition, Query query, String domain) { + return R.fail("鑾峰彇鏁版嵁澶辫触"); + } + + /** + * 鍙傜収鍒楄〃鏌ヨ + * + * @param condition 鏌ヨ鏉′欢 + * @param domain 棰嗗煙鍊� + * @return 鏌ヨ缁撴灉 + */ + @Override + public R<List<BtmTypeVO>> getRef(Map<String, Object> condition, String domain) { + return R.fail("鑾峰彇鏁版嵁澶辫触"); + } + + /** + * 鏍规嵁鑻辨枃鍚嶇О鎵归噺鏌ヨ瀵硅薄 + * + * @param ids 瀵硅薄鑻辨枃鍚嶇О 浣嗘槸涓嶈兘瓒呰繃1000 + * @return 涓氬姟瀵硅薄 + */ + @Override + public R<List<BtmTypeVO>> selectByIdCollection(List<String> ids) { + return R.fail("鑾峰彇鏁版嵁澶辫触"); + } + + /** + * 鎵归噺鏍规嵁涓婚敭鑾峰彇涓氬姟绫诲瀷 + * + * @param pkBtmTypeCollection 涓氬姟绫诲瀷涓婚敭闆嗗悎 + * @return 涓氬姟绫诲瀷鍒楄〃锛屽鏋滄湁涓嶅瓨鍦ㄧ殑涓嶄細杩斿洖锛屽叏閮ㄤ笉瀛樺湪鐨勫垯杩斿洖绌哄垪琛� + */ + @Override + public R<List<BtmTypeVO>> listBtmTypeByOidCollection(Collection<String> pkBtmTypeCollection) { + return R.fail("鑾峰彇鏁版嵁澶辫触"); + } +} -- Gitblit v1.9.3