田源
2024-04-18 f9ca72d2c14bc64fce54aa2e8742d7b7f6ff3a35
Source/UBCS/ubcs-service/ubcs-applyjtcodeservice/src/main/java/com/vci/ubcs/code/applyjtcodeservice/service/IGroupAttrPoolMappingService.java
@@ -1,14 +1,17 @@
package com.vci.ubcs.code.applyjtcodeservice.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vci.ubcs.code.applyjtcodeservice.entity.DockingPreMetaAttr;
import com.vci.ubcs.code.applyjtcodeservice.entity.GroupAttrPoolMapping;
import com.vci.ubcs.code.applyjtcodeservice.vo.GroupAttrPoolMappingVO;
import com.vci.ubcs.omd.vo.EnumVO;
import com.vci.ubcs.starter.web.pagemodel.BladeQueryObject;
import org.springblade.core.log.exception.ServiceException;
import org.springblade.core.tool.api.R;
import javax.sql.rowset.serial.SerialException;
import java.util.List;
import java.util.Map;
/**
 * 集团属性池映射服务层
@@ -19,11 +22,11 @@
   /**
    * 查询全部集团属性池映射的属性
    * @param GroupAttrPoolMappingVO
    * @param bladeQueryObject
    * @return
    * @throws SerialException
    */
   List<GroupAttrPoolMappingVO> getGroupAttrPoolALlList(GroupAttrPoolMappingVO GroupAttrPoolMappingVO) throws SerialException;
   IPage<GroupAttrPoolMappingVO> getGroupAttrPoolALlList(BladeQueryObject bladeQueryObject) throws ServiceException;
   /**
    * 根据集团属性编号查询集团属性池映射
@@ -31,7 +34,7 @@
    * @return
    * @throws SerialException
    */
   List<GroupAttrPoolMappingVO> getByGroupAttrKeyList(GroupAttrPoolMappingVO groupAttrPoolMappingVO) throws SerialException;
   List<GroupAttrPoolMappingVO> getByGroupAttrKeyList(GroupAttrPoolMappingVO groupAttrPoolMappingVO) throws ServiceException;
   /**
    * 点击同步详细模型时调用该方法,
@@ -39,7 +42,7 @@
    * @return
    * @throws SerialException
    */
   boolean saveDistinctGroupAttr(List<DockingPreMetaAttr> dockingPreMetaAttrList) throws SerialException;
   boolean saveDistinctGroupAttr(List<DockingPreMetaAttr> dockingPreMetaAttrList) throws ServiceException;
   /**
    * 集团属性映射界面修改的映射配置保存
@@ -47,7 +50,7 @@
    * @return
    * @throws SerialException
    */
   boolean editGroupAttr(List<GroupAttrPoolMappingVO> groupAttrPoolMappingVO) throws SerialException;
   boolean editGroupAttr(List<GroupAttrPoolMappingVO> groupAttrPoolMappingVO) throws ServiceException;
   /**
    * 同步集团属性池中的映射配置到,所有应用了该集团属性的具体某个分类上去
@@ -55,6 +58,13 @@
    * @return
    * @throws SerialException
    */
   boolean syncGroupAttrMapping(List<GroupAttrPoolMappingVO> groupAttrPoolMappingVOS) throws SerialException;
   R syncGroupAttrMapping(List<GroupAttrPoolMappingVO> groupAttrPoolMappingVOS) throws ServiceException;
   /**
    * 根据分类OID获取到模板再根据属性id获取到模板下的属性id的enum值,然后查询出枚举
    * @param groupAttrPoolMappingVOS
    * @return
    */
   R getEnumAttrByClsOIdAndAttrId(GroupAttrPoolMappingVO groupAttrPoolMappingVOS);
}