From 4e9ff2ce6a830bb2340d7c8612c72eea0c5a553e Mon Sep 17 00:00:00 2001
From: dangsn <dangsn@vci-tech.com>
Date: 星期四, 26 十二月 2024 10:48:04 +0800
Subject: [PATCH] 调整功能菜单的parentId值。

---
 Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsAttributeServiceI.java |   34 ++++++++++++++++++++++++++++------
 1 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsAttributeServiceI.java b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsAttributeServiceI.java
index b1e782f..8c3eaa2 100644
--- a/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsAttributeServiceI.java
+++ b/Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsAttributeServiceI.java
@@ -3,11 +3,8 @@
 import com.vci.corba.common.PLException;
 import com.vci.corba.omd.atm.AttributeDef;
 import com.vci.dto.OsAttributeDTO;
-import com.vci.starter.web.pagemodel.BaseQueryObject;
-import com.vci.starter.web.pagemodel.BaseResult;
-import com.vci.starter.web.pagemodel.DataGrid;
 import com.vci.pagemodel.OsAttributeVO;
-import org.springframework.web.multipart.MultipartFile;
+import com.vci.starter.web.pagemodel.*;
 
 import java.io.File;
 import java.util.Collection;
@@ -21,6 +18,12 @@
  */
 public interface OsAttributeServiceI extends OsBaseServiceI{
 
+	/**
+	 * 鑾峰彇鏍戠姸
+	 * @param treeQueryObject
+	 * @return
+	 */
+	List<Tree> getTreeAttributesByBtmName(TreeQueryObject treeQueryObject);
 	/**
 	 * 鑾峰彇榛樿鐨勫睘鎬�
 	 * @return 榛樿鐨勫睘鎬у垪琛�
@@ -100,6 +103,14 @@
 	List<OsAttributeVO> listAttrByIds(Collection<String> attrCodes);
 
 	/**
+	 * 浣跨敤灞炴�х紪鍙疯幏鍙栧璞�--鎵归噺
+	 * @param attrCodes 灞炴�х殑鑻辨枃鍚嶇О
+	 * @param attributeVOMap 灞炴�у璞�
+	 * @return 灞炴�х殑鏄剧ず瀵硅薄
+	 */
+	List<OsAttributeVO> listAttrByIds(Collection<String> attrCodes, Map<String, OsAttributeVO> attributeVOMap);
+
+	/**
 	 * 鎵归噺娣诲姞灞炴��
 	 * @param attribItemList 灞炴�х殑鍒楄〃
 	 */
@@ -150,9 +161,10 @@
 	 * 瀵煎嚭閫変腑鐨勫睘鎬�
 	 * @param exportFileName 瀵煎嚭鐨勬枃浠跺悕
 	 * @param attrNames 闇�瑕佸鍑虹殑灞炴�у悕绉�
+	 * @param flag 鎺у埗瀵煎嚭鐨勫垪鍚嶆槸鍚﹀拰瀵煎叆妯℃澘涓�鑷�
 	 * @return
 	 */
-	String exportAttributes(String exportFileName,String attrNames) throws PLException;
+	String exportAttributes(String exportFileName,String attrNames,boolean flag/*鎺у埗瀵煎嚭鐨勫垪鍚嶆槸鍚﹀拰瀵煎叆妯℃澘涓�鑷�*/) throws PLException;
 
 	/**
 	 * 涓嬭浇灞炴�у鍏ユā鏉�
@@ -165,9 +177,10 @@
 	/**
 	 * 瀵煎叆灞炴��
 	 * @param file
+	 * @param isContinue 绯荤粺涓嚭鐜伴噸澶嶆槸鍚﹁烦杩囨姤閿欑户缁墽琛�
 	 * @return
 	 */
-	BaseResult importAttributes(File file) throws Exception;
+	BaseResult importAttributes(File file,boolean isContinue/*绯荤粺涓嚭鐜伴噸澶嶆槸鍚﹁烦杩囨姤閿欑户缁墽琛�*/) throws Exception;
 
 	/**
 	 * 鏄惁榛樿鐨勫睘鎬�
@@ -176,4 +189,13 @@
 	 */
 	boolean isDefaultAttr(String attr);
 
+	/**
+	 * 鏍规嵁涓氬姟绫诲瀷/閾炬帴绫诲瀷鑾峰彇灞炴�т俊鎭�
+	 * @param btName 涓氬姟绫诲瀷/閾炬帴绫诲瀷
+	 * @param typeFlag 0:涓氬姟绫诲瀷,1:閾炬帴绫诲瀷
+	 * @param isDefault 鏄惁鍖呭惈榛樿灞炴�� true锛氬寘鍚紝false 涓嶅寘鍚�
+	 * @return
+	 */
+	List<OsAttributeVO> getOsAttributeVOSByBtName(String btName,int typeFlag,boolean isDefault)throws Exception;
+
 }

--
Gitblit v1.9.3