/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package com.vci.ubcs.code.service;
|
|
import com.vci.ubcs.code.bo.CodeClassifyFullInfoBO;
|
import com.vci.ubcs.code.entity.CodeKeyAttrRepeat;
|
import com.vci.ubcs.code.vo.CodeKeyAttrRepeatVO;
|
import com.vci.ubcs.code.vo.pagemodel.CodeKeyAttrRepeatRuleVO;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import java.util.Collection;
|
import java.util.List;
|
|
/**
|
* 关键属性查重规则 服务类
|
*
|
* @author yuxc
|
* @since 2023-04-03
|
*/
|
public interface ICodeKeyAttrRepeatService {
|
|
/**
|
* 自定义分页
|
*
|
* @param page
|
* @param plCodeKeyattrrepeat
|
* @return
|
*/
|
IPage<CodeKeyAttrRepeatVO> selectPlCodeKeyattrrepeatPage(IPage<CodeKeyAttrRepeatVO> page, CodeKeyAttrRepeatVO plCodeKeyattrrepeat);
|
|
/**
|
* 主键批量获取关键数据查重规则
|
*
|
* @param oidCollections 主键集合,但是受性能影响,建议一次查询不超过10000个
|
* @return 关键数据查重规则显示对象
|
*/
|
List<CodeKeyAttrRepeatRuleVO> listCodeKeyAttrRepeatRuleByOids(Collection<String> oidCollections) ;
|
|
/**
|
* 批量数据对象转换为显示对象
|
* @param codeKeyAttrRepeats 数据对象列表
|
* @return 显示对象
|
*/
|
List<CodeKeyAttrRepeatRuleVO> codeKeyAttrRepeatRuleDO2VOs(Collection<CodeKeyAttrRepeat> codeKeyAttrRepeats);
|
|
/**
|
* 数据对象转换为显示对象
|
* @param codeKeyAttrRepeat 数据对象
|
* @return 显示对象
|
*/
|
CodeKeyAttrRepeatRuleVO codeKeyAttrRepeatRuleDO2VO(CodeKeyAttrRepeat codeKeyAttrRepeat);
|
|
/**
|
* 使用分类的全部信息来获取关键属性判断规则的内容
|
* @param classifyFullInfo 主题库分类的全部信息
|
* @return 规则的显示对象
|
*/
|
CodeKeyAttrRepeatVO getRuleByClassifyFullInfo(CodeClassifyFullInfoBO classifyFullInfo);
|
|
/**
|
* 主键获取关键数据查重规则
|
* @param oid 主键
|
* @return 关键数据查重规则显示对象
|
*/
|
CodeKeyAttrRepeatRuleVO getObjectByOid(String oid);
|
}
|