From d5d097eb81e94fc8d3565c0b3f2df1894a9aaa09 Mon Sep 17 00:00:00 2001 From: weidy <lastanimals@163.com> Date: 星期三, 05 七月 2023 17:05:06 +0800 Subject: [PATCH] 修改了btmTypeService,提交一下 --- Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/IBtmTypeService.java | 42 +++++++++++++++++++++++++++++++++++++----- 1 files changed, 37 insertions(+), 5 deletions(-) diff --git a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/IBtmTypeService.java b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/IBtmTypeService.java index d47082a..b8a6aff 100644 --- a/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/IBtmTypeService.java +++ b/Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/IBtmTypeService.java @@ -1,11 +1,9 @@ package com.vci.ubcs.omd.service; import com.vci.ubcs.omd.dto.BtmTypeDTO; -import com.vci.ubcs.omd.dto.BtmTypeLinkAttributesDTO; import com.vci.ubcs.omd.entity.BtmType; -import com.vci.ubcs.omd.entity.BtmTypeAttribute; import com.vci.ubcs.omd.entity.ModifyAttributeInfo; -import com.vci.ubcs.omd.vo.BtmTypeTreeVO; +import com.vci.ubcs.omd.vo.BtmTreeVO; import com.vci.ubcs.omd.vo.BtmTypeVO; import com.vci.ubcs.omd.vo.BtmTypeAttributeVO; import com.vci.ubcs.omd.vo.LinkTypeVO; @@ -14,7 +12,6 @@ import org.springblade.core.tool.api.R; import java.util.Collection; -import java.util.Date; import java.util.List; import java.util.Map; @@ -216,7 +213,7 @@ * 鎸塪omain鍒嗙粍锛屾煡璇笟鍔$被鍨嬪睘鎬х粨鏋� * @return 鏌ヨ缁撴灉 */ - List<BtmTypeTreeVO> treeDomain(); + List<BtmTreeVO> treeDomain(); /** * 浠庢暟鎹簱琛ㄤ腑鑾峰彇 @@ -232,4 +229,39 @@ * @return 鎵ц缁撴灉 */ List<BtmTypeVO> saveFromTable(List<BtmTypeDTO> btmTypeDTOList,String domain); + + /** + * 鎸夌収涓氬姟绫诲瀷id鑾峰彇榛樿灞炴�� + * @param btmTypeId 涓氬姟绫诲瀷id + * @return 涓氬姟绫诲瀷 + */ + BtmTypeVO getDefaultAttrByBtmId(String btmTypeId); + + /** + * 鎸夌収涓氬姟绫诲瀷id鑾峰彇鎵�鏈夌殑灞炴�� + * @param btmTypeId 涓氬姟绫诲瀷id + * @return 涓氬姟绫诲瀷 + */ + BtmTypeVO getAllAttributeByBtmId(String btmTypeId); + + /** + * 鎸夌収涓氬姟绫诲瀷涓婚敭鑾峰彇鎵�鏈夌殑灞炴�� + * @param btmTypeOid 涓氬姟绫诲瀷涓婚敭 + * @return 涓氬姟绫诲瀷 + */ + BtmTypeVO getAllAttributeByBtmOid(String btmTypeOid); + + /** + * 鑾峰彇寮曠敤鏌愪釜鐢熷懡鍛ㄦ湡鐨勪笟鍔$被鍨� + * @param lifeOid 鐢熷懡鍛ㄦ湡鐨勪富閿� + * @return 涓氬姟绫诲瀷鏄剧ず瀵硅薄 + */ + List<BtmTypeVO> selectByLifeId(String lifeId); + + /** + * 缁熻寮曠敤鏌愪釜鐢熷懡鍛ㄦ湡鐨勪笟鍔$被鍨� + * @param lifeOid 鐢熷懡鍛ㄦ湡鐨勪富閿� + * @return 涓暟 + */ + Integer countByLifeId(String lifeId); } -- Gitblit v1.9.3