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; /** * 集团属性池映射服务层 * @author ludc * @date 2024/4/15 16:52 */ public interface IGroupAttrPoolMappingService extends IService { /** * 查询全部集团属性池映射的属性 * @param bladeQueryObject * @return * @throws SerialException */ IPage getGroupAttrPoolALlList(BladeQueryObject bladeQueryObject) throws ServiceException; /** * 根据集团属性编号查询集团属性池映射 * @param groupAttrPoolMappingVO * @return * @throws SerialException */ List getByGroupAttrKeyList(GroupAttrPoolMappingVO groupAttrPoolMappingVO) throws ServiceException; /** * 点击同步详细模型时调用该方法, * 实现将集团获取的属性去重放到集团属性池映射表中 * @return * @throws SerialException */ boolean saveDistinctGroupAttr(List dockingPreMetaAttrList) throws ServiceException; /** * 集团属性映射界面修改的映射配置保存 * @param groupAttrPoolMappingVO * @return * @throws SerialException */ boolean editGroupAttr(List groupAttrPoolMappingVO) throws ServiceException; /** * 同步集团属性池中的映射配置到,所有应用了该集团属性的具体某个分类上去 * @param groupAttrPoolMappingVOS * @return * @throws SerialException */ R syncGroupAttrMapping(List groupAttrPoolMappingVOS) throws ServiceException; /** * 根据分类OID获取到模板再根据属性id获取到模板下的属性id的enum值,然后查询出枚举 * @param groupAttrPoolMappingVOS * @return */ List getEnumAttrByClsOIdAndAttrId(GroupAttrPoolMappingVO groupAttrPoolMappingVOS); }