package com.vci.web.service;
|
|
import com.vci.corba.omd.vrm.VersionRule;
|
import com.vci.web.pageModel.OsRevisionRuleVO;
|
|
import java.util.Collection;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 版本规则服务
|
* @author weidy
|
* @date 2021-2-15
|
*/
|
public interface OsRevisionRuleServiceI extends OsBaseServiceI{
|
|
/**
|
* 查询所有的版本规则
|
* @return 版本对象
|
*/
|
List<OsRevisionRuleVO> selectAllRevision();
|
|
/**
|
* 查询所有的版本规则映射
|
* @return key 是版本的英文名称
|
*/
|
Map<String,OsRevisionRuleVO> selectAllRevisionMap();
|
|
/**
|
* 数据对象转换为显示对象
|
* @param versionRules 数据对象
|
* @return 显示对象
|
*/
|
List<OsRevisionRuleVO> revisionRuleDO2VOs(Collection<VersionRule> versionRules);
|
|
/**
|
* 数据对象转换为显示对象
|
* @param versionRule 数据对象
|
* @return 显示对象
|
*/
|
OsRevisionRuleVO revisionRuleDO2VO(VersionRule versionRule);
|
|
/**
|
* 使用编号获取规则的值
|
* @param id 编号
|
* @return 显示对象
|
*/
|
OsRevisionRuleVO getRevisionRuleById(String id);
|
}
|