| | |
| | | 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; |
| | | |
| | | /** |
| | | * 集团属性池映射服务层 |
| | |
| | | |
| | | /** |
| | | * 查询全部集团属性池映射的属性 |
| | | * @param GroupAttrPoolMappingVO |
| | | * @param bladeQueryObject |
| | | * @return |
| | | * @throws SerialException |
| | | */ |
| | | List<GroupAttrPoolMappingVO> getGroupAttrPoolALlList(GroupAttrPoolMappingVO GroupAttrPoolMappingVO) throws SerialException; |
| | | IPage<GroupAttrPoolMappingVO> getGroupAttrPoolALlList(BladeQueryObject bladeQueryObject) throws ServiceException; |
| | | |
| | | /** |
| | | * 根据集团属性编号查询集团属性池映射 |
| | |
| | | * @return |
| | | * @throws SerialException |
| | | */ |
| | | List<GroupAttrPoolMappingVO> getByGroupAttrKeyList(GroupAttrPoolMappingVO groupAttrPoolMappingVO) throws SerialException; |
| | | List<GroupAttrPoolMappingVO> getByGroupAttrKeyList(GroupAttrPoolMappingVO groupAttrPoolMappingVO) throws ServiceException; |
| | | |
| | | /** |
| | | * 点击同步详细模型时调用该方法, |
| | |
| | | * @return |
| | | * @throws SerialException |
| | | */ |
| | | boolean saveDistinctGroupAttr(List<DockingPreMetaAttr> dockingPreMetaAttrList) throws SerialException; |
| | | boolean saveDistinctGroupAttr(List<DockingPreMetaAttr> dockingPreMetaAttrList) throws ServiceException; |
| | | |
| | | /** |
| | | * 集团属性映射界面修改的映射配置保存 |
| | |
| | | * @return |
| | | * @throws SerialException |
| | | */ |
| | | boolean editGroupAttr(List<GroupAttrPoolMappingVO> groupAttrPoolMappingVO) throws SerialException; |
| | | boolean editGroupAttr(List<GroupAttrPoolMappingVO> groupAttrPoolMappingVO) throws ServiceException; |
| | | |
| | | /** |
| | | * 同步集团属性池中的映射配置到,所有应用了该集团属性的具体某个分类上去 |
| | |
| | | * @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); |
| | | |
| | | } |